libGL 错误:找不到匹配的 fbConfigs 或视觉效果

libGL 错误:找不到匹配的 fbConfigs 或视觉效果

我有一些名为 A 的主机和一些名为 B 的计算机。我尝试glxgears通过 ssh 在主机 A 上运行:

ssh user@A -Y glxgears

我收到错误:

libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
X Error of failed request:  GLXBadContext
  Major opcode of failed request:  151 (GLX)
  Minor opcode of failed request:  6 (X_GLXIsDirect)
  Serial number of failed request:  43
  Current serial number in output stream:  42

主机 A 有 Intel 显卡,客户端 B 有 NVIDIA 驱动程序:

A:

OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) UHD Graphics 600 (GLK 2)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 20.0.8
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 20.0.8
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 20.0.8
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:

:

OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: Quadro K2000/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 440.100
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.6.0 NVIDIA 440.100
OpenGL shading language version string: 4.60 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 440.100
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:

A、B机器都可以glxgears本地运行

我尝试了这些问题的答案:

通过 SSH 启动 X 应用程序时出现 libGL 错误

https://ubuntuforums.org/showthread.php?t=2363759

https://forum.manjaro.org/t/ssh-x-on-laptop-with-dedicated-graphics-card-products-libgl-error/95155/3

https://forum.manjaro.org/t/ssh-x-on-laptop-with-dedicated-graphics-card-products-libgl-error/95155/18

https://bugzilla.gnome.org/show_bug.cgi?id=586777#c8

https://itectec.com/ubuntu/ubuntu-steam-libgl-error-no-matching-fbconfigs-or-visuals-found-libgl-error-failed-to-load-driver-swrast/

但没有任何帮助

相关内容