Nsight graphics fails to start Wayland based Vulkan application (on Arch Linux)

Hello!

I’m trying to run my Vulkan application through Nsight to try and figure out a descriptor issue. Unfortunately, when running under Wayland, the application fails to start. The application window shows up, but then immediately closes with the message “Failed to connect. The target process may have exited.”

I don’t believe this is an application specific issue as running the application normally does not cause issues; I’ve also confirmed that the Wayland version of the cube sample that’s bundled with the sdk also fails.

Things seem work better under X11 but only with certain apps(and unfortunately the app I’m trying to debug still doesn’t work for some reason but due to another issue). I’d prefer not to work under X11 if possible.

Is there something I could be missing in the setup? I did notice an error starting up the gui

qt.qpa.plugin: Could not load the Qt platform plugin “wayland” in “” even though it was found.

but didn’t think much of it since the app still appeared to function normally. Wondering if this might be the cause?

Nsight

I’m running 2024.2.1.0 (build 34953390)

OS

Running an Arch variant called CachyOS under KDE. Current kernel is 6.11.5-3-cachyos, KDE is 6.2.2

Any help is appreciated. Thank you.

Same here! Base vulkan cube sample is crashing with “VK_KHR_wayland_surface” incompatibility error. Forget about debugging anything on modern linux. Tested on Fedora workstation 41, Gnome 47. Come on NVidia!

Hello,
Thank your for using Nsight Graphics and sorry you ran into this issue. Please note that the CachyOS is not one of our supported Linux versions of Nsight Graphics. However, we will create a bug for the issue you observed regarding the Wayland app crashing after launching from Nsight Graphics and target the fix for a future release.
Regards,
Darrell

1 Like

Hello,
Thank you for using Nsight Graphics and sorry you ran into an additional issue with using the Vulkan cube sample and experiencing a crash on the Fedora OS. Note that the Fedora OS is also not one of our supported OS versions. However, we also believe this is a bug and therefore will create a bug for your use case and target the fix for a future release.
Regards,
Darrell