我正在尝试运行一个带有 OpenGL 的应用程序,并且出现以下消息:
freeglut OpenGL GLX extension not supported by display ':0'
我已经在这里和 stackexchange 上阅读了很多主题,其中任何一个都提出了真正的解决方案;我正在运行带有 nvidia 驱动程序 346 的 Ubuntu 12.04(通过站点上的文件安装)。以下信息也相关:
glxinfo:
name of display: :0
Error: couldn't find RGB GLX visual or fbconfig
Xlog.0.日志:
[ 28.204] (II) LoadModule: "glx"
[ 28.204] (II) Loading /usr/lib/x86_64-linux-gnu/xorg/extra-modules/libglx.so
[ 28.279] (EE) Failed to load /usr/lib/x86_64-linux-gnu/xorg/extra-modules /libglx.so: libnvidia-tls.so.304.125: cannot open shared object file: No such file or directory
[ 28.279] (II) UnloadModule: "glx"
[ 28.279] (II) Unloading glx
[ 28.279] (EE) Failed to load module "glx" (loader failed, 7)
linux - linux系统删除VGA:
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
01:00.0 VGA compatible controller: NVIDIA Corporation GF119M [GeForce GT 520M] (rev a1)