<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3314" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=076441921-09062008><FONT face=Arial
color=#0000ff size=2>Are you sure that both players are using the same Xv port ?
The radeon driver exposes both overlay and textured video ports on older cards;
it's up to the player to choose which they use, and different players have
different defaults AFAIK.</FONT></SPAN></DIV>
<DIV><SPAN class=076441921-09062008><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=076441921-09062008><FONT face=Arial color=#0000ff size=2>Which
card are you actually using ? NVidia or ATI, and which model
?</FONT></SPAN></DIV>
<DIV><SPAN class=076441921-09062008><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=076441921-09062008><FONT face=Arial color=#0000ff
size=2>JB</FONT></SPAN></DIV>
<DIV dir=ltr align=left><BR></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Justin Anderson
[mailto:justin@rayonix.com] <BR><B>Sent:</B> Monday, June 09, 2008 3:31
PM<BR><B>To:</B> Bridgman, John<BR><B>Cc:</B>
xorg@lists.freedesktop.org<BR><B>Subject:</B> Re: XVideo (Xv) feed flickers on
mouse-over with certain video<BR></FONT><BR></DIV>
<DIV></DIV>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="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">>>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 </BODY></HTML>