Fedora 32: Radeon 5700 (XT) support

Searching a bit, it looks like other folks have the Radeon 5700 working with Fedora 32; so I’m not sure what went wrong for me.

I had to use the “basic graphics” install because the normal one didn’t work at all.

Now that Fedora is installed, it seems just the generic graphics driver is being used and I can’t figure out how to coax the kernel into loading the amdgpu module.

Have you seen this?:

I have; but my problem is more fundamental than that addresses.

sudo lsmod | grep amd

edac_mce_amd           32768  0
kvm_amd               114688  0
kvm                   806912  1 kvm_amd
ccp                   102400  1 kvm_amd
amd_iommu_v2           20480  0
pinctrl_amd            32768  0
lspci -k | grep -EA3 'VGA|3D|Display'
sudo rpm -qa | grep vulkan | sort
sudo rpm -qa | grep mesa | sort
sudo rpm -qa | grep amdgpu | sort

Share outputs of each please

$ lspci -k | grep -EA3 'VGA|3D|Display'
09:00.0 **VGA** compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT] (rev c1)
        Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Device 0b36
        Kernel modules: amdgpu
09:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 HDMI Audio
$ sudo rpm -qa | grep vulkan | sort
mesa-vulkan-drivers-20.1.2-1.fc32.x86_64
vulkan-loader-1.2.135.0-1.fc32.x86_64
$ sudo rpm -qa | grep mesa | sort
mesa-dri-drivers-20.1.2-1.fc32.x86_64
mesa-filesystem-20.1.2-1.fc32.x86_64
mesa-libEGL-20.1.2-1.fc32.x86_64
mesa-libgbm-20.1.2-1.fc32.x86_64
mesa-libGL-20.1.2-1.fc32.x86_64
mesa-libglapi-20.1.2-1.fc32.x86_64
mesa-libOSMesa-20.1.2-1.fc32.x86_64
mesa-libxatracker-20.1.2-1.fc32.x86_64
mesa-vulkan-drivers-20.1.2-1.fc32.x86_64
$ sudo rpm -qa | grep amdgpu | sort
xorg-x11-drv-amdgpu-19.1.0-3.fc32.x86_64

Your kernel is running amdgpu. What seems to be the problem?

Hm.

Performance seems poor and the monitor does not return from sleep. I thought perhaps I was stuck with a generic driver. How do I ascertain what driver Xorg is using? And why didn’t lsmod | grep amd show a listing for amdgpu?

Update

From journalctl:

[snip - see Update 2]

Am I incorrect that Xorg is actually using the radeon driver?

I’ve found some postings that refer to blacklisting this driver so that the amdgpu one will get used; but I have not yet found the correct way to do this on Fedora.

Update 2

Yes, I am incorrect; the previously posted snippet provided an incomplete picture.

From /var/log/Xorg.0.log:

[    18.614] (II) Loading /usr/lib64/xorg/modules/drivers/ati_drv.so
[    18.614] (II) Module ati: vendor="X.Org Foundation"
[    18.614]    compiled for 1.20.8, module version = 19.1.0
[    18.615]    Module class: X.Org Video Driver
[    18.615]    ABI class: X.Org Video Driver, version 24.1
[    18.674] (II) LoadModule: "radeon"
[    18.675] (II) Loading /usr/lib64/xorg/modules/drivers/radeon_drv.so
[    18.679] (II) Module radeon: vendor="X.Org Foundation"
[    18.679]    compiled for 1.20.8, module version = 19.1.0
[    18.679]    Module class: X.Org Video Driver
[    18.679]    ABI class: X.Org Video Driver, version 24.1
[    18.679] (II) LoadModule: "modesetting"
[    18.679] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
[    18.679] (II) Module modesetting: vendor="X.Org Foundation"
[    18.679]    compiled for 1.20.8, module version = 1.20.8
[    18.679]    Module class: X.Org Video Driver
[    18.679]    ABI class: X.Org Video Driver, version 24.1
[    18.680] (II) LoadModule: "fbdev"
[    18.680] (II) Loading /usr/lib64/xorg/modules/drivers/fbdev_drv.so
[    18.680] (II) Module fbdev: vendor="X.Org Foundation"
[    18.680]    compiled for 1.20.6, module version = 0.5.0
[    18.680]    Module class: X.Org Video Driver
[    18.680]    ABI class: X.Org Video Driver, version 24.0
[    18.680] (II) LoadModule: "vesa"
[    18.680] (II) Loading /usr/lib64/xorg/modules/drivers/vesa_drv.so
[    18.681] (II) Module vesa: vendor="X.Org Foundation"
[    18.681]    compiled for 1.20.6, module version = 2.4.0
[    18.681]    Module class: X.Org Video Driver
[    18.681]    ABI class: X.Org Video Driver, version 24.0
[    18.681] (II) RADEON: Driver for ATI/AMD Radeon chipsets:

[skipping a bit for brevity]

[    18.685] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    18.685] (II) FBDEV: driver for framebuffer: fbdev
[    18.685] (II) VESA: driver for VESA chipsets: vesa
[    18.685] (EE) open /dev/dri/card0: No such file or directory
[    18.685] (WW) Falling back to old probe method for modesetting
[    18.685] (EE) open /dev/dri/card0: No such file or directory
[    18.685] (II) Loading sub module "fbdevhw"
[    18.685] (II) LoadModule: "fbdevhw"
[    18.685] (II) Loading /usr/lib64/xorg/modules/libfbdevhw.so
[    18.685] (II) Module fbdevhw: vendor="X.Org Foundation"
[    18.685]    compiled for 1.20.8, module version = 0.0.2
[    18.685]    ABI class: X.Org Video Driver, version 24.1
[    18.685] (EE) Unable to find a valid framebuffer device
[    18.685] (WW) Falling back to old probe method for fbdev
[    18.685] (II) Loading sub module "fbdevhw"
[    18.685] (II) LoadModule: "fbdevhw"
[    18.686] (II) Loading /usr/lib64/xorg/modules/libfbdevhw.so
[    18.686] (II) Module fbdevhw: vendor="X.Org Foundation"
[    18.686]    compiled for 1.20.8, module version = 0.0.2
[    18.686]    ABI class: X.Org Video Driver, version 24.1
[    18.686] (II) FBDEV(2): using default device
[    18.686] vesa: Refusing to run on UEFI
[    18.686] (EE) Screen 0 deleted because of no matching config section.
[    18.686] (II) UnloadModule: "modesetting"
[    18.686] (EE) Screen 0 deleted because of no matching config section.
[    18.686] (II) UnloadModule: "fbdev"
[    18.686] (II) UnloadSubModule: "fbdevhw"
[    18.686] (II) FBDEV(0): Creating default Display subsection in Screen section
        "Default Screen Section" for depth/fbbpp 24/32
[    18.686] (==) FBDEV(0): Depth 24, (==) framebuffer bpp 32
[    18.686] (==) FBDEV(0): RGB weight 888
[    18.686] (==) FBDEV(0): Default visual is TrueColor
[    18.686] (==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0)
[    18.686] (II) FBDEV(0): hardware: EFI VGA (video memory: 16000kB)
[    18.686] (DB) xf86MergeOutputClassOptions unsupported bus type 0
[    18.686] (II) FBDEV(0): checking modes against framebuffer device...
[    18.686] (II) FBDEV(0): checking modes against monitor...
[    18.686] (II) FBDEV(0): Virtual size is 2560x1600 (pitch 2560)
[    18.686] (**) FBDEV(0):  Built-in mode "current": 409.7 MHz, 150.6 kHz, 92.7 Hz
[    18.686] (II) FBDEV(0): Modeline "current"x0.0  409.67  2560 2592 2656 2720  1600 1604 1608 1624 -hsync -vsync -csync (150.6 kHz b)
[    18.686] (==) FBDEV(0): DPI set to (96, 96)
[    18.686] (II) Loading sub module "fb"
[    18.686] (II) LoadModule: "fb"
[    18.686] (II) Loading /usr/lib64/xorg/modules/libfb.so
[    18.687] (II) Module fb: vendor="X.Org Foundation"
[    18.687]    compiled for 1.20.8, module version = 1.0.0
[    18.687]    ABI class: X.Org ANSI C Emulation, version 0.4
[    18.687] (**) FBDEV(0): using shadow framebuffer
[    18.687] (II) Loading sub module "shadow"
[    18.687] (II) LoadModule: "shadow"
[    18.687] (II) Loading /usr/lib64/xorg/modules/libshadow.so
[    18.687] (II) Module shadow: vendor="X.Org Foundation"
[    18.687]    compiled for 1.20.8, module version = 1.1.0
[    18.687]    ABI class: X.Org ANSI C Emulation, version 0.4
[    18.687] (II) UnloadModule: "radeon"
[    18.687] (II) Unloading radeon
[    18.687] (II) FBDEV(0): FBIOBLANK: Invalid argument (Screen blanking not supported by kernel - disabling)
[    18.689] (==) FBDEV(0): Backing store enabled
[    18.689] (==) FBDEV(0): DPMS enabled

So, after all that, it looks like Xorg winds up falling back to the generic framebuffer driver.

At no point does it seem to try to use the amdgpu driver.