LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: newlycc

说说显卡的3D驱动如何开

[复制链接]
发表于 2008-1-15 19:52:35 | 显示全部楼层
呵呵,我的顺利打开3D!
$glxinfo|grep direct
direct rendering: Yes

$ fgl_glxgears
Using GLX_SGIX_pbuffer
2795 frames in 5.0 seconds = 559.000 FPS
3214 frames in 5.0 seconds = 642.800 FPS
3206 frames in 5.0 seconds = 641.200 FPS
3162 frames in 5.0 seconds = 632.400 FPS
3201 frames in 5.0 seconds = 640.200 FPS
用这么久的linux, 除了 hiweed可以很好驱动我的显卡,就只有arch 支持的这么好了!
不过说实话,中文显示效果不是很好。
回复 支持 反对

使用道具 举报

发表于 2008-1-15 20:08:31 | 显示全部楼层
是不是版本低了?xf86-video-intel的版本是2.2.0
回复 支持 反对

使用道具 举报

发表于 2008-1-15 20:31:49 | 显示全部楼层
我倒怕太新。上次我不小心更新到了testing的intel显卡驱动,那个是缺省打开EXA加速的,结果intel965GM跑wine就出错了,设置回XXA才没事的。
回复 支持 反对

使用道具 举报

发表于 2008-1-15 22:44:38 | 显示全部楼层
把xorg.conf以及用xf86-video-intel驱动时Xorg的log贴出来
回复 支持 反对

使用道具 举报

发表于 2008-1-15 23:40:22 | 显示全部楼层
xorg.conf里面模块
Section "Module"
    Load "dbe" # Double-Buffering Extension
    Load "v4l" # Video for Linux
    Load "extmod"
    Load "type1"
    Load "freetype"
    Load "glx" # 3D layer
    Load "dri" # direct rendering
回复 支持 反对

使用道具 举报

发表于 2008-1-16 01:13:43 | 显示全部楼层
agpgart这个模块是有的。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-1-16 09:49:52 | 显示全部楼层
Post by oxygen427;1807605
xorg.conf里面模块
Section "Module"
    Load "dbe" # Double-Buffering Extension
    Load "v4l" # Video for Linux
    Load "extmod"
    Load "type1"
    Load "freetype"
    Load "glx" # 3D layer
    Load "dri" # direct rendering


我的xorg.conf就缺Load "v4l" ,加上之后,重启X,竟然

[ncc@cc ~]$ glxinfo
name of display: :0.0
libGL warning: 3D driver claims to not support visual 0x4c
display: :0  screen: 0
direct rendering: Yes

可是
[ncc@cc ~]$ glxgears
libGL warning: 3D driver claims to not support visual 0x4c
1726 frames in 5.0 seconds = 345.061 FPS
1718 frames in 5.0 seconds = 343.555 FPS
1719 frames in 5.0 seconds = 343.663 FPS
1719 frames in 5.0 seconds = 343.729 FPS

FPS还是这么低。。。

毕竟是前进了一大步阿
看来问题的关键就是libGL warning: 3D driver claims to not support visual 0x4c
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-1-16 09:52:50 | 显示全部楼层
以前玩torcs时,FPS是3,4左右,现在玩有10了。。。不会就仅仅这样吧
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-1-16 09:55:07 | 显示全部楼层
这是我的xorg.conf
------------------------
Section "ServerLayout"
        Identifier     "Layout0"
        Screen      0  "Screen0" 0 0
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Module"
        Load "freetype"
        # Load "xtt"
        Load  "extmod"
        Load  "glx"
        Load  "dri"
        Load  "GLcore"
        Load  "dbe"
        Load  "v4l" # Video for Linux
        Load  "record"
        Load  "xtrap"
        Load  "type1"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option            "rotocol" "S/2"
        Option            "Device" "/dev/input/mice"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option            "XkbModel" "pc101"
        Option            "XkbLayout" "us"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
### Comment all HorizSync and VertRefresh values to use DDC:
        HorizSync    28.0 - 96.0
        VertRefresh  50.0 - 70.0
EndSection

Section "Device"
        Identifier  "Card0"
        Driver      "i810"
        Card        "** Intel i810 (generic)               [i810]"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultDepth     16
        SubSection "Display"
                Viewport   0 0
                Depth     16
                Modes    "1024x768" "800x600"
        EndSubSection
EndSection

Section "DRI"
Mode 0666
EndSection
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-1-16 10:02:21 | 显示全部楼层
这是xorg的log

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表