Vulkaninfo not working over ssh, when -X is set

i want to develop remotely over ssh on an Ubuntu 22.4.1 LTS machine with a RTX 2080 and cant use Vulkan while X forwarding is enabled.

When I run vulkaninfo without x forwarding it works fine. If i enable it, the program crashes without an error message.
I found this thread and wanted to ask, if this is still the case, or if there is workaround.

Anything, that will allow me to see the window output on my local machine will help. Ideally this will happen as seamless as it does with the ssh extension of vs code.

Kind regards,