I'll take a shot, since I'm guessing I've set up more dual monitor setups in Linux than anyone else I know.
There are two ways of setting up nVidia dual monitor - you can set up two different screens OR you can use TwinView. I'm guessing you're doing the former, since you're talking about how you enabled Xinerama. You need to use TwinView. (If you're using TwinView, disable Xinerama - you don't need it, and it could very well be what's causing the problem.) IIRC, Xinerama still can't do accelerated 3D across both screens. TwinView doesn't use Xinerama per se, but nVidia's own implementation of the extensions. Thankfully, nVidia's extensions can do what you need (OpenGL across both monitors). Unfortunately, said extensions are only used when using TwinView. In terms of set-up, TwinView is where you define the second device right inside the first device, using a bunch of different options. Just read the nVidia documentation/README - it's not too hard to set up, really. Something to pay attention to (I missed it the first time) are the metamodes - if you don't set them, full-screen 3D is always going to be stretched across both monitors. If you can't get this working, I'll punch off an example from my xorg.conf to you, too. -DMZ On Tue, 2005-11-22 at 00:40 -0500, Koffi Kpetigo wrote: > I'm running AMD64, Nvidia, Gentoo, Xorg and Xinerama. I have two > monitors: one CRT and one LCD. > > +------------------------+ > | Nvidia FX-5500 | > | (video card) | > | | > +---[ DVI ]----[ VGA ]---+ > | | > V V > LCD CRT > Monitor Monitor > > For the most part the dual display works very well. Maximizing a window > maximizes it only only on one monitor, like it should. Error windows > appear in the middle of one monitor and not half on the LCD and the > other on the CRT. > > The only problem I have is that OpenGL (specifically glmatrix or > glxgears) only displays on my CRT monitor. I've read somewhere that xorg > automatically sets the VGA video port as the primary dislplay and the > DVI as secondary. I believe that's the behavior I'm seeing as the login > screen apears on the CRT monitor, and whenever I open a random program > for the first time, it appears on the CRT monitor. > > What I want, is a way to get OpenGL to run on both monitors. I'd like to > open glxgears, and drag that window over to the LCD monitor and still > see the gears spin away endlessly. Actually, I'd prefer to see my matrix > screensaver displayed on both monitors. > > I did have this behavior for a while, but I think this was before I > added "xinerama" to my USE variable in make.conf and updated world as > needed ( emerge -vuDN world ). That is probably what made OpenGL only > work on one of the monitors (I think). If I am right, which I don't > think I am, how come it doesn't work at all on the LCD monitor? How do I > fix this? > > Does anyone have dual monitors up and running? If so, do you have your > OpenGL apps running on both monitors? > > Thanks guys, > > Koffi > -- David Zakar <[EMAIL PROTECTED]>
