Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can someone point me to a guide on setting up two monitors?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Bob Sacamano
n00b
n00b


Joined: 30 Dec 2004
Posts: 41

PostPosted: Mon Apr 04, 2005 2:59 am    Post subject: Can someone point me to a guide on setting up two monitors? Reply with quote

I've been searching these forums and googling for a while now and can't seem to find a guide on how to setup two montitors. Can someone help me out?
Back to top
View user's profile Send private message
ecoffey
Tux's lil' helper
Tux's lil' helper


Joined: 16 Jun 2004
Posts: 122
Location: Colorado

PostPosted: Mon Apr 04, 2005 3:05 am    Post subject: Reply with quote

This is kinda old, but it might help:

http://www.tldp.org/HOWTO/Xinerama-HOWTO/index.html

If you don't want Xinerama, then don't turn the option on and you'll be able to use the second monitor to do other X stuff (i.e. run two different window managers, or watch a movie on one and hack on another)
Back to top
View user's profile Send private message
fisherking
Tux's lil' helper
Tux's lil' helper


Joined: 12 Nov 2003
Posts: 111

PostPosted: Mon Apr 04, 2005 9:02 am    Post subject: Reply with quote

If you need, here is my xorg.conf, configured for two monitors ( no xinerama ). I have an ATI-card. The configuration is kind of messy, but it works for me!

Code:

# **********************************************************************
# DRI Section
# **********************************************************************
Section "dri"
# Access to OpenGL ICD is allowed for all users:
    Mode 0666

EndSection

# **********************************************************************
# Module section -- this  section  is used to specify
# which dynamically loadable modules to load.
# **********************************************************************
#
Section "Module"

# This loads the DBE extension module.
    Load        "dbe"     # Double buffer extension

    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection

# This loads the Type1 and FreeType font modules
    Load        "type1"
    Load        "freetype"

# This loads the GLX module
    Load        "glx"   # libglx.a
    Load        "dri"   # libdri.a

EndSection

# **********************************************************************
# Files section.  This allows default font and rgb paths to be set
# **********************************************************************

Section "Files"
    RgbPath   "/usr/lib/X11/rgb"

    FontPath   "/usr/lib/X11/fonts/local/"
    FontPath   "/usr/lib/X11/fonts/misc/"
    FontPath   "/usr//lib/X11/fonts/75dpi/:unscaled"
    FontPath   "/usr/lib/X11/fonts/100dpi/:unscaled"
    FontPath   "/usr/lib/X11/fonts/Type1/"
    FontPath   "/usr/lib/X11/fonts/Speedo/"
    FontPath   "/usr/lib/X11/fonts/75dpi/"
    FontPath   "/usr/lib/X11/fonts/100dpi/"

EndSection


# **********************************************************************
# Input devices
# **********************************************************************
Section "InputDevice"

    Identifier   "Keyboard1"
    Driver   "kbd"
    Option "AutoRepeat" "500 30"
    Option "XkbModel"   "pc105"
    Option "XkbLayout"   "se"

EndSection

# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"
    Identifier   "Mouse1"
    Driver "mouse"
    Option "Protocol"   "ImPS/2"
    Option "ZAxisMapping"   "4 5"
    Option "Device"     "/dev/input/mice"

EndSection


# **********************************************************************
# Monitor section
# **********************************************************************

# Any number of monitor sections may be present

Section "Monitor"
    Identifier  "Monitor0"
    HorizSync   30-100
    VertRefresh 60-160
    Option "DPMS"
EndSection

Section "Monitor"
    Identifier  "Monitor1"
    HorizSync   31.5 - 91.1
    VertRefresh 60-160
    Option "DPMS"

EndSection


# **********************************************************************
# Graphics device section
# **********************************************************************

# === ATI device section ===

Section "Device"
    Identifier                          "ATI Graphics Adapter connector 0"
    Driver                              "fglrx"
# ### generic DRI settings ###
# === disable PnP Monitor  ===
    #Option                              "NoDDC"
# === disable/enable XAA/DRI ===
    Option "no_accel"                   "no"
    Option "no_dri"                     "no"
# === misc DRI settings ===
    Option "mtrr"                       "off" # disable DRI mtrr mapper, driver has its own code for mtrr
# ### FireGL DDX driver module specific settings ###
# === Screen Management ===
    Option "DesktopSetup"               "0x00000000"
    Option "MonitorLayout"              "TMDS, CRT"
    Option "IgnoreEDID"                 "off"
    Option "HSync2"                     "31.5 - 91.1"
    Option "VRefresh2"                  "60-160"
    Option "ScreenOverlap"              "0"
# === TV-out Management ===
    Option "NoTV"                       "yes"     
    Option "TVStandard"                 "NTSC-M"     
    Option "TVHSizeAdj"                 "0"     
    Option "TVVSizeAdj"                 "0"     
    Option "TVHPosAdj"                  "0"     
    Option "TVVPosAdj"                  "0"     
    Option "TVHStartAdj"                "0"     
    Option "TVColorAdj"                 "0"     
    Option "GammaCorrectionI"           "0x00000000"
    Option "GammaCorrectionII"          "0x00000000"
# === OpenGL specific profiles/settings ===
    Option "Capabilities"               "0x00000000"
# === Video Overlay for the Xv extension ===
    Option "VideoOverlay"               "on"
# === OpenGL Overlay ===
# Note: When OpenGL Overlay is enabled, Video Overlay
#       will be disabled automatically
    Option "OpenGLOverlay"              "off"
# === Center Mode (Laptops only) ===
    Option "CenterMode"                 "off"
# === Pseudo Color Visuals (8-bit visuals) ===
    Option "PseudoColorVisuals"         "off"
# === QBS Management ===
    Option "Stereo"                     "off"
    Option "StereoSyncEnable"           "1"
# === FSAA Management ===
    Option "FSAAEnable"                 "no"
    Option "FSAAScale"                  "1"
    Option "FSAADisableGamma"           "yes"
    Option "FSAACustomizeMSPos"         "no"
    Option "FSAAMSPosX0"                "0.000000"
    Option "FSAAMSPosY0"                "0.000000"
    Option "FSAAMSPosX1"                "0.000000"
    Option "FSAAMSPosY1"                "0.000000"
    Option "FSAAMSPosX2"                "0.000000"
    Option "FSAAMSPosY2"                "0.000000"
    Option "FSAAMSPosX3"                "0.000000"
    Option "FSAAMSPosY3"                "0.000000"
    Option "FSAAMSPosX4"                "0.000000"
    Option "FSAAMSPosY4"                "0.000000"
    Option "FSAAMSPosX5"                "0.000000"
    Option "FSAAMSPosY5"                "0.000000"
# === Misc Options ===
    Option "UseFastTLS"                 "0"
    Option "BlockSignalsOnLock"         "on"
    Option "UseInternalAGPGART"         "yes"
    Option "ForceGenericCPU"            "no"
    BusID "PCI:1:0:0"    # vendor=1002, device=4152
    Screen 0
EndSection

Section "Device"
    Identifier                          "ATI Graphics Adapter connector 1"
    Driver                              "fglrx"
    BusID "PCI:1:0:0"    # vendor=1002, device=4152
    Screen 1
EndSection


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

Section "Screen"
    Identifier  "Screen0"
    Device      "ATI Graphics Adapter connector 0"
    Monitor     "Monitor0"
    DefaultDepth 24
    #Option "backingstore"

    Subsection "Display"
        Depth       24
        Modes       "1280x1024"
        ViewPort    0 0  # initial origin if mode is smaller than desktop
#        Virtual     1280 1024
    EndSubsection
EndSection

Section "Screen"
    Identifier  "Screen1"
    Device      "ATI Graphics Adapter connector 1"
    Monitor     "Monitor1"
    DefaultDepth 24
    #Option "backingstore"

    Subsection "Display"
        Depth       24
        Modes       "1024x768"
        ViewPort    0 0  # initial origin if mode is smaller than desktop
#        Virtual     1280 1024
    EndSubsection
EndSection

# **********************************************************************
# ServerLayout sections.
# **********************************************************************

Section "ServerLayout"
    Identifier  "Server Layout"

    Screen "Screen0"
    Screen "Screen1" LeftOf "Screen0"

    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"

EndSection

### EOF ###
Back to top
View user's profile Send private message
Bob Sacamano
n00b
n00b


Joined: 30 Dec 2004
Posts: 41

PostPosted: Mon Apr 04, 2005 5:21 pm    Post subject: Reply with quote

here is my xorg.conf. both of my monitors are working, but they display the exact same image. I want one large desktop that I can drag move the mouse and drag windows between. What do I need to do?

Code:

# **********************************************************************
# Monitor section
# **********************************************************************

# Any number of monitor sections may be present

Section "Monitor"
    Identifier  "leftdell"
    HorizSync   30-80
    VertRefresh 56-75
    Option "DPMS"
EndSection

Section "Monitor"
    Identifier  "rightdell"
    HorizSync   30-80
    VertRefresh 56-75
    Option "DPMS"
EndSection


# **********************************************************************
# Graphics device section
# **********************************************************************

Section "Device"
    Identifier  "primaryradeon"
    Driver      "radeon"
    VideoRam    131072
    BusID       "PCI:1:0:0"
EndSection

Section "Device"
    Identifier "secondaryradeon"
    Driver     "radeon"
    VideoRam   131072
    BusID      "PCI:1:0:0"
EndSection

# **********************************************************************
# 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 0"
    Device      "primaryradeon"
    Monitor     "leftdell"
    DefaultDepth 24

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

Section "Screen"
    Identifier  "Screen 1"
    Device      "secondaryradeon"
    Monitor     "rightdell"
    DefaultDepth 24

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

# **********************************************************************
# ServerLayout sections.
# **********************************************************************

# Any number of ServerLayout sections may be present.  Each describes
# the way multiple screens are organised.  A specific ServerLayout
# section may be specified from the X server command line with the
# "-layout" option.  In the absence of this, the first section is used.
# When now ServerLayout section is present, the first Screen section
# is used alone.

Section "ServerLayout"
    Identifier  "Simple Layout"

    Screen "Screen 0"
    Screen "Screen 1" RightOf "Screen0"

    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"

EndSection

# Section "DRI"
#    Mode 0666
# EndSection




any help?
Back to top
View user's profile Send private message
ecoffey
Tux's lil' helper
Tux's lil' helper


Joined: 16 Jun 2004
Posts: 122
Location: Colorado

PostPosted: Mon Apr 04, 2005 9:57 pm    Post subject: Reply with quote

Code:

Section "ServerFlags"
  Option "Xinerama" "true"
 
EndSection


See if that works...
Back to top
View user's profile Send private message
Bob Sacamano
n00b
n00b


Joined: 30 Dec 2004
Posts: 41

PostPosted: Mon Apr 04, 2005 10:04 pm    Post subject: Reply with quote

ecoffey wrote:
Code:

Section "ServerFlags"
  Option "Xinerama" "true"
 
EndSection


See if that works...


doesn't change anything :(
Back to top
View user's profile Send private message
BitJam
Advocate
Advocate


Joined: 12 Aug 2003
Posts: 2508
Location: Silver City, NM

PostPosted: Mon Apr 04, 2005 10:17 pm    Post subject: Reply with quote

Bob Sacamano,

The BusID's for your primary and secondary Radion are the same in your config file. This can't be good. Use the lspci command to find the actual id's.
Back to top
View user's profile Send private message
Bob Sacamano
n00b
n00b


Joined: 30 Dec 2004
Posts: 41

PostPosted: Tue Apr 05, 2005 1:22 am    Post subject: Reply with quote

BitJam wrote:
Bob Sacamano,

The BusID's for your primary and secondary Radion are the same in your config file. This can't be good. Use the lspci command to find the actual id's.


I made the correction, but the problem still exists
Back to top
View user's profile Send private message
hackerError
Guru
Guru


Joined: 14 Mar 2003
Posts: 342
Location: Reston, VA, USA

PostPosted: Tue Apr 05, 2005 7:42 am    Post subject: Reply with quote

Code:
Section "Device"
    Identifier  "GFFX5200"
#    Driver      "vesa"
    Driver      "nvidia"
#    Driver      "nv"
#    Driver   "i810"
    VideoRam    131072
#    VideoRam    8192
    # Insert Clocks lines here if appropriate
#Option "NvAGP" "2"
Option "RenderAccel" "true"
Option "AllowGLXWithComposite" "true"
#Option "DigitalVibrance" "127" #Vary me

#twinview
    Option "TwinView" "1"
    Option "TwinViewOrientation"      "LeftOf"

    Option "SecondMonitorHorizSync"     "31.5-82.0"
    Option "SecondMonitorVertRefresh"   "50-70"
    Option "MetaModes"                "1280x1024,1280x1024; 1280x1024,NULL; 1024x768,NULL; 800x600,NULL; 640x480,NULL"

EndSection


Thats if you have an nvidia card and want to use the twinview feature. works for me ;)[/code]
_________________
Before you insult someone, it is often best to walk a mile in their shoes.

That way when you insult them you're already a mile away and have their shoes.
Back to top
View user's profile Send private message
DailyNodes
n00b
n00b


Joined: 07 Nov 2004
Posts: 67

PostPosted: Tue Apr 05, 2005 10:57 am    Post subject: Reply with quote

yeah nvidia cards are better supported then ati's :roll:

try removing the BusID from the device sections
Back to top
View user's profile Send private message
BlackEdder
Advocate
Advocate


Joined: 26 Apr 2004
Posts: 2588
Location: Dutch enclave in Egham, UK

PostPosted: Tue Apr 05, 2005 11:06 am    Post subject: Reply with quote

What card do you have. You are using the open source radeon driver and I'm not sure it will support it, if you can use the binary driver use that and run fglrxconfig to get it configured.
Back to top
View user's profile Send private message
Bob Sacamano
n00b
n00b


Joined: 30 Dec 2004
Posts: 41

PostPosted: Thu Apr 07, 2005 8:30 pm    Post subject: Reply with quote

BlackEdder wrote:
What card do you have. You are using the open source radeon driver and I'm not sure it will support it, if you can use the binary driver use that and run fglrxconfig to get it configured.


I have a radeon 9600 pro

I'm using xfce4 as my desktop environment, is that why I can't get my dual monitors working?
Back to top
View user's profile Send private message
Bob Sacamano
n00b
n00b


Joined: 30 Dec 2004
Posts: 41

PostPosted: Sat Apr 09, 2005 1:22 am    Post subject: Reply with quote

any help?
Back to top
View user's profile Send private message
Piot
n00b
n00b


Joined: 06 Apr 2005
Posts: 30
Location: Netherlands

PostPosted: Sat Apr 09, 2005 8:53 am    Post subject: Reply with quote

What I did to get my Dual moniter working was to emerge the ati-drivers. Then run the fglrxconfig and configure it with Dual Head and then my two moniters work.
Back to top
View user's profile Send private message
Bob Sacamano
n00b
n00b


Joined: 30 Dec 2004
Posts: 41

PostPosted: Sat Apr 09, 2005 7:16 pm    Post subject: Reply with quote

I merged ati-drivers and used fglrxconfig to generate a new xorg.conf

this however did not get my second monitor working properly. However its function has changed. Before I merged ati-drivers my second monitor was a mirror of the first one. Now, however it displays a light blue background and I am unable to move the mouse or any windows over there (I'm guessing that dual displays are just not supported by xfce4)

I merged kde-base to see if I had a working configuration and much to my surprise both monitors work with kde. But I HATE kde so I'm not sure what I'm going to do.

One issue has arrisen though after merging ati-drivers. If I close xfce, I'm unable to go back to the command line. I then have to restart my computer.

Any ideas?
Back to top
View user's profile Send private message
Bob Sacamano
n00b
n00b


Joined: 30 Dec 2004
Posts: 41

PostPosted: Thu Apr 14, 2005 1:01 am    Post subject: Reply with quote

:(
Back to top
View user's profile Send private message
ivanhoek
n00b
n00b


Joined: 11 Feb 2005
Posts: 11

PostPosted: Thu Apr 14, 2005 1:17 am    Post subject: Reply with quote

Seriously.. just buy an Nvidia card, any nvidia card will do.. I guarantee you it will be a lot less stressful.
Back to top
View user's profile Send private message
Bob Sacamano
n00b
n00b


Joined: 30 Dec 2004
Posts: 41

PostPosted: Thu Apr 14, 2005 4:22 pm    Post subject: Reply with quote

ivanhoek wrote:
Seriously.. just buy an Nvidia card, any nvidia card will do.. I guarantee you it will be a lot less stressful.


:roll:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
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