How To Fix Hybrid Graphics Boot Conflict (NVIDIA & Intel) on Fedora 43
If you've recently installed Fedora 43, and have both an Intel iGPU and a dedicated NVIDIA GPU, you might run into an issue where your computer completely freezes during the bootup. This guide teaches you how to solve that.
⚠️ Before You Start
- Do NOT install NVIDIA drivers from the CUDA/NVIDIA repo, it will cause conflicts in this guide
- Do NOT mix driver sources (do not download drivers from different sources)
- For your information, this guide uses RPM Fusion only
- It is highly recommended the guide to an absolute degree, attempting to solve things on your own can result in errors
1. Force Restart
-
Physically hold down your power button while it is frozen until your computer completely turns off.
- The booting screen will appear to continue loading when you press your power button, disregard this.
- Press (or hold, if a simple press doesn't work) your power key, until it boots up. You should then enter the grub menu.
- Make sure you are selected on the TOP Grub entry. This is the version that your system automatically boots into.
- Press your "
e" key to edit the menu entry
2. Edit GRUB Entry
Don't worry, this will be automatically removed during future steps, and will not harm your system.
- At the
linux(\$root)/vmlinuz-...line (your kernel version may differ), go all the way to the end on the same line, and add this single line of text:
nomodeset
- For instance, this could look like:
linux(\$root)/vmlinuz-6.19.10-200.fc43 ... quiet rhgb nomodeset
- Keep in mind that the text past
linux(\$root)/vmlinuz-...could look different per installation, but the same steps apply to all. Simply addnomodesetto the end.
3. Continue Booting
This will boot you into your system. Don't stop here though, because this does not actually solve your issue. It is a temporary workaround.
Login into your desktop.
4. Enable RPM Fusion Repositories
Open your terminal, and run this command:
sudo dnf install \ https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-43.noarch.rpm \ https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-43.noarch.rpm
5. Update Your System Via Terminal
sudo dnf update -y
Do NOT use the Discover store for this, as it will require a restart to fully apply any updates.
Wait for the updates to complete.
6. Install NVIDIA Drivers
sudo dnf install akmod-nvidia xorg-x11-drv-nvidia-cuda
- akmod-nvidia automatically builds the driver for your kernel
- This prevents most “kernel module missing” errors (for instance, if you experience an error that says it is "falling back to nouveau", this fixes that)
7. Ensure Kernel Headers Match
Check your running kernel:
uname -r
Check installed headers:
rpm -q kernel-devel kernel-headers
Your output should be something similar to this (version may differ):
kernel-devel-6.19.10-200.fc43.x86_64
kernel-headers-6.19.6-200.fc43.x86_64
If not, run this:
sudo dnf install "kernel-devel-uname-r == $(uname -r)"
8. Build the NVIDIA Kernel Module
Run these commands separately:
sudo akmods --force
sudo dracut --force
Wait a few minutes for the build to complete.
9. Reboot
sudo reboot
10. Verify
nvidia-smi lsmod | grep nvidia
You should see your GPU, and during boot, "falling back to nouveau" should not be present. This means your system is ready and will boot normally now!