I’m using an AMD Ryzen 5 2400G with Radeon Vega Graphics, but my system doesn’t seem to be taking advantage of the integrated graphics.
From what I understand:
All AMD drivers ship with the kernel (linux-firmware) in f36, so no special packages should be necessary
Wayland support for AMD is still experimental (not shipped with f36?)
I was able to get smooth animations and all that from my previous Ubuntu installation. The part that’s really tripping me up about this is that even when I switch to an Xorg session, the drivers don’t seem to be in use. How do I troubleshoot this?
This is absolutely not the case. Radeon graphics are very much supported in Fedora with Wayland and in the Fedora shipped kernel.
It might be helpful to do a dmesg | grep -i radeon and report any errors you find here that might give us a clue. If for some reason it’s failing to load, the graphics might fall back to the vesa driver and then you would see a degradation of performance, but there should be clues about it in the logs.
That’s interesting. It seems it is properly detecting your hardware and loading the radeon driver appropriately. I wouldn’t expect Xorg to perform better than Wayland (in fact, for this hardware, I’d expect Wayland to perform nominally better).
Since it is integrated, one thing you might do is check your BIOS settings to see if you can allocate more memory to the GPU. It shouldn’t make it “faster”, but might make a difference if you’re using multiple monitors or higher resolutions and framerates.
Also, make sure you’re running the latest available kernel in the Fedora repos as that’s where driver updates will land and there are generally quite a few updates for Ryzen and Radeon hardware between each minor point release (ie, 5.17 to 5.18).
Oh that’s exactly what my nightmarish installation forced me to do! This perfectly explains why amdgpu would get loaded but rendering would still fall back to llvmpipe. Thank you for the guides! Now to try it out.
Tried with Fedora 37, same result… Live KDE image boots fine with 4k, inxi output:
[root@localhost-live ~]# inxi -G --display
Graphics:
Device-1: AMD Raven Ridge [Radeon Vega Series / Radeon Mobile Series]
driver: amdgpu v: kernel
Display: server: X.org v: 1.20.14 with: Xwayland v: 22.1.3 driver: X:
loaded: amdgpu unloaded: fbdev,modesetting,vesa dri: radeonsi gpu: amdgpu
tty: 110x28 resolution: 3840x2160
API: OpenGL Message: GL data unavailable in console for root.
Funny enough, after install to local disk and reboot to a blank screen, output is:
Graphics:
Device-1: AMD Raven Ridge [Radeon Vega Series / Radeon Mobile Series]
driver: amdgpu v: kernel
Display: server: X.org v: 1.20.14 with: Xwayland v: 22.1.3 driver: X:
loaded: fbdev,modesetting,vesa unloaded: amdgpu gpu: amdgpu tty: 119x49
API: OpenGL Message: GL data unavailable in console for root.
Start a new thread, your system isn’t booting with nomodeset parameter - it’s a different issue.
Compare there output of inxi -Ga form live-booted and installed system.