gpuvis
gpuvis copied to clipboard
On SteamOS, gpuvis failed to visualize the captured trace file.
On SteamOS,
-
Use the sample scripts at folder ./gpuvis/sample to capture a event trace. $ sudo ./trace-cmd-setup.sh $ sudo ./trace-cmd-start-tracing.sh $ sudo ./trace-cmd-capture.sh $ sudo ./trace-cmd-stop-tracing.sh Then a file named trace_02-02-2023_13-20-27.dat is created
-
Use gpuvis application to visualize. $ gpuvis trace_02-02-2023_13-20-27.dat
It failed with errors shown as below.
[Error] read_header_files: header_page not found. [Error] read_trace_file: setjmp error called for trace_02-02-2023_13-20-27.dat [Error] load_trace_file(trace_02-02-2023_13-20-27.dat) failed.
Is there anybody experienced this error?
It is deeply appreciated for any suggestions.
Hi Wenyou. I think the issue you're running into is the same as this: https://github.com/mikesart/gpuvis/issues/50 And sorry - I'm currently working at another company and just haven't had time to fix this...
If you capture a trace on steamdeck via the devkit tool you won't encounter this issue: https://partner.steamgames.com/doc/steamdeck/loadgames
Once you have the devkit tool connected you can use the 'System Trace' button to capture and copy a gpuvis trace.