Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request: Reduce or provide option to reduce verbosity #193

Closed
GloriousEggroll opened this issue Jan 26, 2024 · 5 comments
Closed

Request: Reduce or provide option to reduce verbosity #193

GloriousEggroll opened this issue Jan 26, 2024 · 5 comments

Comments

@GloriousEggroll
Copy link

In nobara we have the obs-vkcapture vulkan layer enabled globally. sometimes when running things in terminal such as winetricks for example, we get a lot of needless spam:

[obs-vkcapture] Init Vulkan 1.4.7 (32bit)
[obs-vkcapture] CreateInstance
[obs-vkcapture] CreateInstance VK_SUCCESS
[obs-vkcapture] DestroyInstance
[obs-vkcapture] Init Vulkan 1.4.7 (64bit)
[obs-vkcapture] CreateInstance
[obs-vkcapture] CreateInstance VK_SUCCESS
[obs-vkcapture] DestroyInstance
[obs-vkcapture] Init Vulkan 1.4.7 (32bit)
[obs-vkcapture] CreateInstance
[obs-vkcapture] CreateInstance VK_SUCCESS
[obs-vkcapture] DestroyInstance
[obs-vkcapture] Init Vulkan 1.4.7 (64bit)
[obs-vkcapture] CreateInstance
[obs-vkcapture] CreateInstance VK_SUCCESS
[obs-vkcapture] DestroyInstance
[obs-vkcapture] Init Vulkan 1.4.7 (32bit)
[obs-vkcapture] CreateInstance
[obs-vkcapture] CreateInstance VK_SUCCESS
[obs-vkcapture] DestroyInstance
[obs-vkcapture] Init Vulkan 1.4.7 (64bit)
[obs-vkcapture] CreateInstance
[obs-vkcapture] CreateInstance VK_SUCCESS
[obs-vkcapture] DestroyInstance
[obs-vkcapture] Init Vulkan 1.4.7 (32bit)
[obs-vkcapture] CreateInstance
[obs-vkcapture] CreateInstance VK_SUCCESS
[obs-vkcapture] DestroyInstance
@nowrep
Copy link
Owner

nowrep commented Jan 26, 2024

It's only enabled in debug builds.

@nowrep
Copy link
Owner

nowrep commented Jan 26, 2024

Try to explicitly set -DCMAKE_BUILD_TYPE=Release, not sure what's the default (it may be debug actually).

@GloriousEggroll
Copy link
Author

Try to explicitly set -DCMAKE_BUILD_TYPE=Release, not sure what's the default (it may be debug actually).

i did, while the create/destroy messages are gone, i still get Init Vulkan messages:

[obs-vkcapture] Init Vulkan 1.4.8 (64bit)
[obs-vkcapture] Init Vulkan 1.4.8 (64bit)
[obs-vkcapture] Init Vulkan 1.4.8 (64bit)
[obs-vkcapture] Init Vulkan 1.4.8 (32bit)
[obs-vkcapture] Init Vulkan 1.4.8 (32bit)
[obs-vkcapture] Init Vulkan 1.4.8 (32bit)
[obs-vkcapture] Init Vulkan 1.4.8 (64bit)
[obs-vkcapture] Init Vulkan 1.4.8 (64bit)
[obs-vkcapture] Init Vulkan 1.4.8 (64bit)
[obs-vkcapture] Init Vulkan 1.4.8 (64bit)
[obs-vkcapture] Init Vulkan 1.4.8 (64bit)
[obs-vkcapture] Init Vulkan 1.4.8 (32bit)
[obs-vkcapture] Init Vulkan 1.4.8 (32bit)
[obs-vkcapture] Init Vulkan 1.4.8 (32bit)
[obs-vkcapture] Init Vulkan 1.4.8 (32bit)
[obs-vkcapture] Init Vulkan 1.4.8 (32bit)
[obs-vkcapture] Init Vulkan 1.4.8 (32bit)

@nowrep
Copy link
Owner

nowrep commented Jan 27, 2024

One message per vkCreateInstance is fine, it also helps with debugging issues with loading the layer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants