Bug 5946

Summary: NVidia in Fedora Silverblue 34 with GTX 650 fails to recognition kernel module
Product: Fedora Reporter: Fábio Rodrigues Ribeiro <farribeiro>
Component: xorg-x11-drv-nvidiaAssignee: Nicolas Chauvet <kwizart>
Status: RESOLVED FIXED    
Severity: enhancement CC: hans, kwizart, leigh123linux, negativo17
Priority: P1    
Version: f34   
Hardware: x86_64   
OS: GNU/Linux   
namespace:
Attachments: nvidia-bug-report with nouveau disabled
rpm -qa of the whole system
nvidia-bug-report with secureboot disabled

Description Fábio Rodrigues Ribeiro 2021-03-08 00:45:01 CET
Created attachment 2282 [details]
nvidia-bug-report with nouveau disabled

Hello,

I have an NVidia GTX650 and was trying to install the driver on my Fedora Silverblue 34, but to no avail, even when the f33 and rpmfusion were on the same version I had the same problem.

I was following the tutorials on the site [1] and x11-xorg-drv-nvidia (460.xx), kmod-nvidia is installed and nouveau is disabled and does not recognize the installed package driver, my monitor goes in low resolution and About Gnome the loaded graphics driver shows me to be generic (llvmpipe). See attached, the log of nvidia-bug-report.sh with nouveau disabled, if you need more logs let me know.

I imagine there is an error in the recognition of the kernel module, as it appears that the nouveau driver is falling back in the boot logo or in the tutorial some step is missing. In the fpaste --sysinfo gives me the impression that he is looking for the legacy driver called nv.

A colleague asked me to run the command lsmod | grep nividia and executed with nouveau disabled and there is no return so I executed with lsmod | grep nouveau and there it was loaded.

According to the NVidia website, the .bin driver returned to me, it gives the impression that it is version 460.xx as well as as downloaded and as there is support for vulkan in its latest drivers[2].



[1] https://rpmfusion.org/Howto/NVIDIA#Silverblue
[2] https://developer.nvidia.com/vulkan-driver
Comment 1 leigh scott 2021-03-08 01:50:32 CET
see https://bugzilla.rpmfusion.org/show_bug.cgi?id=5942#c1
Comment 2 leigh scott 2021-03-08 01:55:11 CET
Also Secure boot enabled, marking issue as invalid!

[    0.000000] secureboot: Secure boot enabled
Comment 3 Fábio Rodrigues Ribeiro 2021-03-08 12:15:28 CET
Thanks for reply the issue.

Fábio
Comment 4 Nicolas Chauvet 2021-03-08 18:58:50 CET
(Copied to IRC)

/usr/sbin/akmods-ostree-post is a better entry for ostree distros.

Is there a way for you to list all (rpm) packages installed on silverblue  ?

cat /var/cache/akmods/nvidia/460.56-1-for-5.11.3-300.fc34.x86_64.log | fpaste
Comment 5 Fábio Rodrigues Ribeiro 2021-03-08 21:42:04 CET
Created attachment 2283 [details]
rpm -qa of the whole system
Comment 6 Fábio Rodrigues Ribeiro 2021-03-08 21:43:47 CET
The akmod log file doesn't exists
Comment 7 leigh scott 2021-03-14 08:35:02 CET
We don't support secure boot

[    0.006524] secureboot: Secure boot enabled
[    0.006524] RAMDISK: [mem 0x5c7b4000-0x6003efff]

[   15.053587] Loading of unsigned module is rejected
[   15.067423] Loading of unsigned module is rejected

https://rpmfusion.org/Howto/Secure%20Boot?highlight=%28%5CbCategoryHowto%5Cb%29
Comment 8 leigh scott 2021-03-14 08:38:12 CET
Feel free to reopen if you can reproduce with secure boot disabled.
You will need to provide more logging with it disabled.
Comment 9 Fábio Rodrigues Ribeiro 2021-03-14 11:17:27 CET
Created attachment 2284 [details]
nvidia-bug-report with secureboot disabled
Comment 10 Fábio Rodrigues Ribeiro 2021-03-14 11:19:12 CET
new nvidia-bug-report with secureboot disabled
Comment 11 leigh scott 2021-03-14 11:52:18 CET
Try another DE, gnome beta (including GDM) isn't stable.


                                           Stack trace of thread 1030:
                                           #0  0x00007f11fa424434 __pthread_mutex_lock (libpthread.so.0 + 0xb434)
                                           #1  0x00007f11df8627d3 eglReleaseThread (libEGL_mesa.so.0 + 0x117d3)
                                           #2  0x00007f11e1bdf3cb eglReleaseThread (libEGL.so.1 + 0x53cb)
                                           #3  0x00007f11e3d8fa7c n/a (libGLX_nvidia.so.0 + 0x94a7c)
                                           #4  0x00007f11e3d8ed64 n/a (libGLX_nvidia.so.0 + 0x93d64)
                                           #5  0x00007f11e3d46e3f n/a (libGLX_nvidia.so.0 + 0x4be3f)
                                           #6  0x00007f11e3dd0009 n/a (libGLX_nvidia.so.0 + 0xd5009)
                                           #7  0x00007f11fa4f1ae7 __run_exit_handlers (libc.so.6 + 0x3fae7)
                                           #8  0x00007f11fa4f1c90 exit (libc.so.6 + 0x3fc90)
                                           #9  0x00007f11fa4d9b7c __libc_start_main (libc.so.6 + 0x27b7c)
                                           #10 0x00005625a7e02c1e _start (gnome-session-check-accelerated + 0x2c1e)
Comment 12 Fábio Rodrigues Ribeiro 2021-03-14 12:45:52 CET
The kmod worked
Comment 13 Fábio Rodrigues Ribeiro 2021-03-14 13:05:42 CET
btw... with x11 session, the wayland is the default session for gnome now