LinuxSir.cn,穿越时空的Linuxsir!

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

装完ATI的驱动之后,怎么把opengl设置成ATI的

[复制链接]
发表于 2006-8-10 16:22:50 | 显示全部楼层 |阅读模式
我下载了官方驱动
然后 ./ati-driver-installer-8.27.10-x86.run
选第一项->automatic->exit
最后aticonfig --initial
重启后fglrxinfo显示的是这个
display: :0.0  screen: 0
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.4.2)
难道我哪个步骤错了吗???

我的xorg.conf如下
Section "ServerLayout"
        Identifier     "Default Layout"
        Screen      0  "aticonfig-Screen[0]" 0 0
        InputDevice    "Generic Keyboard"
        InputDevice    "Configured Mouse"
EndSection

Section "Files"

        # if the local font server has problems, we can fall back on these
        FontPath     "unix/:7100"
        FontPath     "/usr/share/fonts/X11/misc"
        FontPath     "/usr/lib/X11/fonts/misc"
        FontPath     "/usr/lib/X11/fonts/100dpi:unscaled"
        FontPath     "/usr/lib/X11/fonts/75dpi:unscaled"
        FontPath     "/usr/share/fonts/X11/Type1"
        FontPath     "/usr/lib/X11/fonts/Type1"
        FontPath     "/usr/lib/X11/fonts/Speedo"
        FontPath     "/usr/local/share/fonts"
        FontPath     "/usr/share/fonts"
        FontPath     "/usr/X11R6/lib/X11/fonts"
        FontPath     "/usr/share/fonts/jfbterm"
EndSection

Section "Module"
        Load  "bitmap"
        Load  "dbe"
        Load  "ddc"
        Load  "dri"
        Load  "extmod"
        Load  "freetype"
        Load  "glx"
        Load  "int10"
        Load  "record"
        Load  "type1"
        Load  "vbe"
EndSection

Section "InputDevice"
        Identifier  "Generic Keyboard"
        Driver      "keyboard"
        Option            "CoreKeyboard"
        Option            "XkbRules" "xfree86"
        Option            "XkbModel" "pc104"
        Option            "XkbLayout" "us"
EndSection

Section "InputDevice"
        Identifier  "Configured Mouse"
        Driver      "mouse"
        Option            "CorePointer"
        Option            "Device" "/dev/psaux"
        Option            "rotocol" "ImPS/2"
        Option            "Emulate3Buttons" "true"
        Option            "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
        Identifier   "Generic Monitor"
        HorizSync    30.0 - 60.0
        VertRefresh  50.0 - 75.0
        Option            "DPMS"
EndSection

Section "Monitor"
        Identifier   "aticonfig-Monitor[0]"
        Option            "VendorName" "ATI Proprietary Driver"
        Option            "ModelName" "Generic Autodetecting Monitor"
        Option            "DPMS" "true"
EndSection

Section "Device"
        Identifier  "Generic Video Card"
        Driver      "vesa"
        Option            "UseFBDev" "true"
EndSection

Section "Device"
        Identifier  "aticonfig-Device[0]"
        Driver      "fglrx"
EndSection

Section "Screen"
        Identifier "Default Screen"
        Device     "Generic Video Card"
        Monitor    "Generic Monitor"
        DefaultDepth     24
        SubSection "Display"
                Depth     24
                Modes    "1024x768"
        EndSubSection
EndSection

Section "Screen"
        Identifier "aticonfig-Screen[0]"
        Device     "aticonfig-Device[0]"
        Monitor    "aticonfig-Monitor[0]"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes    "1024x768"
        EndSubSection
EndSection

Section "DRI"
        Mode         0666
EndSection
 楼主| 发表于 2006-8-10 16:24:16 | 显示全部楼层
谁帮忙看看哪出问题了
我用的是Debian3.1 testing
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-8-10 16:24:24 | 显示全部楼层
谁帮忙看看哪出问题了
我用的是Debian3.1 testing
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-8-10 20:54:41 | 显示全部楼层
是不是要按这个方法安装

一 下载编译必需的软件包
1 下载必需的编译工具
# apt-get install build-essential
2 下载内核头文件
# apt-get install linux-headers-$(uname -r)
3 下载fglrx驱动和内核模块源文件
# apt-get install fglrx-driver fglrx-kernel-src
二 编译内核模块
1 解压fglrx内核模块源文件
# cd /usr/src
# tar xvf fglrx*
2 编译内核模块
# cd modules/fglrx/
# ./make.sh
3 安装内核模块
# mkdir /lib/modules/$(uname -r)/misc
# cp fglrx.ko /lib/modules/$(uname -r)/misc/
# depmod -ae
三 配置显卡
# dpkg-reconfigure xserver-xorg
驱动选择fglrx,别的默认
四 查看驱动是否正常加载
1 Ctrl+Alt+Backspace重启X,登录
2 查看$ fglrxinfo输出,是否含有“ATI Technologies Inc.”有即3D加速已打开。

不过我一./ati-driver-installer-8.27.10-x86.run --buildpkg Debian/testing
就出这个错误
Package build failed!
Package build utility output:
dpkg-buildpackage: source package is fglrx-installer
dpkg-buildpackage: source version is 8.27.10-1
dpkg-buildpackage: source changed by ATI Technologies Inc. <http://www.ati.com/support/driver.html>
dpkg-buildpackage: host architecture i386
dpkg-buildpackage: source version without epoch 8.27.10-1
debian/rules build
dh_testdir
make: dh_testdir: Command not found
make: *** [build] Error 127
谁来帮下我啊 郁闷死了
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-8-10 21:07:57 | 显示全部楼层
原来没装debhelper,唉!!!
装了在 ./ati-driver-installer-8.27.10-x86.run --buildpkg Debian/testing
结果 /bin/sh: line 2: bzip2: command not found
     make: *** [binary] Error 127
日啊,bzip2都没给我装
继续
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-8-10 23:19:44 | 显示全部楼层
用下面的方法还是没用啊

./ati-driver-installer-8.22.5-i386.run --buildpkg Debian/testing

dpkg -i fglrx-driver fglrx-kernel-src

tar jxf fglrx.tar.bz2
cd /usr/src/kernel-header-2.6.15-686

fakeroot make-kpkg --revision=custom.1.--added-modules fglrx modules_image
然后dpkg -i 刚才在/usr/src生成的DEB包
aticonfig --initial
reboot
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-8-10 23:22:40 | 显示全部楼层
用以上2种方法,安装过程都没出错
但每次重启fglrxinfo都是
display: :0.0  screen: 0
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.4.2)

谁还有办法啊
难道只能换N卡用吗????
回复 支持 反对

使用道具 举报

发表于 2006-8-11 10:31:40 | 显示全部楼层
有钱的话当然要换N卡。ATI对Linux的支持实在是太烂了。

不过ATI被AMD买了,希望今后对Linux支持好一些。。。

建议楼主去论坛中搜索一下,设置ATI显卡的贴子超多的。我用的是xorg7.0 + ATI Radeon XPRESS 200M, 见http://www.linuxsir.cn/bbs/showthread.php?t=254169
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-8-11 10:57:39 | 显示全部楼层
我的Xorg.0.log,谁看下有什么问题
(II) ATI Proprietary Linux Driver Version Identifier:8.27.10
(II) ATI Proprietary Linux Driver Release Identifier: LGDr8.27g1                           
(II) ATI Proprietary Linux Driver Build Date: Jul 27 2006 21:57:31
(II) ATI Proprietary Linux Driver Build Information: autobuild-rel-r6-8.27.1.1.2.3-driver-lnx-282878
(--) Assigning device section with no busID to primary device
(WW) fglrx: No matching Device section for instance (BusID PCI:1:0:1) found
(--) Chipset RADEON 9550 (RV350 4153) found
...
(II) Loading sub module "fglrxdrm"
(II) LoadModule: "fglrxdrm"
(II) Reloading /usr/lib/xorg/modules/linux/libfglrxdrm.so
(II) fglrx(0): Depth moves disabled by default
(==) fglrx(0): Capabilities: 0x00000000
(==) fglrx(0): CapabilitiesEx: 0x00000000
(==) fglrx(0): cpuFlags: 0x8000000d
(==) fglrx(0): cpuSpeedMHz: 0x00000450
(==) fglrx(0): OpenGL ClientDriverName: "fglrx_dri.so"
(==) fglrx(0): UseFastTLS=0
(==) fglrx(0): BlockSignalsOnLock=1
(==) fglrx(0): EnablePrivateBackZ = NO
(--) Depth 24 pixmap format is 32 bpp
...
(II) fglrx(0): [drm] DRM interface version 1.0
(II) fglrx(0): [drm] created "fglrx" driver at busid "CI:1:0:0"
(II) fglrx(0): [drm] added 8192 byte SAREA at 0x2000
(II) fglrx(0): [drm] mapped SAREA 0x2000 to 0xb6f85000
(II) fglrx(0): [drm] framebuffer handle = 0x3000
(II) fglrx(0): [drm] added 1 reserved context for kernel
(II) fglrx(0): DRIScreenInit done
(II) fglrx(0): Kernel Module Version Information:
(II) fglrx(0):     Name: fglrx
(II) fglrx(0):     Version: 8.27.10
(II) fglrx(0):     Date: Jul 27 2006
(II) fglrx(0):     Desc: ATI FireGL DRM kernel module
(II) fglrx(0): Kernel Module version matches driver.
(II) fglrx(0): Kernel Module Build Time Information:
(II) fglrx(0):     Build-Kernel UTS_RELEASE:        2.6.15-1-686
(II) fglrx(0):     Build-Kernel MODVERSIONS:        yes
(II) fglrx(0):     Build-Kernel __SMP__:            yes
(II) fglrx(0):     Build-Kernel PAGE_SIZE:          0x1000
(II) fglrx(0): [drm] register handle = 0x00004000
(II) fglrx(0): [agp] Mode=0x1f000207 bridge: 0x8086/0x1130
(II) fglrx(0): [agp] AGP v1/2 disable mask 0x00000000
(II) fglrx(0): [agp] AGP v3 disable mask   0x00000000
(II) fglrx(0): [agp] enabling AGP with mode=0x1f000304
(II) fglrx(0): [agp] Remapping MC AGP space (new MCAGPBase = 0xe0000000)
(II) fglrx(0): [agp] AGP protocol is enabled for graphics board. (cmd=0x1f000304)
(II) fglrx(0): [agp] graphics chipset has AGP v2.0
(II) fglrx(0): [drm] ringbuffer size = 0x00100000 bytes
(II) fglrx(0): [drm] DRM buffer queue setup: nbufs = 100 bufsize = 65536
(II) fglrx(0): [drm] texture shared area handle = 0x00008000
(II) fglrx(0): shared FSAAScale=1
(II) fglrx(0): DRI initialization successfull!
回复 支持 反对

使用道具 举报

发表于 2006-8-11 10:59:28 | 显示全部楼层
我用ubuntu也是楼主这个问题,用ati的官方驱动好像装不上,用源里面的驱动就可以装上
回复 支持 反对

使用道具 举报

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

本版积分规则

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