How to enable amdgpu kernel driver?

Hello.
I’m new in Fedora Silverblue and I’m started to try the features that this distribution has. However, I’m having a problem when I try to enable the “amdgpu” kernel driver instead the “radeon” kernel driver that comes by default.

When I used Fedora Workstation, I followed this short guide: https://thespecter.net/blog/technology/enabling-amdgpu-on-fedora-31-for-using-vulkan-with-r7-and-r9-radeon-cards/and I enabled the “amdgpu” kernel driver, but it seems that it doesn’t work here on Fedora Silverblue.

So, I want to ask if anybody knows how can I enable the amdgpu kernel driver (and disable the radeon).
lspci -k | grep -EA3 ‘VGA|3D|Display’

01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Tahiti XT [Radeon HD 7970/8970 OEM / R9 280X]
Subsystem: PC Partner Limited / Sapphire Technology Device 3000
Kernel driver in use: radeon
Kernel modules: radeon, amdgpu

Thank you all :slight_smile:

Might I ask why do you want the amdgpu kernel? the default driver is much better for most cases.

I only use amdgpu for playing doom eternal and I just have a copy in a folder, and use the VK_ICD_FILENAMES environment variable.

It appears that the amdgpu userspace support is currently not included in Silverblue, which is unexpected. Could you open an issue in the Silverblue config repo? In the meantime, you can try overlaying the required packages via rpm-ostree install.

You might also want to try blocking the radeon module from loading into the kernel to let it use the amdgpu module by default.

1 Like

This has already been reported at: https://pagure.io/fedora-comps/issue/448

And this is now fixed in fedora-comps. I will push a PR for Silverblue later today.

The Silverblue PR was merged earlier. :tada:

1 Like

Just got an update a few minutes ago and there was a package added for amdgpu. To be honest I’m not sure if it was working for me before the update, but it appears to be working after.