I am on Debian 12 and using official nVidia repositories. I just updated from driver 560 to 565 and it is causing a bunch of rendering issues:
- Hardware OpenGL rendering no longer works.
glxinfo
says:
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
Vendor: Mesa/X.org (0xffffffff)
Device: llvmpipe (LLVM 15.0.6, 256 bits) (0xffffffff)
Version: 22.3.6
Accelerated: no
Video memory: 31999MB
Unified memory: yes
Preferred profile: core (0x1)
Max core profile version: 4.5
Max compat profile version: 4.5
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.2
OpenGL vendor string: Mesa/X.org
OpenGL renderer string: llvmpipe (LLVM 15.0.6, 256 bits)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 22.3.6
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
Games that render using OpenGL are no longer playable due to low framerate.
-
Video rendering is broken, both in a browser (Firefox) and VLC: during playback horizontal stripes of checkerboard artifacts show up every now and then. These are somehwat similar to artifacts show in ths thread but not exactly the same. In the browser the artifact also sometimes show up when switching between tabs. In VLC I have “XVideo output (XCB)” set as the output module (in advanced settings). Changing output module to OpenGL solves the problem for VLC, which is interesting in the light of bullet (1) above. In Firefox, I have both
gfx.webrender.all
andmedia.ffmpeg.vaapi.enabled
settings set tofalse
inabout:config
. This is in order to solve the tearing problems during video playback. It seems like flipping these totrue
helps the problem, but it re-introduces tearing, which is even worse. It seems that these rendering problems, whether in VLC or Firefox, happen only when a certain part of the video is played for the first time. Rewinding the video and re-playing the same fragment again usually has no artifacts. -
Running
glxgears
reports:
libGL error: glx: failed to create dri3 screen
libGL error: failed to load driver: nouveau
Disabling modeset
silences these errors. Other than that, modeset
seems to have no effect on the two errors described above. Note also that I don’t have the nouveau driver and have never used it.
I’m running kernel 6.1.0, drivers 565.57.01, and running an X server. My cards is RTX 4070 Super.
EDIT: Running strace glxinfo 2>&1 | grep -i libgl | grep open
reports:
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libGL.so.1", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libGLdispatch.so.0", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libGLX.so.0", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libGLX_mesa.so.0", O_RDONLY|O_CLOEXEC) = 4
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libglapi.so.0", O_RDONLY|O_CLOEXEC) = 4
/lib/x86_64-linux-gnu/libGL.so.1
is a symlink that ultimately points to /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1.7.0
, which seems suspicious. Also, update-glx --config glx
reports:
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
I also note that before the upgrade there used to be libgl1-nvidia-glvnd-glx
library, which is no longer available in the driver 565 and it had to be uninstalled as part of the upgrade.