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: Wed, 29 Aug 2018 22:54:15 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1598410976==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 263566E661 for ; Wed, 29 Aug 2018 22:54:16 +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 --===============1598410976== Content-Type: multipart/alternative; boundary="15355832560.E3F92Dae.28614" Content-Transfer-Encoding: 7bit --15355832560.E3F92Dae.28614 Date: Wed, 29 Aug 2018 22:54:16 +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 #41 from CheatCodesOfLife --- (In reply to Andrey Grodzovsky from comment #40) > Marek Ol=C5=A1=C3=A1k, I still don't see the expected debug output. I loo= ked for > 'Buffer list' > CheatCodesOfLife, can you verify please you are running the patched versi= on > of MESA ? We tested yesterday the new prints and they do show on VM_FAULT= s. This is most likely my fault as I'm new to most of this sort of thing. This= is what I did, maybe you'll see where I went wrong: - Patch This is the patched version of src/gallium/drivers/radeonsi/si_gfx_cs.c http://termbin.com/ypet - Build I installed this build of mesa to a different prefix, rather than overridin= g my system install (I use this computer for work, everything). System install: glxinfo |grep Mesa\ 18 OpenGL core profile version string: 4.5 (Core Profile) Mesa 18.3.0-devel (git-e345247092) OpenGL version string: 4.4 (Compatibility Profile) Mesa 18.3.0-devel (git-e345247092) OpenGL ES profile version string: OpenGL ES 3.2 Mesa 18.3.0-devel (git-e345247092) New build: OpenGL core profile version string: 4.5 (Core Profile) Mesa 18.3.0-devel (git-a72dbc461b) OpenGL version string: 4.4 (Compatibility Profile) Mesa 18.3.0-devel (git-a72dbc461b) OpenGL ES profile version string: OpenGL ES 3.2 Mesa 18.3.0-devel (git-a72dbc461b) - Running: I then ran Cemu like this: LD_LIBRARY_PATH=3D/home/paul/mesa_log/lib/ GALLIUM_HUD=3D"fps" GALLIUM_DDEB= UG=3D1000 wine64 Cemu.exe I know wine lets you do this because this is how we used to use a fork of m= esa called 'mesa_mild' to get the required compatibility profile prior to mesa = 18.2 which provided core compatibility 4.4 If installing to a prefix like that isn't adequate for this testing, let me know and I'll re-install the OS on an external drive, do a system-wide inst= all of this patched mesa and try again. --=20 You are receiving this mail because: You are the assignee for the bug.= --15355832560.E3F92Dae.28614 Date: Wed, 29 Aug 2018 22:54:16 +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 # 41 on bug 10525= 1 from CheatCodesOfLife
(In reply to Andrey Grodzovsky from comment #40)
> Marek Ol=C5=A1=C3=A1k, I still don't see the exp=
ected debug output. I looked for
> 'Buffer list'
> CheatCodesOfLife, can you verify please you are running the patched ve=
rsion
> of MESA ? We tested yesterday the new prints and they do show on VM_FA=
ULTs.

This is most likely my fault as I'm new to most of this sort of thing. This=
 is
what I did, maybe you'll see where I went wrong:

- Patch
This is the patched version of src/gallium/drivers/radeonsi/si_gfx_cs.c
http://termbin.com/ypet

- Build
I installed this build of mesa to a different prefix, rather than overridin=
g my
system install (I use this computer for work, everything).

System install:
glxinfo |grep Mesa\ 18
OpenGL core profile version string: 4.5 (Core Profile) Mesa 18.3.0-devel
(git-e345247092)
OpenGL version string: 4.4 (Compatibility Profile) Mesa 18.3.0-devel
(git-e345247092)
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 18.3.0-devel
(git-e345247092)

New build:

OpenGL core profile version string: 4.5 (Core Profile) Mesa 18.3.0-devel
(git-a72dbc461b)
OpenGL version string: 4.4 (Compatibility Profile) Mesa 18.3.0-devel
(git-a72dbc461b)
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 18.3.0-devel
(git-a72dbc461b)

- Running:
I then ran Cemu like this:
LD_LIBRARY_PATH=3D/home/paul/mesa_log/lib/ GALLIUM_HUD=3D"fps" GA=
LLIUM_DDEBUG=3D1000
wine64 Cemu.exe

I know wine lets you do this because this is how we used to use a fork of m=
esa
called 'mesa_mild' to get the required compatibility profile prior to mesa =
18.2
which provided core compatibility 4.4

If installing to a prefix like that isn't adequate for this testing, let me
know and I'll re-install the OS on an external drive, do a system-wide inst=
all
of this patched mesa and try again.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15355832560.E3F92Dae.28614-- --===============1598410976== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1598410976==--