Hello, I have an AMD Ryzen with a Vega 56 graphics card running Fedora 30 and the 5.0.17 update the graphics output seems to just die after grub. Rolled back to the previous kernel (5.0.16) in grub and it comes up just fine. No errors or logs ... just sits there at the ASRock logo on screen after selecting the kernel. From what I can tell it is actually installed. Tried runlevel 1 and 3 as well and it does the same thing. The kernel works fine on my laptop but that's an Intel machine.
Standard grub command line arguments except amddgpu.gpu_recovery=1 for the Vega card. I did also try it with that removed and still no go. I can SSH into it just fine but the screen is just sitting there with the BIOS manufacturer's logo, nothing telling in dmesg or /var/log/messages and it doesn't set off abrt.
I'm running a pretty standard Fedora system with only some codecs and non-free software from rpmfusion. The only other thing I changed recently was adding the ROCm for OpenCL image support on my Radeon card. I removed those after I noticed this issue and reran dracut to no avail, reinstalled the kernel and all related packages as well. Nothing.
Anyway, looks like I really loused something up. Luckily the older kernel still works fine. Any other ideas out there? Maybe the ROCm packages left something behind (removed with dnf remove)?
Thanks!
Leander
On 5/24/19 11:00 PM, Leander Hutton wrote:
Anyway, looks like I really loused something up ...
Indeed it looks like I did, just figured it out. Looks like one of the RPMs from the amdgpu-pro driver I was trying to extract (and apparently accidentally installed) for OpenCL before giving up and going over to ROCm left a configuration in /etc/dracut.conf.d looking for the amdkfd module that wasn't there. Removed that file, re-ran dracut and I'm successfully in the new kernel.
Thanks!
Leander
On Fri, 24 May 2019 23:17:46 -0400 Leander Hutton leander@one-button.org wrote:
On 5/24/19 11:00 PM, Leander Hutton wrote: Indeed it looks like I did, just figured it out. Looks like one of the RPMs from the amdgpu-pro driver I was trying to extract (and apparently accidentally installed) for OpenCL before giving up and going over to ROCm left a configuration in /etc/dracut.conf.d looking for the amdkfd module that wasn't there. Removed that file, re-ran dracut and I'm successfully in the new kernel.
Yes that is unfortunately a long standing bug with the amdgpu-pro package from AMD. If you remove it again, it leave those files /etc/dracut.conf.d , and the result is a black screen on reboot.
I have used amdgpu-pro for a long time for OpenCL too; but you have to use a 'conservative' kernel, as the package is never up to date with latest fedora kernels. With Fedora 29 I use the last 18.x version with kernel 4.18 - I don't know what the new 19.x version supports.
Allan.