LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 08-29-2005, 08:42 AM   #1
ralphuk100
LQ Newbie
 
Registered: Apr 2004
Posts: 15

Rep: Reputation: 0
ati and xinerama?


I am on the verge of tearing out my hair and going back to windows. I have been trying to get dual monitors working for months now. And each time I get someone helping me I get a few suggestions and then it all goes quiet. There MUST be a way to have a dual screen setup (which I have) that doesn't place dialogue boxes in the middle of the two screens?

Rather than repeating myself totaly, the thread below shows what I have tried so far this time. I have also attached my xorg.conf file.

http://www.ubuntuforums.org/showthread.php?t=60583

I really hope someone can offer some advice. Thanks.

XORG.CONF FILE:

# /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" "pc105"
Option "XkbLayout" "gb"
EndSection

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

Section "Device"
Identifier "ATI Technologies, Inc. Radeon 9800 Pro (R350 NH)"
Driver "ati"
BusID "PCI:2:0:0"
EndSection

Section "Monitor"
Identifier "PLE431"
Option "DPMS"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "ATI Technologies, Inc. Radeon 9800 Pro (R350 NH)"
Monitor "PLE431"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection

Section "DRI"
Mode 0666
EndSection
 
Old 08-29-2005, 03:30 PM   #2
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Copy your xorg file to a backup and then try this one in its place and see if it works. This file assumes that you have a dual connector card if you have two cards you would have to change the BusID parts to match the IDs for each. Hopefully I have not made any typos and you will have to reformat the post to match the indentation that would normally be in the file. If it does not work can you post the file /var/log/Xorg.0.log so we can see what is going on when it starts the xserver make sure you copy file somewhere before you restart the server with a working config otherwise it will be overwritten with that startup. If you want to change the monitor that each screen starts on the change the RightOf to LeftOf and you may need more information such as monitor name and refresh rates in the sections for them.

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 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"
 Load "xtrap"
 EndSection
 
 Section "InputDevice"
 Identifier "Generic Keyboard"
 Driver "keyboard"
 Option "CoreKeyboard"
 Option "XkbRules" "xorg"
 Option "XkbModel" "pc105"
 Option "XkbLayout" "gb"
 EndSection
 
 Section "InputDevice"
 Identifier "Configured Mouse"
 Driver "mouse"
 Option "CorePointer"
 Option "Device" "/dev/input/mice"
 Option "Protocol" "ImPS/2"
 Option "ZAxisMapping" "4 5"
 EndSection
 
 Section "Device"
 Identifier "ati0"
 Driver "ati"
 BusID "PCI:2:0:0"
 Screen 0
 EndSection
 
Section "Device"
 Identifier "ati1"
 Driver "ati"
 BusID "PCI:2:0:0"
 Screen 1
 EndSection

 Section "Monitor"
 Identifier "Monitor0"
 Option "DPMS"
 EndSection

Section "Monitor"
 Identifier "Monitor1"  
 Option "DPMS"
 EndSection
 
 Section "Screen"
 Identifier "Screen0"
 Device "ati0"
 Monitor "monitor0"
 DefaultDepth 24
  SubSection "Display"
 Depth 24
 Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
 EndSubSection
 EndSection
 
Section "Screen"
 Identifier "Screen1"
 Device "ati1"
 Monitor "monitor1"
 DefaultDepth 24
 SubSection "Display"
 Depth 24
 Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
 EndSubSection
 EndSection


 Section "ServerLayout"
 Identifier "Default Layout"
 Screen      0 "Screen0"
 Screen      1 "Screen1" RightOf "Screen0"
 InputDevice "Generic Keyboard"
 InputDevice "Configured Mouse"
 EndSection
 
 Section "DRI"
 Mode 0666
 EndSection
 
Old 08-29-2005, 03:57 PM   #3
ralphuk100
LQ Newbie
 
Registered: Apr 2004
Posts: 15

Original Poster
Rep: Reputation: 0
Thanks for the reply. Your config doesn't give me any errors but it does give me two separate desktops entirely. Both with their own applications menu etc. I am looking for one large desktop that doesn't open dialog boxes in the middle of the two screens but actually knows to open them in the middle of one or other of the monitors.

My log file is far too long to post on here but there are not technically any errors anyway
 
Old 08-29-2005, 05:11 PM   #4
ralphuk100
LQ Newbie
 
Registered: Apr 2004
Posts: 15

Original Poster
Rep: Reputation: 0
Fixed it. Thanks matey. Problem was:

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

Needed to be:

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


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
Xinerama, ATI and Multiple Monitors JediToren Linux - Hardware 2 07-31-2011 06:24 PM
TV out, xinerama and ATI bip_b2 Linux - General 0 06-02-2005 01:25 PM
ATi fglrx and Xinerama objorkum Linux - Software 0 11-01-2004 11:50 AM
ATI Big Desktop, maximizing, and Xinerama drakethegreat Slackware 2 10-24-2004 08:08 PM
xinerama on ATI Radeon 9800 nielchiano Linux - Hardware 0 06-04-2004 07:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

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