[GEM-dev] best strategy to run two screens from one box

Roman Haefeli reduzierer at yahoo.de
Wed Jun 24 00:51:32 CEST 2009


On Tue, 2009-06-23 at 11:04 +0200, cyrille henry wrote:
> 
> Roman Haefeli a écrit :
> > hi all
> > 
> > i'd like to drive two screens in fullscreen mode with puredata/gem and
> > wonder, which is the best way to go performance-wise.
> > 
> > the setup, that i'm working with:
> > - ubuntu jaunty
> > - pd-extended-41.4
> > - nvidia geforce 9800gt with two heads (if i recall correctly, can't
> > check at the moment)
> > - two monitors with different resolutions (1280x768 and 1280x1024)
> > 
> > so far, i came up with having two separate X screens, so that i can tell
> > [gemwin] with a 'create <screen-id>' message, on which screen to open.
> > this requires two instances of pd/gem, of course.
> > 
> > i wonder now, if it makes a difference performance-wise, when having
> > only one gem window, that spans both screens.
> 
> well, if you have a dual core computer, then 2 pd would help using your 2 core.

this patch is making excessive use of [pix_film], so the major part of
the cpu processing is anyway splitted into several threads (is that
correct)? at least, one of the pd instances is now consuming between
120-140% of the dual core machine, so it is somehow using more than one
core.

> if you have to display the same geometry on the 2 screen in a way that you can send less information in the GPU then, it could help to have only 1 windows.

both screens show completely different content in this piece.

> anyway, best is to make benchmark...

yo.. that is what i am going to do.


> > however, when switching to
> > 'twinview(tm)' mode, so that i have one big desktop spanning both
> > screens, i still cannot make the gemwin bigger than the size of the
> > screen, where it initially was displayed. is this because the do not
> > have the same resolution?
> did you try with border 0?
> otherwise, your gemwin is certainly resized by you windows manager.

exactly! thanks for that hint. i am going to do some more tests now,
since it works also with one gemwin spanning both screens.

cheers and thanks for your toughts.

roman



		
___________________________________________________________ 
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de





More information about the GEM-dev mailing list