2007-07-06

Multimonitor Betrieb

Eine Bemerkung noch vorweg: Das hier beschriebene bezieht sich auf Debian Etch (auch die vorhergehenden Postings).

Um zusätzlich zum 1440x900 Pixel darstellenden Display noch einen weiteren Monitor zu betreiben und nahtlos übergreifend arbeiten zu können empfiehlt es sich den Standard-Treiber nv durch einen aktuellen des Herstellers mit dem passenden Namen nvidia zu ersetzen.

Download des aktuellesten Packages:
ftp://download.nvidia.com/XFree86/Linux-x86/1.xxx/xxx-pkg1.run


Befolgen der Anleitung und ggf. vorher noch
apt-get install gcc
apt-get install libc6-dev
X beenden
/etc/init.d/gdm stop
Nur-Konsolenmodus (runlevel 3)
init 3
Reboot in Recovery Mode oder Runlevel 3 oder vergleichbares
apt-get update
apt-get install binutils
Kernel Source installieren (x.y mit der des eigenen Kernels ersetzen)
uname -a bzw. uname -r
apt-get install linux-source-2.x.y 
cd /usr/src
tar -jxvf linux-source-2.x.y
ln -s linux-source-2.x.y linux
Installieren der Kernel Headers
apt-get install linux-headers-2.6.12-1 linux-headers-2.6.12-1-386
Installieren der nVidia Drivers
sh NVIDIA-Linux-x86-1.0-8178-pkg1.run
Zurück in den X-Modus und X starten 
init 5 
/etc/init.d/gdm start
Modifizierte /etc/X11/xorg.conf die mehrere verschiedene Auflösungen enthält, damit man auch ohne den Monitor vernünftig arbeiten kann ohne zu scrollen:
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen" 0 0
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "Synaptics Touchpad"
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 "i2c"
Load "bitmap"
Load "ddc"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "vbe"
EndSection

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

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

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

Section "Monitor"
Identifier "Standardbildschirm"
HorizSync 28.0 - 72.0
VertRefresh 43.0 - 60.0
Option "DPMS"
EndSection

Section "Device"
Identifier "nVidia Corporation GeForce Go 7900 GS"
Driver "nvidia"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "nVidia Corporation GeForce Go 7900 GS"
Monitor "Standardbildschirm"
DefaultDepth 24
Option "TwinView" "true"
Option "MetaModes" "NULL,1440x900; 1280x1024,1440x900"
Option "SecondMonitorHorizSync" "28-72"
Option "SecondMonitorVertRefresh" "43-60"
Option "TwinViewOrientation" "RightOf"
Option "Xinerama" "on"
SubSection "Display"
Depth 1
Modes "1440x900"
EndSubSection
SubSection "Display"
Depth 4
Modes "1440x900"
EndSubSection
SubSection "Display"
Depth 8
Modes "1440x900"
EndSubSection
SubSection "Display"
Depth 15
Modes "1440x900"
EndSubSection
SubSection "Display"
Depth 16
Modes "1440x900"
EndSubSection
SubSection "Display"
Depth 24
Modes "1440x900"
EndSubSection
EndSection

Keine Kommentare: