分页: 1 / 1

关于openGL,以及显卡的问题,求助,thx

发表于 : 2012-01-26 16:59
vvwyot
想学openGL,但是发现自己编译环境都搭不好,glut的几个库都装了,用eclipes页下载cdt插件,可是run的时候就会跳出
Launch failed.Binary not found.
程序里面的问题在#include<GL/glut.h>,显示的是Multiple markers at this line - Unresolved inclusion: <GLglut.h>
直接用vi谢的话,编译运行就会显示Xlib: extension "GLX" missing on display ":0.0".
freeglut (./a.out): OpenGL GLX extension not supported by display ':0.0'
网上找了很多资料都没有用...是不是我的显卡驱动有问题?

我用~$ glxinfo | grep rendering
显示的是
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Error: couldn't find RGB GLX visual or fbconfig
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
显卡是nvdia的,求大大帮忙解决,万分感谢~~ :em06

Re: 关于openGL,以及显卡的问题,求助,thx

发表于 : 2012-01-26 17:13
vvwyot
有大神帮忙解决下么。。。。困扰好久了

Re: 关于openGL,以及显卡的问题,求助,thx

发表于 : 2012-01-26 17:30
mraandtux

Re: 关于openGL,以及显卡的问题,求助,thx

发表于 : 2012-01-28 16:07
vvwyot
好像不是同一个情况啊.....

Re: 关于openGL,以及显卡的问题,求助,thx

发表于 : 2012-01-28 16:09
vvwyot
之前11.04没这个问题...装了11.10就这样了...
郁闷啊....
求大神帮忙啊 :em18

Re: 关于openGL,以及显卡的问题,求助,thx

发表于 : 2012-01-28 16:22
cjxgm
OpenGL GLX extension not supported by display ':0.0'
这很明显没有开启 GLX,一般情况下,如果你确定装好了闭源驱动,那就大概是你没有修改 xorg.conf,或者你的 xorg.conf 被弄乱了(如果你还装过开源驱动)。
试试运行 nvidia-xconfig

Re: 关于openGL,以及显卡的问题,求助,thx

发表于 : 2012-01-28 17:39
vvwyot
Using X configuration file: "/etc/X11/xorg.conf".

VALIDATION ERROR: Data incomplete in file /etc/X11/xorg.conf.
Device section "Default Device" must have a Driver line.


ERROR: Unable to write to directory '/etc/X11'.
这个是没装驱动么?

Re: 关于openGL,以及显卡的问题,求助,thx

发表于 : 2012-01-28 17:45
cjxgm
vvwyot 写了:Using X configuration file: "/etc/X11/xorg.conf".

VALIDATION ERROR: Data incomplete in file /etc/X11/xorg.conf.
Device section "Default Device" must have a Driver line.


ERROR: Unable to write to directory '/etc/X11'.
这个是没装驱动么?
没有写权限
sudo nvidia-xconfig

Re: 关于openGL,以及显卡的问题,求助,thx

发表于 : 2012-01-28 19:16
vvwyot
是显卡驱动没装...
装完了重启的时候,不知道为什么有个
Automatic crash report generation [Failed]
进不去了..
这个怎么处理...查了一下,有人说禁掉bootsplash
这个有用么...?怎么禁