LinuxQuestions.org
Visit Jeremy's Blog.
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
 
LinkBack Search this Thread
Old 02-10-2005, 12:54 PM   #1
Gerard_2009
LQ Newbie
 
Registered: Jan 2005
Location: Switzerland
Distribution: debain lenny, slackware 10.0, vectorlinux 4.3, kubuntu feisty
Posts: 23

Rep: Reputation: 15
G550 dualhead


hello

using slackware 10.0
kernel 2.4.26
xorg 6.7

i checked on the web how to configure my xorg.conf so I added
option "xinerama"

now x works, but it shows exactely the same thing on both screens. does anybody know what that could be?

thanks

P.S. cant install the drivers that come with the G550 CD, they are rpm files, so i do rpm2tgz and than make installpkg *.tgz, but i get only

root@Shenanigan:~# installpkg mgapdesk-1.00-7.src.tgz
Installing package mgapdesk-1.00-7.src...
PACKAGE DESCRIPTION:

root@Shenanigan:~#

and it seems like nothing was done.
 
Old 02-10-2005, 01:44 PM   #2
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86; Gentoo PPC; Gentoo Sparc64; FreeBSD; OS X; Solaris
Posts: 3,731
Blog Entries: 4

Rep: Reputation: 64
For xinerama see this:
http://www.tldp.org/HOWTO/Xinerama-H...f86config.html

Note the section at the bottom: "Configuring the Server Layout", you still need to tell X how you want the screens set up...
 
Old 02-10-2005, 01:45 PM   #3
sigsegv
Senior Member
 
Registered: Nov 2004
Location: Third rock from the Sun
Distribution: NetBSD-2, FreeBSD-5.4, OpenBSD-3.[67], RHEL[34], OSX 10.4.1
Posts: 1,197

Rep: Reputation: 46
Man pages are your friends

From xorg.conf(5):
Quote:

Screen screen-num "screen-id" position-information
One of these entries must be given for each screen being used in a
session. The screen-id field is mandatory, and specifies the Screen
section being referenced. The screen-num field is optional, and may
be used to specify the screen number in multi-head configurations.
When this field is omitted, the screens will be numbered in the order
that they are listed in. The numbering starts from 0, and must be
consecutive. The position-information field describes the way multi-
ple screens are positioned. There are a number of different ways that
this information can be provided:

x y

Absolute x y
These both specify that the upper left corner's coordinates are
(x,y). The Absolute keyword is optional. Some older versions of
Xorg (4.2 and earlier) don't recognise the Absolute keyword, so
it's safest to just specify the coordinates without it.

RightOf "screen-id"

LeftOf "screen-id"

Above "screen-id"

Below "screen-id"

Relative "screen-id" x y
These give the screen's location relative to another screen. The
first four position the screen immediately to the right, left,
above or below the other screen. When positioning to the right or
left, the top edges are aligned. When positioning above or below,
the left edges are aligned. The Relative form specifies the off-
set of the screen's origin (upper left corner) relative to the
origin of another screen.
 
Old 02-10-2005, 02:07 PM   #4
Gerard_2009
LQ Newbie
 
Registered: Jan 2005
Location: Switzerland
Distribution: debain lenny, slackware 10.0, vectorlinux 4.3, kubuntu feisty
Posts: 23

Original Poster
Rep: Reputation: 15
thanks guys,

well i checked all that, I think I have it right, but still, two exactely same screens apear, the mouse moves on both screens the same way and so on....


here some part of my xorg.conf:


Section "Device"
Identifier "Grafikkarte_1"
Driver "mga"
Screen 0
# BusID "PCI:1:0:0"
EndSection

Section "Device"
Identifier "Grafikkarte_2"
Driver "mga"
Screen 1
# BusID "PCI:1:0:0"
EndSection
Section "Screen"
Identifier "Screen 2"
Device "Grafikkarte_2"
Monitor "Generic Monitor"
DefaultDepth 24
Subsection "Display"
Depth 24
Modes "1280x1024" "1024x768"
ViewPort 0 0
EndSubsection
EndSection

Section "Screen"
Identifier "Screen 1"
Device "Grafikkarte_1"
Monitor "Generic Monitor"
DefaultDepth 24
Subsection "Display"
Depth 24
Modes "1280x1024" "1024x768"
ViewPort 0 0
EndSubsection
EndSection



Section "ServerLayout"
Identifier "Simple Layout"
Screen "Screen 1"
Screen "Screen 2" LeftOf "Screen 1"
Option "Xinerama" "on"
Option "Clone" "off"
# InputDevice "Generic Mouse" "CorePointer"
InputDevice "Generic Keyboard" "CoreKeyboard"
InputDevice "Configured Mouse"
EndSection

#Section "DRI"
# Mode 0666
#EndSection
 
Old 02-10-2005, 02:29 PM   #5
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86; Gentoo PPC; Gentoo Sparc64; FreeBSD; OS X; Solaris
Posts: 3,731
Blog Entries: 4

Rep: Reputation: 64
Ok, I think your problem here is your BusID entries, they are both commented out. So X is using the default, which is the first card it finds.

Stop X from running, and run "Xorg -scanpci"
This will list the BusID's for all the vid cards that X finds, then put these figures into the relevant "Device" section.

This is all covered in the link I gave you. It is a little out of date (and applies to Xfree instead of Xorg) but the info is still relevant...
 
Old 02-10-2005, 03:14 PM   #6
Gerard_2009
LQ Newbie
 
Registered: Jan 2005
Location: Switzerland
Distribution: debain lenny, slackware 10.0, vectorlinux 4.3, kubuntu feisty
Posts: 23

Original Poster
Rep: Reputation: 15
alright bulliver, thanks for the help,

i changed that entry to

BusID "PCI:1:5:0"

that didnt quite do the trick, but than i downloaded

mgadriver4.1 from

ftp://ftp.matrox.com/pub/mga/archive/linux/2004/

installed the new drivers and now it works!!

(i did that before but tryed to installed it from a console running in KDE, didnt work, but than i tryed from tty2 and i could install them. sounds strange, i know, but i am almost sure i didnt change anything else to make it work.)



unfortunately my tty1 and tty2 dont work anymore! (you know the thing you enter with ctrl + alt + Fx, virtual console yes?)
(oh, and I only have two of em, so dont ask if tty3 or something like it work... ;-) )

any ideas about that?
 
Old 02-10-2005, 03:54 PM   #7
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86; Gentoo PPC; Gentoo Sparc64; FreeBSD; OS X; Solaris
Posts: 3,731
Blog Entries: 4

Rep: Reputation: 64
Quote:
unfortunately my tty1 and tty2 dont work anymore! (you know the thing you enter with ctrl + alt + Fx, virtual console yes?)
(oh, and I only have two of em, so dont ask if tty3 or something like it work... ;-) )

any ideas about that?
Check xorg.conf for 'Option "DontVTSwitch"' and make sure it is commented out.

I assume they were working fine before you installed these new drivers? If so it may be an issue with your vid card. How exactly are they "not working"?
 
Old 02-10-2005, 04:04 PM   #8
Gerard_2009
LQ Newbie
 
Registered: Jan 2005
Location: Switzerland
Distribution: debain lenny, slackware 10.0, vectorlinux 4.3, kubuntu feisty
Posts: 23

Original Poster
Rep: Reputation: 15
well when i switch to it it's a black screen,

yes, 'Option "DontVTSwitch"' is not in the config file at all .

plus the terminals have been working before...
 
Old 02-10-2005, 11:53 PM   #9
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
By default Slackware only has a console under F6 if you use runlevel 4 (boot into GUI).
This can be modified in /etc/inittab. Look for the lines starting with c1 .. c6 and modify them.
 
Old 02-11-2005, 05:52 AM   #10
Gerard_2009
LQ Newbie
 
Registered: Jan 2005
Location: Switzerland
Distribution: debain lenny, slackware 10.0, vectorlinux 4.3, kubuntu feisty
Posts: 23

Original Poster
Rep: Reputation: 15
alright, thank you, but


i know slackware has only a console on F6 in runlevel 4 by default,
I changed it in inittab to have two consoles, one on F1 and one on F2.

seems like the problem is really due to the new mga drivers. with the old drivers I had the consoles plus X on F7, but as I mentioned two identical desktop on both connected Monitors. So now with the new drivers I have an extended Desktop over both screens, but no consoles anymore.
 
Old 05-25-2007, 05:42 PM   #11
Gerard_2009
LQ Newbie
 
Registered: Jan 2005
Location: Switzerland
Distribution: debain lenny, slackware 10.0, vectorlinux 4.3, kubuntu feisty
Posts: 23

Original Poster
Rep: Reputation: 15
just saw that I started this thread some while ago.

I have found a work around, it is quite ugly etc, but it works and I guess I wont be using my G550 for long anymore... :-)

so the trick is to have an xorg.conf file without Xinerama that is used to start the pc. So what you will see are the two identical screens.
Now you switch to a console and change the xorg.conf to one with xinerama options.
Restart your X-server and Xinerama works.

I do not have any idea what-so-ever why this is the case...
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual monitor on SUSE Linux 10.0, Matrox G550 rufus1 Linux - Newbie 6 12-14-2005 07:44 AM
Redhat 8 dual head w/ MAtrox G550 & G450 amigokewl Linux - Newbie 3 08-23-2004 09:15 AM
Mandrake 10 Matrox G550 rmichalczyk Linux - Hardware 0 04-07-2004 07:35 AM
Matrox G550, TNT Riva, Multi-head X THREE monitors finegan LinuxQuestions.org Member Success Stories 0 05-27-2003 07:24 PM
G550 Dualhead Mdk 9.1 MaxPioneer Linux - Hardware 3 05-20-2003 01:17 PM


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