|05-06-08, 04:53 AM||#1|
Join Date: May 2008
Video display in multiple screens with SDL
I've recently seen this post by r.c.:
kokoko3k, thanks. I'm not using mplayer, but rather our own code. I just mentioned mplayer as an example of a similar program that might be affected in the same ways (if multiple instances at once are run across multiple screens).
I am using YUV overlays, however we have multiple displays. My understanding is that in the second display driven off of the nvidia card, you fake YUV overlays with blits. The rendering is definitely sync'd when XVideoTextureSyncToVBlank is set to 1, and is not when it is set to 0, and the performance with multiple windows being rendered is most definitely as I described. I'm not positive that SDL is actually using hardware surfaces in all cases (I just need to add some code to check), and like I mentioned we are using multiple displays, so some of this could be related to the way display 2 is handled by the driver (not sure if it happens in 2 X screen configs, but it is definitely happening in twinview configs). However, performance is great with the XVideoTextureSyncToVBlank turned off, so thought I'd bring it up here.
Thanks for the tip Phalin, will look into it.
r.c. mentions that he is using YUV overlays in SDL whith multiple displays, just using multiple instances at once running across multiple screens. I need to do this myself (I have a nvidia quadro), but i cuoldn't find a way to tell SDL in which display it must draw. Is there any SDL function that solves this? Any other approach I can use?
Thank you very much.
|Thread||Thread Starter||Forum||Replies||Last Post|
|IOGEAR 3D Complete+ 4-Port HDMI Switcher with 2D/3D Video Processor||News||Latest Tech And Game Headlines||0||06-28-12 06:40 PM|
|302.07 (beta) for Linux x86/x86_64 released||AaronP||NVIDIA Linux||0||05-02-12 10:55 AM|
|Glx||mrbig1344||NVIDIA Linux||7||09-30-02 07:45 AM|
|Official Detonator 40.xx Feedback Thread||pelly||NVIDIA Windows Graphics Drivers||299||09-22-02 07:54 AM|
|Best video card for running dual displays?||nutsnbolts||NVIDIA GeForce 7, 8, And 9 Series||10||09-03-02 03:02 PM|