From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 105251] [Vega10] GPU lockup on boot: VMC page fault
Date: Thu, 04 Jul 2019 15:19:10 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1894080775=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id 200306E379
for ; Thu, 4 Jul 2019 15:19:11 +0000 (UTC)
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: dri-devel-bounces@lists.freedesktop.org
Sender: "dri-devel"
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
--===============1894080775==
Content-Type: multipart/alternative; boundary="15622535511.BA75ffbe7.31076"
Content-Transfer-Encoding: 7bit
--15622535511.BA75ffbe7.31076
Date: Thu, 4 Jul 2019 15:19:11 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.freedesktop.org/
Auto-Submitted: auto-generated
https://bugs.freedesktop.org/show_bug.cgi?id=3D105251
--- Comment #70 from Pierre-Eric Pelloux-Prayer ---
(In reply to zzyxpaw from comment #52)
> Created attachment 141522 [details]
> Logs + trace with patched mesa, plus example code which consistently
> triggers crash.
>=20
The example code is incorrect. Line 99:=20
glVertexAttribPointer(1, 2, GL_FLOAT, GL_FALSE, 5*sizeof(float),
&vertices[3]);
Should be:
glVertexAttribPointer(1, 2, GL_FLOAT, GL_FALSE, 5*sizeof(float), 3 *
sizeof(float));
(cf glVertexAttribPointer documentation: "pointer is treated as a byte offs=
et
into the buffer object's data store")
With this change the program runs correctly.
Note that even if the program is invalid it shouldn't hang the GPU. I'm wor=
king
on a fix for this.
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--15622535511.BA75ffbe7.31076
Date: Thu, 4 Jul 2019 15:19:11 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.freedesktop.org/
Auto-Submitted: auto-generated
Comme=
nt # 70
on bug 10525=
1
from Pierre=
-Eric Pelloux-Prayer
(In reply to zzyxpaw from comment #52)
> Created attachment 14152=
2 [details]
> Logs + trace with patched mesa, plus example code which consistently
> triggers crash.
>
The example code is incorrect. Line 99:=20
glVertexAttribPointer(1, 2, GL_FLOAT, GL_FALSE, 5*sizeof(float),
&vertices[3]);
Should be:
glVertexAttribPointer(1, 2, GL_FLOAT, GL_FALSE, 5*sizeof(float), 3 *
sizeof(float));
(cf glVertexAttribPointer documentation: "pointer is treated as a byte=
offset
into the buffer object's data store")
With this change the program runs correctly.
Note that even if the program is invalid it shouldn't hang the GPU. I'm wor=
king
on a fix for this.
You are receiving this mail because:
- You are the assignee for the bug.
=
--15622535511.BA75ffbe7.31076--
--===============1894080775==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs
--===============1894080775==--