amdgpu driver refuses to load on 19.04
I have an HP x360 laptop with Ryzen 5 2500U and Raven Ridge graphics. This was working nicely with 18.10 on the 4.18.0-17 kernel, but stopped working properly after an upgrade to 19.04.
After the upgrade the system refused to finish booting - blank screen after the GRUB menu. I was able to get it to boot by adding nomodeset
in GRUB. However, this prevents my second monitor from being detected.
I was also able to get the system to boot with the 19.04 kernel by blacklisting the amdgpu
module. This of course also prevents my second monitor from working.
When I use the 4.18.0-17 kernel again, everything still works great. Is there anything I can do to make the 5.0 kernel work?
System details (running on 4.18.0-17):
CPU: Topology: Quad Core model: AMD Ryzen 5 2500U with Radeon Vega Mobile Gfx bits: 64
type: MT MCP arch: Zen L2 cache: 2048 KiB
flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 31940
Speed: 1369 MHz min/max: 1600/2000 MHz Core speeds (MHz): 1: 1452 2: 1434 3: 1371 4: 1474
5: 1430 6: 1369 7: 1400 8: 1371
Graphics: Device-1: AMD Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series]
vendor: Hewlett-Packard driver: amdgpu v: kernel bus ID: 03:00.0
Display: server: X.Org 1.20.4 driver: ati,fbdev unloaded: modesetting,radeon,vesa
resolution: 1920x1080~60Hz, 1920x1080~60Hz
OpenGL: renderer: AMD RAVEN (DRM 3.26.0 4.18.0-17-generic LLVM 8.0.0) v: 4.5 Mesa 19.0.2
direct render: Yes
Solution 1:
Removing /lib/firmware/amdgpu/raven_dmcu.bin
and running sudo update-initramfs -u -k all
solved this problem.