|
Section Grégory
|
|
Écrit par Greg
|
|
Dimanche, 01 Janvier 2012 16:39 |
|
D'après debian, c'est facile .... Sauf si ont veux en plus du bureau étendu sans 'Xinerama' propriétaire. En effet le xinérama propriétaire invalide 'xrandr'. C'est dommage lorsque :
- On utilise le bureau étendu de temps en temps
- On ne peut changer la résolution d'un des 2 écrans selon les besoins (et ou approvisionnement/panne de ceux-ci)
A force de tatonner :
- il faut un xorg comme suit :
Section "ServerLayout" Identifier "aticonfig Layout" Screen 0 "aticonfig-Screen[0]-0" 0 0 EndSection
Section "Module" EndSection
Section "Monitor" Identifier "aticonfig-Monitor[0]-0" Option "VendorName" "ATI Proprietary Driver" Option "ModelName" "Generic Autodetecting Monitor" Option "DPMS" "true" EndSection
Section "Monitor" Identifier "0-CRT1" Option "VendorName" "ATI Proprietary Driver" Option "ModelName" "Generic Autodetecting Monitor" Option "DPMS" "true" Option "PreferredMode" "1280x1024" Option "TargetRefresh" "60" Option "Position" "1280 0" Option "Rotate" "normal" Option "Disable" "false" EndSection
Section "Monitor" Identifier "0-CRT2" Option "VendorName" "ATI Proprietary Driver" Option "ModelName" "Generic Autodetecting Monitor" Option "DPMS" "true" Option "PreferredMode" "1280x1024" Option "TargetRefresh" "60" Option "Position" "0 0" Option "Rotate" "normal" Option "Disable" "false" EndSection
Section "Device" Identifier "aticonfig-Device[0]-0" Driver "fglrx" Option "Monitor-CRT1" "0-CRT1" Option "Monitor-CRT2" "0-CRT2" BusID "PCI:1:0:0" EndSection
Section "Screen" Identifier "aticonfig-Screen[0]-0" Device "aticonfig-Device[0]-0" DefaultDepth 24 SubSection "Display" Viewport 0 0 Virtual 2880 2880 Depth 24 EndSubSection EndSection
- * Ensuite lancer aptitude install fglrx-control fglrx-driver
- * Lancer en root amdcccle (c'est l'interface Catalyst Control Center) afin de définir les paramètre de base du bureau étendu. Cela ce passe dans "Display Manager"
- Pour chaque écran ("Display Properties") choisir les bonnes résolutions
- Ne pas toucher à "Multi-Display"
- Réinstaller libglu1 (certaines appli ayant besoin d'Open GL risques de râler sinon, exemple gl-117 : trouve pas /usr/lib/libGLU.so.1) : aptitude reinstall libglu1-mesa
- Rebooter l'ordi (redémarrage de l'interface graphique ne suffit pas)
- Normalement il y a au minimum un des 2 écrans qui fonctionne
- Vérifier avec xrandr qu'il y a bien 2 écrans de connecté : xrandr | grep " connected"
- CRT1 connected 1280x1024+1024+0 (normal left inverted right x axis y axis) 338mm x 270mm
- CRT2 connected 1024x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
- test final : (inspiré par un de mes script)
- xrandr --output $VGA --mode $res713N --output $DVI --mode $res720N --right-of $VGA -display :0.0
|