tu: Implement VK_AMD_buffer_marker to support Graphics Flight Recorder
source link: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13553
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
tu: Implement VK_AMD_buffer_marker to support Graphics Flight Recorder
Graphics Flight Recorder is:
The Graphics Flight Recorder (GFR) is a Vulkan layer to help trackdown and identify the cause of GPU hangs and crashes. It works by instrumenting command buffers with completion tags.
See https://github.com/googlestadia/gfr
This is a nice little tool which could help quickly identify the call which hanged. Or if command buffer is executed for too long.
The tiling nature of our GPU shouldn't be a big issue aside from lower performance.
For non-segfault case, if:
- Hang happens at the same place in cmdbuf and draw/dispatch is not finished at that point - it is likely that there is an infinite loop in some of the shaders in this draw.
- Hang happens always in different place - likely there is nothing wrong and command buffer just takes too long to execute and you should try increasing hangcheck_period_ms. If it doesn't help it is likely a synchronization issue.
At the moment GFR unintentionally unconditionally requires VK_AMD_device_coherent_memory
(https://github.com/googlestadia/gfr/issues/5), which should be patched out in order to use it on Turnip.
Recommend
-
91
Java Flight Recorder (JFR) used to be a commercial add-on of the Oracle JDK. As it's been open sourced recently along with Java Mission Control, everyone using OpenJDK 11 can now troubleshoot their Java apps with this excellent tool for free of...
-
63
Few months back I had to do performance optimisation of a low latency application. The tool that helped me a lot was Java Flight Recorder. Today, I had to do some similar work and I completely forgot how I was able to lau...
-
17
Digging Into Sockets With Java Flight Recorder Let's look at one...
-
24
Transcript Vidstedt: Let's see if we can learn something about Flight Recorder today. I'm hoping that's why you're here because that's what I'm going to talk about. I'm M...
-
17
...
-
5
Article JDK Flight Recorder support for GraalVM Native Image: The journey so far ...
-
5
Graphics Flight Recorder - unknown but handy tool to debug GPU hangs January 4, 2022 3 minute read...
-
3
Graphics Flight Recorder The Graphics Flight Recorder (GFR) is a Vulkan layer to help trackdown and identify the cause of GPU hangs and crashes. It works by instrumenting command buffers with completion tags. When an error is dete...
-
1
VK_AMD_buffer_marker(3) VK_AMD_buffer_marker(3) Manual Page VK_AMD_buffer_marker - device extension Registered Exte...
-
5
Member ...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK