I’ve read a few of the threads here on problems that are cropping up around AMD graphics adapters that use early GCN versions and have tried to follow the advice given in them but I’ve been unable to solve my problem so far.
The hardware that’s causing my problem is an AMD APU. There is no discrete graphics card installed in the system.
I’m running Leap 15, not Tumbleweed as many of the other people who have reported problems are.
Initial symptoms were a boot loop that’s been getting worse/more persistent for the last few months (could there there a timing/scheduling issue at play here too?). After selecting OpenSuSE from the grub boot menu, the system would reboot within a second or two. A few months ago, after a cold start, it would reboot two or three times like this before booting properly and then running without incident until shutdown. Recently the boot loops have become longer (more reboots) before finally running. Now (yesterday) the boot loop appears to be eternal.
I’ve run memtest, smartctl, changed the SATA cable to the only hard drive, checked the PSU and all have passed the tests. I cannot find any physical problem with the system.
I’ve checked journalctl for error messages from the boot loop, but it appears that the reboot happens before anything gets logged. journalctl only has knowledge of the successful boots.
BUT… As soon as I add modprobe.blacklist=radeon to the grub boot options, the computer boots all the way to a kde desktop without any trouble at all. No boot loops at all, just reliable booting to kde every time I ask it to. Albeit booting a kde desktop limited to glorious 1024x768 resolution.
here’s some pertinent info…
Kernel:
rfl@linux-rmlm:/etc/modprobe.d> uname -r
4.12.14-lp150.12.25-default
CPU:
rfl@linux-rmlm:/etc/modprobe.d> cat /proc/cpuinfo
model name : AMD A8-6500T APU with Radeon(tm) HD Graphics
GPU (integrated with CPU):
sudo lspci -nnkv -s 00:01.0
00:01.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Richland [Radeon HD 8550D] [1002:999d] (prog-if 00 [VGA contro
ller])
Subsystem: Micro-Star International Co., Ltd. [MSI] Device [1462:7721]
Flags: bus master, fast devsel, latency 0, IRQ 10
Memory at c0000000 (32-bit, prefetchable) [size=256]
I/O ports at f000 [size=256]
Memory at feb00000 (32-bit, non-prefetchable) [size=256]
[virtual] Expansion ROM at 000c0000 [disabled] [size=128]
Capabilities: [50] Power Management version 3
Capabilities: [58] Express Root Complex Integrated Endpoint, MSI 00
Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
Kernel modules: radeon
Installed drivers:
rfl@linux-rmlm:/etc/modprobe.d> zypper search amdgpu
Repository 'Packman' is out-of-date. You can run 'zypper refresh' as root to update it.
Loading repository data...
Reading installed packages...
S | Name | Summary | Type
---+--------------------------------+------------------------------------------------------------------+--------
i | libdrm_amdgpu1 | Userspace interface for Kernel DRM services for AMD Radeon chips | package
i | libdrm_amdgpu1-32bit | Userspace interface for Kernel DRM services for AMD Radeon chips | package
| libdrm_amdgpu1-32bit-debuginfo | Debug information for package libdrm_amdgpu1 | package
| libdrm_amdgpu1-debuginfo | Debug information for package libdrm_amdgpu1 | package
i+ | xf86-video-amdgpu | AMDGPU video driver for the Xorg X server | package
| xf86-video-amdgpu-debuginfo | Debug information for package xf86-video-amdgpu | package
| xf86-video-amdgpu-debugsource | Debug sources for package xf86-video-amdgpu | package
rfl@linux-rmlm:/etc/modprobe.d> zypper search radeon
Repository 'Packman' is out-of-date. You can run 'zypper refresh' as root to update it.
Loading repository data...
Reading installed packages...
S | Name | Summary | Type
--+-----------------------------------+------------------------------------------------------------------+--------
i | libdrm_radeon1 | Userspace interface for Kernel DRM services for AMD Radeon chips | package
i | libdrm_radeon1-32bit | Userspace interface for Kernel DRM services for AMD Radeon chips | package
| libdrm_radeon1-32bit-debuginfo | Debug information for package libdrm_radeon1 | package
| libdrm_radeon1-debuginfo | Debug information for package libdrm_radeon1 | package
i | libvdpau_radeonsi | XVMC state tracker for radeonsi | package
| libvdpau_radeonsi-32bit | XVMC state tracker for radeonsi | package
| libvdpau_radeonsi-32bit-debuginfo | Debug information for package libvdpau_radeonsi | package
| libvdpau_radeonsi-debuginfo | Debug information for package libvdpau_radeonsi | package
i | libvulkan_radeon | Mesa vulkan driver for AMD GPU | package
| libvulkan_radeon-32bit | Mesa vulkan driver for AMD GPU | package
| libvulkan_radeon-32bit-debuginfo | Debug information for package libvulkan_radeon | package
| libvulkan_radeon-debuginfo | Debug information for package libvulkan_radeon | package
| radeontop | View Radeon GPU utilization | package
| radeontop-lang | Translations for package radeontop | package
Here’s where I stand now. I’ve got a low-res kde desktop running again and no boot problems. But I don’t have anything other than a low-res last-resort graphics card driver, whatever that is.
The radeon kernel module has been blacklisted by way of /etc/default/grub to solve the boot loop problem (as adding it to /etc/modprobe.d/50-blacklist.conf did not work) and is not currently loaded according to lsmod.
The amdgpu module which was seemingly always installed but never used as it didn’t appear in lsinitrd until after I added it today to the initramfs by running mkinitrd after a ‘modprobe amdgpu’). Now it appears in lsinitrd but not in lsmod. After boot, I can modprobe amdgpu to load it… but nothing uses it and it doesn’t survive as a loaded module between reboots.
In /etc/default/grub I have added
GRUB_CMDLINE_LINUX="radeon.si_support=0 radeon.cik_support=0 modprobe.blacklist=radeon amdgpu.si_support=1 amdgpu.cik_support=1 amdgpu.exp_hw_support=1"
and run grub2-mkconfig -o /boot/grub2/grub.cfg to enable the changes
…and I’m stuck as what to do next…
I don’t actually mind whether radeon or amdgpu is used - just as long as one of them works! And I’m also rather confused why radeon stopped working? Presumably a kernel update broke it, but why?
Any tips?
thanks, Richard
[/size][/size][/size][/size]