使用Syu更新系统后, 好像nvidia显卡出现了问题, 表现为picom不能使用glx渲染后端

我使用pacman -Syu更新系统后, dwm桌面窗口不能正常渲染, 排查后是因为我指定picom合成器使用glx渲染后端, 然而glx不知道因为什么问题报错, 下面是提供的信息:

(~) -[24] - uname -a 
Linux MyArch 6.17.6-arch1-1 #1 SMP PREEMPT_DYNAMIC Wed, 29 Oct 2025 22:23:47 +0000 x86_64 GNU/Linux
(~) -[20] - glxinfo | grep -i 'OpenGL\|direct rendering'
pci id for fd 4: 10de:1c8c, driver (null)
pci id for fd 5: 10de:1c8c, driver (null)
pci id for fd 6: 10de:1c8c, driver (null)
glx: failed to create dri3 screen
failed to load driver: nvidia-drm
direct rendering: Yes
OpenGL vendor string: Mesa
OpenGL renderer string: llvmpipe (LLVM 21.1.4, 256 bits)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 25.2.6-arch1.1
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.5 (Compatibility Profile) Mesa 25.2.6-arch1.1
OpenGL shading language version string: 4.50
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 25.2.6-arch1.1
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:
(~) -[20] - lsmod | grep -E 'nvidia|i915|amdgpu'
nvidia_drm            143360  8
nvidia_uvm           3850240  0
nvidia_modeset       1929216  3 nvidia_drm
drm_ttm_helper         16384  1 nvidia_drm
nvidia              111501312  43 nvidia_uvm,nvidia_drm,nvidia_modeset
i915                 4849664  5
i2c_algo_bit           24576  1 i915
drm_buddy              28672  1 i915
ttm                   122880  2 drm_ttm_helper,i915
intel_gtt              28672  1 i915
drm_display_helper    278528  1 i915
video                  81920  3 ideapad_laptop,i915,nvidia_modeset
cec                    94208  2 drm_display_helper,i915
(~) -[21] - xrandr --listproviders
Providers: number : 2
Provider 0: id: 0x1b7 cap: 0x1, Source Output crtcs: 4 outputs: 5 associated providers: 1 name:NVIDIA-0
Provider 1: id: 0x1e3 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 3 outputs: 1 associated providers: 1 name:modesetting
(~) -[22] - lspci -k | grep -EA3 'VGA|3D'
00:02.0 VGA compatible controller: Intel Corporation CoffeeLake-H GT2 [UHD Graphics 630]
	Subsystem: Lenovo Device 39fd
	Kernel driver in use: i915
	Kernel modules: i915
--
01:00.0 VGA compatible controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Ti Mobile] (rev a1)
	Subsystem: Lenovo Device 39fd
	Kernel driver in use: nvidia
	Kernel modules: nouveau, nvidia_drm, nvidia

pacman -Qi nvidia-utils nvidia看看?

(~) -[1] - pacman -Qi nvidia-utils nvidia
Name            : nvidia-utils
Version         : 580.95.05-1
Description     : NVIDIA drivers utilities
Architecture    : x86_64
URL             : http://www.nvidia.com/
Licenses        : custom
Groups          : None
Provides        : vulkan-driver  opengl-driver  nvidia-libgl
Depends On      : libglvnd  egl-wayland  egl-gbm  egl-x11
Optional Deps   : nvidia-settings: configuration tool
                  xorg-server: Xorg support [installed]
                  xorg-server-devel: nvidia-xconfig
                  opencl-nvidia: OpenCL support [installed]
Required By     : libglvnd  nvidia
Optional For    : cuda  ffmpeg  libvdpau  sdl3  vulkan-icd-loader
Conflicts With  : nvidia-libgl
Replaces        : nvidia-libgl
Installed Size  : 900.51 MiB
Packager        : Peter Jung <ptr1337@archlinux.org>
Build Date      : Sat 04 Oct 2025 09:40:34 PM CST
Install Date    : Sun 02 Nov 2025 11:38:18 AM CST
Install Reason  : Explicitly installed
Install Script  : Yes
Validated By    : Signature

Name            : nvidia
Version         : 580.95.05-8
Description     : NVIDIA kernel modules
Architecture    : x86_64
URL             : https://www.nvidia.com/
Licenses        : LicenseRef-custom
Groups          : None
Provides        : NVIDIA-MODULE
Depends On      : linux  nvidia-utils=580.95.05  libglvnd
Optional Deps   : None
Required By     : None
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 82.31 MiB
Packager        : Jan Alexander Steffens (heftig) <heftig@archlinux.org>
Build Date      : Thu 30 Oct 2025 07:26:52 AM CST
Install Date    : Sun 02 Nov 2025 11:38:18 AM CST
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : Signature

那再看看pacman -Qi libglvnd?

(~) -[4] - pacman -Qi libglvnd
Name            : libglvnd
Version         : 1.7.0-3
Description     : The GL Vendor-Neutral Dispatch library
Architecture    : x86_64
URL             : https://gitlab.freedesktop.org/glvnd/libglvnd
Licenses        : custom:BSD-like
Groups          : None
Provides        : libgl  libegl  libgles  libEGL.so=1-64  libGL.so=1-64  libGLESv2.so=2-64  libGLX.so=0-64  libGLdispatch.so=0-64  libOpenGL.so=0-64
Depends On      : libxext  mesa  opengl-driver
Optional Deps   : None
Required By     : eglexternalplatform  fcitx5  ffmpeg  fltk1.3  freeglut  gl2ps  glew  glu  gst-plugins-bad-libs  gst-plugins-base-libs  gtk3  gtk4  jasper  kitty
                  libepoxy  libva  mesa  mesa-utils  mpv  nvidia  nvidia-utils  opencv  openvr  openxr  picom  qt5-base  qt6-base  qt6-wayland  qt6-webengine
                  sdl3  simplescreenrecorder  tigervnc  webkit2gtk-4.1  wemeet-bin  xorg-server  xorg-xdriinfo
Optional For    : vtk
Conflicts With  : None
Replaces        : None
Installed Size  : 3.34 MiB
Packager        : Sven-Hendrik Haase <svenstaro@archlinux.org>
Build Date      : Sat 14 Jun 2025 07:55:06 AM CST
Install Date    : Sat 14 Jun 2025 08:58:45 PM CST
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : Signature

@依云 @ZheCi 我遇到了同样的问题,看到已经被标记成已解决,请问具体是怎么解决的?(我安装的libglvnd 也是这个版本)

我的问题解决了,通过降级 xorg-server,参考:https://www.reddit.com/r/archlinux/comments/1ojfb8r/xorgserver_21120_needs_to_be_reverted_trouble/

我换了桌面环境,改成了wayland了~我当时没解决