LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Dual monitors (https://www.linuxquestions.org/questions/linux-software-2/dual-monitors-407145/)

bizzarem1ke 01-23-2006 07:22 PM

Dual monitors
 
I am having a hell of a time getting dual monitors working. im trying to do doit on my Geforce 6600 GT.

here is my xorg.conf

ection "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
Option "OffTime" "20"
EndSection

Section "Files"
RgbPath "/usr/lib64/X11/rgb"
ModulePath "/usr/lib64/modules"
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/"
EndSection

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

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection

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

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
Option "DPMS"
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 "RegistryBinary" # <str>
#Option "NoPowerConnectorCheck" # [<bool>]
#Option "AllowDFPStereo" # [<bool>]
#Option "XvMCUsesTextures" # [<bool>]
#Option "HorizSync" # <str>
#Option "VertRefresh" # <str>
#Option "AllowGLXWithComposite" # [<bool>]
#Option "RandRRotation" # [<bool>]
#Option "ExactModeTimingsDVI" # [<bool>]
#Option "Coolbits" # <i>
#Option "AllowDDCCI" # [<bool>]
#Option "ConstantFrameRateHint" # [<bool>]
#Option "LoadKernelModule" # [<bool>]
#Option "ClearCube" # [<bool>]
#Option "PredefinedTimings" # <i>
#Option "EmulatedOverlaysTimerMs" # <i>
Identifier "Card0"
Driver "nvidia"
VendorName "nVidia Corporation"
BoardName "Unknown Board"
BusID "PCI:5:0:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultColorDepth 24
SubSection "Display"
Depth 1
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display" Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 32
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection





******************
and this is site i found how to do it. but im so damn confused :)
http://gentoo-wiki.com/HOWTO_Dual_Monitors

if someone had done it before walk me through it :)

HappyTux 01-23-2006 07:53 PM

Quote:

Originally Posted by bizzarem1ke
I am having a hell of a time getting dual monitors working. im trying to do doit on my Geforce 6600 GT.

here is my xorg.conf

Code:

Section "ServerLayout"
        Identifier    "X.org Configured"
        Screen      0  "Screen0" 0 0
        Screen      1  "Screen1" RightOf "Screen0"
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
        Option              "OffTime" "20"
#        Option            "Xinerama" "on"
EndSection

Section "Files"
        RgbPath      "/usr/lib64/X11/rgb"
        ModulePath  "/usr/lib64/modules"
        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/"
EndSection

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

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
EndSection

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

Section "Monitor"
        Identifier  "Monitor0"
        VendorName  "Monitor Vendor"
        ModelName    "Monitor Model"
        Option      "DPMS"
EndSection

Section "Monitor"
        Identifier  "Monitor1"
        VendorName  "Monitor Vendor"
        ModelName    "Monitor Model"
        Option      "DPMS"
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    "RegistryBinary"            # <str>
        #Option    "NoPowerConnectorCheck"        # [<bool>]
        #Option    "AllowDFPStereo"            # [<bool>]
        #Option    "XvMCUsesTextures"          # [<bool>]
        #Option    "HorizSync"                  # <str>
        #Option    "VertRefresh"                # <str>
        #Option    "AllowGLXWithComposite"        # [<bool>]
        #Option    "RandRRotation"              # [<bool>]
        #Option    "ExactModeTimingsDVI"        # [<bool>]
        #Option    "Coolbits"                  # <i>
        #Option    "AllowDDCCI"                # [<bool>]
        #Option    "ConstantFrameRateHint"        # [<bool>]
        #Option    "LoadKernelModule"          # [<bool>]
        #Option    "ClearCube"                  # [<bool>]
        #Option    "PredefinedTimings"          # <i>
        #Option    "EmulatedOverlaysTimerMs"        # <i>
        Identifier  "Card0"
        Driver      "nvidia"
        Screen      0
        VendorName  "nVidia Corporation"
        BoardName  "Unknown Board"
        BusID      "PCI:5:0:0"
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    "RegistryBinary"            # <str>
        #Option    "NoPowerConnectorCheck"        # [<bool>]
        #Option    "AllowDFPStereo"            # [<bool>]
        #Option    "XvMCUsesTextures"          # [<bool>]
        #Option    "HorizSync"                  # <str>
        #Option    "VertRefresh"                # <str>
        #Option    "AllowGLXWithComposite"        # [<bool>]
        #Option    "RandRRotation"              # [<bool>]
        #Option    "ExactModeTimingsDVI"        # [<bool>]
        #Option    "Coolbits"                  # <i>
        #Option    "AllowDDCCI"                # [<bool>]
        #Option    "ConstantFrameRateHint"        # [<bool>]
        #Option    "LoadKernelModule"          # [<bool>]
        #Option    "ClearCube"                  # [<bool>]
        #Option    "PredefinedTimings"          # <i>
        #Option    "EmulatedOverlaysTimerMs"        # <i>
        Identifier  "Card1"
        Driver      "nvidia"
        Screen      1
        VendorName  "nVidia Corporation"
        BoardName  "Unknown Board"
        BusID      "PCI:5:0:0"
EndSection

 Section "Screen"
    Identifier "Screen0"
    Device    "Card0"
    Monitor    "Monitor0"
    DefaultColorDepth 24
    SubSection "Display"
      Depth    1
      Modes "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
      Depth    4
      Modes "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
      Depth    8
      Modes "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
      Depth    15
      Modes "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"      Depth    16
      Modes "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
      Depth    24
      Modes "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
      Depth    32
      Modes "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
 EndSection


Section "Screen"
    Identifier "Screen1"
    Device    "Card1"
    Monitor    "Monitor1"
    DefaultColorDepth 24
    SubSection "Display"
      Depth    1
      Modes "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
      Depth    4
      Modes "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
      Depth    8
      Modes "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
      Depth    15
      Modes "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"      Depth    16
      Modes "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
      Depth    24
      Modes "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
      Depth    32
      Modes "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
 EndSection


Quote:

if someone had done it before walk me through it :)
Try the above for the xorg.conf if you want one desktop spanning two monitors the remove the # from the line in fornt of the Xinerama if you want two separate desktops the remove the # from the Load "xtrap". In the Server Layout section you can change the RightOf to LeftOf or Above and Below to make sense of the physical layout of your monitors and in my experience the bottom connector is the first screen (screen0) so it is best to have that connected to the one you want as your primary monitor.

bizzarem1ke 01-23-2006 08:00 PM

thank you my good man i will back up my old conf, and try this one :)

bizzarem1ke 01-23-2006 08:14 PM

works great.


All times are GMT -5. The time now is 10:54 PM.