https://bugs.freedesktop.org/show_bug.cgi?id=63263

--- Comment #3 from Ilia Mirkin <[email protected]> ---
Looks like my npixels vs line_len guess was right:

[741217.047] (WW) NOUVEAU(0): Inconsistency between NVPutImage and
NVQueryImageAttributes: src_x: 0, src_y: 0, src_w: 512, src_h: 384, top: 0,
left: 102, bottom: 384, right: 512, npixels: 410, nlines: 384, line_len: 416,
srcPitch2: 256, s2offset: 196659, s3offset: 245811, bytes: 49104, size_tmp:
294912, over: 3
[741217.047] (WW) NOUVEAU(0): Went too far: us: 0x7f7e20b6c002, vs:
0x7f7e20b78002, end (non-incl): 0x7f7e20b78000

And the reason I only see it when the picture is off-screen is because normally
the width is already a multiple of 8. Not sure what the right way of fixing it
is though... I think we can just use npixels instead of line_len as the width
parameter. However that will leave the last 1-3 pixels in the dst buffer
uninitialized. Not sure if that's OK.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

Reply via email to