Failed to attach to Chrome (on Linux)

Hi,

I’m attempting to use Nsight Graphics 2023.3.2 with Chrome 119 on Ubuntu 22.04, to debug WebGL applications. Despite trying launching Chrome with the flags mentioned by the documentation, I’m still left in the “Searching for attachable process 88351 on local socket…” state forever. I’ve confirmed ANGLE is set to use OpenGL, and I’ve made sure no existing Chrome processes are running.

Can you confirm that Nsight Graphics 2023.3.2 is able to launch Chrome? And if so, what flags/settings are necessary?

Best regards,
Eirik

Hi,

Thanks for using Nsight Graphics and give us your feedback. I am sorry that you meet such issue.

I take some try, it seems this issue only happens on Linux, and it’s fine on Windows. An internal case is created for tracking this.

Thanks
An

Hi,

Thanks for the reply, and I look forward to any update on this isse when you know more.

In the meantime I’ve tested this on Windows. I’m able to use the Frame Debugger, but no luck with GPU Trace Profiler, which is what I originally wanted to run.

The setup I’m using is:

Running Nsight Graphics 2023.3.2 as Administrator
Executable: C:/Program Files (x86)/Google/Chrome/Application/chrome.exe
Arguments: --no-sandbox --disable-gpu-watchdog --gpu-startup-dialog
Activity: GPU Trace Profiler with default parameters. Using Turing (RTX 2080 Ti).

Windows 10
Chrome 119
NVIDIA Driver 546.17

Launching and attaching works fine, but the “Generate GPU Trace Capture” button is greyed out. After about 20 seconds, it sometimes turns white (clickable), but when clicking it, I’m presented with a “Capture Error: No data source is available - Make sure the application is using a supported API”. I’m running Chrome with the ANGLE backend set to OpenGL, and I’ve confirmed this is indeed the case using chrome://gpu.

Any idea what I’m doing wrong here?

Best regards,
Eirik

Hi eirik.legernaes,

That’s expected, since GPUTrace only support D3D12 and Vulkan API, and you choose to use OpenGL as the backend Graphics API.

Thanks
An

Ah, okey. In that case I suggest you modify the dialog to show the correct info in a future version:

Oh, Sorry that I miss checked your Nsight Version, you are using the latest Nsight which supports OpenGL, I need to be more careful before I click send.

I still need some time to check your question. Sorry.

Thanks
An

No worries! Thanks for your help so far. I’ll try to use D3D12 with GPU Trace.

Hi eirik.legernaes,

I am sorry about the issue you have meet and I get some reproduce on my test machine, another internal case has been created to track this.

Thanks
An