ºìÁªLinuxÃÅ»§
Linux°ïÖú

linuxÏÂATIÇý¶¯µÄ°²×°

·¢²¼Ê±¼ä:2008-02-13 00:03:14À´Ô´:ºìÁª×÷Õß:Gccgie
ÏàÐÅ´ó¼Òÿ´Î°²×°ATIÏÔ¿¨Çý¶¯¶¼ÒªÊäÈëÒ»´ó¶ÑµÄÃüÁ·Ç³£Âé·³£¬¶øÇҺöàʱºò°²×°»¹ÊDz»³É¹¦¡£

ÆäʵATI°²×°LINUXµÄÇý¶¯ÓÐÒ»¸ö±È½Ï¼òµ¥µÄ°ì·¨£¬Õâ¸ö°ì·¨AMD¹Ù·½Ò»Ö±¶¼ÓУ¬µ«ÊÇÒÔǰÔÚubuntuϰ²×°ÊDz»³É¹¦µÄ£¬¿ÉÄÜÊÇÇý¶¯±¾ÉíµÄÎÊÌ⣬ÏÖÔÚµÄ×îÐÂATIÇý¶¯7.12£¬¾Í¿ÉÒÔ³¬¼òµ¥°²×°¡£

ATIÇý¶¯7.12Ö§³Ö9500¼°ÒÔÉÏÏÔ¿¨£¬ÀÏÏÔ¿¨²»Ö§³Ö¡£Ö§³Öaiglx¡£
ÏÂÔØµØÖ·£ºhttps://a248.e.akamai.net/f/674/9206/0/www2.ati.com/drivers/linux/ati-driver-installer-8.443.1-x86.x86_64.run

ÏÂÔØºó°ÑÏÂÔØµÄÎļþ·Åµ½×ÀÃæÉÏ£¬½¨Òé°ÑÎļþ¸ÄÒ»ÏÂÃû£º¸ÄΪ:ati-driver-installer.run

¿ÉÄܰ²×°»áÐèÒª°²×°±àÒëËù±ØÐëµÄ¹¤¾ß ´úÂë:
sudo apt-get update
sudo apt-get install module-assistant build-essential fakeroot dh-make debhelper debconf libstdc++5 linux-headers-$(uname -r)

¹Ø¼üʱºòµ½ÁË£¡´ò¿ªÖÕ¶Ë£¡
ÏÈÊäÈ룺sudo sh ati-driver-installer.run
Õâ¸öʱºòÓ¦¸Ã¿´µ½ÖÕ¶ËÓз´Ó¦¡£


µ¯³öÉÏͼ£¡
Ñ¡ÔñContinue ¾ÍÊǼÌÐø£¬È»ºóÑ¡ÔñI Agree £¨ÎÒͬÒ⣩


ÔÙÑ¡Ôñ Automatic ×Ô¶¯°²×°£¬ÔÙµãContinue£¬¾Í¿ªÊ¼°²×°£¡


ÇëµÈ´ýһϣ¬×Ô¶¯°²×°Íê³Éºó»áÈçÏÂÏÔÏÖ¡£


AMD¹Ù·½ÍƼöÔÙÔÚÖÕ¶ËÔËÐÐһϣºrun /usr/X11R6/bin/aticonfig --initial
£¨±¾ÈËδ²âÊÔ¹ýÕâ¸öÃüÁ´ó¼Ò²âÊÔÏ£¬¸æËßÎÒ½á¹û£¡

È»ºó sudo dpkg-reconfigure xserver-xorg
ÔÚÑ¡ÔñÇý¶¯Ê±£¬Ñ¡Ôñfglrx¡£

Ö´ÐÐsudo gedit /etc/X11/xorg.conf

ÔÚ/etc/X11/xorg.confµÄDevice¶ÎÌí¼ÓÁ½ÐУº ´úÂë:
Option "VideoOverlay" "on"
Option "OpenGLOverlay" "off"

ÔÚ/etc/X11/xorg.confĬÈÏ¿ÉÄÜ ÓдúÂë:
Section "Extensions"
Option "Composite" "0"
EndSection

Èç¹ûÏ뿪Æôaiglx£¬ÔòÕâÁ½¶ÎÓ¦¸ÃÊÇ£º ´úÂë:
Section "Extensions"
Option "Composite" "1"
EndSection

Section "ServerFlags"
Option "AIGLX" "on"
EndSection

±£´æÍ˳ö£¡

ijЩÓû§¿ÉÄÜÏóÎÒÐèÒªÊäÈ룺
sudo mkdir -p /usr/X11R6/lib/modules/dri
sudo ln -s /usr/lib/dri/fglrx_dri.so /usr/X11R6/lib/modules/dri

Õâ¸ö¿ÉÄÜÊÇÎÒÓÃNVµÄÖ÷°å¶øÓÃATIÏÔ¿¨µ¼Öµġ£

Ö®ºóÖØÆôϵͳ»òÖØÆôX £¡

È·ÈÏÇý¶¯ÊÇ·ñÕýÈ·°²×°£¨¿ÉÒÔÀàËÆÓÚ£© ´úÂë:
fglrxinfo
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI MOBILITY RADEON X600 SE
OpenGL version string: 2.1.7170 Release

´úÂë:
$ glxinfo | grep render
direct rendering: Yes #Èç¹û¿ªÆôÁËxgl£¬ÄÇôÕâÀïÒ»¶¨ÊÇNo£¬»¹ÓÐÆäËûһЩÐÅÏ¢¡£

³£¼û´íÎó£º

1¡£Èç¹ûÄãÅöµ½2D¼ÓËÙºÜÂýµÄÇé¿ö£¬ÔÚ/etc/X11/xorg.conf µÄ Device section£¨¾ÍÊÇÓÐfglrxµÄÄǶΣ©ÖÐÌíÉÏ ´úÂë:
Option "XaaNoOffscreenPixmaps"

2¡£Èç¹ûûÓÐ3D¼ÓËÙ£¬¿É³¢ÊÔ ´úÂë:
sudo mkdir /lib/modules/$(uname -r)/volatile
sudo ln -sf /lib/modules/$(uname -r)/misc/fglrx.ko /lib/modules/$(uname -r)/volatile/fglrx.ko

3¡£ÁíÍ⣬Èç¹ûÄãÏëÓÃͼÐλ¯µÄ¹¤¾ßÅäÖÃÏÔ¿¨µÄ»°£¬±ÈÈç˫ͷÏÔʾ£¬Ôò¿ÉÒÔ ´úÂë:
gksu fireglcontrol
Èç¹ûÊÇÓ÷½·¨¶þµÄÓà ´úÂë:
gksu amdcccle
µ±È»£¬Í¼ÐνçÃæµÄ¹¦ÄܱȽÏÓÐÏÞ£¬×îÇ¿´óµÄ»¹ÊÇaticonfig¡£×îаæµÄ¿ØÖÆÖÐÐÄÓÐЩж«Î÷£¬´ó¼Ò¿ÉÒÔÊÔÊÔ¡£

4¡£Èç¹û˵/usr/X11R6/lib/modules/dri/fglrx_dri.soȱʧ£¬ÔòÖ´ÐÐ ´úÂë:
sudo ln -s /usr/lib/ /usr/X11R6/lib/modules

5¡£Èç¹ûÖ´ÐÐfglrxinfo³öÏÖ libGL.so.1: cannot open shared object file£¬Ôò ´úÂë:
sudo ln /usr/lib/libGL.so.1.2 /usr/lib/libGL.so.1

6¡£Èç¹û»¹ÓÐÆäËûÎÊÌ⣬±ÈÈçnforce3µÄоƬ£¨Ö÷ÒªÊÇasusµÄK8N£©£¬ËµÄãÈÔÈ»ÔËÐÐÓÚmesa£¬ÎÞ3d¼ÓËÙ£¬¿ÉÒÔ¿´ÕâÀ
http://wiki.cchtml.com/index.php/Troubleshooting ºÍ http://wiki.cchtml.com/index.php/Ubuntu_Gutsy_Installation_Guide

°²×°ÍêÇý¶¯ºó£¬Òª½øÐÐһϱØÒªµÄÊÓÆµÉèÖ㬷ñÔò²¥·ÅÊÓÆµ»áÓÐÓ°Ï죡

totemµÄ»°£¬ÐÞ¸Ä~/gnome2/totem_configÎļþ½«#video.driver:auto¸ÄΪvideo.driver:xshm¾ÍokÁË¡£

mplayerµÄ»°£¬Ö±½ÓÔÚÓÒ¼üÉèÖÃÀï±ß¸Ä X11 ( XImage/Shm )¾ÍºÃÁË¡£

xineµÄ»°ÓÒ¼üÑ¡setting È»ºóÔÚGUIÀïÃæµÚ¶þ¸öÑ¡ÏîѡΪexperience_level£¬ÔÙÑ¡ÔñVideo±êÇ©ÖÐÑ¡Ôñ xshm¡£
ÖØÆôXINE¡£

Èç¹ûÊÇVLC¾Í

1. Launch VLC.
2. Go to Settings -> Preferences....
3. In the left-hand pane, expand the Video section, then select Output modules.
4. In the bottom-right corner of the window, enable the Advanced options checkbox.
5. New options will appear in the right-hand pane. For Video output module, select X11 video output from the drop-down menu.
6. Click on Save in the bottom-left of the window, and exit the program.
ÎÄÕÂÆÀÂÛ

¹²ÓÐ 1 ÌõÆÀÂÛ

  1. cnmt ÓÚ 2008-02-29 21:25:19·¢±í:

    ÏÈÊäÈ룺sudo sh ati-driver-installer.run
    Ö´ÐÐÍêÁË¡£ÏÂÃæµÄ²»Ì«»áÐÍÁË¡£¡£¡£¸ç¸çÔõô°ì¡£