mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 22:49:13 +02:00
docs: Add an alternative way to debug GPU hangs with RADV
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28849>
This commit is contained in:
parent
bb719640b5
commit
9a43987780
1 changed files with 12 additions and 0 deletions
|
|
@ -65,3 +65,15 @@ Under **Properties** -> **Installed Files**, click **Browse**, open
|
|||
at the top of the file. Hang debugging can be enabled by selecting the faulting
|
||||
game and adding ``RADV_DEBUG=hang %command%`` under **Properties** -> **General**
|
||||
-> **LAUNCH OPTIONS**.
|
||||
|
||||
Debugging hangs without RADV_DEBUG=hang
|
||||
---------------------------------------
|
||||
|
||||
In some situations, ``RADV_DEBUG=hang`` wouldn't be able to generate a GPU hang
|
||||
report, like for synchronization issues (because it enables
|
||||
``RADV_DEBUG=syncshaders`` behind the scene). An alternative solution is to
|
||||
disable GPU recovery by adding ``amdgpu.gpu_recovery=0`` to your kernel command
|
||||
line options. And then invoke UMR manually with
|
||||
``umr --by-pci <pci_id> -O bits,halt_waves -go 0 -wa <ring> -go 1 2>&1`` for
|
||||
dumping the waves and ``umr --by-pci <pci_id> -RS <ring> 2>&1`` for dumping the
|
||||
rings once the GPU hang occured.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue