gpuvis icon indicating copy to clipboard operation
gpuvis copied to clipboard

On SteamOS, gpuvis failed to visualize the captured trace file.

Open wenyouyang opened this issue 2 years ago • 2 comments

On SteamOS,

  1. 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

  2. Use gpuvis application to visualize. $ gpuvis trace_02-02-2023_13-20-27.dat

It failed with errors shown as below. image

[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.

wenyouyang avatar Feb 02 '23 05:02 wenyouyang

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...

mikesart avatar Feb 07 '23 22:02 mikesart

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.

lostgoat avatar Feb 07 '23 22:02 lostgoat