<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - X server crash in nouveau_xv.c:NVPutImage (NVCopyNV12ColorPlanes)"
href="https://bugs.freedesktop.org/show_bug.cgi?id=63263#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - X server crash in nouveau_xv.c:NVPutImage (NVCopyNV12ColorPlanes)"
href="https://bugs.freedesktop.org/show_bug.cgi?id=63263">bug 63263</a>
from <span class="vcard"><a class="email" href="mailto:imirkin@alum.mit.edu" title="Ilia Mirkin <imirkin@alum.mit.edu>"> <span class="fn">Ilia Mirkin</span></a>
</span></b>
<pre>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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>