You are not logged in.
xrandr doesn't recognize and so is not giving me any options to use either of the 2 outputs on the newly added secondary GPU:
I am on archlinux with i3 for my WM.
I have an amd 6700xt that is working fine.
I added a basic Radeon R7 240 for the additional display outputs in the second pcie slot.
Running lspci -k I can confirm that the R7 is recognized, and it is using the radeon driver:
14:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Oland LE [Radeon R7 240] (rev 87)
Subsystem: Hightech Information System Ltd. Oland LE [Radeon R7 240]
Kernel driver in use: radeon
Kernel modules: radeon, amdgpu
14:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Oland/Hainan/Cape Verde/Pitcairn HDMI Audio [Radeon HD 7000 Series]
Subsystem: Hightech Information System Ltd. Oland/Hainan/Cape Verde/Pitcairn HDMI Audio [Radeon HD 7000 Series]
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intelHowever, I do not get any outputs options on the secondary GPU. xrandr only shows the outputs for the 6700XT.
I already had a conf file for the 6700xt at /etc/X11/xorg.conf.d/20-amdgpu.conf
Section "Device"
Identifier "AMD"
Driver "amdgpu"
Option "TearFree" "true"
EndSectionand then created one for the radeon at /etc/X11/xorg.conf.d/30-radeongpu.conf
Section "Device"
Identifier "RadeonGPU"
Driver "radeon"
Option "TearFree" "true"
EndSectionWhen this still did not resolve the issue, I tried ensuring the radeon driver is loaded at boot by adding "radeon" to the MODULES section of /etc/mkinincpio.conf, regenerating with mkinincpio -P and rebooting, but also to no resolve.
This is the extent of what I know to try. I used to have no issues with a similar setup with a secondary nvidia gpu, so I am guessing there is something else missing.
Perhaps changing the R7 240's driver to use amdgpu instead of radeon? If I do that, how do I distinguish between the 2 with the xorg conf files?
Any help would be greatly appreciated.
And let me know if I can provide any additional information.
Last edited by DrLucky (2024-02-01 19:21:12)
Offline
remove both those conf files and see what happens
Offline
For a simple "does it work" test I'd suggest the same as above, remove the files, check what xorg autoconfiguration does.
In general a "xorg device" file will limit xorg to a single device, unless you specifiy the BusId for differentiating the devices. What you rather want to do is
Section "OutputClass"
Identifier "amdgpu"
MatchDriver "amdgpu"
Driver "amdgpu"
Option "TearFree" "true"
EndSectionthat file will apply the directive to all GPUs that match the kernel driver amdgpu and are registered on the xorg server and I'd say it'd be a good idea to switch the radeon GPU to amdgpu if you have the option.
Last edited by V1del (2024-01-30 09:03:19)
Offline
In case, what V1del means is https://wiki.archlinux.org/title/AMDGPU … K)_support and I'll help you out w/ the geography: Oland is a Southern Island
Offline
remove both those conf files and see what happens
This mostly worked.
The DVI output is now available per xrandr.
The image is distorted with green outlining, and the HDMI out is still not recognized, so I am going to try changing the driver from radeon to amdgpu.
Will I need to specify somewhere that the 6700XT is the primary GPU so the system utilizes it for graphical workloads?
Offline
You'll in doubt have to specify the BusIDs, post an udpated xorg log for status quo and possible suggestions on explicit setups.
Offline
the amd driver works much better! Getting a clean image now.
As a reminder to check your wiring and the basics: the reason the second output was active but with no output options was a simple disconnected hdmi cable at the monitor end
The only issue I am having now is a reoccurring prior issue with the 6700XT, whenever the 4th display output is populated, it restricts its output to 640x480. I've had the same issue with other amd GPUs as well ( probably posted about it here in the past). So I'm thinking its a limitation of the hardware.
Thanks everyone for the help
Offline