LinuxSir.cn,穿越时空的Linuxsir!

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

ubuntu/dapper安装ati显卡驱动。

[复制链接]
发表于 2006-4-3 12:35:43 | 显示全部楼层 |阅读模式
安装linux-restricted-modules-2.6.15-19-k7
xorg-driver-fglrx
用aticonfig --initial,默认的配置不能正常工作,自己修改
然后配置文件如下:

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "ServerLayout"
        Identifier     "Default Layout"
        Screen      0  "aticonfig Screen 0" 0 0
        InputDevice    "Generic Keyboard"
        InputDevice    "Configured Mouse"
EndSection

Section "Files"

        # path to defoma fonts
        FontPath     "/usr/share/X11/fonts/misc"
        FontPath     "/usr/share/X11/fonts/cyrillic"
        FontPath     "/usr/share/X11/fonts/100dpi/:unscaled"
        FontPath     "/usr/share/X11/fonts/75dpi/:unscaled"
        FontPath     "/usr/share/X11/fonts/Type1"
        FontPath     "/usr/share/X11/fonts/100dpi"
        FontPath     "/usr/share/X11/fonts/75dpi"
        FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

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

Section "InputDevice"
        Identifier  "Generic Keyboard"
        Driver      "kbd"
        Option            "CoreKeyboard"
        Option            "XkbRules" "xorg"
        Option            "XkbModel" "pc104"
        Option            "XkbLayout" "us"
EndSection

Section "InputDevice"
        Identifier  "Configured Mouse"
        Driver      "mouse"
        Option            "CorePointer"
        Option            "Device" "/dev/input/mice"
        Option            "rotocol" "ExplorerPS/2"
        Option            "Emulate3Buttons" "true"
EndSection

Section "Monitor"
        Identifier   "E71f-2"
        HorizSync    30.0 - 71.0
        VertRefresh  50.0 - 160.0
        Option            "DPMS"
EndSection

Section "Monitor"
        Identifier   "aticonfig Monitor 0"
EndSection

Section "Device"
        Identifier  "ATI Technologies, Inc. RV370 5B60 [Radeon X300 (PCIE)]"
        Driver      "ati"
        VideoRam    256000
        Option            "UseFBDev" "true"
        BusID       "CI:5:0:0"
        ChipID      0x3e50
EndSection

Section "Device"
        Identifier  "ATI Graphics Adapter 0"
        Driver      "fglrx"
        BusID       "CI:5:0:0"
# 下面一行是配合XGL的,我是ati x550。不加这行的话会死机的
        Option "KernelModuleParm" "agplock=0"
#  下面一行是自己加上的,不加上就不能启动X。不同显卡不同,自己google。
        ChipID      0x3e50
EndSection

Section "Screen"
        Identifier "Default Screen"
        Device     "ATI Technologies, Inc. RV370 5B60 [Radeon X300 (PCIE)]"
        Monitor    "E71f-2"
        DefaultDepth     24
        SubSection "Display"
                Depth     1
                Modes    "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     4
                Modes    "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     8
                Modes    "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     15
                Modes    "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     16
                Modes    "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     24
                Modes    "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

Section "Screen"
        Identifier "aticonfig Screen 0"
        Device     "ATI Graphics Adapter 0"
        Monitor    "aticonfig Monitor 0"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
# 下面一行是自己加上的,调整显示屏幕显示刷新率。
                Modes    "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

Section "DRI"
        Mode         0666
EndSection

本帖子中包含更多资源

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

x
 楼主| 发表于 2006-4-3 12:38:57 | 显示全部楼层
装上了显卡还有错误提示。不过能正常工作了。运行一个3D游戏,不卡了。屏幕偏移没了。视频播放软件用opengl也不卡了。XGL也安装上了。
回复 支持 反对

使用道具 举报

发表于 2006-4-3 19:03:12 | 显示全部楼层
请问,ati的显卡,我前面安装xgl失败了……只能重装系统了,你是怎么安装的?能给个步骤吗?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-3 19:20:45 | 显示全部楼层
我是看了ubuntu.org.cn的一个帖子安装的。
搜索X300就可以了
回复 支持 反对

使用道具 举报

发表于 2006-4-3 20:51:51 | 显示全部楼层
按照那个装了之后死机了……最后那句红色的话我也加了……
回复 支持 反对

使用道具 举报

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

本版积分规则

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