Re: VRM9 and D3DPRESENT_INTERVAL_ONE

From: Holger Grahn (spam_at_x79.net)
Date: 03/22/05


Date: Wed, 23 Mar 2005 00:31:15 +0100


Hi Ley
yes, I have exactly the same problem.
The reason I guess that the driver buffers all Direct X drawing calls upto
several frames in advance,
device->Present then starts a hard blocking without giving other threads a
chance to get CPU time.
Only some direct 3d / hardware driver guys could help.
There is no Signal HANDLE in Direct3D to wait in parallel until a backbuffer
present is finally finished
or a way to specify the prerender frame limit. (Some old Nividia Drivers
sometimes exposed this setting with a default
of 3 frames)

Greetings
Holger

"Ley" <Ley@discussions.microsoft.com> schrieb im Newsbeitrag
news:9AD46E15-98F8-4F54-9BB5-55F0865DC7AF@microsoft.com...
> Hello,
>
> I have implemented video support in my 3D application using the VMR9 and a
> custom presenter/allocator. As my application has its own 3D rendering
> loop
> and I started with the VMRAllocator9 sample, I use mutex and double
> buffering
> textures to avoid concurency problem when accessing my video texture from
> the
> video thread or from my 3D loop thread. And everything works fine except
> in
> one case: when I am using the D3DPRESENT_INTERVAL_ONE with a fullscreen 3D
> Device. In this case, the PresentImage() method of my custom
> presenter/allocator is never called. I therefore have the 3D rendering
> running at 60 FPS, but no video update on my texture. It is as if the
> video
> decoding was completely stopped in this particular case.
>
> I couldn't solve this problem so far, so does anybody had the same trouble
> or an idea of what is going on ?
>
> Thanks in advance,
> Ley.



Relevant Pages

  • Re: D3DPRESENTFLAG_VIDEO
    ... video data is temporal in nature, and depends on information from previous ... basically key frames and intermediate frames. ... so perhaps, if the driver knew it was going to handle video, it might keep ... > choose to do in case it gets that hint. ...
    (microsoft.public.win32.programmer.directx.graphics)
  • Re: How to have better quality display?
    ... I no longer have access either to the hardware or the specs related to this driver, so my support for it is limited to things that require neither. ... I committed a major update to the Intel 830M and 845G chipset support to both the XFree86 CVS trunk and DRI CVS trunk. ... A patch based on Christian Zietz's code to tell the video BIOS about extra video memory that has been allocated was committed to the XFree86 CVS trunk. ...
    (Debian-User)
  • Re: WHat does the error mean: The WMI Performance Adapter service
    ... That type of error is usually caused by a bad video card, ... likely need to swap out the monitor as well to be absolutely certain. ... Download the latest video driver for your card online, ...
    (microsoft.public.windowsxp.games)
  • Re: Intel 82865G driver
    ... David Dawes: 830M/845G/852GM/855GM/865G Driver ... I no longer have access either to the hardware or the specs related to this driver, so my support for it is limited to things that require neither. ... I committed a major update to the Intel 830M and 845G chipset support to both the XFree86 CVS trunk and DRI CVS trunk. ... A patch based on Christian Zietz's code to tell the video BIOS about extra video memory that has been allocated was committed to the XFree86 CVS trunk. ...
    (Debian-User)
  • Re: Linux, X, ld, gcc, linking, shared libraries and stuff
    ... >> because, originally, video cards / system RAM could NOT afford to have ... > GL actually "copies" everything, but it's done by the graphics card, so ... > anyway if it's not hardware accelerated. ... installed the proper driver, then it zooms around the screen... ...
    (alt.lang.asm)