Nvidia driver gives errors after installation

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
jury
Posts: 9
Joined: 27. Sep 2023, 18:07

Nvidia driver gives errors after installation

Post 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?
jury
Posts: 9
Joined: 27. Sep 2023, 18:07

Re: Nvidia driver gives errors after installation

Post by jury »

Forgot. Here is a log from nvidia driver installation (/var/log/nvidia-installer.log):

https://pastebin.com/HZx8XWFV
User avatar
gapan
Salix Wizard
Posts: 6241
Joined: 6. Jun 2009, 17:40

Re: Nvidia driver gives errors after installation

Post by gapan »

Can you provide the output of:

Code: Select all

ls /var/log/packages/kernel-*
Image
Image
jury
Posts: 9
Joined: 27. Sep 2023, 18:07

Re: Nvidia driver gives errors after installation

Post 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
User avatar
jpg153
Donor
Posts: 449
Joined: 23. Oct 2009, 15:43
Location: Krefeld/NRW/BRD/EU

Re: Nvidia driver gives errors after installation

Post 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 .
Regards Gruß
jpg
jury
Posts: 9
Joined: 27. Sep 2023, 18:07

Re: Nvidia driver gives errors after installation

Post 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.
Post Reply