[Bug 105251] [Vega10] GPU lockup on boot: VMC page fault
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Aug 22 20:21:43 UTC 2018
https://bugs.freedesktop.org/show_bug.cgi?id=105251
--- Comment #23 from Andrey Grodzovsky <andrey.grodzovsky at amd.com> ---
(In reply to CheatCodesOfLife from comment #22)
> 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 -
https://cgit.freedesktop.org/amd/umr/
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 -
https://cgit.freedesktop.org/~agd5f/linux/log/?h=amd-staging-drm-next
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/
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20180822/d8ec2170/attachment.html>
More information about the dri-devel
mailing list