Page 1 of 1

Nvidia driver gives errors after installation

Posted: 11. Feb 2024, 11:51
by jury
I got a couple years old notebook with nvidia 820m card. I have freshly installed 64bit Salix 15 there and installed nvidia driver (390.157) according to article on the Wiki. It seems it installed fine, but now, after I done a reboot, I see below error messages in Xorg.0.log:

[ 33.324] (EE) [drm] Failed to open DRM device for (null): -2
[ 33.324] (EE) modeset: Failed to load module "glamoregl" (module does not exist, 0)
[ 33.324] (EE) modeset(0): Failed to load glamor module.
[ 33.495] (EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not found)

Here is the full log:

https://pastebin.com/ASSVbfya

Why are those errors showing on a freshly installed system and graphics driver and how to fix this?

Re: Nvidia driver gives errors after installation

Posted: 11. Feb 2024, 15:54
by jury
Forgot. Here is a log from nvidia driver installation (/var/log/nvidia-installer.log):

https://pastebin.com/HZx8XWFV

Re: Nvidia driver gives errors after installation

Posted: 12. Feb 2024, 08:46
by gapan
Can you provide the output of:

Code: Select all

ls /var/log/packages/kernel-*

Re: Nvidia driver gives errors after installation

Posted: 12. Feb 2024, 08:52
by jury
Sure:

Code: Select all

$ ls /var/log/packages/kernel-*
/var/log/packages/kernel-firmware-20231222_a7dee43-noarch-1
/var/log/packages/kernel-headers-5.15.145-x86-1
/var/log/packages/kernel-huge-5.15.145-x86_64-1
/var/log/packages/kernel-modules-5.15.145-x86_64-1
/var/log/packages/kernel-source-5.15.145-noarch-1

Re: Nvidia driver gives errors after installation

Posted: 17. Feb 2024, 22:58
by jpg153
Hi,

if I am not mistaken, you are using an incompatible driver for your card.
Please check the nvidia driver section.
If I enter your spec, its not 390.157 but 430.40 .

Re: Nvidia driver gives errors after installation

Posted: 18. Feb 2024, 14:45
by jury
Last driver for GeForce 820m is 390, for sure. Even tool nvidia-detect proposes this driver. The earlier driver for this card is 340, but at least Debian folks do not reccomend it as having some security problems:

Code: Select all

Use of the 340-series driver is strongly discouraged. It is not included in stable releases of Debian anymore, has serious unfixable security vulnerabilities, and may not be updated for new kernels in a timely manner. You are highly recommended to use the built-in Nouveau driver if security is a priority. 

source: https://wiki.debian.org/NvidiaGraphicsDrivers

But when I will find motivation (as I'm trying to set nvidia card on this machine for more than one month now, and I'm just tired of this) I'm gonna try this 340 driver, just to see the outcome.