LinuxSir.cn,穿越时空的Linuxsir!

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

A卡的兄弟有福了~

[复制链接]
发表于 2008-5-29 19:38:27 | 显示全部楼层 |阅读模式
发表于 2008-5-30 10:31:20 | 显示全部楼层
看样子好像以后买机器不怕买A卡的了喔
去电脑城逛,看到A卡就有种不喜欢的感觉,当然在WIN下用倒无所谓
好多Acer的机子配的是ATI的卡,
回复 支持 反对

使用道具 举报

发表于 2008-5-30 11:48:15 | 显示全部楼层
昨天就是为了装那个开源驱动,xf86-video-ati。
想着先卸载ati-drivers,最后有一个错误显示:
switching to xorg-x11 OpenGL interface...ln: symbol '../libGL.so'
Failed to create //usr/lib32/libGL.so

后来安装了开源的ati驱动,然后发现eselect opengl list里,只有xorg-x11一个。
修改了xorg.conf,改driver为ati,重启进不去x,是在kde启动快结束时退回控制台的。
说找不到libGL.so.1,我发现有libGL.so,但是没有libGL.so.1。我又链接了一个在/usr/lib/里,仍然没用。

有谁装好了这个开源的驱动,可以指点一下吗?
回复 支持 反对

使用道具 举报

发表于 2008-5-30 12:57:14 | 显示全部楼层
难啊,享受不了啊,
看人家主页里的 达到 3500以上的FPS,
我这才600多点FPS, 估计是享受不了了,ATI7500的显卡

  1. @gtnature /bin $ glxinfo | grep rendering
  2. direct rendering: Yes
  3. @tnature /bin $ glxgears
  4. 3100 frames in 5.0 seconds = 619.618 FPS
  5. 3109 frames in 5.0 seconds = 621.121 FPS
  6. 3086 frames in 5.0 seconds = 617.154 FPS
  7. 3068 frames in 5.0 seconds = 613.540 FPS
  8. 3149 frames in 5.0 seconds = 629.652 FPS
复制代码


还有什么办法提供FPS吗?
回复 支持 反对

使用道具 举报

发表于 2008-5-30 13:26:21 | 显示全部楼层
卸载 ati-drivers 之前需要 eselect opengl set xorg-x11
回复 支持 反对

使用道具 举报

发表于 2008-5-30 13:48:34 | 显示全部楼层
刚刚试过,X无法启动,退回老版本。

硬件环境:
Acer TravelMate 3280,ATI Technologies Inc Radeon Mobility X1400
系统环境:
linux-2.6.25.4、glibc-2.7、gcc-4.2.3、Xorg-7.3、xorg-server-1.4.0.90、radeonhd-1.2.1

参考how to setup DRI
升级的软件包如下,安装顺序如下:
  1. git clone git://anongit.freedesktop.org/git/mesa/drm
  2.         wget -c ftp://ftp.freedesktop.org/pub/individual/proto/dri2proto-1.1.tar.bz2
  3.         git clone git://anongit.freedesktop.org/git/xorg/proto/damageproto
  4.         git clone git://anongit.freedesktop.org/git/xorg/lib/libXdamage
  5. git clone git://anongit.freedesktop.org/git/mesa/mesa
  6.         wget -c ftp://ftp.freedesktop.org/pub/individual/proto/xextproto-7.0.3.tar.bz2
  7.         wget -c ftp://ftp.freedesktop.org/pub/individual/proto/xproto-7.0.13.tar.bz2
  8.         git clone git://anongit.freedesktop.org/git/xorg/proto/inputproto
  9.         git clone git://anongit.freedesktop.org/git/xorg/proto/glproto
  10.         git clone git://anongit.freedesktop.org/git/xorg/lib/libpciaccess
  11.         wget -c ftp://ftp.freedesktop.org/pub/individual/lib/pixman-0.10.0.tar.bz2
  12. git clone git://anongit.freedesktop.org/git/xorg/xserver
  13. git clone git://anongit.freedesktop.org/git/xorg/driver/xf86-input-mouse
  14. git clone git://anongit.freedesktop.org/git/xorg/driver/xf86-input-keyboard
  15. git clone git://anongit.freedesktop.org/git/xorg/driver/xf86-video-radeonhd
复制代码

安装顺利,未报错。

加载新编译的模块
  1. modprobe radeon
复制代码
结果如下:
  1. [drm] Initialized drm 1.1.0 20060810
  2. PCI: [color=Red]Unable to reserve mem region #1:8000000@c8000000 for device 0000:01:00.0[/color]
  3. ACPI: PCI Interrupt 0000:01:00.0[A] -> GSI 16 (level, low) -> IRQ 16
  4. PCI: Setting latency timer of device 0000:01:00.0 to 64
  5. [drm] Initialized radeon 1.29.0 20080528 on minor 0
  6. [drm] [color=Red]Used old pci detect: framebuffer loaded[/color]
复制代码

在/etc/X11/xorg.conf中添加
  1. Option "DRI"
复制代码

startx后,黑屏,Xorg.0.log中很多类似下面的东西
  1. R5xxXAASetupForScanlineImageWrite(rop = 7, planemask = 0xFFFFFFFF, trans_color = -1, bpp = 32, depth = 24)
  2. R5xxXAASubsequentScanlineImageWriteRect(x = 25, y = 69, w = 16, h = 16, skipleft = 0)
  3. R5xxXAASetupForScanlineImageWrite(rop = 7, planemask = 0xFFFFFFFF, trans_color = -1, bpp = 32, depth = 24)
  4. R5xxXAASubsequentScanlineImageWriteRect(x = 44, y = 87, w = 16, h = 16, skipleft = 0)
  5. R5xxXAASetupForScanlineImageWrite(rop = 7, planemask = 0xFFFFFFFF, trans_color = -1, bpp = 32, depth = 24)
  6. R5xxXAASubsequentScanlineImageWriteRect(x = 44, y = 105, w = 16, h = 16, skipleft = 0)
  7. R5xxXAASetupForScanlineImageWrite(rop = 7, planemask = 0xFFFFFFFF, trans_color = -1, bpp = 32, depth = 24)
  8. R5xxXAASubsequentScanlineImageWriteRect(x = 44, y = 123, w = 16, h = 16, skipleft = 0)
  9. R5xxXAASetupForScanlineImageWrite(rop = 7, planemask = 0xFFFFFFFF, trans_color = -1, bpp = 32, depth = 24)
  10. R5xxXAASubsequentScanlineImageWriteRect(x = 44, y = 141, w = 16, h = 16, skipleft = 0)
复制代码

看来新radeonhd驱动还要再开发一段时间,才能支持这块卡。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-5-31 04:13:17 | 显示全部楼层
我使用得是x11 overlay里的live ebuild(全为9999版本).
安装了x11-base/x11-drm(内核dri模块),mesa(7.1-rc1貌似也可以),xf86-video-ati,glxgears可以跑到1400,可跑魔兽和无冬之夜(这个可能随时跳掉,光影效果很差).

相比之下xf86-video-radeonhd性能要差不少(无2d加速,只能跑到~800)
注:ati x1300移动版,官方驱动glxgears~2400
回复 支持 反对

使用道具 举报

发表于 2008-5-31 13:05:14 | 显示全部楼层
人家貌似是用 X1800XT 测试的...

这效率可想而知...

开源ATI驱动总有一天会完美的... 但我看还没那么快......
那则新闻只能说是个预览吧。。。
回复 支持 反对

使用道具 举报

发表于 2008-5-31 14:53:49 | 显示全部楼层
再也不激动了 等它完善 我早换笔记本了
回复 支持 反对

使用道具 举报

发表于 2008-5-31 22:44:18 | 显示全部楼层
重复我上面步骤试过xf86-video-ati,可以运行,结果于楼上各位类似。

还要继续等。
xf86-video-ati 对 ATI X1400 的支持居然好过 xf86-video-radeonhd。
回复 支持 反对

使用道具 举报

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

本版积分规则

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