Dear John,<br><br>Thank you for your reply. <br><br>I'm not sure that there is anything wrong with my X environment. The application "tvtime", for instance, is able (with the same environment) to display flicker-free video with menus and channel information overlaid.<br>
<br>I'm still hoping for a better clue.<br><br>Thanks,<br><br>Justin<br><br><div class="gmail_quote">On Wed, Jun 4, 2008 at 9:37 AM, Bridgman, John <<a href="mailto:John.Bridgman@amd.com" target="_blank">John.Bridgman@amd.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
>>From: "Justin Anderson" <<a href="mailto:justin@rayonix.com" target="_blank">justin@rayonix.com</a>><br>
<br>
>>I'm trying to resolve a thorny issue. I'm working on an application<br>
built with C/X/Motif in which we have a window where the feed from a<br>
video camera is put. We also draw a set of "cross-hairs" (simply two<br>
lines) which can be moved with the mouse to target a point on the video<br>
feed (for user's visual reference). We add the video with the<br>
"XvPutVideo" command. Everything worked OK until the 6000 series of<br>
nVidia graphics cards (as well as ATI cards around-about that time).<br>
Since then, the cross-hairs are overdrawn by the video. If you move the<br>
mouse pointer over the video feed, the video flickers as you move around<br>
and, simultaneously, the crosshairs appear. When you stop moving, the<br>
crosshairs disappear and the video stops<br>
flickering. Accorging to the MythTV website, nVidia cards stopped<br>
having a Chroma Key feature with the 6000 series. I'm not sure if that<br>
has something to do with it.<br>
<br>
This makes sense. ATI cards also switched from using overlay-based video<br>
to shader-based video (aka TexturedVideo) rendered into the frame<br>
buffer, starting with the X1xxx discrete and RS6xx IGP parts.<br>
<br>
>>I think I can resolve the problem of the cross-hairs being overdrawn<br>
by the video feed if I add a Pixmap ClipMask which is black (0) where<br>
the cross-hairs are located and white (1) everywhere else. However, the<br>
video flickering is still present.<br>
<br>
My first thought is moving to a composited environment where (hopefully,<br>
maybe) the cross-hairs could be composited over top of the rendered<br>
video. Not sure, just a thought. The main issue is that the video image<br>
is now drawn directly into memory (allowing it to work with a<br>
compositing manager) rather than floating over the video memory and<br>
being composited via hardware.<br>
<br>
_______________________________________________<br>
xorg mailing list<br>
<a href="mailto:xorg@lists.freedesktop.org" target="_blank">xorg@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/xorg" target="_blank">http://lists.freedesktop.org/mailman/listinfo/xorg</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Justin Anderson<br>Software Engineer<br>Rayonix, LLC (formerly mar-usa)<br><a href="mailto:justin@rayonix.com" target="_blank">justin@rayonix.com</a><br>1880 Oak Ave. Ste. 120<br>
Evanston, IL 60201<br>
PH:847.869.1548<br>FX:847-869-1587