ati驱动安装过程

先把linux-restricted-modules中的fglrx模块屏蔽了
代码:
sudo gedit /etc/default/linux-restricted-modules-common


代码:
DISABLED_MODULES=""

改成
代码:
DISABLED_MODULES="fglrx"


解决安装ATI驱动的一些依赖关系
代码:
sudo apt-get update
sudo apt-get install module-assistant build-essential
sudo apt-get install fakeroot dh-make debconf libstdc++5 gcc-3.3-base


创建.deb
代码:
chmod +x ati-driver-installer-8.26.18-x86.run
./ati-driver-installer-8.26.18-x86.run --buildpkg Ubuntu/dapper


安装.deb
代码:
sudo dpkg -i xorg-driver-fglrx_8.26.18-1_i386.deb
sudo dpkg -i fglrx-kernel-source_8.26.18-1_i386.deb
sudo dpkg -i fglrx-control_8.26.18-1_i386.deb


删除以前的fglrx-kernel的deb
代码:
sudo rm /usr/src/fglrx-kernel*.deb


创建新的fglrx-kernel.deb
代码:
sudo module-assistant prepare
sudo module-assistant update
sudo module-assistant build fglrx
sudo module-assistant install fglrx
sudo depmod -a


升级xorg.conf
代码:
sudo aticonfig --initial --input=/etc/X11/xorg.conf


重启
代码:
sudo reboot


重启完毕后
先用
代码:
fglrxinfo

看看ATI的驱动是否安装完毕
代码:
fglrxinfo
display: :0.0  screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON 9600 Generic
OpenGL version string: 2.0.5814 (8.25.18)


然后再用
代码:
fgl_glxgears


代码:
glxgears -printfps

测试一下
fgl_glxgears结果一般在800以上(以9600为参考)
glxgears结果一般在4000以上(以9600为参考)
这样的话就是安装成功了

要是fglrxinfo的结果显示
代码:
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.1)

请卸载驱动
代码:
sudo dpkg -r fglrx-control
sudo dpkg -r fglrx-kernel-source
sudo dpkg -r xorg-driver-fglrx

然后再安装

安装8.19以后版本的ATI驱动
可能会出现显示器刷新率上不去的原因
需手动修改
先用
代码:
gtf

查出显示器的硬件参数
然后
在xorg.conf中
代码:
Section "Monitor"
        Identifier   "aticonfig-Monitor[0]"
        Option      "VendorName" "ATI Proprietary Driver"
        Option      "ModelName" "Generic Autodetecting Monitor"
        Option      "DPMS" "true"
EndSection

这段添加进显示器的硬件参数
代码:
Section "Monitor"
        Identifier   "aticonfig-Monitor[0]"
        Option      "VendorName" "ATI Proprietary Driver"
        Option      "ModelName" "Generic Autodetecting Monitor"
        Option      "DPMS" "true"
        Modeline   ......
EndSection


代码:
Section "Screen"
        Identifier "aticonfig-Screen[0]"
        Device     "aticonfig-Device[0]"
        Monitor    "aticonfig-Monitor[0]"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
        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     ......
        EndSubSection
EndSection

修改完毕以后重启X
如果出现修改失败

代码:
sudo dpkg-reconfigure xserver-xorg

重新配置

最后附上我的xorg.conf
不要直接copy
按照您自己的实际情况修改
代码:
# /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"
   InputDevice    "stylus" "SendCoreEvents"
   InputDevice    "cursor" "SendCoreEvents"
   InputDevice    "eraser" "SendCoreEvents"
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  "int10"
   Load  "type1"
   Load  "vbe"
   Load  "glx"
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       "Protocol" "ExplorerPS/2"
   Option       "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

                                                      # /dev/input/event
                                                      # for USB
   Identifier  "stylus"
   Driver      "wacom"
   Option       "Device" "/dev/wacom"          # Change to
   Option       "Type" "stylus"
   Option       "ForceDevice" "ISDV4"               # Tablet PC ONLY
EndSection

Section "InputDevice"

                                                      # /dev/input/event
                                                      # for USB
   Identifier  "eraser"
   Driver      "wacom"
   Option       "Device" "/dev/wacom"          # Change to
   Option       "Type" "eraser"
   Option       "ForceDevice" "ISDV4"               # Tablet PC ONLY
EndSection

Section "InputDevice"

                                                      # /dev/input/event
                                                      # for USB
   Identifier  "cursor"
   Driver      "wacom"
   Option       "Device" "/dev/wacom"          # Change to
   Option       "Type" "cursor"
   Option       "ForceDevice" "ISDV4"               # Tablet PC ONLY
EndSection

Section "Monitor"
   Identifier   "FLATRON 775F"
   HorizSync    30.0 - 70.0
   VertRefresh  50.0 - 160.0
   Option       "DPMS"
EndSection

Section "Monitor"
   Identifier   "aticonfig-Monitor[0]"
   Option       "VendorName" "ATI Proprietary Driver"
   Option       "ModelName" "Generic Autodetecting Monitor"
   Option       "DPMS" "true"
   Modeline "1024x768_85.00"  94.39  1024 1088 1200 1376  768 769 772 807  -HSync +Vsync
   Modeline "1152x864_75.00"  104.99  1152 1224 1352 1552  864 865 868 902  -HSync +Vsync
EndSection

Section "Device"
   Identifier  "ATI Technologies, Inc. RV350 AR [Radeon 9600 XT]"
   Driver      "ati"
   BusID       "PCI:1:0:0"
EndSection

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

Section "Screen"
   Identifier "Default Screen"
   Device     "ATI Technologies, Inc. RV350 AR [Radeon 9600 XT]"
   Monitor    "FLATRON 775F"
   DefaultDepth     24
   SubSection "Display"
      Depth     24
      Modes     "1152x864" "1152x786" "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     "1152x864""1024x768"
   EndSubSection
EndSection

Section "DRI"
   Mode         0666
EndSection
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值