?

Log in

No account? Create an account
Rearranged; Xinerama question - brad's life — LiveJournal [entries|archive|friends|userinfo]
Brad Fitzpatrick

[ website | bradfitz.com ]
[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

Rearranged; Xinerama question [Aug. 23rd, 2002|03:33 pm]
Brad Fitzpatrick
I rearranged the computers & monitors in my office.... much better now. Main desktop's off the floor and hidden behind the flat screen. That makes the desktop close enough to plug in my 19" CRT without a VGA extender, which was ghosting the image. The 15" CRT is now plugged into the Windows machine, since it makes a high pitch noise after being on a couple minutes, but I don't use Windows ever more than a couple minutes to test stuff, so they're a good match. That also means I have more room on my left desk for junk.

Now that I'm actually using Xinerama, I notice it's kinda slow.

Matrox G400
XFree86 4.1
Matrox drivers

Can anybody recommend a fast dual-VGA card for Xinerama? Or am I best going with two cards? (it seems like you could get better acceleration with a dual card)

I'll probably stick with what I've got for now, but when it comes time to build a new desktop, I'll want a good video card. My drives are slow & loud, my HSF is becoming whiny, and my PSU could be quieter.
LinkReply

Comments:
[User Picture]From: jwz
2002-08-24 04:57 am (UTC)

xinerama sucks

I believe Xinerama always runs unaccelerated, so you'll never be able to take advantage of you graphics hardware with it. I run two heads without Xinerama; you get acceleration on both, and the only thing missing is being able to have a single window spanning both monitors, which is a dubious feature at best. (And you can't move windows between monitors, but I pretty much never want that: I just launch them on the right monitor in the first place.)
(Reply) (Thread)
[User Picture]From: brad
2002-08-24 10:53 am (UTC)

Re: xinerama sucks

How do you get mouse travel between them? xtox? Do they share the copy/paste buffers?
(Reply) (Parent) (Thread)
[User Picture]From: jwz
2002-08-24 03:27 pm (UTC)

Re: xinerama sucks

X already knows how to do the mouse-transit thing, that's what the LeftOf/RightOf directives in ServerLayout are for:

/etc/X11/XF86Config-4:

Section "ServerLayout"
	Identifier     "grendel"
	Screen         "Screen 0"
	Screen         "Screen 1" LeftOf "Screen 0"
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Screen"
	Identifier "Screen 0"
	Device     "GeForce2"
	Monitor    "Monitor B"
 ...
EndSection

Section "Screen"
	Identifier "Screen 1"
	Device     "Matrox Primary"
	Monitor    "Monitor A"
 ...
EndSection
(Reply) (Parent) (Thread)
[User Picture]From: jwz
2002-08-24 03:33 pm (UTC)

Re: xinerama sucks

Another thing to keep in mind about the G400 (I have a G450) is that both heads are not created equal: head 0 has more capabilities. In particular only head 0 has the ability to do gamma fading, PseudoColor, or DRI. And without DRI, OpenGL runs slow.

I have my system set up to be 24 bit TrueColor on one head and 8 bit PseudoColor on the other (helps debugging xscreensaver a lot) and I ended up getting a second video card, and just not using the second head of the G450 at all, because it was impossible to get the 24/8 thing working with the G450 and have accelerated GL on the 24 head at the same time!

(Reply) (Parent) (Thread)
[User Picture]From: brad
2002-08-24 03:41 pm (UTC)

Re: xinerama sucks

Stupid.

Anyway, I commented out Option Xinerama and things are good now, except a certain web browser refuses to run on two heads at once with the same profile. *sigh*

All's fast now, though, so I'm happy enough.
(Reply) (Parent) (Thread)