Eu tenho um laptop de trabalho no qual instalei o Debian Buster. O laptop vem com um renderizador 3D nVidia GeForce MX130.
Este não é um adaptador VGA; ele só faz 3D. Eu instalei as bibliotecas nvidia GL:
wouter@pc181009:~$ dpkg -l|grep nvidia
ii glx-alternative-nvidia 0.9.1 amd64 allows the selection of NVIDIA as GLX provider
ii libegl-nvidia0:amd64 410.104-1 amd64 NVIDIA binary EGL library
ii libegl-nvidia0:i386 410.104-1 i386 NVIDIA binary EGL library
ii libgl1-nvidia-glvnd-glx:amd64 410.104-1 amd64 NVIDIA binary OpenGL/GLX library (GLVND variant)
ii libgl1-nvidia-glvnd-glx:i386 410.104-1 i386 NVIDIA binary OpenGL/GLX library (GLVND variant)
ii libgles-nvidia1:amd64 410.104-1 amd64 NVIDIA binary OpenGL|ES 1.x library
ii libgles-nvidia1:i386 410.104-1 i386 NVIDIA binary OpenGL|ES 1.x library
ii libgles-nvidia2:amd64 410.104-1 amd64 NVIDIA binary OpenGL|ES 2.x library
ii libgles-nvidia2:i386 410.104-1 i386 NVIDIA binary OpenGL|ES 2.x library
ii libglx-nvidia0:amd64 410.104-1 amd64 NVIDIA binary GLX library
ii libglx-nvidia0:i386 410.104-1 i386 NVIDIA binary GLX library
ii libnvidia-cbl:amd64 410.104-1 amd64 NVIDIA binary Vulkan ray tracing (cbl) library
ii libnvidia-cfg1:amd64 410.104-1 amd64 NVIDIA binary OpenGL/GLX configuration library
ii libnvidia-eglcore:amd64 410.104-1 amd64 NVIDIA binary EGL core libraries
ii libnvidia-eglcore:i386 410.104-1 i386 NVIDIA binary EGL core libraries
ii libnvidia-fatbinaryloader:amd64 410.104-1 amd64 NVIDIA FAT binary loader
ii libnvidia-glcore:amd64 410.104-1 amd64 NVIDIA binary OpenGL/GLX core libraries
ii libnvidia-glcore:i386 410.104-1 i386 NVIDIA binary OpenGL/GLX core libraries
ii libnvidia-glvkspirv:amd64 410.104-1 amd64 NVIDIA binary Vulkan Spir-V compiler library
ii libnvidia-glvkspirv:i386 410.104-1 i386 NVIDIA binary Vulkan Spir-V compiler library
ii libnvidia-ml1:amd64 410.104-1 amd64 NVIDIA Management Library (NVML) runtime library
ii libnvidia-ptxjitcompiler1:amd64 410.104-1 amd64 NVIDIA PTX JIT Compiler
ii libnvidia-rtcore:amd64 410.104-1 amd64 NVIDIA binary Vulkan ray tracing (rtcore) library
ii nvidia-alternative 410.104-1 amd64 allows the selection of NVIDIA as GLX provider
ii nvidia-driver 410.104-1 amd64 NVIDIA metapackage
ii nvidia-driver-bin 410.104-1 amd64 NVIDIA driver support binaries
ii nvidia-driver-libs:amd64 410.104-1 amd64 NVIDIA metapackage (OpenGL/GLX/EGL/GLES libraries)
ii nvidia-driver-libs:i386 410.104-1 i386 NVIDIA metapackage (OpenGL/GLX/EGL/GLES libraries)
ii nvidia-driver-libs-i386:i386 410.104-1 i386 NVIDIA metapackage (OpenGL/GLX/EGL/GLES 32-bit libraries)
ii nvidia-egl-common 410.104-1 amd64 NVIDIA binary EGL driver - common files
ii nvidia-egl-icd:amd64 410.104-1 amd64 NVIDIA EGL installable client driver (ICD)
ii nvidia-egl-icd:i386 410.104-1 i386 NVIDIA EGL installable client driver (ICD)
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-kernel-dkms 410.104-1 amd64 NVIDIA binary kernel module DKMS source
ii nvidia-kernel-support 410.104-1 amd64 NVIDIA binary kernel module support files
ii nvidia-legacy-check 410.104-1 amd64 check for NVIDIA GPUs requiring a legacy driver
ii nvidia-modprobe 410.93-1 amd64 utility to load NVIDIA kernel modules and create device nodes
ii nvidia-persistenced 410.93-1 amd64 daemon to maintain persistent software state in the NVIDIA driver
ii nvidia-settings 410.104-1 amd64 tool for configuring the NVIDIA graphics driver
ii nvidia-support 20151021+9 amd64 NVIDIA binary graphics driver support files
ii nvidia-vdpau-driver:amd64 410.104-1 amd64 Video Decode and Presentation API for Unix - NVIDIA driver
ii nvidia-vulkan-common 410.104-1 amd64 NVIDIA Vulkan driver - common files
ii nvidia-vulkan-icd:amd64 410.104-1 amd64 NVIDIA Vulkan installable client driver (ICD)
ii nvidia-vulkan-icd:i386 410.104-1 i386 NVIDIA Vulkan installable client driver (ICD)
ii xserver-xorg-video-nvidia 410.104-1 amd64 NVIDIA binary Xorg driver
Além disso, "update-glx --config glx" está configurado para usar os drivers nVidia:
wouter@pc181009:~$ sudo LC_ALL=C update-glx --config glx
There are 3 choices for the alternative glx (providing /usr/lib/glx).
Selection Path Priority Status
------------------------------------------------------------
* 0 /usr/lib/nvidia 100 auto mode
1 /usr/lib/mesa-diverted 5 manual mode
2 /usr/lib/nvidia 100 manual mode
3 /usr/lib/nvidia/bumblebee 95 manual mode
Press <enter> to keep the current choice[*], or type selection number:
no entanto, quando executo "glxinfo", vejo que o renderizador ainda está usando a Intel iGPU com a biblioteca mesa. Além disso, as configurações da nvidia simplesmente falham:
wouter@pc181009:~$ nvidia-settings -V
WARNING: NV-CONTROL extension not found on this Display.
ERROR: Unable to load info from any available system
O que devo fazer para que o sistema GL use a GPU nvidia?