From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org
Subject: [Bug 63263] X server crash in nouveau_xv.c:NVPutImage
(NVCopyNV12ColorPlanes)
Date: Thu, 11 Apr 2013 02:06:59 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0325324434=="
Return-path:
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Sender: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Errors-To: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
List-Id: nouveau.vger.kernel.org
--===============0325324434==
Content-Type: multipart/alternative; boundary="1365646019.B737E11.12883"; charset="us-ascii"
--1365646019.B737E11.12883
Date: Thu, 11 Apr 2013 02:06:59 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
https://bugs.freedesktop.org/show_bug.cgi?id=63263
--- Comment #3 from Ilia Mirkin ---
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.
--1365646019.B737E11.12883
Date: Thu, 11 Apr 2013 02:06:59 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Comment # 3
on bug 63263
from Ilia Mirkin
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.
--1365646019.B737E11.12883--
--===============0325324434==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/nouveau
--===============0325324434==--