View Single Post
Old 05-19-11, 08:10 AM   #2
Registered User
Join Date: Sep 2010
Posts: 10
Default Re: What can be the cause for slow VDPAU VdpPresentationQueueQuerySurfaceStatus?

Further info...this is the behaviour with only 2 output surfaces. When surfaces are increased to 4 for example the call returns immediately but with status QUEUED and repeating the call until VISIBLE takes essentially just as long as the previous blocking call. Is there something which prevents more than one presentation per vsync cycle?

EDIT: It seems not as when I force it to play as fast as possible without getting stuck in waits eg due to glXSwapBuffers() I get 45 calls per second succeeding using 24Hz VSYNC. So is this all simply saying that when GPU is busy decoding some new frame it is also not servicing the presentation queue for current?
TheSwissKnife is offline   Reply With Quote