Problem with persistent scaling/shifting in RADEONDisplayVideo()

Corbin Simpson mostawesomedude at gmail.com
Mon Jul 28 06:12:23 PDT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Michel Dänzer wrote:
> On Mon, 2008-07-28 at 13:06 +0200, Thomas Hilber wrote:
>>> I assume this is due to scheduling latency between the vblank interrupt
>>> and the textured video rendering getting emitted from userspace. It may
>>> be possible to avoid this by synchronizing the textured video rendering
>>> to vertical blank, see
>>>
>>> http://cgit.freedesktop.org/~agd5f/xf86-video-ati/log/?h=vsync_accel
>> yeah! I already tried this. Syncronization with VBLANK itself is not a 
>> problem but the sheer vertical size of tearing area in texture mode.
> 
> If there is diagonal tearing, this indicates the 3D primitive used for
> textured video rendering is rendered as two consecutive triangles
> instead of as a single rectangle. It should be possible to fix this.

Indeed, Dave and Alex suggested to me that I do this, when I was bored a
week ago. (I ended up working on bicubic filtering for textured Xv instead.)

Delicious ASCII:

|\
| \
|  \
|   \
|____\
|    |\
| Xv | \
|----|__\

If somebody actually wants it, then perhaps I can take another look in a
bit.

~ C.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkiNxbcACgkQeCCY8PC5utBWggCaAwycqR3bDJF7IY5w5Rv1Wk4J
g68An2aLj0Bail/87e2qXdYeCHKLnMNi
=/RD2
-----END PGP SIGNATURE-----


More information about the xorg-driver-ati mailing list