doitsujin / dxvk

Vulkan-based implementation of D3D8, 9, 10 and 11 for Linux / Wine
zlib License
13.41k stars 867 forks source link

Almost perfect.... Most games gets darker 20-30%... #3749

Open bocauman opened 11 months ago

bocauman commented 11 months ago

Hi team,

I used DXVK 2.3 on my old games, Left 4 Dead 2, Team Fortress 2, Payday 2. all 3 of them runs great, except that screen brightness/gamma always get reduced by 20-30%.

for Days Gone and God of War, the screen brightness was ok, i think it detected HDR screen properly. these all running windows 11.

i have tried to change various windows/nvidia settings such as optimize windowed games, compatibility mode, vulkan present methods, etc... non worked.

any possible way to fix this? perhaps i missed something..

thanks, team.... good work....

System information

K0bin commented 11 months ago

This doesn't happen for me and it's also the first time I've heard anything like that.

bocauman commented 11 months ago

Thanks for your reply K0bin,

I am not sure what went wrong, but i think it has something to do either with HDR/AutoHDR/Advance Optimus or Windows borderless/fullscreen things. I suspect this because i noticed screen will momentarily back to normal brightness while i am alt-tabbing, then back to dim screen (strange behavior).

also, world war z which has vulkan native support also has dimmer screen, but if i enable prefered layered on DXGI swapchain, the screen will be normal as in DX11. but, Sniper Elite 5 and others which have native vulkan support don't have this behavior

thanks.

K0bin commented 11 months ago

That sounds like an issue which is firmly outside our control.

Keep in mind that Windows isn't really supported by DXVK.

BugFixer300 commented 7 months ago

If the game doesn't support Vulkan use: enable prefered layered on DXGI swapchain

K0bin commented 7 months ago

If the game doesn't support Vulkan use: enable prefered layered on DXGI swapchain

@BugFixer300 That will break DXVK D3D11.

Discomarrow1 commented 2 months ago

Huh, i have the same problem, but my games gets brigther