sslug-teknik team mailing list archive
-
sslug-teknik team
-
Mailing list archive
-
Message #77768
Re: Nvidia grafikkort og to skærme
Du er heldig! Jeg har tilfældigvis fixet samme problem _netop_ i dag!
For det første, det hele står i manualen (RTFM .. :) som er at finde her:
/usr/share/doc/NVIDIA_GLX-1.0
Men det er self. et temmeligt stort dokument. Tricket består i at bruge:
Section "Device"
Identifier "Generic Video Card"
Driver "nvidia"
Option "TwinView"
Option "MetaModes" "1280x1024,1280x1024;"
Option "TwinViewOrientation" "CRT-1 LeftOf CRT-0"
EndSection
Det er self. linien med LeftOf der gør tricket. Der kan være andre ting du
skal tage højde for, såsom refresh-rate etc. For mig lyder det som om X
tror at din skærm ikke kan _klare_ mere end 640x480 (og så vælger den en
display mode du kan se, smart nok .. :)
Selvom du nok har løst dit problem nu får du lige en komplet kopi af min
XFConfig-4 der også kører med Dual screen og har haft samme problem:
Så kan du selv lure :-) Det der er værd at kigge efter er Screen
sektionen hvor de forskellige options er brugt.
Lige som en afsluttende bemærkning: Det er så meget federe at Nvidias
driver i Linux selv opdager hvis man piller en skærm fra, og ikke
fortsætter med at køre TwinView med en skærm...
Enjoy...
Claus
### BEGIN DEBCONF SECTION
# XF86Config-4 (XFree86 server configuration file) generated by dexconf, the
# Debian X Configuration tool, using values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# If you want your changes to this file preserved by dexconf, only make changes
# before the "### BEGIN DEBCONF SECTION" line above, and/or after the
# "### END DEBCONF SECTION" line below.
#
# To change things within the debconf section, run the command:
# dpkg-reconfigure xserver-xfree86
# as root. Also see "How do I add custom sections to a dexconf-generated
# XF86Config or XF86Config-4 file?" in /usr/share/doc/xfree86-common/FAQ.gz.
Section "Files"
FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/Speedo"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
EndSection
Section "Module"
# Load "GLcore"
Load "bitmap"
Load "dbe"
Load "ddc"
# Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "pex5"
Load "record"
Load "speedo"
Load "type1"
Load "vbe"
Load "xie"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "dk"
Option "XkbVariant" "da"
Option "XkbOptions" "da"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/psaux"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
Identifier "Generic Mouse"
Driver "mouse"
Option "SendCoreEvents" "true"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
EndSection
Section "Device"
Identifier "Videocard0"
Driver "nvidia"
# Driver "nv"
VendorName "Point of View"
BoardName "NVIDIA GeForce 4 TI4200xp"
# Screen 0
# BusID "ff:00:0"
EndSection
Section "Device"
Identifier "Hauppage PVR 350 iTVC15 Framebuffer"
Driver "ivtvdev"
# Option "ShadowFB" "false"
Option "fbdev" "/dev/fb0"
BusID "0:0x08:0"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Compaq"
ModelName "V75"
HorizSync 30.0 - 65
VertRefresh 60.0 - 75.0
Option "dpms"
EndSection
Section "Monitor"
Identifier "Monitor1"
VendorName "Compaq"
ModelName "V700"
HorizSync 30.0 - 65
VertRefresh 60.0 - 75.0
Option "dpms"
EndSection
Section "Monitor"
Identifier "PAL TV"
HorizSync 30-68
VertRefresh 50-120
Mode "720x576"
DotClock 41.476
HTimings 720 752 840 928
VTimings 576 580 584 600
Flags "-HSync" "-VSync"
EndMode
EndSection
Section "Screen"
Identifier "TV"
Device "Hauppage PVR 350 iTVC15 Framebuffer"
Monitor "PAL TV"
DefaultDepth 24
DefaultFbBpp 32
SubSection "Display"
Depth 24
FbBpp 32
Modes "720x576" #"752x580" "840x584" "928x600"
EndSubSection
EndSection
Section "Screen"
Identifier "Screen1"
Device "Videocard0"
Monitor "Monitor1"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "800x600" "1024x768" "1280x1024" "1600x1200"
EndSubSection
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
#HorizSync 31.4 - 60.0
#VertRefresh 60.0 - 70.0
Option "NvAGP" "1" #NVIDIAS egen AGP modul
# Option "NoTwinViewXineramaInfo" "true"
Option "CursorShadow" "true"
Option "TwinView" "true"
Option "UseEdidFreqs" "true"
#Option "SecondMonitorHorizSync" "31.5-64.3"
#Option "SecondMonitorVertRefresh" "50-60"
Option "MetaModes" "1280x1024,1280x1024;1024x768,1024x768;1280x1024,NULL"
Option "TwinViewOrientation" "LeftOf"
#Option "ConnectedMonitor" "CRT-0,CRT-1"
SubSection "Display"
Depth 16
Modes "800x600" "640x480" "1280x1024" "1024x768"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1280x960" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 32
Modes "1280x1024" "1280x960" "1024x768"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0"# 0 0
# Screen 0 "Screen1"
# Screen 1 "TV" LeftOf "Screen0"
# Screen 0 "TV"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "Generic Mouse"
EndSection
Section "DRI"
Group 0
#Mode 0777
Mode 0666
EndSection
Follow ups
References