[Bug 18542] [PATCH] Textured Video (XV) tearing.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Nov 24 06:15:15 PST 2008


http://bugs.freedesktop.org/show_bug.cgi?id=18542





--- Comment #21 from Michel Dänzer <michel at tungstengraphics.com>  2008-11-24 06:15:14 PST ---
(In reply to comment #20)
> > Yeah, as of R300 the 3D engine no longer seems to provide any primitive that
> > allows rendering a rectangle top to bottom in one pass. So the 'large triangle
> > plus scissor' trick would be needed.
> 
> How difficult is this? Could I, who have no insight into the R300 3D engine,
> pull it off in an afternoon, or is it a matter of first spending a week
> learning the hardware?

I think it should be possible; the only 3D engine specific part should be
setting up the scissor rectangle, which you can steal from the
RADEONInit3DEngine function (the R300_SC_SCISSOR0/1 registers). You may not
even need to set up the scissor rectangle for an initial proof of concept in
fullscreen.


> Those bits are for the legacy CRTC control. Is there an equivalent STALL bit
> for AtomBIOS, and if so, which bit is it?

What matters isn't ATOM but AVIVO vs. the legacy display engine. Looking at the
patch, there's the AVIVO_D1MODE_VLINE_START_END register.


> There is also the problem of mplayer getting tossed offscreen when composite
> is active, but that's another issue (which also should probably be solved in
> mplayer).

There's nothing mplayer can do about it. With compositing, (avoiding) tearing
is up to the compositing manager. Note that every decent compositing manager
should be able to unredirect fullscreen windows. I know at least compiz and
xfwm4 can.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the xorg-driver-ati mailing list