Prevent the Vulkan loader from writing to stdout

Hi!

Due to the nature of my application, I need to make sure no component writes to stdout (I use stdout exclusively for communication with another process and I cannot change it).

I started wondering whether the interaction with the Vulkan loader may possibly cause some output to be written to stdout.

As far as I can see all debug loader messages are written to stderr which is fine. But still, is there a possibility that some other Vulkan layer, driver writes to stdout instead of stderr? If that’s the case, is there a way in which my application can prevent such output from being written to stdout?

Thank you.

1 Like