libretro / RetroArch

Cross-platform, sophisticated frontend for the libretro API. Licensed GPLv3.
http://www.libretro.com
GNU General Public License v3.0
10.3k stars 1.84k forks source link

Windows HDR and certain video drivers: gl / glcore / vulkan #11752

Open livid opened 3 years ago

livid commented 3 years ago

I am not sure if this is a known issue, but a search for "Windows HDR" returns no open issues, so I open it here.

Description

When using certain video drivers like gl, glcore, and vulkan, if Windows HD Color is enabled, after quitting RetroArch, the whole Windows desktop would become very dim.

But d3d11 does not have such a problem.

Expected behavior

Windows desktop color display should not be affected after quitting RetroArch using gl, glcore, or vulkan.

Actual behavior

Windows desktop color display becomes dim after quitting RetroArch.

Version/Commit

Environment information

freecodecampster commented 3 years ago

I've found that to stop HDR turning off and for shaders to still work under Windows 10 I have to change video to d3d11 in these two places: Drivers>video>d3d11 Video>output>video>d3d11

GPU: RTX 3070 with 461.92 driver

livid commented 3 years ago

Switching the video driver to d3d11 does make this HDR issue went away, but it introduces another problem. Arcade core FBNeo would no longer properly output titles that need a vertical display. See attached.

image

That issue is #7660

kanjieater commented 3 months ago

I'm experiencing this now as well. HDR fails to show an option for Vulkan but is fine for d3d11