Hi there,

I found a shifting bug when using Xv accelerated video on a Voodoo3/3000
with virtual desktop sizes of less than or equal to 800x600. When
displaying the video picture (from a DVD), it gets shifted to the bottom
so that a part of it gets cut off. Time for some ASCII art:

How it is:

+----------------------------+
|                            |
|                            |  <- black frame
|                            |
+----------------------------+
|                            |
|                            |  <- video picture (upper part)
|                            |
|                            |
+----------------------------+

How it should be:

+----------------------------+
|                            |  <- black frame
+----------------------------+
|                            |
|                            |
|                            |  <- video picture (upper part)
|                            |
|                            |
+----------------------------+
|                            |  <- black frame
+----------------------------+

This is the same whether or not I use full screen display or windowed.
The applications I tried it with are mplayer, xine, the VideoLAN client
and ogle so I doubt that it's due to a bug in the client. I suppose it's
a bug in the XV driver for TDFX, since on other cards it gets displayed
just fine (Matrox G400 that is), just like with non-Xv display.

I skimmed X sources and _think_ that the culprit is to be found in
xc/programs/Xserver/hw/xfree86/drivers/tdfx/tdfx_video.c maybe along the
lines of TDFXClipVideo(). Unfortunately I'm a complete newbie when it
comes to the X server sources so I guess I'd need some
guidance/assistance if I were to solve the bug -- I even fear that in
this particular case I won't pass the "try patch and report" status, so
I hope that someone can help me here.

TIA,
Nils
-- 
 Nils Philippsen / Berliner Stra�e 39 / D-71229 Leonberg //
+49.7152.209647
[EMAIL PROTECTED] / [EMAIL PROTECTED] /
[EMAIL PROTECTED]
        Ever noticed that common sense isn't really all that common?

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to