Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
02-05-2021, 02:32 PM
|
#1
|
LQ Newbie
Registered: Feb 2021
Posts: 22
Rep: 
|
AMD RX 5700 XT displays at 1024x768 in Debian Bullseye (Testing) despite having installed drivers and firmware.
(I apologize if this gets posted multiple times. The website insists I posted it, but when I go to "My Posts" nothing shows up.)
Hello, I have recently built a PC and installed Debian. After a day or two of trying to figure out why I couldn't start Xorg, I managed to get a seemingly functional desktop. At one point, I decided I wanted to use GPU Passthrough for a project of mine. After adjusting some configurations, I rebooted my system only to realize that apparently Debian was using the card I wanted to passthrough while refusing to use the other the entire time.
After about another day or two of fruitless package-swapping and rebooting, I didn't manage to get anywhere new. Currently my desktop seems to be stuck at 1024x768.
Here is my configuration.
Debian Testing (Upgraded from Debian 10 Stable)
CPU : AMD Ryzen 9 3990x
AMD RX 5700XT (This is the card I want to use on my regular desktop.)
AMD RX 590 (This is the card I want to use for passthrough, apparently it was also the one the system tried to use (Which is odd, because I definitely recall putting this NOT in the main PCI-E slot (As specified in the motherboard's manual.) but instead the card I actually wanted to become the primary card.))
I have previously installed drivers and the required nonfree firmware, I may need to reinstall them again if it turns out something didn't register correctly.
|
|
|
02-05-2021, 02:51 PM
|
#2
|
LQ Sage
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,675
Rep: 
|
The whole Xorg initialization is in its log file, you can drop it into some pastebin site if you want more eyes looking at it.
|
|
|
02-05-2021, 03:42 PM
|
#3
|
LQ Newbie
Registered: Feb 2021
Posts: 22
Original Poster
Rep: 
|
Here is the contents of Xorg.1.log
|
|
|
02-05-2021, 03:46 PM
|
#4
|
LQ Sage
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,675
Rep: 
|
Does your lspci show two cards?
|
|
|
02-05-2021, 03:48 PM
|
#5
|
LQ Newbie
Registered: Feb 2021
Posts: 22
Original Poster
Rep: 
|
Yes
|
|
|
02-05-2021, 03:48 PM
|
#6
|
LQ Newbie
Registered: Feb 2021
Posts: 22
Original Poster
Rep: 
|
Do you want the output?
|
|
|
02-05-2021, 03:49 PM
|
#7
|
LQ Newbie
Registered: Feb 2021
Posts: 22
Original Poster
Rep: 
|
The Output
03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] [1002:67df] (rev e1)
0a:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT] [1002:731f] (rev c1)
Last edited by linuxquestio; 02-05-2021 at 03:49 PM.
Reason: lspci -nn | grep VGA
|
|
|
02-05-2021, 03:50 PM
|
#8
|
LQ Sage
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,675
Rep: 
|
OK, are you following some guide? Like this one?
|
|
|
02-05-2021, 03:57 PM
|
#9
|
LQ Newbie
Registered: Feb 2021
Posts: 22
Original Poster
Rep: 
|
Linux does what Windon't
I previously was.
This one specifically.
https://www.youtube.com/watch?v=3yhwJxWSqXI
This was the last command I did before I stopped following the tutorial.
sudo nano /etc/modprobe.d/vfio_pci.conf
options vfio_pci ids=1002:67df,1002:aaf0
Last edited by linuxquestio; 02-05-2021 at 04:06 PM.
Reason: Chris Titus why you do this
|
|
|
02-05-2021, 04:06 PM
|
#10
|
LQ Sage
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,675
Rep: 
|
This is kind of uncharted land for me, never attempted to use IOMMU. Anyhow, you could force Xorg to the card you want by specifying the BusID, see here.
|
|
|
02-05-2021, 04:39 PM
|
#11
|
LQ Newbie
Registered: Feb 2021
Posts: 22
Original Poster
Rep: 
|
Well, I tried it. A bit of research later, I set the config with the Bus ID and boom!
It failed.
X didn't even start, and apparently neither did my display manager (LightDM).
After deleting the config file and rebooting, I can still use X and such (hence why I'm typing this) but unfortunately the xorg config didn't seem to work.
Here is the config I used, in case you were wondering.
Section "Device"
Identifier "AMD"
Driver "amdgpu"
BusId "1002:731f"
EndSection
|
|
|
02-05-2021, 04:46 PM
|
#12
|
LQ Sage
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,675
Rep: 
|
This is not BusID, it is the PCI ID. This is what BusID looks like, just example. Edit, this is a quote from the page I linked to. How comes you didn't read it?
Quote:
BusID "bus−id"
This specifies the bus location of the graphics card. For PCI/AGP cards, the bus−id string has the form PCI:bus:device:function (e.g., “PCI:1:0:0” might be appropriate for an AGP card). This field is usually optional in single-head configurations when using the primary graphics card. In multi-head configurations, or when using a secondary graphics card in a single-head configuration, this entry is mandatory. Its main purpose is to make an unambiguous connection between the device section and the hardware it is representing. This information can usually be found by running the pciaccess tool scanpci.
|
Last edited by Emerson; 02-05-2021 at 04:56 PM.
|
|
|
02-05-2021, 04:56 PM
|
#13
|
LQ Newbie
Registered: Feb 2021
Posts: 22
Original Poster
Rep: 
|
I actually caught on to that a little bit before you posted and...
I can get into Xorg with the configuration!
Sort of, I'm still stuck in 1024x768, but at least the card itself works.
Last edited by linuxquestio; 02-05-2021 at 06:08 PM.
|
|
|
02-05-2021, 05:32 PM
|
#14
|
LQ Newbie
Registered: Feb 2021
Posts: 22
Original Poster
Rep: 
|
So where exactly would I go from here?
|
|
|
02-05-2021, 06:15 PM
|
#15
|
LQ Sage
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,675
Rep: 
|
Alright, what does your most recent Xorg log tell? The one you posted has no problems in it and much higher resolutions are listed. If you run xrandr in a terminal window, what does it show about available resolutions?
|
|
|
All times are GMT -5. The time now is 12:56 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|