Előkészületek
Győződj meg róla, hogy igazak a következő állítások:
- a videókártya típusa ‘Radeon’
- a modell a 9xxx sorozatból való, 9500-nál újabb, vagy X sorozatú (p.l. X300), vagy TV-Out kimenettel rendelkezik. Az ‘fglrx’ meghajtó nem támogatja a 9500-nál régebbi kártyákat.
- a lspci parancs kimenete tartalmazza az “ATI” szót, mint VGA kártyanevet
- szükséged van hardveres 3D gyorsításra, vagy a képernyő frissítési frekvenciát magasabbra akarod emelni, mint 60 Hz. A nyílt forráskódú meghajtó alkalmas minden más területen.
- van némi linuxos gyakorlatod
Amenyiben ATI kártyád van az R400-as, vagy újabb sorozatból, az alapértelmezett meghajtóval a 2D és a 3D funkciók is elérhetők. A következő kártyák tartoznak ide:
- R400 sorozat Xnnn (X800, X700, stb) (3D működik)
- R300 sorozat (9300+) (3D működik)
- R200 és R100 sorozat (9200 és régebbi)
A chipset és modell információkért látogasd meg a Xorg 7.0 Release Notes-t.
A TV-Out funkcionalitás a nyílt forráskódú “ati” meghajtóban javult az Ubuntu 7.10 óta; ha ez elég jól működik, lehet, hogy neked nem kell fglrx-et használnod.
Telepítés az Ubuntu repóból (könnyebb)
Engedélyezd a gyorsítást az ATI grafikus meghajtónál a restricted-manager-ben, írd be a konzolba:
sudo dpkg-reconfigure -phigh linux-restricted-modules-`uname -r` sudo insmod /lib/modules/`uname -r`/volatile/fglrx.ko
Logout majd login.
Telepítés az ati.com-ról (legfrissebb verziójú meghajtó)
A régebbi verziójú meghajtó eltávolításával kezdj:
sudo dpkg -P fglrx-kernel-source
Az új 8.8-as meghajtótelepítése nagyon könnyű a Dells Dynamic Kernel Module Support Framework (http://linux.dell.com/dkms) használatával. Kezdjünk a szükséges csomagok telepítésével:
sudo apt-get install dpkg-dev debhelper libstdc++5 dkms
El kell indítsuk a meghajtószoftver telepítőjét (előtte a fájltulajdonságoknál a futtathatóságot engedélyeznünk kell):
./ati-driver-installer-8-8-x86.x86_64.run --buildpkg Ubuntu/8.04
A támogatott linux verziók lekérdezése, ha nem a Hardyra telepíted:
./ati-driver-installer-8-8-x86.x86_64.run --listpkg
A binary drivers telepítése:
sudo dpkg -i fglrx-kernel-source_<version>.deb
A <version> helyére az aktuális verziószámot írd.
A következő paranccsal telepítsd az Xorg meghajtót
sudo dpkg -i xorg-driver-fglrx_<version>.deb
Végezetül futtasd az aticonfig szkriptet az új xorg.conf fájl kialakításához (célszerű a felbontást is beállítani a –resolution=1024×768,800×600 kapcsoló hozzáadásával):
sudo aticonfig --initial
Újraindítás után az X.Org az ATi meghajtóval működik. A meghajtó ellenőrzéséhez egy terminálablakban futtasd ezt:
fglrxinfo
A következő kimenet a megfelelő telepítésről ad bizonyságot:
display: :0.0 screen: 0 OpenGL vendor string: ATI Technologies Inc. OpenGL renderer string: RADEON X800 GTO OpenGL version string: 2.1.7873 Release
Bármelyik sorban megjelenő “MESA” felirat hibás telepítésre utal. A lentebb leírt utasítások segítenek a hibák kijavításában.
Modifying xorg.conf
When you install from ati.com drivers or the dapper-seveas repository, you still need to change xorg.conf and add the fglrx module to /etc/modules as described under “Ubuntu provided drivers”. There are scripts from ATI that may or may not work for you. They will backup xorg.conf before modifying it.
$ sudo aticonfig --initial $ sudo aticonfig --overlay-type=Xv
Whether you install manually or from dapper-seveas, you MUST disable the Ubuntu-provided fglrx by performing these actions:
- Disable fglrx in /etc/default/linux-restricted-modules-common
- Run sudo /sbin/lrm-manager
- Run sudo depmod -a
- Reboot
There is a forum thread on installing ATI drivers from ati.com. Look there if you have trouble, and if your problem isn’t already solved there, post a question.
Troubleshooting
If you have flickering video when Compiz is enabled, using the latest driver, do:
$ sudo gedit /etc/X11/xorg.conf
add this line to your xorg.conf:
Option "TexturedVideo" "off"
after
Driver "fglrx"
now restart your computer.
Video-out – Black and White/Wrong Colours or Scrolling Picture
If you are having issues with S-Video out where the video is incorrectly displayed (such as black and white or scrolling), try adding the line
Option "TVFormat" "<type>"
into the Device section that lists your monitor/TV, as the output to the TV might be set to PAL or another incompatible format for your region/TV. Replace the <type> with the region specific video type. The TVFormat choices are: NTSC-JPN, NTSC-M, NTSC-N, PAL-B, PAL-CN, PAL-D, PAL-G, PAL-H, PAL-I, PAL-K, PAL-K1, PAL-L, PAL-N, PAL-M, PAL-SCART.
Example:
Section "Device"
Identifier "ATI Radeon 9600/X1050 (Screen 1)"
Driver "fglrx"
Option "TVFormat" "PAL-B" # például
BusID "PCI:2:0:0"
Screen 1
EndSection
Don’t forget that most older TVs use a standard resolution of 640×480, so it may be wise to force that resolution:
Section "Screen"
Identifier "TV"
Device "ATI Radeon 9600/X1050 (Screen 1)"
Monitor "Toshiba 32in (Screen 1)"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "640x480" # Force this standard resolution
EndSubSection
EndSection
If you suffer from a “white screen” overlayed onto gdm upon logout and the system seizing up, i.e., if you share the Ubuntu system with multiple users, then modify the file /etc/gdm/gdm.conf and either add or change the AlwaysRestartServer option:
AlwaysRestartServer=true