ATI 1600 + XGL + Compiz

Date: 24/11/2006 | Catégories: Systeme | Tags: ,,,

Voici un post qui résume les actions à faire sur une Fedora pour profiter du bureau 3D Compiz.

Ce n'est pas une solution propre. Mais en attendant que le repos livna finalise les packages Xgl, cela peut vous permettre d'avoir une idée sur Compiz.

Voici ma configuration:
- Fedora Core 6
- Carte ATI Technologies Inc RV530 [Radeon X1600]

Il faut d'abord aller sur le site de ATI (AMD) et récupérer la dernière version des drivers propriétaires (ma carte n'étant pas encore reconnue par le driver libre).
Au moment de l'écriture de ce post la version est la 8.31.5.

L'installation des drivers nécessite l'installation du package qt-devel.

# yum install qt-devl
# ./ati-driver-installer-8.31.5-x86.x86_64.run --buildpkg Fedora/FC6
> ATI-fglrx-8.31.5-1.fc6.i386.rpm
> ATI-fglrx-control-panel-8.31.5-1.fc6.i386.rpm
> ATI-fglrx-devel-8.31.5-1.fc6.i386.rpm
> kernel-module-ATI-fglrx-2.6.18-1.2798.fc6-8.31.5-1.fc6.i386.rpm
# rpm -Uvh *ATI-fglrx*.rpm
# aticonfig --initial

La dernière commande va modifier le fichier xorg.conf. IL faut l'éditer pour qu'il contienne les options suivantes:

# Xorg configuration created by system-config-display

Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Module"
Load "dbe"
Load "fbdevhw"
Load "glx"
Load "GLcore"
Load "record"
Load "freetype"
Load "type1"
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
Load "dri"
EndSection

Section "ServerFlags"
Option "AIGLX" "off"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "fr"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Samsung"
ModelName "Samsung SyncMaster 710(M)s (CHB7707*)"
HorizSync 30.0 - 70.0
VertRefresh 50.0 - 160.0
Option "DPMS" "true"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "fglrx"
BoardName "ATI Technologies Inc RV530 [Radeon X1600]"
BusID "PCI:1:0:0"
# Use the kernel AGP
Option "UseInternalAGPGART" "no"
# === Backingstore ===
Option "backingstore" "true"
# === Accélération Dri ===
Option "no_accel" "no"
Option "no_dri" "no"
Option "mtrr" "no"
# === OpenGL ===
Option "Capabilities" "0x00000000"
Option "CapabilitiesEx" "0x00000000"
# === Video Overlay ===
Option "OpenGLOverlay" "off"
Option "VideoOverlay" "on"
# === Pseudo Color Visuals (8-bit visuals) ===
Option "PseudoColorVisuals" "off"
# === QBS Management ===
Option "Stereo" "off"
Option "StereoSyncEnable" "1"
# === FSAA Management ===
Option "FSAAEnable" "on"
Option "FSAAScale" "1"
Option "FSAADisableGamma" "no"
Option "FSAACustomizeMSPos" "no"
Option "FSAAMSPosX0" "0.000000"
Option "FSAAMSPosY0" "0.000000"
Option "FSAAMSPosX1" "0.000000"
Option "FSAAMSPosY1" "0.000000"
Option "FSAAMSPosX2" "0.000000"
Option "FSAAMSPosY2" "0.000000"
Option "FSAAMSPosX3" "0.000000"
Option "FSAAMSPosY3" "0.000000"
Option "FSAAMSPosX4" "0.000000"
Option "FSAAMSPosY4" "0.000000"
Option "FSAAMSPosX5" "0.000000"
Option "FSAAMSPosY5" "0.000000"
# === Misc Options ===
Option "UseFastTLS" "0"
Option "BlockSignalsOnLock" "on"
Option "ForceGenericCPU" "off"
Option "KernelModuleParm" "locked-userpages=0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x1024"
EndSubSection
EndSection

Section "DRI"
Group 0
Mode 0666
EndSection

Section "Extensions"
Option "Composite" "disable"
EndSection

Il faut maintenant installer XGL.

# rpm -Uvh http://fedoraxgl.tuxfamily.org/repository/fedora-xgl-repository-1.0-3.noarch.rpm
# vi /etc/yum.repos.d/fedora-xgl.repo
> Changement $releasever par 6
# yum --enablerepo=fedora-xgl install compiz xorg-x11-server-Xgl
# ln -s /usr/lib/ati-fglrx/libGL.so.1.2 /usr/lib/libGL.so.1

On redémmarre la session (pour recharger Xorg), puis il ne reste plus qu'a suivre le tutorial de Nicofo pour lancer XGL à partir de GDM.

Et hop, vous avez normalement un jolie bureau en 3D (vive le CTRL + ALT + Flèche)...

Partager ce billet





WordPress » Erreur

Il y a eu une erreur critique sur ce site.

En apprendre plus sur le débogage de WordPress.