19.8.06

fglrx driver

Un des premiers problême qui c'est posé à moi après l'installation de la Debian fut d'obtenir l'acceleration matérielle.

Ma carte graphique est une Ati Radeon X300, et l'installation des drivers Ati, surtout pour un débutant est vraiment compliqué. comme pour le reste, heureusement qu'il y a Google. Aprés avoir lu de nombreux forums et de nombreux tutoriaux et fait quelques tests, je n'étais pas plus avançé, toujours pas d'accélération matérielle.
J'ai fini par trouver un tutorial qui m'a permis de résoudre le problème sur ce site www.quebecos.com

Tout a bien fonctionné jusqu'à hier, ou je me suis retrouvé de nouveau sans accélération, sans doutes suite à une mise à jour du kernel, je suis passé du 2.6.17-1-686 au 2.6.17-2-686.

Il m'a donc fallut réinstaller les drivers, ça c'est trés bien passé toujours en suivant la méthode décrite sur quebecos (aprés quelques modifs).

Voici donc dans le détail les opération éffectuées :

Récupération de l'installeur sur le site d'ati.

J'ai donc récupéré le fichier suivant : ati-driver-installer-8.26.18-x86.run

puis dans un terminal

chmod +x /home/gob/firfox_downloads/ati-driver-installer-8.26.18-x86.run

J'ai ensuite récupéré et installé les packages neccéssaires à l'installation.

apt-get install fakeroot module-assistant build-essential linux-headers-$(uname -r)

J'ai ensuite crée les packages correspndant à ma distribution (Debian/sid)

fakeroot ./ati-driver-installer-8.26.18-x86.run --buildpkg Debian/sid

ensuite

cd /usr/src

puis

m-a prepare

et enfin

m-a a-i fglrx

Mon xorg.conf étant déjà correctement configuré, je n'ai pas eu à recommençer l'opération.
En voici toutefois le contenu :

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/X11R6/lib/X11/fonts/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi"
# path to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
Load "GLcore"
Load "glx"
Load "dri"
Load "bitmap"
Load "ddc"
Load "extmod"
Load "freetype"
Load "int10"
Load "type1"
Load "vbe"
# Load "extmod" but omit DGA extension
# (the DGA extension is broken in the fglrx driver)
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "fr"
Option "XkbVariant" "latin9"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "Emulate3Buttons" "true"
EndSection

Section "Device"
Identifier "ATI"
Driver "fglrx"
BusID "PCI:1:0:0"
Option "UseFBDev" "true"
# If X refuses to use the screen resolution you asked for,
# uncomment this; see "Bugs and Workarounds" for details.
#Option "NoDDC"

# === Video Overlay for the Xv extension ===
Option "VideoOverlay" "on"
# === OpenGL Overlay ===
# Note: When OpenGL Overlay is enabled, Video Overlay
# will be disabled automatically
Option "OpenGLOverlay" "off"
# === Use internal AGP GART support? ===
# If OpenGL acceleration doesn't work, try using "yes" here
# and disable the kernel agpgart driver.
Option "UseInternalAGPGART" "no"
EndSection

Section "Monitor"
Identifier "DELL E173FP"
Option "DPMS"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "ATI"
Monitor "DELL E173FP"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1280x1024" "1152x864" "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024" "1152x864" "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1152x864" "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024" "1152x864" "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1152x864" "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1152x864" "1024x768" "800x600" "720x400" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection

Section "DRI"
Mode 0666
EndSection



Resultat de la commande fglrxinfo

display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON X300/X550 Series Generic
OpenGL version string: 2.0.5879 (8.26.18)


Résultat de la commande glxinfo | grep direct

direct rendering: Yes


Maintenant, tout fonctionne donc de nouveau ;-)

Aucun commentaire: