I have a fresh installation of Fedora MATE 30 on an optimus laptop:
$ lspci |grep -E "VGA|3D" 00:02.0 VGA compatible controller: Intel Corporation HD Graphics 630 (rev 04) 01:00.0 3D controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Ti Mobile] (rev a1)
The steps I 've taken are:
$ sudo dnf config-manager --add-repo=https://negativo17.org/repos/fedora-nvidia.repo $ sudo dnf upgrade $ sudo dnf install kernel-headers kernel-devel $ sudo dnf install nvidia-driver nvidia-driver-libs nvidia-libXNVCtrl nvidia-driver-cuda nvidia-driver-cuda-libs nvidia-driver-NVML nvidia-persistenced nvidia-modprobe nvidia-settings nvidia-xconfig dkms-nvidia $ sudo dkms autoinstall
If I understood the instructions on the negativo page the commands below are not needed. I tried them when the ones above didn’t work.
$ sudo echo "blacklist nouveau" >> /etc/modprobe.d/blacklist.conf # Above didn't work due to permissions, was done manually! # Edit /etc/sysconfig/grub to append `rd.driver.blacklist=nouveau` - already done by negativo post install scripts? $ sudo grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg
The problem is that when I try to load the latest kernel available, 5.1.6, I am greeted with a black screen instead of a login screen. I have also kernel 5.0.9 installed, which works with the nouveau driver, because I was running 5.1.6 when I tried to install the drivers.
The nvidia drivers appear to be installed:
$ ls -la /boot | grep initramfs-5 -rw-------. 1 root root 26110997 Jun 8 02:50 initramfs-5.0.9-301.fc30.x86_64.img -rw-------. 1 root root 23908630 Jun 8 10:58 initramfs-5.1.6-300.fc30.x86_64.img $ dkms status nvidia, 430.14, 5.1.6-300.fc30.x86_64, x86_64: installed
but on the other hand the nvidia settings application doesn’t show up when I boot in 5.0.6 even though the package is installed.
When I boot in the 5.1.6 image and get a black (as if powered off) screen instead of a log in screen, the system seems to be working. While reading information from this bug report on negativo17 github repo I once tried entering my password and I think I managed to log in. In any case after selecting the 5.1.6 image the only thing I can do to get my screen to work is to press
Ctrl + Alt + F2 and use this console to do something. But I have to reboot into the 5.0.9 image if I am to use the Desktop environment.
Any ideas on what might be wrong and I can’t get the proprietary nvidia drivers to work? I thought maybe nvidia drivers didn’t support 5.1 in Fedora but I didn’t find any reference about it. And the bug report I mentioned says that some users in F29 got a black screen when they should be shown a log in screen. I think I am getting the same but I can’t be sure?