Angelus sent me this patch for the problems he was having with the colorkey on the savage driver. I've been pretty busy so I was just now taking a look at it. I haven't tested it yet, but then again, I haven't had any problem with Xv on savage in the basic testing I've done. If it is indeed the correct fix, I'll apply it to the DRI savage driver.
Alex --- Stefan Lucke <[EMAIL PROTECTED]> wrote: > Hi, > > I came across some troubles with colorkeying on savage driver. > From the sources I saw that there is a different handling with color > key set > to zero vs. non-zero. From my opinion black should be treated as > other colors > too. > > I'd like to get some comments from driver developers. > > @ Angelus: Havn't seen your bugreport so I'll posted this on X-devel. > > Stefan Lucke > > On Sonntag, 18. April 2004 17:01, DOm wrote: > > On Sun, 18 Apr 2004 14:55:02 +0200 > > Stefan Lucke <[EMAIL PROTECTED]> wrote: > > > > > Hi Angelus, > > > > > > lets see if we can fake color key handling > > > Set the colorkey to 0x01000000. Thats an illegal value but there > are > > > no bound checks :-) it still works for me. > > > > > > fprintf(stderr,"[XvVideoOut]: setting XV_COLORKEY to > > > 0x01000000:"); if > > > (XvSetPortAttribute(dpy,port,atom_color_key,0x01000000) > == > > > Success) { > > > > > > If that works for you then we found a driver bug. From the source > > > colorkey of zero is handeld different from non-zero and with > above > > > change we'll go the nonzero way but with a pseudo zero value :-) > . > > > > > > > WOW! That really works !! You're great. :)) > > Well my setup is not really usable yet (no audio), but i begin to > see > > the light :) > > > > With this hack the OSD is shown _over_ the picture but the OSD > > background color is fully transparent not partially transparent, > but it > > is not important for me. > > > > Now, even with no active input device the osd is shown correctly, > > thanks. > > [ .. ] > > __________________________________ Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs http://hotjobs.sweepstakes.yahoo.com/careermakeover _______________________________________________ Devel mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/devel