| ▲ | slightlygrilled 2 hours ago | |||||||
On web there is SpectorJS https://spector.babylonjs.com/ Which offers the basics, but at least works across devices, you can also trigger the traces from code and save the output, then load in the extension. Very useful for debugging mobile. You can just about run chrome through Nvidias Nsight (of course you're not debugging webgl, but the what ever its translated to on the platform), although I recently tired again and it seems to fail... these where the command line args i got nsight to pass chrome to make it work " --disable-gpu-sandbox --disable-gpu-watchdog --enable-dawn-features=emit_hlsl_debug_symbols,disable_symbol_renaming --no-sandbox --disable-direct-composition --use-angle=vulkan <URL> " but yeah really really wish the tooling was better, especially on performance tracing, currently it's just disable and enable things and guess... | ||||||||
| ▲ | pjmlp 2 hours ago | parent [-] | |||||||
SpectorJS is kind of abandoned nowadays, it hardly has changed and doesn't support WebGPU. Running the whole browser rendering stack is a masochist exercise, I rather re-code the algorithm in native code, or go back into pixel debugging. I would vouch the state of bad tooling, and how browsers blacklist users systems, is a big reason studios rather try out streaming instead of rendering on the browser. | ||||||||
| ||||||||