[Xorg-driver-geode] Xv PutImage crash
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.
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
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
I tried disabling the "small blt case" codepath too, it still hangs.
More information about the Xorg-driver-geode