LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 15804|回复: 15

Intel 945G 集成显卡驱动

[复制链接]
发表于 2006-5-16 11:19:46 | 显示全部楼层 |阅读模式
哪位知道Xorg6.9.0有没有支持硬件加速的Intel 945G 集成显卡驱动?是i810吗? 怎样开启硬件加速?我现在在Linux里用mplayer的-vo gl速度很慢。

配置:
Pentium D 930
Gigabyte 8i945GMH-RH主板
Intel GMA950 Integrated Graphics

Slackware current
Kernel 2.6.16.9
Xorg 6.9.0
发表于 2006-5-16 16:25:30 | 显示全部楼层
试试Intel官方提供的驱动.有for RHEL4的.不过还有Source你可以自己编译
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-5-16 16:50:29 | 显示全部楼层
可以给个网址吗?我在intel的网站没有找到。只有for Suse 9.x的。那个for Linux的好像根本就是个X.org X server. 下了后不知道怎么安装。
http://downloadfinder.intel.com/ ... D=2102&lang=eng
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-5-17 09:52:41 | 显示全部楼层

已经解决了。分享一下。

xorg的i810驱动是支持945G/GMA950的.
实际上,i810驱动支持所有这些intel chipset:
i810, i810-DC100, i810e, i815, 830M, 845G, 852GM, 855GM, 865G, 915G, 915GM, 945G, 945GM
虽然man page里只提到915G和915GM为止。

可以man i810

关键就是打开DRI. 我参照了以下文章。
http://dri.freedesktop.org/wiki/DriTroubleshooting

这篇文章确实很有帮助,告诉你如何一步一步确定DRI的问题的原因。建议有需要的看一看。

1. 我确定了我的内核有Intel i810及以后芯片组的AGPGART和DRM的支持。(我的内核是自己编译的。Slackware带的标准内核应该已经有支持这些。)

2. 我发现要在X里打开DRI.

编辑 xorg.conf
...
Section "Module"
...
# This loads the DRI module 载入DRI模块
    Load        "dri"

# This loads the GLX module 载入GLX模块
    Load        "glx"
...
EndSection
...
# 建一个用i810驱动的设备
Section "Device"
    Identifier  "i810"
    Driver      "i810"
# Alternative to Load "dri" 这个Option与Load "dri"等效
#    Option      "DRI" "true"
EndSection
...
# 使用i810设备
Section "Screen"
    Identifier  "Screen 1"
    Device      "i810"
    Monitor     "Samsung 710N"
...

# 让普通用户也可以使用DRI. 如果没有这个,只有root可以用。
Section "DRI"
    Mode 0666
EndSection

之前:
x@slackx:~$ glxinfo
name of display: :0.0
display: :0  screen: 0
direct rendering: No
server glx vendor string: SGI

x@slackx:~$ glxgears
4246 frames in 5.1 seconds = 840.647 FPS
4200 frames in 5.0 seconds = 835.972 FPS
4605 frames in 5.1 seconds = 901.136 FPS
4920 frames in 5.1 seconds = 961.904 FPS
5160 frames in 5.0 seconds = 1027.514 FPS
5160 frames in 5.0 seconds = 1027.391 FPS
5160 frames in 5.0 seconds = 1028.289 FPS
5160 frames in 5.0 seconds = 1028.484 FPS
5160 frames in 5.0 seconds = 1027.678 FPS
5173 frames in 5.0 seconds = 1027.146 FPS

...

重起X之后:
x@slackx:~$ glxinfo
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI

x@slackx:~$ glxgears
6128 frames in 5.0 seconds = 1225.418 FPS
10277 frames in 5.0 seconds = 2055.316 FPS
25799 frames in 5.0 seconds = 5159.779 FPS
29263 frames in 5.0 seconds = 5852.472 FPS
29005 frames in 5.0 seconds = 5800.984 FPS
29025 frames in 5.0 seconds = 5804.835 FPS
29432 frames in 5.0 seconds = 5886.293 FPS
28826 frames in 5.0 seconds = 5765.187 FPS
29754 frames in 5.0 seconds = 5950.637 FPS
29917 frames in 5.0 seconds = 5983.400 FPS

是原来的5,6倍!
回复 支持 反对

使用道具 举报

发表于 2006-5-17 14:18:01 | 显示全部楼层
既然比我的MX440快这么多!
我的MX440只有它没装驱动时的速度。:(
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-5-18 14:16:32 | 显示全部楼层
你的DRI开了吗?
回复 支持 反对

使用道具 举报

发表于 2006-5-20 14:38:41 | 显示全部楼层
我迅驰二集成GMA900的就这么多。
2297 frames in 5.0 seconds = 459.371 FPS
2326 frames in 5.0 seconds = 465.127 FPS
2501 frames in 5.0 seconds = 500.176 FPS
2261 frames in 5.0 seconds = 452.187 FPS
。。
回复 支持 反对

使用道具 举报

发表于 2006-5-20 22:38:22 | 显示全部楼层
Post by 独行侠
既然比我的MX440快这么多!
我的MX440只有它没装驱动时的速度。:(

偶跟你一样,dri已经加载。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-5-22 13:45:11 | 显示全部楼层
速度是不是还跟CPU和内存有关?还是我的数值不准?从开始的一两千跳到5千多。
6128 frames in 5.0 seconds = 1225.418 FPS
10277 frames in 5.0 seconds = 2055.316 FPS
25799 frames in 5.0 seconds = 5159.779 FPS
29263 frames in 5.0 seconds = 5852.472 FPS
回复 支持 反对

使用道具 举报

发表于 2007-12-21 14:43:12 | 显示全部楼层
我实测了一下,我的
[root@insigma linux-2.6.23]# glxgears
5656 frames in 5.0 seconds = 1131.134 FPS
5709 frames in 5.0 seconds = 1141.670 FPS
5712 frames in 5.0 seconds = 1142.273 FPS
5708 frames in 5.0 seconds = 1141.414 FPS
5708 frames in 5.0 seconds = 1141.427 FPS
5710 frames in 5.0 seconds = 1141.951 FPS
5707 frames in 5.0 seconds = 1141.313 FPS


还是关闭了特效,我的是fc8的2.6.23内核,安装了驱动,945的芯片,没有lz说的那么夸张~
[root@insigma linux-2.6.23]# glxinfo
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.2
回复 支持 反对

使用道具 举报

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

本版积分规则

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