Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I solved the issue. After a reboot, I cannot see the login screen. By typing sudo journalctl -b I can see that there is an incompatibility with the Nvidia kernel module:

Mär 07 10:34:41 yfedora /usr/libexec/gdm-x-session[1322]: (EE) NVIDIA: Failed to initialize the NVIDIA kernel module. Please see the
Mär 07 10:34:41 yfedora /usr/libexec/gdm-x-session[1322]: (EE) NVIDIA:     system's kernel log for additional error messages and
Mär 07 10:34:41 yfedora /usr/libexec/gdm-x-session[1322]: (EE) NVIDIA:     consult the NVIDIA README for details.
Mär 07 10:34:41 yfedora kernel: NVRM: API mismatch: the client has the version 418.39, but
                                NVRM: this kernel module has the version 418.43.  Please
                                NVRM: make sure that this kernel module and all NVIDIA driver
                                NVRM: components have the same version.

It was because the RPMFusion-Non-Free package install the newer version of the kernel module 418.43 and the CUDA driver support the version 418.39. Thus I check the package and I can see that due to my last installation the kmod-nvidia couldn't not be removed automatically. So I did:

sudo dnf remove kmod-nvidia-4.20.13-200.fc29.x86_64-3:418.43-1.fc29.x86_64

and then install the correct version:

sudo dnf install kmod-nvidia-418.39

Now, the CUDA check deviceQuery returns a good result:

Compute Mode:
    < Default (multiple host threads can use ::cudaSetDevice() with device simultaneously) >

deviceQuery, CUDA Driver = CUDART, CUDA Driver Version = 10.1, CUDA Runtime Version = 10.1, NumDevs = 1
Result = PASS

I solved the issue. After a reboot, I cannot see the login screen. By typing sudo journalctl -b I can see that there is an incompatibility with the Nvidia kernel module:

Mär 07 10:34:41 yfedora  /usr/libexec/gdm-x-session[1322]: (EE) NVIDIA: Failed to initialize the NVIDIA kernel module. Please see the
Mär 07 10:34:41 yfedora  /usr/libexec/gdm-x-session[1322]: (EE) NVIDIA:     system's kernel log for additional error messages and
Mär 07 10:34:41 yfedora  /usr/libexec/gdm-x-session[1322]: (EE) NVIDIA:     consult the NVIDIA README for details.
Mär 07 10:34:41 yfedora  kernel: NVRM: API mismatch: the client has the version 418.39, but
                                NVRM: this kernel module has the version 418.43.  Please
                                NVRM: make sure that this kernel module and all NVIDIA driver
                                NVRM: components have the same version.

It was because the RPMFusion-Non-Free package install the newer version of the kernel module 418.43 and the CUDA driver support the version 418.39. Thus I check the package and I can see that due to my last installation the kmod-nvidia couldn't not be removed automatically. So I did:

sudo dnf remove kmod-nvidia-4.20.13-200.fc29.x86_64-3:418.43-1.fc29.x86_64

and then install the correct version:

sudo dnf install kmod-nvidia-418.39

Now, the CUDA check deviceQuery returns a good result:

Compute Mode:
    < Default (multiple host threads can use ::cudaSetDevice() with device simultaneously) >

deviceQuery, CUDA Driver = CUDART, CUDA Driver Version = 10.1, CUDA Runtime Version = 10.1, NumDevs = 1
Result = PASS