[Xorg-driver-geode] Xv PutImage crash

Daniel Drake dsd at laptop.org
Mon Aug 2 15:48:47 PDT 2010


On 2 August 2010 15:06, Daniel Drake <dsd at laptop.org> wrote:
> It seems to me that the calculation of "size" (and hence
> total_dwords/dword_count) should consider the pitch of the input
> image, rather than the BPP set by gp_set_bpp(). This solves the crash:
>
>    /* CALCULATE THE SIZE OF ONE LINE */
>    size = pitch + indent;

It gets weirder. After applying this fix, the crash goes away and my
test video works fine.
(http://proxy-48.dailymotion.com/video/791/905/21509197%3aogg_theora_vorbis%3a255.ogg?auth=1280796338-6f471aa2c1113efb638177362c0625cf&cache=0)

But a low-resolution video (160x120) now hangs the machine before the
first frame is even displayed.
The 2 LXCopyFromSys calls complete fine, but it then hangs
indefinitely in gp_wait_until_idle (called from LXDisplayVideo from
LXPutImage).

It looks like after my change to not duplicate the copy of the lines,
the GPU never thinks it has completed the blit in the case of this
smaller video.

I tried disabling the "small blt case" codepath too, it still hangs.

Daniel


More information about the Xorg-driver-geode mailing list