<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [Vega10] GPU lockup on boot: VMC page fault"
href="https://bugs.freedesktop.org/show_bug.cgi?id=105251#c24">Comment # 24</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [Vega10] GPU lockup on boot: VMC page fault"
href="https://bugs.freedesktop.org/show_bug.cgi?id=105251">bug 105251</a>
from <span class="vcard"><a class="email" href="mailto:mesa@suchmail.net" title="CheatCodesOfLife <mesa@suchmail.net>"> <span class="fn">CheatCodesOfLife</span></a>
</span></b>
<pre>(In reply to Andrey Grodzovsky from <a href="show_bug.cgi?id=105251#c23">comment #23</a>)
<span class="quote">> (In reply to CheatCodesOfLife from <a href="show_bug.cgi?id=105251#c22">comment #22</a>)
> > You're welcome.
> >
> > Not the exact same problem, no. I can get a hard-lock by trying to use
> > amdvlk to play rpcs3, but it doesn't produce the same error and it's not as
> > consistent (takes up to 15 minutes to crash)
> >
> > Not sure if it's worth noting but I went back and tried every Cemu version
> > back to 1.5 and a lot of wine versions going back to 2.8. It happens every
> > time as soon as the game loads.
>
> Let's try to get some debug info for the VMC page fault then -
>
> Clone and build our open source register analyzer from here -
> <a href="https://cgit.freedesktop.org/amd/umr/">https://cgit.freedesktop.org/amd/umr/</a>
> Install trace-cmd utility
> Load driver with cmd line parameter amdgpu.vm_fault_stop=2 from grub
> P.S Best to use latest kernel from here -
> <a href="https://cgit.freedesktop.org/~agd5f/linux/log/?h=amd-staging-drm-next">https://cgit.freedesktop.org/~agd5f/linux/log/?h=amd-staging-drm-next</a>
>
> After desktop is loaded type
>
> sudo trace-cmd start -e dma_fence -e gpu_scheduler -e amdgpu -v -e
> "amdgpu:amdgpu_mm_rreg" -e "amdgpu:amdgpu_mm_wreg" -e "amdgpu:amdgpu_iv"
> to enable kernel event tracing log
>
> If possible to launch the game from shell then prepend the command with
> GALLIUM_DDEBUG=always
> to dump all the MESA commands into files in ~/ddebug_dumps/
>
>
> Start the game. When the problem happens do the following -
>
> as root
> cd /sys/kernel/debug/tracing && cat trace > event_dump
>
> as normal user or root
> sudo umr -lb > umr_dump
> sudo umr -O verbose,use_colour -R gfx[.] >> umr_dump
> sudo umr -O halt_waves,use_colour -wa >> umr_dump
> dmesg > dmesg_dump
>
> Upload a tar/zip of all those files + all the files from ~/ddebug_dumps/</span >
Thanks for the instructions. I think I've followed them correctly. I didn't
build the amd-drm-next kernel as it'll be an overnight job (slow internet
speeds) but I did add the grub parameters. I have attached the files.</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>