Debian Dual Head mit nVidia
Guten Abend,
die letzten paar Stunden habe ich damit verbracht, auf einer Kiste mit Debian bzw. Ubuntu einen x.org-Server mit zwei 22″ Monitoren ans Laufen zu bekommen.
Grund dafür war einmal die nVidia-Treiber und einmal der Server selbst.
Mit folgenden Änderungen habe ich das Problem letztendlich gelöst:
Zuerst sollte man sicher gehen, dass man den aktuellen nVidia-kernel-legacy-Treiber installiert hat (welcher ganz einfach durch ein unachtsames automatisches Update verändert werden kann). Also in meinem Fall musste ich statt dem “nvidia-kernel-legacy-2.6.18-6-486″ den “nvidia-kernel-legacy-2.6.18-6-686″ zum installieren Kernel nachinstallieren.
Danach noch das “nvidia-glx-legacy” für GLX installieren und das wars soweit.
Im x.org-Server bzw. in der /etc/X11/xorg.conf muss dann auf “TwinView” umgestellt werden, damit auch alles mit dem nVidia-Treiber 3d beschleunigt läuft.
Hier die aktuelle xorg.conf (/etc/X11/xorg.conf):
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "ServerFlags"
Option "Xinerama" "0"
EndSection
# Monitore
Section "Monitor"
Identifier "S2031W-0"
ModelName "Eizo Flexscan S2031W"
HorizSync 24.0 - 82.0
VertRefresh 49.0 - 86.0
Option "DPMS"
EndSection
Section "Monitor"
Identifier "S2031W-1"
ModelName "Eizo Flexscan S2031W"
HorizSync 24.0 - 82.0
VertRefresh 49.0 - 86.0
Option "DPMS"
EndSection
# Grafikkarte
Section "Device"
Identifier "nVidia Corporation NV34GL [Quadro FX 500/600 PCI]"
Driver "nvidia"
Option "RenderAccel" "True"
Option "TwinView" "True"
Option "TwinViewOrientation" "RightOf"
Option "SecondMonitorHorizSync" "24.0-82.0 kHz"
Option "SecondMonitorVertRefresh" "49.0-86.0 Hz"
Option "MetaModes" "1680x1050,1680x1050"
# Option "MetaModes" "1050x1680,1050x1680"
EndSection
Section "Device"
Identifier "nVidia Corporation NV34GL [Quadro FX 500/600 PCI]-1"
Driver "nvidia"
EndSection
Section "Files"
# path to defoma fonts
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"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection
Section "Module"
Load "bitmap"
Load "ddc"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "vbe"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "de"
Option "XkbVariant" "nodeadkeys"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
EndSection
Section "Screen"
Identifier "Screen0"
Device "nVidia Corporation NV34GL [Quadro FX 500/600 PCI]"
Monitor "S2031W-0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
Section "Screen"
Identifier "Screen1"
Device "nVidia Corporation NV34GL [Quadro FX 500/600 PCI]-1"
Monitor "S2031W-1"
DefaultDepth 24
Option "metamodes" "CRT: nvidia-auto-select +0+0, DFP: 1680x1050 +1680+0"
Option "ModeValidation" "DFP-0: NoDFPNativeResolutionCheck,NoMaxPClkCheck"
SubSection "Display"
Viewport 0 0
Depth 24
# Modes "1050x1680"
Modes "1680x1050"
EndSubSection
EndSection
Section "DRI"
Mode 0666
EndSection
Die Konfigurationsdatei ist glaub ich selbsterklärend, bei Fragen einfach kommentieren.
Beste Grüße