LinuxQuestions.org
Review your favorite Linux distribution.
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 11-29-2007, 09:18 AM   #1
stevielawson
Member
 
Registered: Sep 2004
Location: Scotland
Posts: 41

Rep: Reputation: 15
dual monitor setup


Hi,
I've got Pardus 2007.3 up and running nicely but I'd like to use dual monitors - I've got two 1280x1024 LCDs attached, one in the graphic card port, the other in the DVI, both attached to an ATI Radeon X600.
I know the card's capable of dual screens.
I've got a mirrored version of my Pardus desktop on the second monitor (set tot he left of the primary monitor).
What I'd like is to have one desktop stretching across the two screens (like I have in my Windows XP dual boot).
I noticed in xorgconf that Xinerama is "off" but I'm fairly sure it's not just a simple case of changing that to "on".
What other settings should be in there to get that one big desktop?
Here's my existing xorg.conf:
Code:
################################################################
#
# Autoconfigured config file for Xorg
# Created by Zorg 0.5 on Sat Nov 24 11:16:42 2007
#
# ESSENTIAL: 5e134255fffa7645645bf343307591c9eec2c98e
#

Section "Module"
Load "dbe" # Double buffer extension
Load "extmod"
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection
Load "type1"
Load "freetype"
Load "record"
Load "xtrap"
Load "glx"
Load "dri"
Load "v4l"

EndSection

Section "Extensions"
# Option "Composite" "enable"
EndSection

Section "dri"
Mode 0666
EndSection

Section "Files"
RgbPath "/usr/lib/X11/rgb"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/dejavu/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/freefont/"
FontPath "/usr/share/fonts/TrueType/"
FontPath "/usr/share/fonts/corefonts"
FontPath "/usr/share/fonts/Speedo/"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/100dpi/"
FontPath "/usr/share/fonts/75dpi/"
FontPath "/usr/share/fonts/terminus/"
FontPath "/usr/share/fonts/encodings/"
EndSection

Section "ServerFlags"
Option "AllowMouseOpenFail" "True"
Option "BlankTime" "0"
Option "StandbyTime" "0"
Option "SuspendTime" "0"
Option "OffTime" "0"

EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "AutoRepeat" "500 30"
Option "XkbModel" "pc105"
Option "XkbLayout" "gb"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
Option "Buttons" "5"
EndSection



Section "Device"
Screen 0
Identifier "VideoCard0"
Driver "ati"
VendorName "ATI Technologies Inc"
BoardName "RV380 [Radeon X600] (Secondary)"
# BusID "PCI:6:0:1"
EndSection

Section "Device"
Screen 1
Identifier "VideoCard1"
Driver "ati"
VendorName "ATI Technologies Inc"
BoardName "RV380 0x3e50 [Radeon X600]"
# BusID "PCI:6:0:0"
EndSection


Section "Monitor"
Identifier "Monitor0"
VendorName "Acer"
ModelName "Acer AL1914"
HorizSync 30.0-83.0
VertRefresh 55.0-75.0


EndSection


Section "Screen"
Identifier "Screen0"
Device "VideoCard0"
Monitor "Monitor0"
DefaultDepth 24
Subsection "Display"
Depth 24
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubsection
EndSection


Section "ServerLayout"
Identifier "Simple Layout"
Screen "Screen0"
InputDevice "Mouse0" "CorePointer"

InputDevice "Keyboard0" "CoreKeyboard"
# Multihead stuff
# Screen 0 "Screen0" 0 0
# Screen 1 "Screen1" RightOf "Screen0"
Option "Xinerama" "off"
Option "Clone" "off"
EndSection

My primary monitor is the Acer (the secondary one is a Relisys).
Any help you can give on getting this sorted would be much appreciated.
Cheers
 
Old 11-30-2007, 07:42 PM   #2
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,918

Rep: Reputation: 176Reputation: 176
Close to it you look like you need another monitor and screen section then uncomment the BusID's and Screen 0 and Screen 1 in the server layout and you should be good to go with the xinerama. Here is the way my file is if I take and change to xinerama enabled then it works fine in that mode of one big desktop or if not enabled then I get the two separate displays as I have it now you might want to use it as reference if you run into trouble doing yours up.

Code:
cat /etc/X11/xorg.conf
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
        FontPath        "/usr/local/share/fonts/truetype"
        FontPath        "/usr/share/fonts/truetype"
#       FontPath        "/var/lib/deforma/x-ttcidfont-conf.d/dirs/TrueType"
        FontPath        "/usr/share/fonts/X11/misc"
#       FontPath        "/usr/share/fonts/X11/cyrillic"
        FontPath        "/usr/share/fonts/X11/100dpi/:unscaled"
        FontPath        "/usr/share/fonts/X11/75dpi/:unscaled"
        FontPath        "/usr/share/fonts/X11/Type1"
        FontPath        "/usr/share/fonts/X11/100dpi"
        FontPath        "/usr/share/fonts/X11/75dpi"
EndSection

Section "Module"
        Load    "bitmap"
        Load    "dbe"
        Load    "ddc"
#       Load    "dri"
        Load    "extmod"
        Load    "freetype"
        Load    "glx"
        Load    "int10"
        Load    "record"
#       Load    "type1"
        Load    "vbe"
#       Load    "xtrap"
EndSection

Section "InputDevice"
        Identifier      "Keyboard0"
        Driver          "kbd"
        Option          "CoreKeyboard"
        Option          "XkbRules"      "xorg"
        Option          "XkbModel"      "pc104"
        Option          "XkbLayout"     "us"
EndSection

#Logitech LX7 Cordless Optical
Section "InputDevice"
        Identifier      "Mouse0"
        Driver          "evdev"
        Option          "CorePointer"
        Option          "SendCoreEvents"
        Option          "Name"                  "Logitech USB RECEIVER"
        Option          "Emulate3Buttons"       "true"
        Option          "Resolution"            "1200"
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      "nvidia"
        Option      "NoLogo" "on"
        Option      "NvAgp"  "3"
        Option      "RenderAccel" "true"
        Option      "BackingStore" "On"
#       Option      "DPI" "100x100"
        Option      "Coolbits"    "1"
#       Option      "IgnoreEDID"  "on"
        Option      "IgnoreDisplayDevices"  "TV"
#       Option      "NoBandWidthTest" "1"
        Option      "AllowGLXWithComposite" "false"
        Screen       0
        VendorName  "EVGA"
        BoardName   "e-Geforce 7900 GS KO"
        BusID       "PCI:1: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     "accel"                     # [<bool>]
        #Option     "crt_display"               # [<bool>]
        #Option     "composite_sync"            # [<bool>]
        #Option     "hw_cursor"                 # [<bool>]
        #Option     "linear"                    # [<bool>]
        #Option     "mmio_cache"                # [<bool>]
        #Option     "panel_display"             # [<bool>]
        #Option     "probe_clocks"              # [<bool>]
        #Option     "reference_clock"           # <freq>
        #Option     "shadow_fb"                 # [<bool>]
        #Option     "sw_cursor"                 # [<bool>]
        Identifier  "Card1"
        Driver      "nvidia"
        Option      "NoLogo" "on"
        Option      "NvAgp"  "3"
        Option      "RenderAccel" "true"
        Option      "BackingStore" "On"
        Option      "DPI" "100x100"
        Option      "Coolbits"    "1"
#       Option      "IgnoreEDID" "on"
#       Option      "NoBandWidthTest" "1"
        Option      "AllowGLXWithComposite" "false"
        Screen      1
        Option      "IgnoreDisplayDevices"  "TV"
        VendorName  "EVGA"
        BoardName   "e-Geforce 7900 GS KO"
        BusID       "PCI:1:0:0"
EndSection

# Dell 2007WFP
Section "Monitor"
       DisplaySize      431   272     # mm
       Identifier   "Monitor0"
       VendorName   "Dell"
       ModelName    "2007WFP"
       HorizSync    30-81
       VertRefresh  56-76
       Option       "UseDisplayDevice" "DFP-0"
       Option       "AllowDDCCI" "on"
       Option       "DPMS" "true"
       Option       "BackingStore" "On"
EndSection

# Philips 201B4
Section "Monitor"
       DisplaySize      406   305     # mm
       Identifier  "Monitor1"
       VendorName  "Philips"
       ModelName   "201B4"
       HorizSync    30-115 # DDC-probed
       VertRefresh  50-160 # DDC-probed
       Option      "UseDisplayDevice" "CRT-1"
       Option      "DPMS"  "true"
       Option      "BackingStore" "On"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultDepth  24
        SubSection "Display"
                Depth     24
                Modes     "1680x1050"
        EndSubSection
EndSection

Section "Screen"
        Identifier "Screen1"
        Device     "Card1"
        Monitor    "Monitor1"
        DefaultDepth 24
        SubSection "Display"
                Depth     24
                Modes     "1600x1200" "1280x960"
        EndSubSection
EndSection

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


Section "ServerLayout"
        Identifier      "DualHead"
        Screen      0  "Screen0" 0 0
        Screen      1  "Screen1" LeftOf "Screen0"
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection
 
Old 12-01-2007, 07:08 AM   #3
stevielawson
Member
 
Registered: Sep 2004
Location: Scotland
Posts: 41

Original Poster
Rep: Reputation: 15
Thanks but...

Hey HappyTux,
Thanks so much for taking the trouble to respond.
I tried a couple of different versions of xorg.conf - added the extra screen/monitor sections, uncommented the BUS/IDs, enabled Xinerama etc etc - but on both occasions my system froze just before the login screen. I even tried copying your server layout (don't worry, all the entries were relevant!) but that didn't help.
I'm going to have one last go, then I'll probably just revert to the old setup - the same desktop appearing on both monitors - as I don't have time to keep copying my xorg.conf backup back in every time my tweaks fail.
Some you win, some you lose...
Thanks again.
 
Old 12-18-2007, 01:13 AM   #4
janrahul
LQ Newbie
 
Registered: Dec 2007
Posts: 1

Rep: Reputation: 0
i have pos 7000 by tysso.i get success dualhead on ubantu 6..06 ( xorg ver. 7.2 ) .But i get problem for puppy linux 2.02 ( xorg ver. 6.8.1 )with same file.how i get it on puppy linux.bus id for first display is 0.2.0.& for second in 0.2.1.both are intel card.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
default monitor on nvidia / dual monitor setup fenderog SUSE / openSUSE 3 05-01-2009 05:36 PM
need help with dual monitor setup babag Mandriva 7 12-14-2005 10:52 AM
Dual Monitor Setup healfdeane Linux - Hardware 33 12-13-2004 11:06 AM
Booting to wrong Monitor (w/ dual monitor setup) NeoNostalgia Linux - General 1 06-30-2004 01:49 AM
Dual Monitor Setup - How? mymojo Linux - General 16 12-13-2003 08:35 AM

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

All times are GMT -5. The time now is 08:19 AM.

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