:orphan: .. _radv-debug-hang: Debugging GPU hangs with RADV ============================= UMR (optional) -------------- UMR is needed for dumping a lot of useful information. Clone, build and install `UMR `__. Do not forget to run ``chmod +s $(which umr)`` so RADV can actually access UMR. UMR needs to access some kernel debug interfaces: .. code-block:: sh chmod 777 /sys/kernel/debug chmod -R 777 /sys/kernel/debug/dri Secure boot has to be disabled as well. Generating and analyzing hang reports ------------------------------------- With UMR installed, you can now set ``RADV_DEBUG=hang`` which makes RADV insert trace markers and synchronization and check for hangs. The hang report will be saved to ``~/radv_dumps__