While you're here, please consider supporting GamingOnLinux on:
Reward Tiers: Patreon. Plain Donations: PayPal.
This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!
You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Reward Tiers: Patreon. Plain Donations: PayPal.
This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!
You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Login / Register
- New Linux kernel patch submitted to improve Lenovo Legion series support including Lenovo Legion Go
- Team Fortress 2 Comic issue 7 is finally, officially available
- Steam Replay for 2024 is live to show off all those hours you played
- Proton Experimental gets fixes for Final Fantasy XIV, Nioh: Complete Edition and more for Steam Deck / Linux
- Stalker 2: Heart of Chornobyl gets a massive patch with an AI overhaul and lots of A-Life fixes
- > See more over 30 days here
This is my first post here, although I have been following your Mastodon account for a while. I am not a gamer myself, but have two teenagers that are getting more and more into it.
For the older one (13 years old as we speak), I am building a PC to play SteamOs games (City builder already purchased but unable to save projects due to gc). I surfed for long hours, so that I created so far this build (plus case and power source already in place):
https://fr.pcpartpicker.com/list/qp4ZWb
Motherboard firmware updated to the latest available one.
The thing is: I selected the graphic card (RX 570) because it seemed AMD had dedicated Linux drivers and that would help me get through just fine. I wanted a minimum 4GB of DDR3 memory on it. So far the project has become a nightmare. I have played around for hours with the motherboard settings for which GC to use (the one embedded in the processor or the RX 570), installed various versions of the AMD drivers to no avail.
A couple of times I have not managed to go back with changes, lost all of the installed Ubuntu and had to start all the way from the start. As of today, I have unplugged the graphic card and am considering to change it if I find an alternative simple, fast and not too expensive.
I have been digging in this forum for some insights, but w/o luck so far.
In a nutshell, a couple of straightforward questions:
- Should I be able to combine and make work my selected hardware, specially the graphic card? Updating to Ubuntu 20.04 coming up.
- What replacement should I consider for the GC if the Rx 570 is not a viable option?
Thanks in advance.
View PC info
What do you want exactly? Change between the integrated and discrete cards? That's easy, you only need to use DRI_PRIME.
Let's clear things first, start from the very beginning.
Last edited by tuxintuxedo on 11 May 2020 at 11:48 am UTC
View PC info
Thanks for your quick reply.
I just want to use the discrete card. If I install Ubuntu 18.04 and plug the RX570 no display at all. Even when I disable the integrated card from the BIOS. That is why I went with the AMDGPU-PRO trial.
I will install a fresh Ubuntu 20.04 and will post back. So far with black screens all along, I have no clue whatsoever of what goes wrong in the first place.
Really sorry that I did not make myself clear in the first place.
View PC info
Last edited by tuxintuxedo on 11 May 2020 at 5:57 pm UTC
@damarrin: I can reach the BIOS w/o issue, I make it all the way to the grub screen and from then on, darkness is my only friend. If I try to switch to a terminal (Ctrl + F1 for instance) I see millions of errors which I tried to write down and search for solutions to no avail. This was about ten days ago and had no records about it. However, I will retry and post back with clear details of my status.
It feels so good to have quick and intense feedback despite my lack of clarity :-)
View PC info
DRI_PRIME=1 glxinfo | grep OpenGL
And share the output.
Last edited by x_wing on 11 May 2020 at 10:50 pm UTC
View PC info
And you can also share the output of
DRI_PRIME=0 glxinfo | grep OpenGL
Just to be sure.
If I remember right, you will have to install the mesa-utils package for glxinfo, but the Terminal will tell you everything.
View PC info
The newer AMD cards require the blobs (firmware) installed on Debian to get any output from the device at all, so if you get no output as the OS tries to launch your DE it is likely you do not have those installed. So grab those during installation (or on first boot in a tty). On ubuntu, amdgpu seems to be the package that has them, but better read after that yourself. You won't need the proprietary drivers (the ones you download from vendor site) as any desktop installation should include the necessary free drivers. For steam make sure to enable foreign architecture support for i386.
egoi@MSI-B450:~$ DRI_PRIME=1 glxinfo | grep OpenGL
Command 'glxinfo' not found, but can be installed with:
sudo apt install mesa-utils
egoi@MSI-B450:~$ DRI_PRIME=0 glxinfo | grep OpenGL
Command 'glxinfo' not found, but can be installed with:
sudo apt install mesa-utils
---------------------------------
Installed mesa-utils and:
egoi@MSI-B450:~$ DRI_PRIME=1 glxinfo | grep OpenGL
OpenGL vendor string: X.Org
OpenGL renderer string: AMD RAVEN (DRM 3.35.0, 5.4.0-29-generic, LLVM 9.0.1)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 20.0.4
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.6 (Compatibility Profile) Mesa 20.0.4
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 20.0.4
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:
egoi@MSI-B450:~$ DRI_PRIME=0 glxinfo | grep OpenGL
OpenGL vendor string: X.Org
OpenGL renderer string: AMD RAVEN (DRM 3.35.0, 5.4.0-29-generic, LLVM 9.0.1)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 20.0.4
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.6 (Compatibility Profile) Mesa 20.0.4
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 20.0.4
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:
X.Org X server -- AMDGPU display driver (19.1.0-1)
and
Userspace interface to amdgpu-specific kernel DRM services -- runtime (2.4.101-2)
are both installed by default (all I get in synaptic under amdgpu).
Many thanks
View PC info
Did you insert the RX570? Isn't it loose or lacking power? Because currently it is not seen by the system.
Last edited by tuxintuxedo on 12 May 2020 at 11:59 am UTC
Give me a few moments and I will install the RX 570 and post back with the results. I did it that way because I have not been able to get any screen image with the GC in place so far.
See ya in a bit
View PC info
View PC info
Even if you get black screen, can you reach the GRUB menu? It should appear right after turning the PC on while pressing Escape (or Shift). I am not talking about the BIOS/UEFI.
My BIOS has Integrated Graphics Configuration with "Integrated Graphics" in [Auto Mode]. If I disable it, I get the same results that I am about to explain:
WITH THE RX570 plugged in:
I reach grub no problem and let it go:
Right into it, first warning message:
1- "Completion wait loop time_out" about a gazillion times
2- After a while I reach this screen where my message is:
iommu ivhdo:AMD-Vi event logged [IOTLB_INV_TIMEOUT device=25.00 address 0x40cd9e3f0
3- I am able to see some messages in between, "sofreset failed", i.e.
4- I finally make it to the point of initramfs where my command capabilities are limited and no way of performing much in the line of your proposals.
5- When I unplug the thing and try to launch Ubuntu with the integrated one, I get the info that /dev/sd5 requires manual fsck (from the same initramgfs screen. I fsck the drive and it tells me that some directory was corrupted.
6- Once fsck completed, reboot brings me back to Ubuntu 20.04 with the integrated one and my RX570 out of the game completely.
Did I just happen to receive a faulty unit? As I stated right from the beginning, I has just been purchased, no miles on it...
Many thanks
Thanks
View PC info
It might be a kernel bug affecting you so this should help us learn more. The card itself should already be supported for a while now.
Also, iommu problems might be caused by the motherboard or CPU.
The reason I asked about GRUB is because you could try some boot parameters with it.
Last edited by tuxintuxedo on 12 May 2020 at 1:21 pm UTC
View PC info
If you leave your integrated graphics enabled, are you able to boot to your OS with the RX 570? There should be no problem to have both GPUs enabled and if there is a hardware issue with the 570, the integrated will allow us to have a UI in order to do some checks.
@The_Aquabat: I will do as proposed and report back in a minute.
@x_wing: I recall I had the same results every time the RX 570 is there, but will retry and report back in a minute.
Thanks
View PC info
nomodeset
boot parameter, aside from theiommu=pt
one.My guess is that not the RX570 is problematic, but the motherboard + CPU combo are behind the problem with possible kernel bugs.