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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...