LMDE 4, nvidia geforce 210: failed to initialize the GLX module

Questions about hardware and drivers
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
lucianoloder
Level 1
Level 1
Posts: 3
Joined: Thu Apr 15, 2021 5:03 pm

LMDE 4, nvidia geforce 210: failed to initialize the GLX module

Post by lucianoloder »

Hey guys

I am trying to solve this for a little while and i am not been able to find anything on the forums.

I have an old core i5 desktop with Nvidia Geforce 210 (GT218), which cinnamon is entering in failback mode every login.

Looking at /var/log/Xorg.o.log i see an error with this message:
NVIDIA(0): Failed to initialize the GLX module;

Some lines above i see the following:
(II) Module glx: vendor="X.Org Foundation"

but " update-glx --config glx" shows the /usr/lib/nvidia" package selected

I installed all NVIDIA-legacy-340xx packages , tried to install nvidia-glx package but it installs some nvidia-430 packages and the graphics interface go nuts, so i had to remove all nvidia related packages and reinstall only the 340xx ones.

Any suggestions? I was thinking about remove all nvidia packages and install the vendor driver, is there any other solution?

Thanks in advance.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
kelebek333
Level 4
Level 4
Posts: 419
Joined: Sat Jun 25, 2011 11:57 am

Re: LMDE 4, nvidia geforce 210: failed to initialize the GLX module

Post by kelebek333 »

Can you post outputs of following commands?

Code: Select all

inxi -SGMaxx

Code: Select all

dkms status

Code: Select all

dpkg -l | grep nvidia

Code: Select all

grep ^ /etc/x11/xorg.conf /etc/x11/xorg.conf.d/* /usr/share/X11/xorg.conf.d/* | nc termbin.com 9999

Code: Select all

cat /var/log/Xorg.0.log | nc termbin.com 9999
lucianoloder
Level 1
Level 1
Posts: 3
Joined: Thu Apr 15, 2021 5:03 pm

Re: LMDE 4, nvidia geforce 210: failed to initialize the GLX module

Post by lucianoloder »

Sure, here are the results:
inxi:

Code: Select all

$ inxi -SGMaxx
System:
  Host: desktop Kernel: 4.19.0-16-amd64 x86_64 bits: 64 compiler: gcc 
  v: 8.3.0 Desktop: Cinnamon 4.8.6 wm: Metacity dm: LightDM 
  Distro: LMDE 4 Debbie base: Debian 10.2 buster 
Machine:
  Type: Desktop Mobo: Intel model: DZ68DB v: AAG27985-103 
  serial: <root required> BIOS: Intel v: DBZ6810H.86A.0014.2011.0413.1049 
  date: 04/13/2011 
Graphics:
  Device-1: Intel 2nd Generation Core Processor Family Integrated Graphics 
  driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:0102 
  Device-2: NVIDIA GT218 [GeForce 210] driver: nvidia v: 340.108 
  bus ID: 01:00.0 chip ID: 10de:0a65 
  Display: x11 server: X.Org 1.20.4 driver: none 
  resolution: 1440x900~60Hz, 1600x900~60Hz 
  OpenGL: renderer: N/A v: N/A direct render: N/A 
dkms:

Code: Select all

$ dkms status
bbswitch, 0.8, 4.19.0-14-amd64, x86_64: installed
bbswitch, 0.8, 4.19.0-16-amd64, x86_64: installed
ndiswrapper, 1.60, 4.19.0-14-amd64, x86_64: installed
ndiswrapper, 1.60, 4.19.0-16-amd64, x86_64: installed
ndiswrapper, 1.60, 4.9.0-14-amd64, x86_64: installed
nvidia-legacy-340xx, 340.108, 4.19.0-16-amd64, x86_64: installed
dpkg:

Code: Select all

$ dpkg -l | grep nvidia
ii  glx-alternative-nvidia                        1.2.0~bpo10+1                              amd64        allows the selection of NVIDIA as GLX provider
ii  libegl1-nvidia-legacy-340xx:amd64             340.108-3~deb10u1                          amd64        NVIDIA binary EGL library (340xx legacy version)
ii  libegl1-nvidia-legacy-340xx:i386              340.108-3~deb10u1                          i386         NVIDIA binary EGL library (340xx legacy version)
ii  libgl1-nvidia-legacy-340xx-glx:amd64          340.108-3~deb10u1                          amd64        NVIDIA binary OpenGL/GLX library (340xx legacy version)
ii  libgl1-nvidia-legacy-340xx-glx:i386           340.108-3~deb10u1                          i386         NVIDIA binary OpenGL/GLX library (340xx legacy version)
ii  libgles1-nvidia-legacy-340xx:amd64            340.108-3~deb10u1                          amd64        NVIDIA binary OpenGL|ES 1.x library (340xx legacy version)
ii  libgles1-nvidia-legacy-340xx:i386             340.108-3~deb10u1                          i386         NVIDIA binary OpenGL|ES 1.x library (340xx legacy version)
ii  libgles2-nvidia-legacy-340xx:amd64            340.108-3~deb10u1                          amd64        NVIDIA binary OpenGL|ES 2.x library (340xx legacy version)
ii  libgles2-nvidia-legacy-340xx:i386             340.108-3~deb10u1                          i386         NVIDIA binary OpenGL|ES 2.x library (340xx legacy version)
ii  libnvidia-legacy-340xx-cfg1:amd64             340.108-3~deb10u1                          amd64        NVIDIA binary OpenGL/GLX configuration library (340xx legacy version)
ii  libnvidia-legacy-340xx-cfg1:i386              340.108-3~deb10u1                          i386         NVIDIA binary OpenGL/GLX configuration library (340xx legacy version)
ii  libnvidia-legacy-340xx-compiler:amd64         340.108-3~deb10u1                          amd64        NVIDIA runtime compiler library (340xx legacy version)
ii  libnvidia-legacy-340xx-cuda1:amd64            340.108-3~deb10u1                          amd64        NVIDIA CUDA Driver Library (340xx legacy version)
ii  libnvidia-legacy-340xx-cuda1:i386             340.108-3~deb10u1                          i386         NVIDIA CUDA Driver Library (340xx legacy version)
ii  libnvidia-legacy-340xx-cuda1-i386:i386        340.108-3~deb10u1                          i386         NVIDIA CUDA 32-bit runtime library (340xx legacy version)
ii  libnvidia-legacy-340xx-eglcore:amd64          340.108-3~deb10u1                          amd64        NVIDIA binary EGL core libraries (340xx legacy version)
ii  libnvidia-legacy-340xx-eglcore:i386           340.108-3~deb10u1                          i386         NVIDIA binary EGL core libraries (340xx legacy version)
ii  libnvidia-legacy-340xx-encode1:amd64          340.108-3~deb10u1                          amd64        NVENC Video Encoding runtime library (340xx legacy version)
ii  libnvidia-legacy-340xx-fbc1:amd64             340.108-3~deb10u1                          amd64        NVIDIA OpenGL-based Framebuffer Capture runtime library (340xx legacy version)
ii  libnvidia-legacy-340xx-glcore:amd64           340.108-3~deb10u1                          amd64        NVIDIA binary OpenGL/GLX core libraries (340xx legacy version)
ii  libnvidia-legacy-340xx-glcore:i386            340.108-3~deb10u1                          i386         NVIDIA binary OpenGL/GLX core libraries (340xx legacy version)
ii  libnvidia-legacy-340xx-ifr1:amd64             340.108-3~deb10u1                          amd64        NVIDIA OpenGL-based Inband Frame Readback runtime library (340xx legacy)
ii  libnvidia-legacy-340xx-ml1:amd64              340.108-3~deb10u1                          amd64        NVIDIA Management Library (NVML) runtime library (340xx legacy version)
ii  libnvidia-legacy-340xx-nvcuvid1:amd64         340.108-3~deb10u1                          amd64        NVIDIA CUDA Video Decoder runtime library (340xx legacy version)
ii  nvidia-installer-cleanup                      20151021+9                                 amd64        cleanup after driver installation with the nvidia-installer
ii  nvidia-kernel-common                          20151021+9                                 amd64        NVIDIA binary kernel module support files
ii  nvidia-legacy-340xx-alternative               340.108-3~deb10u1                          amd64        allows the selection of NVIDIA as GLX provider (340xx legacy version)
ii  nvidia-legacy-340xx-driver                    340.108-3~deb10u1                          amd64        NVIDIA metapackage (340xx legacy version)
ii  nvidia-legacy-340xx-driver-bin                340.108-3~deb10u1                          amd64        NVIDIA driver support binaries (340xx legacy version)
ii  nvidia-legacy-340xx-driver-libs:amd64         340.108-3~deb10u1                          amd64        NVIDIA metapackage (OpenGL/GLX/EGL/GLES libraries) (340xx legacy version)
ii  nvidia-legacy-340xx-driver-libs:i386          340.108-3~deb10u1                          i386         NVIDIA metapackage (OpenGL/GLX/EGL/GLES libraries) (340xx legacy version)
ii  nvidia-legacy-340xx-driver-libs-i386:i386     340.108-3~deb10u1                          i386         NVIDIA metapackage (OpenGL/GLX/EGL/GLES 32-bit libraries) (340xx legacy)
ii  nvidia-legacy-340xx-kernel-dkms               340.108-3~deb10u1                          amd64        NVIDIA binary kernel module DKMS source (340xx legacy version)
ii  nvidia-legacy-340xx-kernel-source             340.108-3~deb10u1                          amd64        NVIDIA binary kernel module source (340xx legacy version)
ii  nvidia-legacy-340xx-kernel-support            340.108-3~deb10u1                          amd64        NVIDIA binary kernel module support files (340xx legacy version)
ii  nvidia-legacy-340xx-opencl-icd:amd64          340.108-3~deb10u1                          amd64        NVIDIA OpenCL installable client driver (ICD) (340xx legacy version)
ii  nvidia-legacy-340xx-smi                       340.108-3~deb10u1                          amd64        NVIDIA System Management Interface (340xx legacy version)
ii  nvidia-legacy-340xx-vdpau-driver:amd64        340.108-3~deb10u1                          amd64        Video Decode and Presentation API for Unix - NVIDIA driver (340xx legacy)
ii  nvidia-modprobe                               450.66-1~bpo10+1                           amd64        utility to load NVIDIA kernel modules and create device nodes
ii  nvidia-opencl-common                          450.66-1~bpo10+1                           amd64        NVIDIA OpenCL driver - common files
ii  nvidia-persistenced                           418.56-1                                   amd64        daemon to maintain persistent software state in the NVIDIA driver
ii  nvidia-settings-legacy-340xx                  340.108-1~deb10u1                          amd64        tool for configuring the NVIDIA graphics driver (340xx legacy version)
ii  nvidia-support                                20151021+9                                 amd64        NVIDIA binary graphics driver support files
ii  xserver-xorg-video-nvidia-legacy-340xx        340.108-3~deb10u1                          amd64        NVIDIA binary Xorg driver (340xx legacy verson)
/etc/X11/xorg.conf.d is not present in my installation:

Code: Select all

https://termbin.com/7vd4
Xorg.0.log is here:

Code: Select all

https://termbin.com/pgt1
Thanks in advance
kelebek333
Level 4
Level 4
Posts: 419
Joined: Sat Jun 25, 2011 11:57 am

Re: LMDE 4, nvidia geforce 210: failed to initialize the GLX module

Post by kelebek333 »

You can look that guide for Bumblebee installation for your device. (Note: LMDE 4 is based Debian 10 Buster.) https://wiki.debian.org/Bumblebee

Also you must remove /etc/X11/xorg.conf file for Bumblebee using.

Code: Select all

sudo rm -f /etc/X11/xorg.conf
Locked

Return to “Hardware Support”