Jump to content

How to verify that Vulkan is being used


andy5995
 Share

Recommended Posts

What's the best way to verify that vulkan is being used as the backend? I have the option set in my config and there are no errors or warnings in the console. Is that mostly a guarantee vulkan is being used properly, or is there something in the log I could look at to verify with certainty that vulkan is being used? I did see this in mainlog:


 

Quote

 

Vulkan validation layer: 'VK_LAYER_VALVE_steam_overlay_64' (Steam Overlay Layer) v0.1.3.207

Vulkan validation layer: 'VK_LAYER_VALVE_steam_fossilize_32' (Steam Pipeline Caching Layer) v0.1.3.207

Vulkan validation layer: 'VK_LAYER_VALVE_steam_overlay_32' (Steam Overlay Layer) v0.1.3.207

Vulkan validation layer: 'VK_LAYER_VALVE_steam_fossilize_64' (Steam Pipeline Caching Layer) v0.1.3.207

Vulkan validation layer: 'VK_LAYER_NV_optimus' (NVIDIA Optimus layer) v0.1.3.277

Vulkan available device: 'AMD Radeon Graphics (RADV RENOIR)' Type: 1 Supported: Y

 

 

Link to comment
Share on other sites

3 minutes ago, andy5995 said:

What's the best way to verify that vulkan is being used as the backend? I have the option set in my config and there are no errors or warnings in the console. Is that mostly a guarantee vulkan is being used properly, or is there something in the log I could look at to verify with certainty that vulkan is being used? I did see this in mainlog:

If your backend is set to Vulkan and no errors on start (like switching to GL) then Vulkan is working. 100% check is to look at the userreport_hwdetect file at "renderer_backend"."name".

  • Thanks 2
Link to comment
Share on other sites

@andy5995

By using mangohud https://github.com/flightlessmango/MangoHud one can for example launch the AppImage with it from the command line:
mangohud ./0ad-0.27.0-x86_64.AppImage

Or if having a packaged version installed it would be:
mangohud 0ad

And when Vulkan is enabled the HUD will be displayed and among the default info, it would mention Vulkan.
mangohud might not work in OpenGL mode with some games: https://github.com/flightlessmango/MangoHud?tab=readme-ov-file#opengl

  • Thanks 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...