LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 07-30-2002, 10:41 AM   #1
mickboda
Member
 
Registered: Jul 2002
Location: Sydney
Distribution: Kubuntu Edgy
Posts: 74

Rep: Reputation: 15
Xinerama and dual head ATi 7500


Hi fellow Linuxinians,

I have a wee bit of problem that I have been trying to work out over the last , say 8 days (that's striaght , every waking hour). The card in question is the Radeon 7500 VE 64MB DDR-Ram with dual head. The software in question is Xinerama and the problem is how to get problem a) to work with problem b).

I haveboth displays up, unfortunately, they are both displaying exactly the same thing. So I'm watching my self type in "stereo".

Here's my XF86Config-4 file

#XFree86 4.2.0 configuration generated by Xconfigurator 4.10.7

Section "ServerLayout"
Identifier "ATi 7500VE Dual Head Configured"
Screen 0 "LGE" 0 0
Screen "Apple" rightof "LGE"
Option "Xinerama" "on"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"

EndSection

Section "Files"
FontPath "unix/:7100"
EndSection

# Module loading section

Section "Module"
Load "dbe" # Double-buffering
Load "GLcore" # OpenGL support
Load "dri" # Direct rendering infrastructure
Load "glx" # OpenGL X protocol interface
Load "extmod" # Misc. required extensions
Load "v4l" # Video4Linux
# Load "record" # X event recorder
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Device" "/dev/mouse"
Option "Protocol" "PS/2"
Option "Emulate3Buttons" "off"
Option "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "LGE"
ModelName "Studioworks 900B"
HorizSync 31.5-57.0
VertRefresh 50-70
Option "dpms"
EndSection

Section "Monitor"
Identifier "Monitor1"
VendorName "Philips"
ModelName "Apple Multiscan17"
HorizSync 41.876
VertRefresh 75.121
Option "dpms"
EndSection

Section "Device"
Option "nodri"
Identifier "ATI Radeon 7500 QW LGE"
Driver "radeon"
BoardName "VE"
BusID "PCI:1:5:0"
EndSection

Section "Device"
Option "nodri"
Identifier "ATI Radeon 7500 QW Apple"
Driver "radeon"
BoardName "VE"
BusID "PCI:1:5:0"
EndSection

Section "Device"
Identifier "Linux Frame Buffer"
Driver "radeon"
BoardName "radeon 7500 QW"
EndSection

Section "Screen"
Identifier "LGE"
Device "ATI Radeon 7500 QW LGE"
Monitor "Monitor0"
DefaultDepth 24
Subsection "Display"
Depth 24
Modes "1024x768"
EndSubSection
EndSection

Section "Screen"
Identifier "Apple"
Device "ATI Radeon 7500 QW Apple"
Monitor "Monitor1"
DefaultDepth 24
Subsection "Display"
Depth 24
Modes "1024x768"
EndSubSection
EndSection

Section "DRI"
Group "Video"
Mode 0666
EndSection

And here's what lspci -v , for all you masocists,

01:05.0 VGA Compatible Controller: ATI Technologies Inc Radeon 7500QW (prog-if 00 [VFGA])
Subsystem: Unknown device 1787:1307
Flags: bus mastering, stepping, 66MHz, medium devsel, latency 32, IRQ 11
Memory at e0000000 (32 bit, prefetchable) [size=128M]
I/O ports at 9000 [size=256]
Memory at ed000000 (32 bit non-prefetchable) [size= 64K]
Expansion ROM at <unassigned> [disabled][size=128k]
Capabilities [58] AGP 2.0
Capabilites [50] Power management 2.0


Any takers??

 
Old 07-30-2002, 09:51 PM   #2
finegan
Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 57
Re: Xinerama and dual head ATi 7500

Quote:
Originally posted by mickboda


Section "ServerLayout"
Identifier "ATi 7500VE Dual Head Configured"
Screen 0 "LGE" 0 0
Screen "Apple" rightof "LGE"
Option "Xinerama" "on"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"

EndSection
I'm not sure if this is right, but from a lot of hacking on XF86Config files I've found that the last rule tends to win, mainly with font paths, so maybe having the Option "Xinerama" "on" above the screen lines, like in this example might help.

Cheers,

Finegan
 
Old 07-31-2002, 09:00 PM   #3
mickboda
Member
 
Registered: Jul 2002
Location: Sydney
Distribution: Kubuntu Edgy
Posts: 74

Original Poster
Rep: Reputation: 15
I tried moving Xinerama on above the screens, no joy. should i move the whole serverlayout section to the bottom?
 
Old 07-31-2002, 10:08 PM   #4
finegan
Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 57
Who knows, sometimes tricks like that work, most times they don't. First off, what does the /var/log/xfreelog look like. Usually its a big gangly mess, so best to remove it, restart X, and then just look at the single startup entry. Heck, post it here.

Cheers,

Finegan
 
Old 08-03-2002, 06:20 AM   #5
finegan
Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 57
Man, this is a tough one. I'm currently waiting for a friend of mine to return to me a Voodoo3 PCI card so I can try this 2 monitor stuff too...



I compared the log to a log of a guy running a dual head matrox card. It seems that your XF86Config file is getting X to list both monitors, but its only recognizing the card as a single video device. Here's his config, and heck, the rest of the site.



Some ideas, and these are some hard guesswork:



The matrox XF86config gave me the idea of assigning a screen for each video device. I think from the server layout that it assumes the first screen is the first video device.



Another one, even though you have nodri explicitely defined, don't even load the module. Mainly a housekeeping guess, but who knows.



Mainly the big difference in the files is that the matrox log is showing the explicit definition of 2 monitors, and two cards, and yours sees 2 monitors, but only one card, so the fault is probably in getting it to treat the video card as 2 devices... I guess that would be the target. In this vein, maybe take out everything from that section but the busID, the Identifier and the module info.



Honestly I think the best bet would be to build an XF86Config from the ground up that roughly emulates a working example.



Be careful where you back-up XF86Config. For instance if you stick it in /root, XFree will read that one first before /etc/X11/XF86Config.



Sorry, forgot about this one for a day or so.



Luck,



Finegan

Last edited by finegan; 08-03-2002 at 06:21 AM.
 
Old 08-05-2002, 03:54 PM   #6
finegan
Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 57
Hey, I took a machine out of action last nght, stopped dropped and traded an old AGP card for an awesome Voodoo3 PCI card and grabbed the extra monitor in the corner. This only took me about three hours, but I had a lot of coffee. I think the big problem comes from screen to monitor declaration. One little missing number:

Section "ServerLayout"
Identifier "XFree86 Configured"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" RightOf "Screen0"
Option "xinerama" "on"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Now compare that to your:

Section "ServerLayout"
Identifier "ATi 7500VE Dual Head Configured"
Screen 0 "LGE" 0 0
Screen "Apple" rightof "LGE"
Option "Xinerama" "on"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"

The missing "1" may just be it.

Cheers,

Finegan
 
Old 09-04-2002, 08:10 PM   #7
mickboda
Member
 
Registered: Jul 2002
Location: Sydney
Distribution: Kubuntu Edgy
Posts: 74

Original Poster
Rep: Reputation: 15
Wink

Sorry I've been away for so long ....

here's my working XF86Config-4 file.

# File generated by anaconda.

Section "ServerLayout"
Identifier "Anaconda Configured"
Screen 0 "foo" 0 0
Screen 1 "bar" LeftOf "foo"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
Option "Xinerama" "on"
EndSection

Section "Files"

# The location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.

RgbPath "/usr/X11R6/lib/X11/rgb"

# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.

FontPath "unix/:7100"

EndSection

Section "Module"
Load "GLcore"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "dri"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"

# Option "AutoRepeat" "500 5"

# when using XQUEUE, comment out the above line, and uncomment the
# following line
# Option "Protocol" "Xqueue"

# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "Xleds" "1 2 3"

# To disable the XKEYBOARD extension, uncomment XkbDisable.
# Option "XkbDisable"

# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# or:
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:nocaps"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
#Option "XkbVariant" ""
#Option "XkbOptions" ""
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/psaux"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
HorizSync 31.0-70
VertRefresh 31.0-70
Option "dpms"

# -- 1400x1050 --
# 1400x1050 @ 60Hz, 65.8 kHz hsync
Modeline "1400x1050" 129 1400 1464 1656 1960
1050 1051 1054 1100 +HSync +VSync

# 1400x1050 @ 70Hz, 76.8 kHz hsync
Modeline "1400x1050" 151 1400 1464 1656 1960
1050 1051 1054 1100 +HSync +VSync

# 1400x1050 @ 75Hz, 82.3 kHz hsync
Modeline "1400x1050" 162 1400 1464 1656 1960
1050 1051 1054 1100 +HSync +VSync

# 1400x1050 @ 85Hz, 93.2 kHz hsync
Modeline "1400x1050" 184 1400 1464 1656 1960
1050 1051 1054 1100 +HSync +VSync

EndSection

Section "Monitor"
Identifier "Monitor1"
VendorName "Monitor1"
ModelName "107E"
HorizSync 30-70
VertRefresh 50-75
EndSection

Section "Device"
# no known options
Identifier "Radeon 7500 QWfoo"
Driver "radeon"
VendorName "ATI Industries"
BoardName "ATi Radeon 7500 QW"
BusID "PCI:1:5:0"
Screen 0
EndSection

Section "Device"
# no known options
Identifier "Radeon 7500 QWbar"
Driver "radeon"
VendorName "ATi Industries"
BoardName "ATi Radeon 7500 QW"
BusID "PCI:1:5:0"
Screen 1
EndSection

#attache different screens to each device
Section "Screen"
Identifier "foo"
Device "Radeon 7500 QWfoo"
Monitor "Monitor0"
DefaultDepth 24

Subsection "Display"
Depth 24
Modes "1024x768"
EndSubsection

EndSection

Section "Screen"
Identifier "bar"
Device "Radeon 7500QWbar"
Monitor "Monitor1"
DefaultDepth 24

Subsection "Display"
Depth 24
Modes "1024x768"
EndSubSection

EndSection

Section "DRI"
Mode 0666
EndSection

it was a matter of copying to my XF86Config-4 file and firing up. I had to retype the DRI line for some unknown reason, but after that, it fires up perfectly

Regards

Mick

Thanks Finegan
 
  


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
ati IGP340M and dual head/xinerama display davemac Linux - Laptop and Netbook 1 03-23-2005 10:58 AM
Can't get Xinerama to work with dual head... Erik Plaggenmar Linux - Software 6 06-03-2004 04:25 PM
Dual head second monitor resolution problem ATI Radeon Mobility 7500 Redhat 9 kragemp3 Linux - Hardware 0 05-06-2004 09:05 PM
Dual-head/Xinerama/Matlab allofitsik Linux - Software 0 03-08-2004 03:24 PM
two seperate pointers on dual head without xinerama InsaneBob Linux - Hardware 1 11-11-2003 12:45 AM


All times are GMT -5. The time now is 09:01 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration