zoukankan      html  css  js  c++  java
  • ubuntu安装amd/ati显卡驱动

    原网页:

    http://forum.ubuntu.org.cn/viewtopic.php?f=126&t=390372

    整合了几个帖子,大概如此:
    用以下命令卸载所有驱动:

    代码:
    sudo sh /usr/share/ati/fglrx-uninstall.sh
    代码:
    sudo apt-get remove --purge fglrx fglrx_* fglrx-amdcccle* fglrx-dev* xorg-driver-fglrx


    重启一下,
    首先安装需要的的驱动环境:

    代码:
    sudo apt-get install dpkg build-essential cdbs dh-make dkms execstack dh-modaliases fakeroot libqtgui4 dpkg-dev g++ g++-4.7
    代码:
    sudo apt-get install dkms


    如果你安装的是64位的ubuntu,请安装32位库:

    代码:
    sudo apt-get install ia32-libs-multiarch:i386 lib32gcc1 libc6-i386
    代码:
    sudo apt-get install ia32-libs


    重启下,
    到amd官方网站下载对应自己显卡的驱动,12.09beta版,
    建立文件夹,进入此文件夹:

    代码:
    cd ~/
    代码:
    mkdir catalyst12.9; cd catalyst12.9/


    把下载好的驱动解压,把amd-driver-installer-12-9-beta-x86.x86_64.run拷到刚刚建立的文件夹;

    代码:
    sudo sh ./amd-driver-installer-12-9-beta-x86.x86_64.run --buildpkg Ubuntu/quantal

    耐心等;

    代码:
    sudo dpkg -i fglrx*.deb


    重启,登陆进去后会不见了各种菜单栏,键盘打开终端

    代码:
    sudo apt-get install linux-headers-generic fglrx-updates


    重启

    代码:
    sudo aticonfig --initial -f
    代码:
    sudo gedit /etc/X11/xorg.conf


    编辑/etc/X11/xorg.conf,我的是ati radeonHD 5650
    Section "Device"
    Identifier "ATI radeon 5650"
    Driver "fglrx"
    Option "UseFastTLS" "1"
    BusID "PCI:1:0:0"
    EndSection

    Section "Screen"
    Identifier "aticonfig-Screen[0]-0"
    Device "ATI radeon 5650"
    Monitor "aticonfig-Monitor[0]-0"
    DefaultDepth 24
    SubSection "Display"
    Viewport 0 0
    Depth 24
    EndSubSection
    防止配置不生效

    代码:
    sudo aticonfig --input=/etc/X11/xorg.conf --tls=1


    如果生效,风扇会马上缓了下来;
    测试:

    代码:
    fglrxinfo


    显示如下:
    display: :0.0 screen: 0
    OpenGL vendor string: Advanced Micro Devices, Inc.
    OpenGL renderer string: ATI Mobility Radeon HD 5000 Series (以你的为准)
    OpenGL version string: 4.2.11903 Compatibility Profile Context

    代码:
    fgl_glxgears


    可以看到一个立方体旋转;
    完成!

  • 相关阅读:
    创建文件并写入内容
    java自动压缩文件并加密
    Java自动发送带图片邮件(带附件)
    eclipse正则表达式搜索
    解决:org.apache.ibatis.binding.BindingException: Invalid bound statement (not found):
    spring整合mybatis(原始dao和mapper代理两种方式)
    (解决)mysql1366中文显示错误的终极解决方案
    pdf合并、拆分工具
    ScheduledExecutorService定时方法
    json数据包含特殊字符解析失败
  • 原文地址:https://www.cnblogs.com/pswzone/p/3160331.html
Copyright © 2011-2022 走看看