LinuxQuestions.org
Visit Jeremy's Blog.
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 10-10-2005, 10:52 PM   #1
chaok
LQ Newbie
 
Registered: Oct 2005
Posts: 6

Rep: Reputation: 0
Dual Monitors on ATI 9700 pro with diff res


I'm trying to setup dual monitors on my 9700. I have 2 different monitors and I want to run them at 1280 and the other at 1024. I've found coutless guides to do this with seperate video cards and on nvidia cards...any help wouldb e awsome. Right now i have them mirroring eachother.

here is my xorg.conf

Code:
Section "Files"
        FontPath        "unix/:7100"                    # local font server
        # if the local font server has problems, we can fall back on these
        FontPath        "/usr/lib/X11/fonts/misc"
        FontPath        "/usr/lib/X11/fonts/cyrillic"
        FontPath        "/usr/lib/X11/fonts/100dpi/:unscaled"
        FontPath        "/usr/lib/X11/fonts/75dpi/:unscaled"
        FontPath        "/usr/lib/X11/fonts/Type1"
        FontPath        "/usr/lib/X11/fonts/CID"
        FontPath        "/usr/lib/X11/fonts/100dpi"
        FontPath        "/usr/lib/X11/fonts/75dpi"
        # paths to defoma fonts
        FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
        FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
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"
EndSection

Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "keyboard"
        Option          "CoreKeyboard"
        Option          "XkbRules"      "xorg"
        Option          "XkbModel"      "pc104"
        Option          "XkbLayout"     "us"
EndSection

Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver          "mouse"
        Option          "CorePointer"
        Option          "Device"                "/dev/input/mice"
        Option          "Protocol"              "ImPS/2"
        Option          "Emulate3Buttons"       "true"
        Option          "ZAxisMapping"          "4 5"
EndSection

Section "Device"
        Identifier      "ATI Technologies, Inc. Radeon 9700 Pro (R300 ND)"
        Driver          "ati"
        BusID           "PCI:2:0:0"
        Option "DDCMode" "on"
        Option "DPMS"
        Screen          0
EndSection

Section "Device"
        Identifier      "ATI Technologies, Inc. Radeon 9700 Pro (R300 ND)"
        Driver          "ati"
        BusID           "PCI:2:0:0"
        Option "DDCMode" "on"
        Option "DPMS"
        Screen          1
EndSection

Section "Monitor"
        Identifier      "Generic Monitor"
        Option          "DPMS"
        HorizSync       30-65
        VertRefresh     50-75
EndSection

Section "Monitor"
    Identifier "monitor1"
    Option "dpms"    
EndSection








Section "Screen"
        Identifier      "Default Screen"
        Device          "ATI Technologies, Inc. Radeon 9700 Pro (R300 ND)"
        Monitor         "Generic Monitor"
        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"
                Depth           24
                Modes           "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

Section "Screen"
    Identifier "Screen1"
   
        Device          "ATI Technologies, Inc. Radeon 9700 Pro (R300 ND)"
    Monitor "monitor1"
    DefaultColorDepth 24
    Subsection "Display"
        Depth 24
#        Virtual 800 600    
        Modes    "800x600" 
    EndSubsection    
EndSection



Section "ServerLayout"
        Identifier      "Dual Head Layout"
        Screen          0 "Default Screen" 0 0
        Screen          1 "Screen1" RightOf "Default Screen"
        InputDevice     "Generic Keyboard"
        InputDevice     "Configured Mouse"
EndSection

Last edited by chaok; 10-10-2005 at 10:54 PM.
 
Old 10-11-2005, 05:03 AM   #2
NomadX
Member
 
Registered: Jul 2005
Location: Portland, OR
Distribution: Debian Testing
Posts: 78

Rep: Reputation: 15
Hmmm doesnt look like mirror mode..

Hey there...

That doesnt look like mirror mode but dual driver mode instead.. I'm drunk so I could be wrong!.. here is my dual head (i.e. 2 drivers loaded) xorg.conf file, hope it helps..... Also, fglrxinfo DOES say ATI right? :P

# cat xorg.conf.2head
Section "dri"
Mode 0666
EndSection

Section "Module"

Load "dbe" # Double buffer extension

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

Load "type1"
Load "freetype"
Load "glx" # libglx.a
Load "dri" # libdri.a
Load "bitmap"
Load "ddc"
Load "dri"
Load "freetype"
Load "int10"
Load "record"
Load "type1"
Load "vbe"

EndSection

Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
# paths to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
# FontPath "/usr/X11R6/lib/X11/fonts/local/"
# FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
EndSection

Section "ServerFlags"
# Option "NoTrapSignals"
# Option "DontZap"
# Option "Dont Zoom"
# Option "DisableVidModeExtension"
# Option "AllowNonLocalXvidtune"
# Option "DisableModInDev"
# Option "AllowNonLocalModInDev"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
Option "AutoRepeat" "500 30"
# Option "Protocol" "Xqueue"
# Option "Xleds" "1 2 3"
# Option "LeftAlt" "Meta"
# Option "RightAlt" "ModeShift"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
# Option "BaudRate" "9600"
# Option "SampleRate" "150"
# Option "Emulate3Buttons"
# Option "Emulate3Timeout" "50"
# Option "ChordMiddle"
EndSection

Section "Monitor"
Identifier "CRT"
HorizSync 28 - 49
VertRefresh 43 - 72
Option "DPMS"

EndSection

Section "Monitor"
Identifier "TV"
HorizSync 34
VertRefresh 64
Option "DPMS"

EndSection

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" "CRT, STV"
Option "IgnoreEDID" "off"
Option "HSync2" "31.5 "
Option "VRefresh2" "20 - 60"
Option "ScreenOverlap" "0"
# === TV-out Management ===
Option "NoTV" "no"
Option "TVStandard" "NTSC-M"
Option "TVHSizeAdj" "0"
Option "TVVSizeAdj" "0"
Option "TVHPosAdj" "0"
Option "TVVPosAdj" "0"
Option "TVHStartAdj" "0"
Option "TVColorAdj" "0"
Option "GammaCorrectionI" "0x06419064"
Option "GammaCorrectionII" "0x06419064"
# === 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" "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" # vendor=1002, device=4150
Screen 0
EndSection

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


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

Subsection "Display"
Depth 24
Modes "1024x768" " 800x600" "640x480"
# ViewPort 0 0
# Virtual 1280 1024
EndSubsection
EndSection

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

Subsection "Display"
Depth 24
Modes "800x600"
# ViewPort 0 0
# Virtual 1280 1024
EndSubsection
EndSection

Section "ServerLayout"

Identifier "Server Layout"

Screen "Screen0"
Screen "Screen1" RightOf "Screen0"

InputDevice "Configured Mouse" "CorePointer"
InputDevice "Generic Keyboard" "CoreKeyboard"

EndSection


This is for a 9600 Pro and a TV instead of 2nd crt, but shouldnt be too different, hope it helps... otherwise lets see your Xorg.0.log if it has errors, or a description of whats going on when you try at least....

Good Luck
DrS

Last edited by NomadX; 10-11-2005 at 05:08 AM.
 
Old 10-14-2005, 05:26 PM   #3
chaok
LQ Newbie
 
Registered: Oct 2005
Posts: 6

Original Poster
Rep: Reputation: 0
Well its sorta working, but I am having a odd issue.

I got the resolutions correct and both display correclty.....but I can't drag open windows from one monitor to the other. Is that just how this works ok linux?

here is my 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 commands:
#
# cp /etc/X11/xorg.conf /etc/X11/xorg.conf.custom
# sudo sh -c 'md5sum /etc/X11/xorg.conf >/var/lib/xfree86/xorg.conf.md5sum'
# sudo dpkg-reconfigure xserver-xorg

Section "Files"
FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
# paths to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
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"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection

Section "Device"
Identifier "ATI Technologies, Inc. Radeon 9700 Pro (R300 ND) con 0"
Driver "ati"
BusID "PCI:2:0:0"
Option "DDCMode" "on"
Option "DPMS"
Screen 0
EndSection

Section "Device"
Identifier "ATI Technologies, Inc. Radeon 9700 Pro (R300 ND) con 1"
Driver "ati"
BusID "PCI:2:0:0"
Option "DDCMode" "on"
Option "DPMS"
Screen 1
EndSection

Section "Monitor"
Identifier "monitor0"
Option "DPMS"
HorizSync 30-65
VertRefresh 50-75
EndSection

Section "Monitor"
Identifier "monitor1"
Option "dpms"
EndSection








Section "Screen"
Identifier "screen0"
Device "ATI Technologies, Inc. Radeon 9700 Pro (R300 ND) con 0"
Monitor "monitor0"
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"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "Screen"
Identifier "screen1"

Device "ATI Technologies, Inc. Radeon 9700 Pro (R300 ND) con 1"
Monitor "monitor1"
DefaultColorDepth 24
Subsection "Display"
Depth 24
# Virtual 1280 1024
Modes "1024x768"
EndSubsection
EndSection



Section "ServerLayout"
Identifier "Dual Head Layout"
# Screen "Default Screen"
Screen "screen0"
Screen "screen1" RightOf "screen0"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection

Section "DRI"
Mode 0666
EndSection
 
Old 10-14-2005, 05:37 PM   #4
chaok
LQ Newbie
 
Registered: Oct 2005
Posts: 6

Original Poster
Rep: Reputation: 0
I tried the fglxconfig or whatever the command line config is that comes with the driver...but it kills my desplay. Just goes to a black screen, no login.

I also tried to run the fireglcontrol panel, but it says that it can't find libexpat.so.0 but it is in various folders. Where is fireglcontrolpanel looking?

Last edited by chaok; 10-14-2005 at 05:45 PM.
 
Old 10-15-2005, 03:24 AM   #5
NomadX
Member
 
Registered: Jul 2005
Location: Portland, OR
Distribution: Debian Testing
Posts: 78

Rep: Reputation: 15
Well...

First of all, why not just install the libexpat1 package?

$ dpkg-query -S libexpat.so
libexpat1: /usr/lib/libexpat.so.0
libexpat1: /usr/lib/libexpat.so.1
libexpat1-dev: /usr/lib/libexpat.so
libexpat1: /usr/lib/libexpat.so.1.0.0

As for the not being able to drag your icons from on screen to another, the answer is simple.. Right now you have dual head mode configured, which means you have 2 seperate devices (or drivers if you like) running in X.. what you want is the "One big desktop" style that fglrxconfig lets you choose... I think you can use something like my xorg.conf, but with only 1 Section "device" and it will do that.. tho I could be wrong... if you read the developement/help stuff on ati's website I think it tells you how, also there's quite a few refferences online just google howto ATI Xorg.conf XFree86.conf and I'm sure you'll find something more exact...

Good Luck
DrS
 
Old 10-15-2005, 12:02 PM   #6
chaok
LQ Newbie
 
Registered: Oct 2005
Posts: 6

Original Poster
Rep: Reputation: 0
Ahh thank you. I'll have to look into that.

Do you know if you can do "big desktop" and have different resolutions on each monitor?

Thanks for all the help guys
 
Old 10-15-2005, 12:05 PM   #7
chaok
LQ Newbie
 
Registered: Oct 2005
Posts: 6

Original Poster
Rep: Reputation: 0
Also I have the libexpat1 installed, but the ati control panel can't seem to find it.
 
Old 10-15-2005, 12:52 PM   #8
ioerror
Member
 
Registered: Sep 2005
Location: Old Blighty
Distribution: Slackware, NetBSD
Posts: 536

Rep: Reputation: 34
Quote:
I got the resolutions correct and both display correclty.....but I can't drag open windows from one monitor to the other. Is that just how this works ok linux?
No can do, since you have a seperate X server on each head.I assume the hardware can handle it, but the drivers can't, alas, unless you use xinerama, but that knackers your 3D . The only current solution is to use an nvidia card with their twinview feature.
 
Old 10-15-2005, 01:03 PM   #9
ioerror
Member
 
Registered: Sep 2005
Location: Old Blighty
Distribution: Slackware, NetBSD
Posts: 536

Rep: Reputation: 34
Quote:
Also I have the libexpat1 installed, but the ati control panel can't seem to find it.
Run strace on it to see where it is looking

Code:
strace  fireglcontrolpanel l 2> strace-firegl
Or just put the correct dir in your LD_LIBRARY_PATH (you might wrap it up in a script).

Quote:
Do you know if you can do "big desktop" and have different resolutions on each monitor?
/usr/share/doc/fglrx/articles/4485.html:
Quote:
Big Desktop

* A single desktop is stretched across both monitors
* Monitors may overlap by a configurable number of pixels
* Both monitors have to operate with the same video mode settings
* Both screens use a single framebuffer and only one window manager
* The smaller display will NOT autoscroll as in Clone Mode
* Big Desktop can be configured for Horizontal or Vertical operation
 
Old 10-15-2005, 09:37 PM   #10
NomadX
Member
 
Registered: Jul 2005
Location: Portland, OR
Distribution: Debian Testing
Posts: 78

Rep: Reputation: 15
What ioerror said.... and no you can't have different resolutions with the big desktop deal... so you'll have to choose the lesser of two evils ... Personaly I like it that way, since it also means that I can have different menus and panels on the 2nd monitor... my second is a TV so I have enlarged all of the above so I can find xine on it easy....
 
Old 10-16-2005, 11:25 AM   #11
chaok
LQ Newbie
 
Registered: Oct 2005
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by ioerror
[B]Run strace on it to see where it is looking

Code:
strace  fireglcontrolpanel l 2> strace-firegl
Well it looks like it can only run on a 32bit processor. I'm running an AMD64.

Thanks for all the help guys. I think I'm going to keep it like this for now until i get an nVidia card.
 
  


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
Help setting up dual monitors (2 diff graphic cards) in Linspire mindsend Linux - Newbie 1 11-20-2005 06:32 PM
Breezy and Ati Radeon 9700 Pro dual head Kontti Ubuntu 2 10-27-2005 07:51 PM
Breezy and Ati Radeon 9700 Pro dual head Kontti Linux - Hardware 0 10-24-2005 02:44 AM
ATI Radeon 9700 pro is showing as 9500 pro kyromaniac Linux - Hardware 2 03-02-2005 05:32 AM
dual monitor problem on xf86 4.3 with ati radeon 9700 pro TruthSifter Linux - Hardware 0 08-24-2004 09:38 PM

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

All times are GMT -5. The time now is 08:44 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