Amdgpu Not Loading As Kernel Driver, Despite Radeon Being Blacklisted

Hi, I’ve recently installed Fedora on my first machine, an (old-ish) AMD laptop.

It runs an A8-7410, which should be compatible with amdgpu, and it loads it as a kernel module. However, it insists on using radeon kernel drivers instead.

I had passed the following kernel parameters: “amdgpu.si_support=1 amdgpu.cik_support=1 radeon.si=0 radeon.cik=0”, and I also tried to blacklist the radeon drivers by adding “blacklist radeon” /etc/modprobe.d/blacklist-radeon.conf, and add preference for amdgpu by adding “softdep amdgpu pre: radeon” to /etc/modprobe.d/amdgpu-prefer.conf.

I also already had installed xorg-x11-drv-amdgpu, as some users mentioned in another thread.

I had more or less copied what others seemed to have done, but I’m still struggling to get Fedora to even try to load amdgpu.

If anyone could guide me on making this work, that would be really appreciated.

Edit: I forgot to mention that the radeon kernel driver is unstable, and it entered emergency mode once, after the GPU hung.

Edit: Typos

I have these kernel parameters radeon.si_support=0 amdgpu.si_support=1 radeon.cik_support=0 amdgpu.cik_support=1. On 2 systems with integrated radeon cards, event though amdgpu is preferred, it’s normal for modern kernels to load both modules. I know it was different a year ago. Therefore blacklist one is not a good idea at least here. OTOH your system might not support amdgpu alone.

Syetem 1 (radeon)

CPU:
  Info: 6-core model: AMD Phenom II X6 1055T bits: 64 type: MCP arch: K10 rev: 0 cache:
    L1: 768 KiB L2: 3 MiB L3: 6 MiB
  Speed (MHz): avg: 2221 high: 3065 min/max: 800/2800 boost: enabled cores: 1: 2811 2: 804
    3: 2811 4: 3065 5: 3031 6: 804 bogomips: 33750
  Flags: ht lm nx pae sse sse2 sse3 sse4a svm
Graphics:
  Device-1: AMD RS780L [Radeon 3000] vendor: Gigabyte driver: radeon v: kernel arch: TeraScale
    ports: active: none off: DVI-D-1 empty: VGA-1 bus-ID: 01:05.0 chip-ID: 1002:9616

~$ cat /proc/modules|egrep -i "radeo|amdg"
amdgpu 14270464 0 - Live 0x0000000000000000
amdxcp 12288 1 amdgpu, Live 0x0000000000000000
drm_exec 12288 1 amdgpu, Live 0x0000000000000000
gpu_sched 65536 1 amdgpu, Live 0x0000000000000000
drm_buddy 20480 1 amdgpu, Live 0x0000000000000000
radeon 1888256 10 - Live 0x0000000000000000
drm_suballoc_helper 12288 2 amdgpu,radeon, Live 0x0000000000000000
drm_display_helper 270336 2 amdgpu,radeon, Live 0x0000000000000000
drm_ttm_helper 16384 2 amdgpu,radeon, Live 0x0000000000000000
ttm 102400 3 amdgpu,radeon,drm_ttm_helper, Live 0x0000000000000000
drm_kms_helper 241664 4 amdgpu,radeon,drm_display_helper,drm_ttm_helper, Live 0x0000000000000000
i2c_algo_bit 12288 4 amdgpu,cx88_vp3054_i2c,radeon,cx88xx, Live 0x0000000000000000
video 81920 2 amdgpu,radeon, Live 0x0000000000000000
drm 761856 17 amdgpu,amdxcp,drm_exec,gpu_sched,drm_buddy,radeon,drm_suballoc_helper,drm_display_helper,drm_ttm_helper,ttm,drm_kms_helper, Live 0x0000000000000000
crc16 12288 2 amdgpu,ext4, Live 0x0000000000000000

System 2 (amdgpu)

CPU:
  Info: quad core model: AMD A10-7850K Radeon R7 12 Compute Cores 4C+8G
    bits: 64 type: MCP arch: Steamroller rev: 1 cache: L1: 256 KiB L2: 4 MiB
  Speed (MHz): avg: 3700 min/max: 1700/3700 boost: enabled cores: 1: 3700
    2: 3700 3: 3700 4: 3700 bogomips: 29546
  Flags: avx ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
  Device-1: Advanced Micro Devices [AMD/ATI] Kaveri [Radeon R7 Graphics]
    vendor: ASRock driver: amdgpu v: kernel arch: GCN-2 ports:
    active: DVI-D-1,VGA-1 empty: HDMI-A-1 bus-ID: 00:01.0 chip-ID: 1002:130f

~$ cat /proc/modules|egrep -i "radeo|amdg"
amdgpu 19996672 54 - Live 0x0000000000000000
amdxcp 12288 1 amdgpu, Live 0x0000000000000000
drm_exec 12288 1 amdgpu, Live 0x0000000000000000
gpu_sched 65536 1 amdgpu, Live 0x0000000000000000
drm_panel_backlight_quirks 12288 1 amdgpu, Live 0x0000000000000000
drm_buddy 28672 1 amdgpu, Live 0x0000000000000000
radeon 2453504 0 - Live 0x0000000000000000
drm_ttm_helper 16384 3 amdgpu,radeon, Live 0x0000000000000000
ttm 114688 3 amdgpu,radeon,drm_ttm_helper, Live 0x0000000000000000
i2c_algo_bit 20480 2 amdgpu,radeon, Live 0x0000000000000000
drm_suballoc_helper 16384 2 amdgpu,radeon, Live 0x0000000000000000
drm_display_helper 303104 2 amdgpu,radeon, Live 0x0000000000000000
video 81920 2 amdgpu,radeon, Live 0x0000000000000000

I also have xorg-x11-drv-amdgpu.x86_64 23.0.0-6.fc41 fedora
installed.

Hope this helps.

I feel emarressed to say this, but the solution was really simple.

I had a forgot to include the _support in the radeon.si and radeon.cik parameters. After adding that, as you have in your comment, it works perfectly.

I guess doing this stuff late in the night might be the cause :sweat_smile:

1 Like

Glad you get it good!

Yeah, sometimes it seems that the smallest of mishaps can be the biggest headaches.