Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 06-29-07, 05:28 PM   #1
dtr
Registered User
 
Join Date: Jun 2007
Posts: 2
Default One opengl context across multiple cards using Xinerama

I am writing my own opengl application but I am pretty desperate because I can't seem to find any documentation about how to use GLX+Xinerama as advertised in the nvidia driver readme.

setup: two 7600 cards, 8776 driver.

My main question is that is it possible to create one drawable GLX context that spans the two physical displays, or will I need to have multiple contexts.

I am very sorry if this has already been posted...

Thanks,
Dimitri
dtr is offline   Reply With Quote
Old 06-29-07, 05:56 PM   #2
xbobmx
Registered User
 
Join Date: May 2003
Posts: 191
Default Re: One opengl context across multiple cards using Xinerama

Xinerama is a general X server extension that abstracts two screens to look like one; apps shouldn't need to do anything special.

Basically: internally, the X server creates two drawables, one for each card, and deals with putting them in the right place on each internal screen and drawing to both when the client does drawing to the one abstracted drawable.

So what you need to know is: from a client's point of view, Xinerama should be transparent and both screens should look like one.
xbobmx is offline   Reply With Quote
Old 06-29-07, 06:51 PM   #3
dtr
Registered User
 
Join Date: Jun 2007
Posts: 2
Default Re: One opengl context across multiple cards using Xinerama

yup, that is exactly what I thought, but still, in my application when I create one large window, and attach a drawable glx context to it, rendering happens only on the half of the window that is on one display.

Could this be a driver bug or am I doing something wrong/missing some initialization steps?

Many thanks for the replies,
Dimitri
dtr is offline   Reply With Quote
Old 06-29-07, 07:05 PM   #4
xbobmx
Registered User
 
Join Date: May 2003
Posts: 191
Default Re: One opengl context across multiple cards using Xinerama

Which two cards are these? (Or you could attach nvidia-bug-report.log so I wouldn't have to ask questions =))

From the README (http://us.download.nvidia.com/XFree8...pter-14.html):

Using identical GPUs is recommended. Some combinations of non-identical, but similar, GPUs are supported. If a GPU is incompatible with the rest of a Xinerama desktop then no OpenGL rendering will appear on the screens driven by that GPU. Rendering will still appear normally on screens connected to other supported GPUs. In this situation the X log file will include a message of the form:

(WW) NVIDIA(2): The GPU driving screen 2 is incompatible with the rest of
(WW) NVIDIA(2): the GPUs composing the desktop. OpenGL rendering will
(WW) NVIDIA(2): be disabled on screen 2.
xbobmx is offline   Reply With Quote
Reply


Thread Tools

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 On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
multiple cards, insmod, modules.conf gseidman NVIDIA Linux 3 09-27-02 01:07 PM
Multiple OpenGL applications and NVidia gbrauer NVIDIA Linux 7 09-01-02 04:47 PM
Dual Monitor cards GF2 or GF4 Geoinfo SRL NVIDIA Linux 15 08-06-02 04:48 AM

All times are GMT -5. The time now is 10:58 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.