Factsheet
/ 4 August 2025; 10 months ago (2025-08-04)
/ 4 August 2025; 10 months ago (2025-08-04)
The new way of doing this does not involve blacklisting any modules. You only have to send two parameters to the kernel:
For Caribbean Islands GPUs
radeon.cik_support=0 amdgpu.cik_support=1
For Sea Islands GPUs
radeon.si_support=0 amdgpu.si_support=1
I personally like to add it as default, so I edit /etc/default/grub, and then I add the kernel parameters to GRUB_CMDLINE_LINUX_DEFAULT, like this:
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'
GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="radeon.cik_support=0 amdgpu.cik_support=1 radeon.si_support=0 amdgpu.si_support=1"
GRUB_CMDLINE_LINUX=""
# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
Remember to run update-grub and reboot the system so the changes take effect.
I can confirm this works for a 390x running Ubuntu since 17.10. Also tried 18.04, 18.10, 19.04, 19.10, 20.04 since I keep using it as they get released. (I believe you can also do the same on 17.04)
Alternatively, if you want to enable the new Dynamic Power Management and Display Code experimental support, you need to also add the following lines
amdgpu.dc=1
amdgpu.dpm=1
For more information regarding DC code check this link: https://wiki.archlinux.org/index.php/AMDGPU#AMD_DC
From my personal experience with a 390x card, DC code was unstable and I had to disable it to get an stable kernel. I haven't retried to enable it in the last couple of months so I don't know if this bug in DC was fixed.
Blacklisting it did the trick. I'm now running AMDGPU, at least until pro becomes available. I'll list the steps as the answer in case anyone else comes looking for answers.
Blacklisting built in kernel modules is done at startup, so grub does the work. Edit
/ect/default/grub
with the editor of your choice and add
modprobe.blacklist=radeon
in to GRUB_CMDLINE_LINUX_DEFAULT right next to anything that might already be there, such as quiet splash. Then, save the changes and update grub.
sudo update-grub2
Reboot and you should be using AMDGPU instead of radeon. I should stress making sure your card is compatible, else blacklisting your gfx module is likely to cause problems.
Activate AMDGPU for CI or SI generation
How do I use AMDGPU instead of radeon on ubuntu 18.10?
Does AMDGPU finally have support for Sea Islands?
FYI: since kernel 4.13, adding the amdgpu.si_support=1 or amdgpu.cik_support=1 kernel parameter is required for amdgpu to start
I run 4.13 with my RX 480 and it uses amdgpu by default, without adding any extra parameters. Output of lspci -nnk | grep -iA2 vga:
More on reddit.com01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/580] [1002:67df] (rev c7) Subsystem: Micro-Star International Co., Ltd. [MSI] Radeon RX 480 [1462:3413] Kernel driver in use: amdgpu
I'm kinda new to linux, I have a8-6410 8gb ram and r5 apu(gpu) and am using ubuntu 18.10(dual booting along with windows, am using it primarily for using emulators since amd windows has crappy support for opengl) since I use it for emulation, it would be a shame not to be able to use vulkan. I cant get vulkan to work and get VK_initialization_error(thingy). I saw that many other discussions had something like add 'radeon.si_support=0 radeon.cik_support=0 amdgpu.si_support=1 amdgpu.cik_support=1 modprobe.blacklist=radeon' to kernal. I tried to edit grub through nano in terminal buut I have absolutely no idea where I'm supposed to add it. Can someone please help me do this? Even though my gpu support vulkan in windows, does it support the same on ubuntu?
Edit: forget this, the main thing I'm trying to solve is that I get
==========
VULKANINFO
==========
Vulkan Instance Version: 1.1.82
/build/vulkan-tools-ZnxIl9/vulkan-tools-1.1.82.0+dfsg1/vulkaninfo/vulkaninfo.c:3339: failed with VK_ERROR_INITIALIZATION_FAILED
when I use
vulkaninfo
How do I get over this?
Edit: its solved now. We have to add radeon.si_support=0 radeon.cik_support=0 amdgpu.si_support=1 amdgpu.cik_support=1 modprobe.blacklist=radeon Line into /etc/default/grub's GRUB_CMDLINE_LINUX_DEFAULT right next to quiet splash but inside the quotes then do 'sudo update grub2' and reboot. Install vulkan driver and vulkan utils if you haven't to use vulkan from now on.
I didn't know this and it took some time to troubleshoot. Obviously applies if you're after SI or CIK support.
I run 4.13 with my RX 480 and it uses amdgpu by default, without adding any extra parameters. Output of lspci -nnk | grep -iA2 vga:
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/580] [1002:67df] (rev c7) Subsystem: Micro-Star International Co., Ltd. [MSI] Radeon RX 480 [1462:3413] Kernel driver in use: amdgpu
This might be why I have no X, thanks
Solved thanks to u/gardotd426
Just edit /etc/default/grub and put radeon.si_support=0 radeon.cik_support=0 amdgpu.si_support=1 amdgpu.cik_support=1 in the GRUB_CMDLINE_LINUX_DEFAULT
line, inside the quotes, with all the stuff already there.When you're done, run sudo update-grub and reboot.
This was because I'm using a MBR+BIOS system.
Hi, I tried following every tutorial I could find(such as this) but nothing solves this issue. I'm on 20.04 LTS and whenever I try to use kernelstub I get:
kernelstub.Config : INFO Looking for configuration...
kernelstub.Drive : ERROR Could not find a block device for the a partition. This is a critical error and we cannot continue.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/kernelstub/drive.py", line 56, in __init__
self.esp_fs = self.get_part_dev(self.esp_path)
File "/usr/lib/python3/dist-packages/kernelstub/drive.py", line 94, in get_part_dev
raise NoBlockDevError('Couldn\'t find the block device for %s' % path)
kernelstub.drive.NoBlockDevError: Couldn't find the block device for /boot/efiMy drive is mounted and I don't have problems with UUIDs like a fix suggested. Here's the output of lsblk -f:
sdb ├─sdb1 ext4 43f129e6-1ac6-44c2-9d1d-1fd56671882c 175,8M 55% /boot ├─sdb2 crypto_LUKS 41f064fe-e874-4be8-989f-4b4b50160db6 │ └─cryptdata LVM2_member 6EiAfx-pUDU-7UhI-hNED-SbR1-poOz-3V2AZI │ └─data-root ext4 2a766067-b77f-4d99-9b2c-dfd076448a87 291,3G 31% / └─sdb3 swap 347a67ca-e8b0-4b13-a714-f61e62797225 └─cryptswap swap 5d4db3a9-792f-4a2d-8d84-9e89bd9dc861 [SWAP]
Here's the output of lspci -v regarding my GPU:
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Hawaii XT / Grenada XT [Radeon R9 290X/390X] (prog-if 00 [VGA controller]) Subsystem: PC Partner Limited / Sapphire Technology R9 290X Tri-X OC Flags: bus master, fast devsel, latency 0, IRQ 136 Memory at 40000000 (64-bit, prefetchable) [size=256M] Memory at 50000000 (64-bit, prefetchable) [size=8M] I/O ports at 4000 [size=256] Memory at 50800000 (32-bit, non-prefetchable) [size=256K] Expansion ROM at 000c0000 [disabled] [size=128K] Capabilities: <access denied> Kernel driver in use: radeon Kernel modules: radeon, amdgpu
I was trying to use kernelstub to force the amdgpu driver with:
sudo kernelstub -a "radeon.si_support=0 radeon.cik_support=0 amdgpu.si_support=1 amdgpu.cik_support=1"
All help is appreciated