Hi folks!
I have a several problems using my setup under Fedora.
Hardware setup:
Laptop Lenovo V15 i5-1135G7 with intel Iris Xe + external GPU nVidia GTX 1660 Super using EXP GDC 8.5c adapter (M.2 NGFF) + external monitor connected to GTX 1660 Super via HDMI.
On Windows 11 all work fine.
Fresh Fedora 39 installed on external SSD, secureboot disabled.
Problem with official nvidia drivers:
install all updates and lastest kernel 6.7.4, reboot
“modinfo -F version nvidia” shows last driver version, seems all fine, reboot
after reboot, after grub, external monitor didnt shows anything, laptop screen shows fedora booting logo for 2-3 sec and then logo dissapears and system hangs
after power off/on i am able to boot only to previous kernel (6.5.6) with nouveau driver
Is it possible to get why this happens? On eGPU forum users told me that it is not first time when problems occur with external GPU and official nVidia drivers.
So i decide to try nouveau driver after another fresh reinstall Fedora 39.
Quirks with nouveau driver:
First of all, am i correct that NVK is a part of nouveau MESA driver?
Can i use NVK on Fedora 39?
Does MESA 23.3.5 support it?
How to check does system use NVK, or this is like with AMD opensource driver(if you use MESA - you use AMD opensource driver)?
With nouveau driver desktop on external monitor seems like lagging, when i move cursors its like low fps. On internal laptop screen all fine.
I have wierd feeling that my external GTX 1660 Super working in some sort of “bypass” mode, because when i launch games on external monitor - mangohud shows that i`m using Intel Xe.
If problem with official nvidia drivers cant be solved, i willing to stay with nouveau driver for testing NVK purpose and heed help how to use NVK.
We need a little more info about the system.
Please post as preformatted text (using the </> button) the output of inxi -Fzxx and dnf list installed \*nvidia\*
I personally have never had an issue with nvidia drivers and may be considered a die-hard nvidia afficionado by some.
We need a bit of information about how the nvidia drivers were installed.
You are using windows 11, so I know that by default the laptop had secure boot enabled. Is secure boot still enabled or not.?
If secure boot is enabled and you did not follow the steps in the file /usr/share/doc/akmods/README.secureboot to enable and sign the nvidia modules then the system will not be able to use those drivers. Instructions are also on the rpmfusion site
If the modules were not signed and you wish to sign them follow the instructions above to enroll the signing key into bios, then reinstall the drivers with
sudo dnf remove kmod-nvidia-6.7* to remove the unsigned modules
then
sudo akmods --force to recreate the signed modules and install them.
If you do not wish to sign the nvidia modules to enable use of secure boot then enter the bios setup menu and disable secure boot.
Maybe i should clarify a little bit: i have connect desktop GPU GTX 1660 Super to laptop via docking station. Issues about i`m talking appears on system like mine (laptop + desktop GPU NVIDIA + proprietary driver).
I was slightly mistaken, not Windows 11 but Windows 10, but this does not greatly affect the situation. Before installing Fedora I disabled secure boot.
I’ll give the answer a little later. But I assure you, the system sees all the necessary packages after correct installation of the proprietary drivers, I read several topics with your tips and instructions, in my case they unfortunately did not help me and I decided to create this topic.
So, I decided to see if I could configure the card to work in Ubuntu.
installed Ubuntu 22.04.04, did NOT include the proprietary repository during installation
after installing the system, I installed nvidia-driver-545-open, I did not edit the boot parameters
rebooted the laptop
everything worked
The system interface on the monitor connected to the video card was still a little laggy. I changed the PRIME setting in the nvidia panel and everything began to work perfectly (in X11 sessions, Wayland is very slow and lags). Apparently the integrated card was still involved in rendering the interface and because of this, there were slowdowns before.
If anyone has any suggestions on how to run an analogue of nvidia-driver-545-open in Fedora 39, I’m ready to experiment.
Sometimes life occurs.
I have been away from a computer for several days.
Oh! the withdrawal pains!!
Your inxi output shows no nvidia drivers installed and the 1660 GPU is using nouveau.
We have to know exactly what the starting conditions are and cannot assist if you bounce back and forth between distros as you seem to be doing. We also cannot assist very easily if you make random changes of your own choosing that may not be helpful with our understanding of current conditions.
When you are ready to stay with fedora and work thru the steps we can assist.
So, I booted with the 6.7.5 kernel and installed the required packages:
sudo dnf update -y
sudo dnf install akmod-nvidia
After 10-15 minutes the system completely froze and stopped responding to my actions.
When I try to boot with kernel 6.7.5, the system freezes at the logo.
That would happen since the nvidia driver does not show as installed for the 6.7.4 kernel. Check the listing for the kmod-nvidia package to see that.
It is possible that you rebooted too soon after the driver was installed and the system did not have time to properly complete the install for the 6.7.5 kernel.
When booted with the 6.7.4 kernel, perform these steps and then reboot to see the results.
sudo dnf remove kmod-nvidia\* to remove the driver that does not function.
sudo akmods --force to build the driver new. This should work to build the drivers for both the 6.7.4 and the 6.7.5 kernels.
sudo dnf list installed kmod-nvidia\* to verify which kernels now have supporting drivers.
sudo dnf remove kmod-nvidia\*
[sudo] password for dmytro:
Dependencies resolved.
================================================================================
Package Arch Version Repository Size
================================================================================
Removing:
kmod-nvidia-6.7.5-200.fc39.x86_64
x86_64 3:545.29.06-3.fc39 @@commandline 43 M
Transaction Summary
================================================================================
Remove 1 Package
Freed space: 43 M
Is this ok [y/N]: y
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Erasing : kmod-nvidia-6.7.5-200.fc39.x86_64-3:545.29.06-3.fc39 1/1
Running scriptlet: kmod-nvidia-6.7.5-200.fc39.x86_64-3:545.29.06-3.fc39 1/1
Verifying : kmod-nvidia-6.7.5-200.fc39.x86_64-3:545.29.06-3.fc39 1/1
Removed:
kmod-nvidia-6.7.5-200.fc39.x86_64-3:545.29.06-3.fc39.x86_64
Complete!
sudo akmods --force
Checking kmods exist for 6.7.4-200.fc39.x86_64 [ OK ]
Files needed for building modules against kernel
6.7.4-200.fc39.x86_64 could not be found as the following
directories are missing:
/usr/src/kernels/6.7.4-200.fc39.x86_64/
/lib/modules/6.7.4-200.fc39.x86_64/build/Is the correct ker[FAILED]l package installed?
Checking kmods exist for 6.7.5-200.fc39.x86_64 [ OK ]
Building and installing nvidia-kmod [ OK ]
Apparently you did not install the nvidia drivers until after installing the 6.7.5 kernel so the kernel-devel package did not get installed for the 6.7.4 kernel.
There is a new kernel in the testing repo and if you would like to test it you could install that newer one with sudo dnf upgrade kernel\* --enablerepo updates-testing. It is possible that a bug in the 6.7.5 kernel is causing the problem so this is certainly worth a try. Installing the new kernel should automatically build the nvidia driver for that kernel. Wait for at least 5 minutes after installation completes before rebooting to test the new kernel.