Magazine

NVidia, Ubuntu Edgy 6.10 et DualHead

Publié le 28 octobre 2006 par Taltan

Après mon passage à Edgy, je reprend un de mes anciens billets sous Dapper sur la configuration DualHead d'une carte NVidia et qui peut être transposé mot pour mot sous Ubuntu Edgy 6.10.

Voila comment configurer une carte NVidia en DualHead (2 serveurs X indépendants) sous Edgy. L'installation des drivers NVidia est simplissime (comparée a ATI), il suffit de suivre la doc du wiki de l'excellent ubuntu-fr. La carte graphique en question est une ASUSTeK N6600 Silencer TD 128. La configuration matériel est la suivante.

  • CM : ASUSTeK A8N-E (NVIDIA nForce4 Ultra)
  • µP : AMD Athlon 64 3000+ - 1.8 GHz, Cache L2 512 Ko Socket 939 0.09 Micron - Core Venice
  • Video : ASUSTeK Extreme N6600 Silencer - 128 Mo TV-Out/DVI - PCI Express (NVIDIA GeForce 6600)
  • RAM : 1Go, 2 x Corsair Value 512 Mo DDR-SDRAM PC3200 CL2.5
  • Ecran 1 : 17 pce TFT 1280×1024 75hz
  • Ecran 2 : 17 pce CRT ou TV

La carte graphique ressemble à ça :

NVidia, Ubuntu Edgy 6.10 et DualHead

Il y a trois ports pour la sortie vidéo (VGA, DVI et Svideo). L'écran principale est l'écran TFT branché sur le port VGA. Avec une telle configuration pour XORG, il y a deux possibilités pour l'affichage du deuxième serveur X, soit sur un écran (cathodique dans mon cas) branché sur le port DVI ou soit sur la TV via le port Svideo. C'est selon ce qui est branché au moment du démarrage de la machine, et tout ça avec un seul xorg.conf et aucune manipulation particulière par la suite (si ce n'est le branchement)

Pour l'installation des drivers NVidia

$ sudo cp /etc/X11/xorg.conf /etc/X11/xorg.backup
$ sudo apt-get install linux-restricted-modules-`uname -r`
$ sudo apt-get install nvidia-glx

Ci-dessous la partie du fichier /etc/X11/xorg.conf concernant l'affichage

# ===================== Affichage primaire par défaut
# ===================== MONITOR DISPLAY (screen 0)
Section "Device"
Identifier "NVIDIA Corporation NV43 [GeForce 6600]"
Driver "nvidia"
BusID "PCI:1:0:0"
Screen 0
EndSection

Section "Monitor"
Identifier "TELEVIEW"
Option "DPMS"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "NVIDIA Corporation NV43 [GeForce 6600]"
Monitor "TELEVIEW"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
EndSection

# ===================== Affichage secondaire
# ===================== SECOND DISPLAY (screen 1)
Section "Device"
Identifier "NVIDIA_TV"
Driver "nvidia"
Option "TVOutFormat" "COMPOSITE"
Option "TVStandard" "PAL"
Option "ConnectedMonitor" "Television"
BusID "PCI:1:0:0"
Screen 1
EndSection

Section "Monitor"
Identifier "Television"
HorizSync 30.0-50.0
VertRefresh 30.0-150.0
EndSection

Section "Screen"
Identifier "tv screen"
Device "NVIDIA_TV"
Monitor "Television"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" #"Interlace"
EndSubSection
EndSection

# ===================== SERVERLAYOUT
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
Screen "tv screen" LeftOf "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection

Un redémarrage de X est nécessaire pour que les changements soient pris en compte

Voila un exemple concret d'utilisation avec un deuxième écran CRT et le multiposte de FREE :

NVidia, Ubuntu Edgy 6.10 et DualHead

ou avec une machine virtuelle Windows XP déportée sur le deuxième ecran CRT :

NVidia, Ubuntu Edgy 6.10 et DualHead

Retour à La Une de Logo Paperblog

A propos de l’auteur


Taltan 77 partages Voir son profil
Voir son blog

l'auteur n'a pas encore renseigné son compte l'auteur n'a pas encore renseigné son compte