LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-07-2005, 09:48 AM   #1
busaussie
Member
 
Registered: Jun 2005
Distribution: SuSE
Posts: 33

Rep: Reputation: 15
Help Change X Config for dual monitors with nvidia


Hello,
i am new to linux so cut me some slack.... I am trying to set up my dual monitors, and i go to the nvidia site, and they tell me all this stuff.. This is what they say i should do:


To enable TwinView, you must specify the following options in the Device
section of your X Config file:

Option "TwinView"
Option "MetaModes" "<list of metamodes>"

You must also specify either:

Option "SecondMonitorHorizSync" "<hsync range(s)>"
Option "SecondMonitorVertRefresh" "<vrefresh range(s)>"

or:

Option "HorizSync" "<hsync range(s)>"
Option "VertRefresh" "<vrefresh range(s)>"

You may also use any of the following options, though they are not required:

Option "TwinViewOrientation" "<relationship of head 1 to head 0>"
Option "ConnectedMonitor" "<list of connected display devices>"




Alright thats great... but one problem.. I dont know how to edit X config. Yeah i know how to boot it up in X terminal and all. But i dont know how to edit it. BUTT... i did open up the XF86Config file.. and this is what it says under screens:






Screen sections
# **********************************************************************

# Any number of screen sections may be present. Each describes
# the configuration of a single screen. A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.

Section "Screen"
Identifier "Screen 1"
Device "MSI"
Monitor "My Monitor"
DefaultDepth 24

Subsection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0


EndSubsection
Subsection "Display"
Depth 24
Modes "1280x1024"
ViewPort 0 0


That is what that says.....

What can i do? Does this code help you in anyway or do u need a different code?

((Am i in over my head for someone who has been just running Linux for a couple of weeks now?))

Just some rough ideas, or a little help will do..

Thankx alot.
 
Old 06-07-2005, 12:36 PM   #2
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy .. bullseye bookworm
Posts: 1,833

Rep: Reputation: 108Reputation: 108
Are you using XFree86 or X?

If XFree86, I have dual screen on. (I have not checked in X.) Following my config file for XFree86 at "Screen section"

Code:
Option  "TwinView"      "on"
Option  "SecondMonitorHorizSync"        "31.5-48.5"
Option  "SecondMonitorVertRefresh"      "40-70"
Option  "MetaModes"     "1024x768, 1024x768; 800x600, 800x600"
Option  "TwinViewOrientation" "Clone"
You need to adjust 31.5-48.5, 40-70 and resolutions depending on what you connect.
xorg.conf uses same format, but I am not confident.

Hope this helps

Last edited by kaz2100; 06-07-2005 at 12:39 PM.
 
Old 06-11-2005, 12:36 PM   #3
busaussie
Member
 
Registered: Jun 2005
Distribution: SuSE
Posts: 33

Original Poster
Rep: Reputation: 15
Check out my other thread also for my code

Thank you very much..

but i am sorry i don't 100% understand. I thought you had to at least tell the Xfree86 that youhave two monitors....
Go to my other thread

http://www.linuxquestions.org/questi...hreadid=330713

my code is there. And also, you can see what i have done....

Ugg this is hard for me, this is all new..

Thank you very much though...

I do appreciate it!
 
Old 06-21-2005, 11:52 AM   #4
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy .. bullseye bookworm
Posts: 1,833

Rep: Reputation: 108Reputation: 108
Actually, I do not have same configuration as yours, so it is impossible to check if your system works.

At the end, I attached my config file. Many other thread say that X.org and XFree86 uses same format.

One other thing you can try is:
connect 2nd monitor then reboot your computer.
see if anything pops up on 2nd monitor. (in this case your 2st monitor stays blank)
then start X session
see if X starts on 2nd screen,
follow log file (/var/log/......) then see if there is any error or any useful information.
I am sure you can find a lot of them.

Then if you still have problem, come back here with that log file.
my config file follows.
Code:
Section "ServerLayout"
        Identifier     "XFree86 Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Mouse1" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        RgbPath      "/usr/X11R6/lib/X11/rgb"
        ModulePath   "/usr/X11R6/lib/modules"
        FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
        FontPath     "/usr/X11R6/lib/X11/fonts/Speedo/"
        FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
        FontPath     "/usr/X11R6/lib/X11/fonts/CID/"
        FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
        FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "Module"
        Load  "extmod"
        Load  "glx"
#       Load  "dri"
        Load  "dbe"
        Load  "record"
        Load  "xtrap"
        Load  "speedo"
        Load  "type1"
EndSection

#Section "InputDevice"
# Identifier  "Keyboard0"
#       Driver      "keyboard"
#EndSection

Section "InputDevice"

#    Identifier "Keyboard1"
         Identifier  "Keyboard0"
    Driver      "Keyboard"
    Option "AutoRepeat"  "250 30"

    Option "XkbRules" "xfree86"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "us"
    Option      "XkbDisable"

EndSection

#Section "InputDevice"
# Identifier  "Mouse0"
#       Driver      "mouse"
#       Option      "Protocol" "auto"
#       Option      "Device" "/dev/mouse"
#EndSection

Section "InputDevice"

    Identifier  "Mouse0"


    Driver      "mouse"
    Option "Protocol"    "PS/2"
    Option "Device"      "/dev/psaux"
    Option "Emulate3Buttons"
    Option "Emulate3Timeout"    "50"

EndSection

Section "InputDevice"
   Identifier  "Mouse1"
    Driver      "mouse"
    Option "SendCoreEvents"    "true"
    Option "Device"      "/dev/input/mice"
    Option "Protocol"    "IMPS/2"
    Option "Emulate3Buttons"
    Option "Emulate3Timeout"    "50"
        Option  "Buttons" "5"
        Option  "ZAxisMapping" "4 5"

# ChordMiddle is an option for some 3-button Logitech mice

#    Option "ChordMiddle"

EndSection

Section "Monitor"
        Identifier   "Monitor0"

        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"

        HorizSync       31.5-48.5

        VertRefresh     40-70

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     "SWcursor"                  # [<bool>]
        #Option     "HWcursor"                  # [<bool>]
        #Option     "NoAccel"                   # [<bool>]
        #Option     "ShowCache"                 # [<bool>]
        #Option     "ShadowFB"                  # [<bool>]
        #Option     "UseFBDev"                  # [<bool>]
        #Option     "Rotate"                    # [<str>]
        #Option     "VideoKey"                  # <i>
        #Option     "FlatPanel"                 # [<bool>]
        #Option     "FPDither"                  # [<bool>]
        #Option     "CrtcNumber"                # <i>
        Identifier  "Card0"
#       Driver      "nv"
        Driver      "nvidia"
        VendorName  "nVidia Corporation"
        BoardName   "NV17 [GeForce4 420 Go]"
        BusID       "PCI:1:0:0"
        Option          "IgnoreEDID"    "on"
        Option          "NoLogo"        "on"
EndSection

#Section "Screen"
#       Identifier "Screen0"
#       Device     "Card0"
#       Monitor    "Monitor0"
#       SubSection "Display"
#               Depth     1
#       EndSubSection
#       SubSection "Display"
#               Depth     4
#       EndSubSection
#       SubSection "Display"
#               Depth     8
#       EndSubSection
#       SubSection "Display"
#               Depth     15
#       EndSubSection
#       SubSection "Display"
#               Depth     16
#       EndSubSection
#       SubSection "Display"
#               Depth     24
#       EndSubSection
#EndSection

Section "Screen"
#    Identifier "screen1"
    Identifier "screen0"
#    Device      "NVIDIA GeForce2 DDR (generic)"
    Device      "Card0"
    Monitor     "Monitor0"
#    Monitor     "Generic|Generic Laptop Display Panel 1024x768"
    DefaultColorDepth 24
    Subsection "Display"
        Depth       8
        Modes       "1024x768" "800x600" "640x400"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       32
        Modes       "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
Option  "TwinView"      "on"
Option  "SecondMonitorHorizSync"        "31.5-48.5"
Option  "SecondMonitorVertRefresh"      "40-70"
Option  "MetaModes"     "1024x768, 1024x768; 800x600, 800x600"
Option  "TwinViewOrientation" "Clone"
EndSection
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual monitors on nvidia Go5600 voxel Linux - Laptop and Netbook 5 09-14-2005 11:09 PM
dual monitors nvidia FX 5600 LinuxMWB Linux - Hardware 2 01-28-2004 04:30 PM
Dual Monitors on one Card (nvidia) mastahnke Linux - Hardware 4 08-20-2003 07:57 PM
Dual monitors and tv-out on one nvidia FX card Enok Linux - Hardware 0 08-08-2003 04:01 PM
dual monitors with nvidia card... php_rocks Linux - Hardware 0 05-23-2003 01:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration