Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 09-09-05, 08:46 AM   #1
spomeroy
Registered User
 
Join Date: Dec 2004
Posts: 6
Default Dual Head: Successful xorg.conf file

Hello all. Figured I'd share with the forum my successful xorg.conf config.

Here's my setup:
Dual AMD Boxx 7205 Running Fedora Core 4 2.6.12-1.1447_FC4smp with an NVidia Quadro FX3000 with the NVidia 1.0-7676 Driver and dual Viewsonic VP201B LCD Displays running at 1600x1200 with both monitors going into each DVI port (FX3000 has 2).

And heres my xorg.conf file:
#begin xorg.conf
Section "ServerLayout"
Identifier "dual head configuration"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" rightOf "Screen0"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"

# RgbPath is the location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "unix/:7100"
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
EndSection

Section "ServerFlags"
Option "Xinerama" "on"
EndSection

Section "InputDevice"

# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "Xleds" "1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
# Option "XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# or:
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:swapcaps"
# Or if you just want both to be control, use:
# Option "XkbOptions" "ctrl:nocaps"
#
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "yes"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "ViewSonic VP201b"
HorizSync 30.0 - 95.0
VertRefresh 50.0 - 85.0
Option "dpms"
EndSection

Section "Monitor"
Identifier "Monitor1"
VendorName "Monitor Vendor"
ModelName "ViewSonic VP201b"
HorizSync 30.0 - 95.0
VertRefresh 50.0 - 85.0
Option "dpms"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "Videocard vendor"
BoardName "NVIDIA Quadro FX (generic)"
BusID "PCI:2:0:0"
Screen 0
EndSection

Section "Device"
Identifier "Videocard1"
Driver "nvidia"
VendorName "Videocard vendor"
BoardName "NVIDIA Quadro FX (generic)"
BusID "PCI:2:0:0"
Screen 1
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1600x1200" "1400x1050" "1280x960" "1280x800" "1280x1024" "1152x864" "1152x768" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1600x1200" "1400x1050" "1280x960" "1280x800" "1280x1024" "1152x864" "1152x768" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "Screen"
Identifier "Screen1"
Device "Videocard1"
Monitor "Monitor1"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1600x1200" "1400x1050" "1280x960" "1280x800" "1280x1024" "1152x864" "1152x768" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1600x1200" "1400x1050" "1280x960" "1280x800" "1280x1024" "1152x864" "1152x768" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "DRI"
Group 0
Mode 0666
EndSection

Section "ServerFlags"
Option "Xinerama" "On"
EndSection

#end xorg.conf

Hope this helps someone else out. So far this is working for me just fine.

cheers
S.
spomeroy is offline   Reply With Quote
Old 09-09-05, 09:54 AM   #2
JaXXoN
Registered User
 
Join Date: Jul 2005
Location: Munich
Posts: 910
Default Re: Dual Head: Successful xorg.conf file

You should better use twinview for a dual monitor setup using a single
video card - otherwise you will have some overhead/performance loss
because of xinerama. Please find below the appropriate sections for twinview
mode:

Code:
Section "ServerLayout"
        Identifier     "Default Layout"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "LCD Panel 1600x1200"
        HorizSync    31.5 - 81.0
        VertRefresh  60.0 - 60.0
        Option      "dpms"
EndSection

Section "Device"
        Identifier  "Videocard0"
        Driver      "nvidia"
        VendorName  "Videocard vendor"
        BoardName   "NVIDIA GeForce 7800GTX"
        Option      "CursorShadow" "1"
        Option      "NoLogo" "1"
        Option      "Coolbits" "1"
        Option "ConnectedMonitor" "dfp, dfp"
        Option "TwinView" "yes"
        Option "MetaModes" "1600x1200,1600x1200"
        Option "SecondMonitorHorizSync" "31-81"
        Option "SecondMonitorVertRefresh" "60-60"
        Option "NoPowerConnectorCheck"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Videocard0"
        Monitor    "Monitor0"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes    "1600x1200"
        EndSubSection
EndSection
regards

Bernhard
JaXXoN is offline   Reply With Quote
Old 09-09-05, 11:10 AM   #3
spomeroy
Registered User
 
Join Date: Dec 2004
Posts: 6
Default Re: Dual Head: Successful xorg.conf file

Quote:
Originally Posted by JaXXoN
You should better use twinview for a dual monitor setup using a single
video card - otherwise you will have some overhead/performance loss
because of xinerama. Please find below the appropriate sections for twinview
mode:
regards

Bernhard
Interesting. Does TwinView support Spanning Desktops?

cheers
S.
spomeroy is offline   Reply With Quote
Old 09-09-05, 11:23 AM   #4
GlowStick
CoD4!
 
GlowStick's Avatar
 
Join Date: Feb 2003
Location: Florida
Posts: 5,786
Send a message via AIM to GlowStick
Default Re: Dual Head: Successful xorg.conf file

Hi, ive used twinview and standard setup. twinview is the better preformer and has the least issues with dragging windows etc. However, if you plan to game and want to beable to view what is on your second monitor it is not hte best option. Also, some games will only run centered between your two monitors resolutions (unreal 2004). Some games like WolfenStein: Enemy Territory will run on the correct monitor but your primary monitor will stay at its x resolution. and it will just draw the part of the screen that would make up the games resolution.

hope this helps!
__________________
Intel i7-2600K, Corsair 8Gig, Corsair H100, Corsair 650D, Corsair HX750, ATi 6970, WD Caviar Black 2TB
Sony Vaio SB: i7, 8Gig, Intel 320 300gig
GlowStick is offline   Reply With Quote
Old 09-09-05, 11:59 AM   #5
JaXXoN
Registered User
 
Join Date: Jul 2005
Location: Munich
Posts: 910
Default Re: Dual Head: Successful xorg.conf file

Quote:
Originally Posted by spomeroy
Does TwinView support Spanning Desktops?
Yes. The two DVI outputs represent a single physical framebuffer.

However, there are sometimes issues where games are placeing
themself into the "center" of the screen at "normal" resolution, i.e.
if you have two 1600x1200 LCDs, then the left 800x1200 pixels
of the game will be rendered at the right half of the left LCD and
the right 800x1200 pixels of the game will be rendered at the left
half of the right LCD. For most games, you can adjust this
behaviour by tweaking some settings in the game configuration
file (i.e. .ut2004/System/ut2004.ini).

regards

Bernhard
JaXXoN is offline   Reply With Quote
Old 09-09-05, 03:34 PM   #6
davija
Registered User
 
Join Date: Aug 2005
Posts: 13
Default Re: Dual Head: Successful xorg.conf file

Twinview does support spanning desktops, however twinview DOES break some of the features that some people have come to expect. For example, with your multiple viewmodes listed, when using twinview, you would only have virtual modes for the lower resoultion. For example, if you had modes defined for 1600x1200, 1280x1024 (in both monitors 3200x1200 or 1560x1024 total), when you go to switch to 1280x1024, you get a viewport that is 1560x1024 with a virtual screen of 3200x1200. and when you move your mouse around, it moves your viewport around in the virtual screen. This is NOT expected behavior and NVIDIA claims it's not their problem.
davija is offline   Reply With Quote
Old 09-10-05, 03:11 PM   #7
spomeroy
Registered User
 
Join Date: Dec 2004
Posts: 6
Default Re: Dual Head: Successful xorg.conf file

Quote:
Originally Posted by JaXXoN
You should better use twinview for a dual monitor setup using a single
video card - otherwise you will have some overhead/performance loss
because of xinerama. Please find below the appropriate sections for twinview
mode:

Code:
Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "LCD Panel 1600x1200"
        HorizSync    31.5 - 81.0
        VertRefresh  60.0 - 60.0
        Option      "dpms"
EndSection

Section "Device"
        Identifier  "Videocard0"
        Driver      "nvidia"
        VendorName  "Videocard vendor"
        BoardName   "NVIDIA GeForce 7800GTX"
        Option      "CursorShadow" "1"
        Option      "NoLogo" "1"
        Option      "Coolbits" "1"
        Option "ConnectedMonitor" "dfp, dfp"
        Option "TwinView" "yes"
        Option "MetaModes" "1600x1200,1600x1200"
        Option "SecondMonitorHorizSync" "31-81"
        Option "SecondMonitorVertRefresh" "60-60"
        Option "NoPowerConnectorCheck"
EndSection
regards

Bernhard
Bernhard:
Question about your config file. Why did you round out the Device Frequency in the Option line above:

HorizSync 31.5 - 81.0

to:

Option "SecondMonitorHorizSync" "31-81"

Just curious. Does it matter to do this?

cheers
S.
spomeroy is offline   Reply With Quote
Old 09-10-05, 10:32 PM   #8
JaXXoN
Registered User
 
Join Date: Jul 2005
Location: Munich
Posts: 910
Default Re: Dual Head: Successful xorg.conf file

Quote:
Originally Posted by spomeroy
Why did you round out the Device Frequency
I have seen it done this way in some other twinview sample xorg.conf files
out on the web :-) I don't think it makes any difference unless you intend to
operate the LCDs on the edge of their specification. I guess you can round
the values in the monitor section as well without any harm.

regards

Bernhard
JaXXoN is offline   Reply With Quote

Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to totally get rid of nvidia-settings configurations on login gfxdrone NVIDIA Linux 10 06-27-12 02:29 PM
RPM Source problems LaoTzuTao NVIDIA Linux 10 01-19-03 06:15 AM
Can't install NVIDIA_kernel.XXXX.XXXX.src or regular rpm noeffort NVIDIA Linux 15 12-17-02 02:22 PM
Realy messed up dual head vdub12 NVIDIA Linux 1 09-15-02 01:26 AM
How do I get Dual Head working? Heath NVIDIA Linux 1 08-22-02 01:44 PM

All times are GMT -5. The time now is 08:34 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.