View previous topic :: View next topic |
Author |
Message |
xcable Guru
Joined: 15 Aug 2002 Posts: 424 Location: College Station, Texas
|
Posted: Wed Feb 02, 2005 2:45 am Post subject: xorg nvidia twinview configuration |
|
|
I'm having trouble with my xorg.conf and twinview on my laytop (HP zd7000). I have a GeForce FX 5600 and I'm running xorg. The primary dispaly is always the external CRT, which cause problems if I boot without a 2nd display because the KDM logon doesn't show up on the laptop LCD. Please post your xorg.conf using twinview. Here is what I have
Code: |
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
ModulePath "/usr/X11R6/lib/modules"
FontPath "/usr/share/fonts/truetype"
FontPath "/usr/share/fonts/freetype"
FontPath "/usr/share/fonts/corefonts"
FontPath "/usr/share/fonts/ttf-bitstream-vera"
FontPath "/usr/share/fonts/local"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/CID/"
FontPath "/usr/share/fonts/75dpi/"
FontPath "/usr/share/fonts/100dpi/"
FontPath "/usr/share/fonts/Speedo"
FontPath "/usr/share/fonts/cyrillic"
EndSection
Section "Module"
Load "glx"
Load "ddc"
Load "record"
Load "extmod"
Load "dbe"
#Load "dri"
Load "xtrap"
Load "freetype"
Load "type1"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbLayout" "us"
Option "XkbModel" "pc104"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/mouse"
Option "Emulate3Buttons"
Option "Emulate3Timeout" "50"
Option "ZAxisMapping" "4 5"
EndSection
Section "Monitor"
Identifier "LCD"
HorizSync 30-69
VertRefresh 60
Modeline "1440x900" 106.47 1440 1520 1672 1904 900 901 904 932 -HSync +Vsync
EndSection
Section "Monitor"
Identifier "HD15"
HorizSync 30-69
VertRefresh 50-160
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "DigitalVibrance" # <i>
#Option "NoFlip" # [<bool>]
#Option "Dac8Bit" # [<bool>]
#Option "NoLogo" # [<bool>]
#Option "UBB" # [<bool>]
#Option "Stereo" # <i>
#Option "SWcursor" # [<bool>]
#Option "HWcursor" # [<bool>]
#Option "VideoKey" # <i>
#Option "NvAGP" # <i>
#Option "IgnoreEDID" # [<bool>]
#Option "NoDDC" # [<bool>]
#Option "ConnectedMonitor" # <str>
#Option "ConnectedMonitors" # <str>
#Option "TVStandard" # <str>
#Option "TVOutFormat" # <str>
#Option "RenderAccel" # [<bool>]
#Option "CursorShadow" # [<bool>]
#Option "CursorShadowAlpha" # <i>
#Option "CursorShadowXOffset" # <i>
#Option "CursorShadowYOffset" # <i>
#Option "UseEdidFreqs" # [<bool>]
#Option "FlatPanelProperties" # <str>
#Option "TwinView" # [<bool>]
#Option "TwinViewOrientation" # <str>
#Option "SecondMonitorHorizSync" # <str>
#Option "SecondMonitorVertRefresh" # <str>
#Option "MetaModes" # <str>
#Option "UseInt10Module" # [<bool>]
#Option "NoTwinViewXineramaInfo" # [<bool>]
#Option "NoRenderExtension" # [<bool>]
#Option "Overlay" # [<bool>]
#Option "CIOverlay" # [<bool>]
#Option "ForceEmulatedOverlay" # [<bool>]
#Option "TransparentIndex" # <i>
#Option "OverlayDefaultVisual" # [<bool>]
#Option "NvEmulate" # <i>
#Option "NoBandWidthTest" # [<bool>]
#Option "CustomEDID-CRT-0" # <str>
#Option "CustomEDID-CRT-1" # <str>
#Option "CustomEDID-DFP-0" # <str>
#Option "CustomEDID-DFP-1" # <str>
#Option "CustomEDID-TV-0" # <str>
#Option "CustomEDID-TV-1" # <str>
#Option "TVOverScan" # <f>
#Option "IgnoreDisplayDevices" # <str>
#Option "MultisampleCompatibility" # [<bool>]
#Option "RegistryDwords" # <str>
#Option "NoPowerConnectorCheck" # [<bool>]
#Option "AllowDFPStereo" # [<bool>]
#Option "XvMCUsesTextures" # [<bool>]
#Option "HorizSync" # <str>
#Option "VertRefresh" # <str>
Identifier "GeForce"
Driver "nvidia"
VendorName "nVidia Corporation"
BoardName "GeForce FX Go5600"
BusID "PCI:1:0:0"
Option "IgnoreEDID" "true"
Option "NoLogo" "true"
Option "RenderAccel" "1"
Option "CursorShadow" "1"
Option "AGPMode" "4"
Option "AGPFastWrite" "true"
Option "EnablePageFlip" "true"
# TwinView configuration
Option "TwinView" "true"
Option "TwinViewOrientation" "LeftOf"
#Option "TwinViewOrientation" "RightOf"
#Option "TwinViewOrientation" "Clone"
Option "SecondMonitorHorizSync" "24.0 - 60.0"
Option "SecondMonitorVertRefresh" "56.0 - 75.0"
Option "MetaModes" "1024x768, 1440x900"
#Option "MetaModes" "1024x768, 1440x900"
#Option "MetaModes" "1440x900 +0+0, 1024x768 -1440+0"
#Option "MetaModes" "1280x1024, 1440x900"
#Option "MetaModes" "1400x1050, 1440x900"
#Option "MetaModes" "1600x1200, 1440x900"
#Option "ConnectedMonitor" "DFP, CRT"
Option "ConnectedMonitor" "CRT,DFP"
EndSection
Section "Screen"
Identifier "Screen0"
Device "GeForce"
Monitor "LCD"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1440x900" "1024x768" "800x600"
EndSubSection
EndSection
|
|
|
Back to top |
|
|
Apreche Guru
Joined: 18 Sep 2003 Posts: 506 Location: Beacon, NY
|
Posted: Wed Feb 02, 2005 3:15 pm Post subject: |
|
|
I also use xorg with twinview. Here is my config.
I also have a problem that my video card has a DVI and a VGA out. However, the VGA out is always the primary screen. This is annoying and I haven't been able to fix it. There is no way for me to tell X which physical plug is attached to which physical monitor. Usually BusID is the way to do this, but since it is a dual-head card the BusID's are exactly the same. This is annoying as hell. I get around it by using fvwm as that window manager allows me to configure which screen things show up on. It's rather annoying in xfce since the taskbar will always be on the shitty crt and I can't move it to the lcd. |
|
Back to top |
|
|
davidgp n00b
Joined: 13 Mar 2004 Posts: 16
|
Posted: Sun Feb 06, 2005 12:31 pm Post subject: |
|
|
Well... If I remmeber well... after reading the twinview faq in the nvidia webpage, in all gforce go cards, like the one in your laptop... the external monitor is the primary display, always.
Look at this file
ftp://download.nvidia.com/XFree86/Linux-x86/1.0-6629/README.txt
See the appendix k about the twinview in laptops... I don't know if you can override that configuration... |
|
Back to top |
|
|
fgrasset n00b
Joined: 18 Apr 2003 Posts: 16 Location: Toulouse
|
Posted: Sun Feb 06, 2005 1:08 pm Post subject: |
|
|
Hi,
To xcable : there is two complementary solutions to your problem:
1) Use to diferent layouts one when using one screen and the secons when using two scrrens. I succefully use this solution since two years now. I select the layout at boot and use a remplacement script to launch X with the selected layout.
2) the nvidia driver can automatically found that there is no secondary screen and then try to find the closer meta mode that match to your screen. your have defined only 1 meta mode so there is no choice!!
Just add the meta mode corresponding to your LCD resolution, something like
The problem is that the calculed DPI is done from the max display size and then will not match when using only one screen and some soft that use DPI to ajust display (ie: XINE, Mplayer, kghostview, etc) will not work properly.
Hope this info will help you... _________________ Fred |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|