So I’ve recently made the move to Fedora after a long time on debian due to the need to use Da vinci Resolve for video editing.
So I have a 4070 Nvidia card.
I followed a few guides to install Nvidia drivers however each time resulted in a black screen after a reboot
Running below shows my gpus
lspci -nnk | grep -iA3 "VGA\|3D"
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation AD102 [GeForce RTX 4070 Ti SUPER] [10de:2689] (rev a1)
Subsystem: ZOTAC International (MCO) Ltd. Device [19da:7675]
Kernel driver in use: nouveau
Kernel modules: nouveau
--
10:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Raphael [1002:164e] (rev c7)
Subsystem: Gigabyte Technology Co., Ltd Device [1458:d000]
Kernel driver in use: amdgpu
Kernel modules: amdgpu
First Steps i tried to install Nvidia drivers
sudo dnf install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm -y
sudo dnf install akmod-nvidia xorg-x11-drv-nvidia-cuda -y
Rebooting here will produce a black screen.
I then followed this guide with steps
sudo dnf update
Enable RPM fusion
sudo dnf install Making sure you're not a bot!(rpm -E %fedora).noarch.rpm Making sure you're not a bot!(rpm -E %fedora).noarch.rpm
(Skipped secureboot as i confirmed it’s disabled)
sudo dnf install akmod-nvidia
sudo dnf install xorg-x11-drv-nvidia-cuda # Required for nvidia-smi and CUDA support
My drive is Luks encrypted so i followed the steps there too
sudo grubby --update-kernel=ALL --args=‘plymouth.use-simpledrm=1’
printf ‘%s\n’ ‘force_drivers+=" nvidia nvidia_modeset nvidia_uvm nvidia_drm "’ | sudo tee /etc/dracut.conf.d/nvidia.conf
(Prevent my AMD gpu taking over)
echo ‘omit_drivers+=" amdgpu "’ | sudo tee /etc/dracut.conf.d/omit-amdgpu.conf
sudo dracut --force
I did see this error which is listed as a common problem on the guide
NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver. Make sure the latest NVIDIA driver is installed and running
The guide also implies that the black screen is just a graphical issue and you can input your luks password. However I’ve attempted this twice and wasn’t able to either time. (I rebuilt the pc from Fedora live USB after each failure).
Any help would be massively appreciated!