Comments (8)
Can you please share full vkbasalt config so I can test it myself? Also please upload logs from the game (only the lines with obs-vkcapture are important).
from obs-vkcapture.
Can you please share full vkbasalt config so I can test it myself? Also please upload logs from the game (only the lines with obs-vkcapture are important).
Here is the vkBasalt.conf with the LUT used:
vkBasalt.tar.gz
The part of the log that mentions vkcapture is this:
17:27:20.939: [linux-vkcapture] Creating texture from dmabuf 2560x1440 modifier:144115188488387331
17:27:20.939: [linux-vkcapture] [0] fd:9 stride:10240 offset:0
17:27:20.939: [linux-vkcapture] [1] fd:10 stride:2560 offset:15728640
17:28:47.004: [linux-vkcapture] Creating texture from dmabuf 2560x1440 modifier:144115188488387331
17:28:47.004: [linux-vkcapture] [0] fd:9 stride:10240 offset:0
17:28:47.004: [linux-vkcapture] [1] fd:10 stride:2560 offset:15728640
17:29:09.796: [linux-vkcapture] Creating texture from dmabuf 2560x1440 modifier:144115188488387331
17:29:09.796: [linux-vkcapture] [0] fd:11 stride:10240 offset:0
17:29:09.796: [linux-vkcapture] [1] fd:38 stride:2560 offset:15728640
17:30:11.301: [linux-vkcapture] Creating texture from dmabuf 2560x1440 modifier:144115188488387331
17:30:11.301: [linux-vkcapture] [0] fd:9 stride:10240 offset:0
17:30:11.301: [linux-vkcapture] [1] fd:10 stride:2560 offset:15728640
from obs-vkcapture.
I've tried your vkbasalt config, but it "works" fine (as in, it is exactly the same dark image on screen and in OBS).
Does it happen in any game with this config? Maybe can you also try just with vkcube
?
from obs-vkcapture.
I've tried your vkbasalt config, but it "works" fine (as in, it is exactly the same dark image on screen and in OBS). Does it happen in any game with this config? Maybe can you also try just with
vkcube
?
I think the image on your screen is dark because there are some extra settings in the .fx files I forgot to add to my original
comment, sorry about that. The settings are:
in Curves.fx you need :
ui_tooltip = "The amount of contrast you want.";
= 0.05;
in FakeHDR.fx you need
uniform float HDRPower < __UNIFORM_SLIDER_FLOAT1
ui_min = 0.0; ui_max = 8.0;
ui_label = "Power";
= 1.20;
uniform float radius1 < __UNIFORM_SLIDER_FLOAT1
ui_min = 0.0; ui_max = 8.0;
ui_label = "Radius 1";
= 0.793;
uniform float radius2 < __UNIFORM_SLIDER_FLOAT1
ui_min = 0.0; ui_max = 8.0;
ui_label = "Radius 2";
ui_tooltip = "Raising this seems to make the effect stronger and also brighter.";
= 0.90;
You just need to change the numbers in the .fx files.
The issue described above happens in every game with this preset, yes. Also, the Black Ops 2(first image in my original comment) image was taken with no vkBasalt, so there are colour issues in games with no vkBasalt. So far, Black Ops 2 is the only game I've seen that has this issue and if I see this happening in other games, I'll report them here.
EDIT: I tried vkcube
with that preset and the result is the same as in DOOM Eternal: the vkcapture is way darker than what is in the actual game.
from obs-vkcapture.
I've changed the shader values and the image is not dark anymore, but of course it made no difference. The image is identical both on screen and in OBS (preview and in actual capture).
Can you please show terminal output of vkcube (not output from OBS)?
I can't test it with Black Ops 2 because I don't own the game.
from obs-vkcapture.
I've changed the shader values and the image is not dark anymore, but of course it made no difference. The image is identical both on screen and in OBS (preview and in actual capture).
Can you please show terminal output of vkcube (not output from OBS)?
I can't test it with Black Ops 2 because I don't own the game.
Running VK_INSTANCE_LAYERS=VK_LAYER_vkbasalt:VK_LAYER_OBS_vkcapture_64 ENABLE_VKBASALT=1 VKBASALT_CONFIG_FILE=/home/penguin/.steam/steam/steamapps/common/DOOMEternal/vkBasalt.conf obs-vkcapture vkcube
to start vkcube with vkBasalt and vkcapture gives the following output:
[obs-vkcapture] Init Vulkan 1.1.1
vkBasalt info: config file: /home/penguin/.steam/steam/steamapps/common/DOOMEternal/vkBasalt.conf
vkBasalt info: effects = colorfulness:hdr:contrast:lut
vkBasalt info: lutFile = /home/penguin/.steam/steam/steamapps/common/DOOMEternal/lut.png
vkBasalt info: colorfulness = /home/penguin/reshade-shaders-master/Shaders/Colourfulness.fx
vkBasalt info: hdr = /home/penguin/reshade-shaders-master/Shaders/FakeHDR.fx
vkBasalt info: contrast = /home/penguin/reshade-shaders-master/Shaders/Curves.fx
vkBasalt info: reshadeTexturePath = /home/penguin/reshade-shaders-master/Textures
vkBasalt info: reshadeIncludePath = /home/penguin/reshade-shaders-master/Shaders
Selected GPU 0: AMD RADV NAVY_FLOUNDER, type: 2
[obs-vkcapture] Injecting VK_KHR_external_memory_fd extension
[obs-vkcapture] Injecting VK_EXT_image_drm_format_modifier extension
[obs-vkcapture] Texture VK_FORMAT_B8G8R8A8_UNORM 1266x1385
[obs-vkcapture] ------------------ vulkan capture started ------------------
[obs-vkcapture] ------------------- vulkan capture freed -------------------
from obs-vkcapture.
Ok, I figured it out. In the scene I have set up for recording, I had the option "allow transparency" enabled in the game capture source. It appears that this messes with 100% of games that use I vkBasalt in, and a number of games that I don't use vkBasalt in. Disabling that fixed the issue.
from obs-vkcapture.
Alright, that makes sense.
from obs-vkcapture.
Related Issues (20)
- Failed to resolve glXGetProcAddress HOT 3
- after recent update obs-gamecapture stopped to work with a native OpenGL steam game HOT 13
- Request: Reduce or provide option to reduce verbosity HOT 5
- Feature Request: Exclude multiple windows from being captured HOT 2
- OBS crashes (it might take some time but eventually) when Advanced Scene Switcher checks if vkcapture has output HOT 1
- cannot install vkcapture 1.4.8 even with dependencies HOT 3
- VkCapture will not capture games HOT 3
- OpenGL capture not working after update of steam..? HOT 5
- unable to capture HDR. HOT 1
- Not working for game capture after Gnome 46 update HOT 2
- Help with building 32bit version of VKCapture HOT 1
- OBS Vulkan Capture stopped working for games running via Proton HOT 3
- What's the point of `linux-firmware-git` as a dependency? HOT 1
- Plans to make obs-vkcapture more quiet?
- Plans to make obs-vkcapture more quiet? HOT 1
- Does an environment variable exist for obs-gamecapture? HOT 2
- Severe degradation using obs-vkcapture together with gamescope on Steam games HOT 17
- Feature request: Possible environment variable to capture? HOT 1
- game capture will capture game video, but not audio HOT 1
- [Crash bug] Using vkcapture on Helldivers 2 will hard crash the system, leading to a black screen. You cannot recover. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from obs-vkcapture.