• 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


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

  • 相关阅读:
    ABAP Code Inspector那些隐藏的功能,您都知道吗?
    L2-017. 人以群分
    L2-007. 家庭房产
    L2-014. 列车调度
    L2-004. 这是二叉搜索树吗?
    过山车
    hdu 3746 Cyclic Nacklace
    hdu 1867 A + B for you again
    hdu 1686 Oulipo
    Orders
  • 原文地址:https://www.cnblogs.com/pswzone/p/3160331.html
Copyright © 2020-2023  润新知