[iBook] La carte vidéo (ATI Radeon Mobility 9200)

La carte vidéo fonctionne très bien avec Xorg, dans la bonne résolution 1024×768. Il suffit d’installer le paquet correspondant :

# apt-get install xserver-xorg-core

Le driver a utiliser est ati ou radeon (en fait le module ati charge automatiquement le bon driver radeon)

On peut ajuster quelques paramètres en utilisant cette commande :

# dpkg-reconfigure xserver-xorg

Pour la 3D avec DRI, il suffit d’installer ce paquet :

# apt-get install libgl1-mesa-dri

N’oubliez pas d’activer les modules dri et glx dans le fichier /etc/X11/xorg.conf. Ces modules sont normalement activés par défaut.

Voici à quoi ressemble mon fichier de configuration :

# cat /etc/X11/xorg.conf
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    "bitmap"
       Load    "ddc"
       Load    "dri"
       Load    "extmod"
       Load    "freetype"
       Load    "glx"
       Load    "int10"
       Load    "type1"
       Load    "vbe"
EndSection

Section "InputDevice"
       Identifier      "Generic Keyboard"
       Driver          "kbd"
       Option          "CoreKeyboard"
       Option          "XkbRules"      "xorg"
       Option          "XkbModel"      "macintosh"
       Option          "XkbLayout"     "fr"
       Option          "XkbOptions"    "lv3:lwin_switch"
EndSection

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

Section "InputDevice"
       Identifier      "Synaptics Touchpad"
       Driver          "synaptics"
       Option          "SendCoreEvents"        "true"
       Option          "Device"                "/dev/psaux"
       Option          "Protocol"              "auto-dev"
       Option          "HorizScrollDelta"      "0"
EndSection

Section "Device"
       Identifier      "ATI card"
       Driver          "radeon"
       Option          "AGPMode" "4"
       BusID           "PCI:0:16:0"
EndSection

Section "Monitor"
       Identifier      "Generic Monitor"
       Option          "DPMS"
       HorizSync       28-51
       VertRefresh     43-60
EndSection

Section "Screen"
       Identifier      "Default Screen"
       Device          "ATI card"
       Monitor         "Generic Monitor"
       DefaultDepth    24
       SubSection "Display"
               Depth           1
               Modes           "1024x768" "800x600" "640x480"
       EndSubSection
       SubSection "Display"
               Depth           4
               Modes           "1024x768" "800x600" "640x480"
       EndSubSection
       SubSection "Display"
               Depth           8
               Modes           "1024x768" "800x600" "640x480"
       EndSubSection
       SubSection "Display"
               Depth           15
               Modes           "1024x768" "800x600" "640x480"
       EndSubSection
       SubSection "Display"
               Depth           16
               Modes           "1024x768" "800x600" "640x480"
       EndSubSection
       SubSection "Display"
               Depth           24
               Modes           "1024x768" "800x600" "640x480"
       EndSubSection
EndSection

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

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

Section "dri"
       Mode    0666
EndSection


Pour vérifier que la 3D fonctionne, vous pouvez utiliser glxgears ou cette commande :

# glxinfo | grep "rendering"
direct rendering: Yes

Si vous avez No, la 3D ne fonctionne pas. Vérifiez que vous avez bien le paquet précisé plus haut, et que le module dri fait parti de la liste des modules a charger dans le xorg.conf.

Si vous avez apprécié cet article, s'il vous plait, prenez le temps de laisser un commentaire ou de souscrire au flux afin de recevoir les futurs articles directement dans votre lecteur de flux.

Commentaires

Pas encore de commentaire.

Laisser un commentaire

(requis)

(requis)