求助:rc1下安装nvidia驱动后opengl打不开(解决
下载了NVIDIA-Linux-x86-1.0-7676-pkg1.run,init 3
sh NVIDIA-Linux-x86-1.0-7676-pkg1
说找不到kernel的interface,下载不到,没去管它,继续装,顺利通过
vi ect/X11/xorg.conf
修改了nv为nvidia
没有找到load dri,和load GLcore,没有修改,
在xorg.conf-4下找到,修改,注释掉
init 5
出现nvidia图标
进入后setup,配置了一遍
glxgears
$ glxgears
Xlib:extension "GLX" missing on display ":0.0".
glxgears: Error: couldn't get an RGB, Double-buffered visual.
$nvidia-settings
Xlib:extension "XVideo" missing on display ":0.0"
点击opengl information,说
The OpenGL extension 'GLX' is not supported by
the X server or there was a problem retrieving
GLX information from the X server.
修改了XF86conf,问题依旧
这是部分配置文件
Section "Device"
Identifier "Linux Frame Buffer"
Driver "fbdev"
BoardName "Unknown"
EndSection
Section "Device"
Identifier"NVIDIA GeForce 3 (generic)"
VendorName"Unknown"
BoardName "Unknown"
Driver "nvidia"
#VideoRam 65536
# Insert Clocks lines here if appropriate
EndSection
Section "Screen"
Identifier "Screen0"
Device "NVIDIA GeForce 3 (generic)"
Monitor "Samsung SyncMaster 763MB/713MB/CD173D(P)"
DefaultDepth 24
Subsection "Display"
Depth 24
Modes "1024x768"
EndSubSection
EndSection
Section "DRI"
Mode 0666
EndSection
显卡是geforce3ti200 load GLcore
你也注释掉了? 是的,不用吗?readme里说要注释掉,我就注释了
If you have a working X config file for a different driver (such as the "nv"
or "vesa" driver), then simply edit the file as follows.
Remove the line:
Driver "nv"
(or Driver "vesa")
(or Driver "fbdev")
and replace it with the line:
Driver "nvidia"
Remove the following lines:
Load "dri"
Load "GLCore"
In the "Module" section of the file, add the line (if it does not already
exist):
Load "glx" 我的可以啊,就像KDE说的,注释掉Load "GLcore" dri好要注释掉吗?我是按着redme来的,不知为什么不可。 显卡型号告诉我? 我的是geforce3 ti 200,
我把framebuffer也给注释掉了,不知有什么影响 我什么也没注释,使用正常,GFFX5700Ultra 我只要改nv为nvidia,别的没注意,上述要注释掉的地方不存在,要添加的地方早有了。大家不同可能和初安装时ML自动对各自显卡的检测配置有关。
你把xorg.conf-4删了看看,我懂的不多,只知运行了Xconfigurator才会产生xorg.conf-4和xorg.conf,并把原来的xorg.conf改成xorg.conf.old。并且把默认图形登陆改成了默认字符模式。
用Xconfigurator不可能产生正确的配置文件,其中鼠标等的设置没有正确被设置,别的我就不太清楚。如果不再存在xorg.conf,把XF86Config复制成xorg.conf,再用原方法装下看。 成功解决了!
感谢大家!
配置时我看到xconfigurator说他只是产生一个sample config file,并且是XF86config,又参考了haulm的建议,终于成功了
cd etc/X11
mv xorg.conf xorg.conf.bak
cp XF86Config xorg.conf
init 5
glxgears
成功了!
谢谢大家,现在cs可以玩了,只是有点小问题,不过,会解决的!
太高兴了! cedega,可以正常的模拟,就是不能正常显示汉字,呵呵,不过不怕
页:
[1]