nowrep / obs-vkcapture

OBS Linux Vulkan/OpenGL game capture
GNU General Public License v2.0
508 stars 25 forks source link

problem with vkbasalt and capture #125

Closed mesmerx closed 1 year ago

mesmerx commented 1 year ago

when i am trying to use vkbasalt and the capture i am getting this

Screenshot 2022-12-26 19-22-40

even if no reshader is being used or the vkb is turn off, if i remove the VKB enable its back to normal

the normal: Screenshot 2022-12-26 19-15-19

nowrep commented 1 year ago

Is this with master? What GPU do you have?

mesmerx commented 1 year ago

oh sorry it`s with master using the git aur package for archlinux, with obs with git, but other versions that happens too and my gpu is a 6700 xt

mesmerx commented 1 year ago

i closed this by a missclick sorry haha

nowrep commented 1 year ago

Can you try reverting last commit? 4b7a50e Or with 1.2.2 release.

mesmerx commented 1 year ago

i`ll try and return about that

mesmerx commented 1 year ago

same with the 1.2.2

mesmerx commented 1 year ago

i tried the 2.1 and 2.0 same result

nowrep commented 1 year ago

Does it happen with every game (including vkcube) or just with the battle.net launcher?

mesmerx commented 1 year ago

it happens at least in battle net + overwatch, i'll try another games today and return here

mesmerx commented 1 year ago

oh.... it only happens in battle net and games launched by it ....

mesmerx commented 1 year ago

strange......... in the game itself (not the battle net) now its working as indented.... so i think i`ll close this , thx for the help :)

mesmerx commented 1 year ago

for anyoone with this problem what i did was the same as https://github.com/nowrep/obs-vkcapture/issues/14 cp ~/.config/vkBasalt/vkBasalt.conf ~/.local/share/vulkan/explicit_layer.d/ then VK_ADD_LAYER_PATH=/usr/share/vulkan/implicit_layer.d:$HOME/.local/share/vulkan/implicit_layer.d VK_LOADER_LAYERS_ENABLE="VK_LAYER_OBS_vkcapture_*" ENABLE_VKBASALT=1 __GL_DXVK_OPTIMIZATIONS=1 __GL_SHADER_DISK_CACHE=1 __GL_SHADER_DISK_CACHE_PATH="/home/mesmer/Overwatch" DXVK_ASYNC=1 mesa_glthread=true DXVK_CONFIG_FILE="/home/mesmer/Overwatch/dxvk.conf" DXVK_STATE_CACHE_PATH="/home/mesmer/Overwatch" obs-gamecapture mangohud %command% in steam fixes the problem

mesmerx commented 1 year ago

and i want to say thanks for all this work @nowrep i am using a lot of your projects and plugins right now including the amd encoder for obs, seriously you are a angel