运行我的应用程序OpenGL version 2.0
或更高是必须的。
glxinfo | grep OpenGL
产量:
Xlib: extension "NV-GLX" missing on display ":1007.0".
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.4.1)
OpenGL extensions:
/sbin/lspci -v
产量:
01:00.0 VGA compatible controller: NVIDIA Corporation GT218 [GeForce 310] (rev a2) (prog-if 00 [VGA controller])
Subsystem: Device 1b0a:9060
Flags: bus master, fast devsel, latency 0, IRQ 169
Memory at fa000000 (32-bit, non-prefetchable) [size=16M]
Memory at d0000000 (64-bit, prefetchable) [size=256M]
Memory at ce000000 (64-bit, prefetchable) [size=32M]
I/O ports at ec00 [size=128]
Expansion ROM at fbe80000 [disabled] [size=512K]
Capabilities: [60] Power Management version 3
Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [78] Express Endpoint, MSI 00
Capabilities: [b4] Vendor Specific Information: Len=14 <?>
Kernel modules: nvidiafb, nvidia-169_07, nvidia
我尝试过的:
安装 NVIDIA-Linux-x86-310.32.run 驱动程序(它支持我的显卡)。
有如何升级到 OpenGL 2.0 的指导吗?
系统:CentOS 5.8 32位
uname -a
:
Linux xxxxxxx 2.6.18-348.1.1.el5 #1 SMP Tue Jan 22 16:24:03 EST 2013 i686 i686 i386 GNU/Linux
答案1
安装 NVIDIA 供应商提供的显卡驱动程序。最好使用kmod-nvidia
RPM Fusion(非免费)存储库中提供的驱动程序(包),或者您可以从 NVIDIA 网站手动安装它们(不推荐,因为如果出现问题,您可能会面临安装失败的风险)。