domingo, 19 de octubre de 2008

Configuracion nVidia Geforce 6150 Go

Esta tarjeta viene integrada con una salida VGA para conectar un monitor externo y una salida de S-Video para conectar una TV, en mi caso uso un cable macho-macho de S-Video y en una de las puntas uso un adaptador de S-Video (macho) a RCA (macho) ya que mi TV solo tiene este tipo de entrada para el video auxiliar.

Para esta tarjeta solo es posible tener dos displays activos a la vez y como mi idea es hacer uso de los distintos displays (monitor externo LG Studioworks 440Si, TV Samsun de 27'') para extender mi escritorio hago las siguientes convinaciones: LCD laptop, LCD laptop+Monitor, LCD laptop+TV.

La primer forma en que configuré esto fue mediante el uso de Xinerama añadiendo diferentes secciones "ServerLayout" al xorg.conf. Esto es una desventaja en el caso de que nuestro Linux arranque en runlevel 4 (Slackware) por defecto, ya que al haber un "ServerLayout" que se usa por default es necesario matar e iniciar de nuevo las X's con un distinto "layout" desde la linea de comandos de acuerdo al display que queramos usar o siempre iniciar en runlevel 3 y desde la linea de comandos iniciar las X's con el layout deseado. A continuación muestro el archivo xorg.conf que cumple con esto:

Código:

Section "ServerLayout"
Identifier "Desk"
Screen 0 "Screen Lap" 0 480
Screen 1 "Screen CRT" Above "Screen CRT"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Synaptics TouchPad" "AlwaysCore"
EndSection

Section "ServerLayout"
Identifier "Lap"
Screen 0 "Screen Lap" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Synaptics TouchPad" "AlwaysCore"
Option "Xinierama" "0"
EndSection

Section "ServerLayout"
Identifier "TV"
Screen 0 "Screen Lap" 0 480
Screen 1 "Screen TV" Above "Screen Lap"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Synaptics TouchPad" "AlwaysCore"
EndSection

Section "Files"
RgbPath "/usr/lib/X11/rgb"
ModulePath "/usr/lib/modules/extensions"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/lib/X11/fonts/misc/:unscaled"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/misc/"
FontPath "/usr/lib/X11/fonts/Type1/"
FontPath "/usr/lib/X11/fonts/Speedo/"
FontPath "/usr/lib/X11/fonts/100dpi/"
FontPath "/usr/lib/X11/fonts/75dpi/"
FontPath "/usr/lib/X11/fonts/cyrillic/"
FontPath "/usr/lib/X11/fonts/TTF/"
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "type1"
Load "freetype"
Load "glx"
Load "synaptics"
EndSection

Section "ServerFlags"
Option "DefaultServerLayout" "Lap"
Option "Xinerama" "1"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
Identifier "Synaptics TouchPad"
Driver "synaptics"
Option "Device" "/dev/input/mouse0"
Option "Protocol" "auto-dev"
Option "LeftEdge" "1700"
Option "RightEdge" "5300"
Option "TopEdge" "1700"
Option "BottomEdge" "4200"
Option "FingerLow" "25"
Option "FingerHigh" "30"
Option "MaxTapTime" "180"
Option "MaxTapMove" "220"
Option "VertScrollDelta" "100"
Option "MinSpeed" "0.09"
Option "MaxSpeed" "0.18"
Option "AccelFactor" "0.0015"
Option "SHMConfig" "on"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc104"
Option "XkbLayout" "latam"
EndSection

Section "Monitor"
Identifier "Monitor CRT"
VendorName "LG"
ModelName "Studioworkss 40Si"
HorizSync 31.5 - 48.4
VertRefresh 60.0 - 75.0
Option "DPMS"
EndSection

Section "Monitor"
Identifier "Monitor Lap"
VendorName "Unknown"
ModelName "Nvidia Default Flat Panel"
HorizSync 29.0 - 49.0
VertRefresh 0.0 - 61.0
Option "DPMS"
EndSection

Section "Monitor"
Identifier "Monitor TV"
VendorName "SAMSUNG"
ModelName "TV-0"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
Option "DPMS"
EndSection

Section "Device"
Identifier "Videocard Lap"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce Go 6150"
BusID "PCI:0:5:0"
Screen 0
EndSection

Section "Device"
Identifier "Videocard TV"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce Go 6150"
Screen 1
EndSection

Section "Device"
Identifier "Videocard CRT"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce Go 6150"
BusID "PCI:0:5:0"
Screen 1
EndSection

Section "Screen"
Identifier "Screen Lap"
Device "Videocard Lap"
Monitor "Monitor Lap"
DefaultDepth 24
Option "RenderAccel" "True"
Option "metamodes" "DFP: nvidia-auto-select +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection

Section "Screen"
Identifier "Screen CRT"
Device "Videocard CRT"
Monitor "Monitor CRT"
DefaultDepth 24
Option "RenderAccel" "True"
Option "metamodes" "CRT: 1024x768 +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection

Section "Screen"
Identifier "Screen TV"
Device "Videocard CRT"
Monitor "Monitor TV"
DefaultDepth 24
Option "RenderAccel" "True"
Option "metamodes" "TV: 640x480 +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection

...