doitsujin / dxvk

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

Hunt Showdown: Gamma Slider doesn't work #3291

Open onlyreportingissues opened 1 year ago

onlyreportingissues commented 1 year ago

The gamma slider doesn't work. The game probably uses the system settings to adjust the gamma on Windows. Can it be rebound on Linux to use another technique to adjust the gamma?

doitsujin commented 1 year ago

Can you please post a full wine/proton log?

As mentioned in the other report, this is probably not related to DXVK at all and therefore not something we can fix on our end.

Wine implements everything that's needed to change system gamma, but it won't work on Wayland sessions and it probably does not work with Proton's fshack.

onlyreportingissues commented 1 year ago

Can you please post a full wine/proton log?

As mentioned in the other report, this is probably not related to DXVK at all and therefore not something we can fix on our end.

Wine implements everything that's needed to change system gamma, but it won't work on Wayland sessions and it probably does not work with Proton's fshack.

steam-594650.log

onlyreportingissues commented 1 year ago

There is a workaround with ReShade by using Tonemap.fx's gamma slider, but ReShade will probably get banned because the community chose it as the main reason why they are losing non stop in every match (although depth buffer is blocked by ReShade in online games to prevent cheating, but well).

doitsujin commented 1 year ago

Can't find anything in the log. Are you running the game in exclusive fullscreen mode? If not, DXGI gamma control cannot work.

If that's still not it, no idea, debugging this is going to be a pain in the arse though due to EAC.

onlyreportingissues commented 1 year ago

Exclusive fullscreen is turned on, using Wayland though.

Apparently it's a CRYENGINE thing: https://docs.cryengine.com/display/CRYAUTOGEN/CONSOLEPREFIXR#AnchorRGAMMA

It changes the gamma at hardware-level only, not software-level. The option is called "r_gamma" in the game.cfg file.

Blisto91 commented 1 year ago

This can sadly not be tested with dxvk on Windows since EAC will flag the dxgi.dll as untrusted. (Which is good since that's kinda it's job)

uqs commented 1 year ago

Is there a way to force some other gamma setting via some env variable or other setting maybe?

Milliw commented 1 year ago

Is there a way to force some other gamma setting via some env variable or other setting maybe?

I was also looking for a similar solution hoping to find some dxvk argument to modify gamma. I used to use ReShade with tonemap.fx and later tonemap.fx with vkBasalt but at least latter method makes the game crash more often than "usual" -.-

There are other ways like using xrandr for example but since I'm on Gnome, Wayland with Nvidia this and other tools do not work at all. So annoying...

lucas-strummer commented 1 year ago

Same issue here.

OS: Debian 12 KERNEL: 6.1.0-9-amd64 CPU: AMD Ryzen 5 1600 GPU: AMD Radeon RX 580 Series GPU DRIVER: Mesa 22.3.6 RAM: 16 GB

ghost commented 7 months ago

Still bugged, hopefully they will do something with Engine Update