Disable the Integrated AMD GPU on Fedora (GRUB Blacklist)¶
Instructions for disabling the integrated AMD GPU on Fedora by blacklisting the amdgpu module in the GRUB bootloader, ensuring the system relies exclusively on the dedicated NVIDIA GPU. It also includes troubleshooting steps using grubby and dracut to resolve issues where Boot Loader Specification (BLS) files retain outdated kernel parameters.
Before you start¶
- Root/sudo privileges and terminal access.
- Check the NVIDIA driver works first (
nvidia-smishows your GPU). With the AMD GPU disabled and no working NVIDIA driver, you'll boot to a black screen. If that happens, press e on the GRUB entry, removeamdgpufrom both blacklists on thelinuxline, and press Ctrl+X to boot once without it.
Procedure¶
1. Edit the GRUB Configuration¶
Open the GRUB default configuration file in a text editor:
2. Append to the Blacklist¶
Locate the line starting with GRUB_CMDLINE_LINUX=.
Append amdgpu to the existing comma-separated lists for both rd.driver.blacklist and modprobe.blacklist.
Example line modification: Ensure the end of the line looks like this before the closing quote:
GRUB_CMDLINE_LINUX="... rd.driver.blacklist=nouveau,nova_core,amdgpu modprobe.blacklist=nouveau,nova_core,amdgpu"
3. Save and Exit (Nano)¶
- Press
Ctrl + Oto save. - Press
Enterto confirm the file name. - Press
Ctrl + Xto exit the editor.
4. Rebuild the GRUB Configuration¶
Apply the changes to the bootloader by generating a new GRUB configuration file:
5. Reboot and Verify¶
Restart the system to apply the boot parameter changes.
Once logged in, open the terminal and run the following command to verify the module is disabled:
If the command returns no output (a blank line), the AMD GPU driver has been successfully disabled.
Troubleshooting: Kernel Still Booting with AMDGPU Blacklisted Post Fix Release¶
If your /etc/default/grub file is clean and does not contain amdgpu in the blacklist string, the reason kernel 7.2.5 still boots with amdgpu blacklisted is that Fedora uses BLS (Boot Loader Specification). Individual boot entries in /boot/loader/entries/ store their own kernel command line arguments. If amdgpu was blacklisted when kernel 7.2.5 was installed, editing /etc/default/grub afterwards does not automatically update that specific kernel's BLS file.
To fix this across all kernel boot entries on Fedora, use grubby:
1. Remove the Blacklist Argument Across All Kernels¶
Run grubby to strip the amdgpu blacklist argument from all existing BLS boot entries at once:
sudo grubby --update-kernel=ALL \
--remove-args="modprobe.blacklist=nouveau,nova_core,amdgpu" \
--args="modprobe.blacklist=nouveau,nova_core"
Verification: Run the following command and verify amdgpu is no longer present in any kernel command line:
2. Regenerate GRUB and Update Initramfs¶
Regenerate your GRUB configuration and rebuild the initramfs images to ensure the updated firmware and modprobe rules are embedded into the early boot environment:
Verification: Both commands complete with success status messages and no dracut build errors.
3. Reboot into Kernel 7.2.5¶
Reboot the system so the new kernel parameters and firmware load from stage 1 boot:
Verification: The system boots cleanly to the KDE Plasma login screen. Once logged in, the following command will show active initialization logs for your integrated GPU:
Undo: re-enable the AMD GPU¶
Remove amdgpu from both lists in /etc/default/grub (sudo nano /etc/default/grub), then update every installed kernel's entry and rebuild:
sudo grubby --update-kernel=ALL \
--remove-args="rd.driver.blacklist=nouveau,nova_core,amdgpu modprobe.blacklist=nouveau,nova_core,amdgpu" \
--args="rd.driver.blacklist=nouveau,nova_core modprobe.blacklist=nouveau,nova_core"
sudo grub2-mkconfig -o /boot/grub2/grub.cfg
sudo dracut -f --regenerate-all
sudo reboot