AMD GPU not recognized -only “Software Rendering”

I just got a new desktop computer with:

CPU: AMD Rysen 5 5600X

GPU: AMD Radeon RX 6700 10GB LE

But the graphics are only utilizing “software rendering” and there is a MESA error. The performance is “jerky”, Steam fails to launch, and there are graphical artifacts when I move the mouse or windows around the screen. I’m running Wayland.

During the Fedora 39 install, I had to select “Basic Graphics Mode”, otherwise it would just load a blank screen after choosing to boot the live USB. Same results with an Ubuntu live USB.

lspci -n -n -k | grep -A 2 -e VGA -e 3D

2d:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 22 [Radeon RX 6700/6700 XT/6750 XT / 6800M/6850M XT] [1002:73df] (rev ff)

Subsystem: XFX Limited Device [1eae:67a0]

Kernel modules: amdgpu

It doesn’t list the “Kernel driver in use” which I believe should be there.

glxinfo | grep -e OpenGL.vendor -e OpenGL.renderer

MESA: error: ZINK: failed to choose pdev

glx: failed to create drisw screen

failed to load driver: zink

OpenGL vendor string: Mesa

OpenGL renderer string: llvmpipe (LLVM 17.0.6, 256 bits)

I also ran:

dnf in xorg-x11-drv-amdgpu vulkan-tools mesa-vulkan-drivers

Then:

grubby --update-kernel=ALL --args="radeon.cik_support=0 amdgpu.cik_support=1"

But, nothing changed.

The first thing I’d recommend is updating your system so you have the latest kernel, etc.

I believe that Basic Graphics Mode adds nomodeset to the kernel command line. For 3d acceleration to work, you need to remove it. You can do that temporarily in the grub menu, or use something like:

grubby --remove-args="nomodeset" --update-kernel=DEFAULT

If it boots successfully, you can repeat the command with ALL to make it apply to future kernels.


Those flags are for much older GPUs, and would have no effect for you.

2 Likes

That appears to have worked!

lspci -n -n -k | grep -A 2 -e VGA -e 3D

2d:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 22 [Radeon RX 6700/6700 XT/6750 XT / 6800M/6850M XT] [1002:73df] (rev ff)
	Subsystem: XFX Limited Device [1eae:67a0]
	Kernel driver in use: amdgpu

glxinfo | grep -e OpenGL.vendor -e OpenGL.renderer

OpenGL vendor string: AMD
OpenGL renderer string: AMD Radeon Graphics (radeonsi, navi22, LLVM 17.0.6, DRM 3.54, 6.6.6-200.fc39.x86_64)

If I understand correctly, I change the command to “ALL” like this?

grubby --remove-args="nomodeset" --update-kernel=ALL

Yes, exactly.