Linux Dual Monitor under Ubuntu Dapper (Ati)

Discussion in 'Software' started by relix, 17 Mar 2006.

  1. relix

    relix Minimodder

    Joined:
    14 Nov 2001
    Posts:
    5,948
    Likes Received:
    41
    So I finally got to install the frglx drivers for my Ati card. Now I want to use my two monitors for "Big Desktop" (1 desktop spanned over two monitors), but I just can't get it to work right. Either it just clones, or it starts up two differint X servers for each screen.

    Anyone know how to do it? Also, I've heard a great many saying "run fglxconfig for complicated setups", but somehow that didn't get on my system. It's just a "command not found".
     
  2. relix

    relix Minimodder

    Joined:
    14 Nov 2001
    Posts:
    5,948
    Likes Received:
    41
    Here's my xorg.conf (I've tried many things and made many changes already, but this is the current one)

    Code:
    # /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 "ServerLayout"
    	Identifier     "Default Layout"
    	Screen         "Primary Screen" 0 0
    	InputDevice    "Generic Keyboard"
    	InputDevice    "Configured Mouse"
    EndSection
    
    Section "Files"
    
    	# path to defoma fonts
    	FontPath     "/usr/share/X11/fonts/misc"
    	FontPath     "/usr/share/X11/fonts/cyrillic"
    	FontPath     "/usr/share/X11/fonts/100dpi/:unscaled"
    	FontPath     "/usr/share/X11/fonts/75dpi/:unscaled"
    	FontPath     "/usr/share/X11/fonts/Type1"
    	FontPath     "/usr/share/X11/fonts/100dpi"
    	FontPath     "/usr/share/X11/fonts/75dpi"
    	FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
    EndSection
    
    Section "Module"
    	Load  "bitmap"
    	Load  "ddc"
    	Load  "dri"
    	Load  "extmod"
    	Load  "freetype"
    	Load  "glx"
    	Load  "int10"
    	Load  "type1"
    	Load  "v4l"
    	Load  "vbe"
    	Load  "dbe"
    EndSection
    
    Section "InputDevice"
    	Identifier  "Generic Keyboard"
    	Driver      "kbd"
    	Option	    "CoreKeyboard"
    	Option	    "XkbRules" "xorg"
    	Option	    "XkbModel" "pc105"
    	Option	    "XkbLayout" "fr"
    	Option	    "XkbVariant" "latin9"
    EndSection
    
    Section "InputDevice"
    	Identifier  "Configured Mouse"
    	Driver      "mouse"
    	Option	    "CorePointer"
    	Option	    "Device" "/dev/input/mice"
    	Option	    "Protocol" "ExplorerPS/2"
    	Option	    "Emulate3Buttons" "true"
    EndSection
    
    Section "Monitor"
    	Identifier   "L1720P"
    	HorizSync    30.0 - 70.0
    	VertRefresh  50.0 - 160.0
    	Option	    "DPMS"
    EndSection
    
    Section "Monitor"
    	Identifier   "L1720B"
    	HorizSync    30.0 - 70.0
    	VertRefresh  50.0 - 160.0
    	Option	    "DPMS"
    EndSection
    
    Section "Device"
    	Identifier  "Ati Radeon 9800 Pro 0"
    	Driver      "fglrx"
    	Option	    "Mode2" "1280x1024"
    	Option	    "no_accel" "no"
    	Option	    "no_dri" "no"
    	Option	    "mtrr" "off"
        Option "DesktopSetup"               "Horizontal"
    	Option	    "MonitorLayout" "TFT, TFT"
    	Option	    "IgnoreEDID" "off"
    	Option	    "HSync2" "30.0 - 70.0"
    	Option	    "VRefresh2" "50.0 - 160.0"
    	Option	    "ScreenOverlap" "0"
    # === TV-out Management ===
    	Option	    "NoTV" "yes"
    	Option	    "TVStandard" "PAL-G"
    	Option	    "TVHSizeAdj" "0"
    	Option	    "TVVSizeAdj" "0"
    	Option	    "TVHPosAdj" "0"
    	Option	    "TVVPosAdj" "0"
    	Option	    "TVHStartAdj" "0"
    	Option	    "TVColorAdj" "0"
    	Option	    "GammaCorrectionI" "0x00000000"
    	Option	    "GammaCorrectionII" "0x00000000"
    	Option	    "Capabilities" "0x00000000"
    	Option	    "VideoOverlay" "on"
    	Option	    "OpenGLOverlay" "off"
    	Option	    "CenterMode" "off"
    	Option	    "PseudoColorVisuals" "off"
    	Option	    "Stereo" "off"
    	Option	    "StereoSyncEnable" "1"
    # === FSAA Management ===
    	Option	    "FSAAEnable" "no"
    	Option	    "FSAAScale" "1"
    	Option	    "FSAADisableGamma" "no"
    	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"
    EndSection
    
    Section "Device"
    
    	#Option	    "(null)"
    	#Option	    "DesktopSetup" "horizontal"
    	Identifier  "Ati Radeon 9800 Pro 1"
    	Driver      "fglrx"
    	BusID       "PCI:1:0:0"
    	Screen      1
    EndSection
    
    Section "Screen"
    	Identifier "Primary Screen"
    	Device     "Ati Radeon 9800 Pro 0"
    	Monitor    "L1720P"
    	DefaultDepth     24
    	SubSection "Display"
    		Depth     1
    		Modes    "1280x1024" "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"
    		Viewport   0 0
    		Depth     24
    		Modes    "1280x1024" "1024x768" "800x600" "640x480"
    	EndSubSection
    EndSection
    
    Section "Screen"
    	Identifier "Secondary Screen"
    	Device     "Ati Radeon 9800 Pro 1"
    	Monitor    "L1720B"
    	DefaultDepth     24
    	SubSection "Display"
    		Depth     1
    		Modes    "1280x1024" "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"
    		Viewport   0 0
    		Depth     24
    		Modes    "1280x1024" "1024x768" "800x600" "640x480"
    	EndSubSection
    EndSection
    
    Section "DRI"
    	Mode         0666
    EndSection
    
     
  3. OneSeventeen

    OneSeventeen Oooh Shiny!

    Joined:
    3 Apr 2002
    Posts:
    3,454
    Likes Received:
    2
    I have no idea how to do this, but if you find out, please post here, I've got an ATI based PC with 2 19" flat panels at work, and I'm hoping to switch to Ubuntu when dapper gets released.

    (I'll poke around the net and see if I can find something and post it here too)
     
  4. [Jonny]

    [Jonny] What's a Dremel?

    Joined:
    1 Sep 2003
    Posts:
    296
    Likes Received:
    0
    Perhaps the ubuntu forums would be a better place for this?
     
  5. glaeken

    glaeken Freeeeeeeze! I'm a cawp!

    Joined:
    1 Jan 2005
    Posts:
    2,041
    Likes Received:
    50
    Seconded, the Ubuntu forums are filled with very knowledgable people. Whish I could help, but I've never had to deal with an ATI dual monitor setup, only nvidia and it was pretty simple.
     
  6. relix

    relix Minimodder

    Joined:
    14 Nov 2001
    Posts:
    5,948
    Likes Received:
    41
    Yeah, the ubuntu forums didn't help. But looks like I found the problem, it's Dapper. Somehow, now that I've switched to Breezy, and just used the aticonfig --dtop=horizontal option, it works flawlessy. Just like Windows with Ultramon.
     
  7. Pygo

    Pygo Rick Relixed

    Joined:
    26 Jan 2003
    Posts:
    2,179
    Likes Received:
    8
    Think I have any luck with doing that on slackware (I'll try ubuntu someday) using two nVidia cards and three monitors?

    EDIT - sorry to dig up an old thread.
     
  8. Joel

    Joel What's a Dremel?

    Joined:
    9 May 2002
    Posts:
    386
    Likes Received:
    0
    Its easy with nVidia's

    Code:
    Section "ServerLayout"
            Identifier "Default Layout"
            Screen 0 "Screen0"
            InputDevice "Mouse0" "CorePointer"
            InputDevice "Keyboard0" "CoreKeyboard"
    EndSection
    
    Section "Files"
    
    FontPath "/usr/X11R6/lib/X11/fonts/artwiz-fonts"
    FontPath "/usr/X11R6/lib/X11/fonts/local/"
    FontPath "/usr/X11R6/lib/X11/fonts/misc/"
    FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
    FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
    FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
    FontPath "/usr/X11R6/lib/X11/fonts/TTF/"
    FontPath "/usr/X11R6/lib/X11/fonts/bitstream-vera/"
    FontPath "/usr/X11R6/lib/X11/fonts/URW/"
    #FontPath "/usr/X11R6/lib/X11/fonts/cyrillic/"
    
    EndSection
    
    Section "Module"
    Load "dbe"
    Load "extmod"
    Load "glx"
    Load "record"
    Load "freetype"
    Load "type1"
    Load "ramdac"
    
    EndSection
    
    Section "Extensions"
        Option "Composite" "true"
    EndSection
    
    Section "InputDevice"
    
    Identifier "Keyboard0"
    Driver "kbd"
    Option "XkbRules" "xorg"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "gb"
    EndSection
    
    Section "InputDevice"
    
    Identifier "Mouse0"
    Driver "mouse"
    Option "Protocol" "auto"
    Option "Device" "/dev/sysmouse"
    Option "Model" "intellimouse"
    Option "ZAxisMapping" "4 5"
    Option "Emulate3Buttons" "yes"
    EndSection
    
    Section "Monitor"
    
    Identifier "Monitor0"
    VendorName "LG"
    ModelName "Flatron L1715S"
    HorizSync 30.0 - 95.0
    VertRefresh 50.0 - 160.0
    Option "dpms" "on"
    EndSection
    
    
    Section "Device"
    
    #Option "UseEdidFreqs" "1"
    Identifier "NV AGP"
    Driver "nvidia"
    VendorName "Videocard vendor"
    BoardName "NVIDIA GeForce FX 5600"
    VideoRam 131072
    Option "TwinVIew" "1"
    Option "RenderAccel" "1"
    Option "NvAGP" "3"
    Option "DigitalVibrance" "16"
    Option "NoLogo"
    Option "CursorShadow" "true"
    Option "CursorShadowXOffset" "5"
    Option "CursorShadowYOffset" "4"
    Option "SecondMonitorHorizSync" "30.0-90.0"
    Option "SecondMonitorVertRefresh" "50.0-160.0"
    Option "ConnectedMonitor" "CRT,CRT"
    Option "MetaModes" "1280x1024, 1280x1024; 1280x1024, NULL"
    Option "Xinerama" "0"
    Option "TwinViewOrientation" "RightOf"
    Option      "RenderAccel" "true"
    Option      "backingstore" "true"
    Option "AllowGLXWithComposite" "true"
    EndSection
    
    Section "Screen"
    Identifier "Screen0"
    Device "NV AGP"
    Monitor "Monitor0"
    DefaultDepth 24
    SubSection "Display"
    Depth 24
    Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480" #delete any modes yo
    EndSubSection
    EndSection
    
    Section "DRI"
    Group 0
    Mode 0666
    EndSection
    
    :thumb:
     
  9. Elv13

    Elv13 What's a Dremel?

    Joined:
    26 Apr 2006
    Posts:
    107
    Likes Received:
    0
    it work with ATI too (i use dri but it should work with fxgl too)
    you need to start x with dual layout
    Code:
    startx -- -layout Dual
    and in my xorg.conf it is like that:
    Code:
    Section "Monitor"
            Identifier  "Monitor0"
            VertRefresh 31.5-79
            HorizSync 30-90
            Option "DPMS" "enable"
    EndSection
    
    #Dual Screen
    Section "Device"
            Identifier "Card0"
            Driver "radeon"
            Option "RenderAccel" "true"
            Option "AGPFastWrite" "true"
            Option "MonitorLayout" "LVDS, TMDS"
            Option "CRT2Position" "LeftOf"
            Option "CRT2HSync" "40-83"
            Option "CRT2VRefresh" "50-75"
            Option "MergedFB" "true"
            Option "MetaModes" "1024x768-1024x768"
            BusID "PCI:01:05:0"
            BoardName "ATI Radeon D7"
    EndSection
    
    #Laptop
    Section "Device"
            Identifier "Card1"
            Driver "radeon"
            Option "RenderAccel" "true"
            Option "AGPFastWrite" "true"
            Option "PageFlip" "true"
            BusID "PCI:01:05:0"
            BoardName "ATI Radeon D7"
    EndSection
    
    #Dual Screen
    Section "Screen"
            Identifier  "Screen0"
            Device      "Card0"
            Monitor     "Monitor0"
            DefaultDepth 24
            Subsection "Display"
                    Depth 24
                    Modes "1280x800" "1024x768"
                    Virtual 2048 768
                    Viewport 0 0
            EndSubsection
    EndSection
    
    #Laptop
    Section "Screen"
            Identifier  "Screen1"
            Device      "Card1"
            Monitor     "Monitor0"
            DefaultDepth 24
            Subsection "Display"
                    Depth 24
                    Modes "1280x800" "1024x768"
            EndSubsection
    EndSection
    
    Section "ServerLayout"
            Identifier  "Laptop"
            Screen "Screen1"
           Option "OffTime" "10"
            InputDevice "Mouse1" "CorePointer"
            InputDevice "Mouse2" "SendCoreEvents"
            InputDevice "Keyboard1" "CoreKeyboard"
    EndSection
    
    Section "ServerLayout"
            Identifier  "Dual"
            Screen "Screen0"
            Option "OffTime" "10"
            InputDevice "Mouse1" "CorePointer"
            InputDevice "Mouse2" "SendCoreEvents"
            InputDevice "Keyboard1" "CoreKeyboard"
    EndSection
    
    Section "dri"
            Mode 0666
    EndSection
    i had few problem on my laptop with that (only one screen was loading) but it worked after few try
     
  10. punterfpc

    punterfpc What's a Dremel?

    Joined:
    8 Jun 2006
    Posts:
    1
    Likes Received:
    0
    I have dual monitors up and running in DAPPER DRAKE... I have a Radeon 9600XT AIW.

    The easiest way to get this to work is to install Easy Ubuntu and all the goodies it comes with (including the ATI flgrx drivers and aticonfig...). If you already have the drivers and need aticonfig, you can get it using Synaptic.

    In the terminal do the following (as mentioned above...):

    aticonfig --initial=dual-head --screen-layout=right
    aticonfig --dtop=horizontal --overlay-on=1

    Now, restart the computer (yes, you actually have to RESTART the whole computer not just X). When you log back into gnome, change your resolution to the same height but twice the width by going to

    System > Preferences > Screen Resolution

    So, for instance, since I am using two 17" CRTs both at 1280x1024, you would make the resolution 2560x1024. That's all there is to it. In terms of 3D acceleration, it beats me... I guess you can't have the best of both worlds yet... or maybe you can, we'll see if anyone has any ideas. In the meantime, I hope my post helped someone out.
     
  11. tronica

    tronica What's a Dremel?

    Joined:
    30 Dec 2005
    Posts:
    6
    Likes Received:
    0
    first make sure you have the ati driver installed and setup correctly. Making sure you change the driver part in the xorg.conf to fglrx. Then run this:

    then edit your xorg.conf and add this to your serverlayout section:

    Option "Xinerama" "on"
    Option "Clone" "off"

    and that should get you going. At least thats how i did it and had no probs.
     
Tags:

Share This Page