kylegospo/vk_hdr_layer

Project ID: 105256

Description

Vulkan Wayland HDR WSI Layer

Vulkan layer utilizing work-in-progress versions of the color management/representation protocols.

Implements the following vulkan extensions by utilizing the listed wayland protocols, if made available by the compositor.

No compositor currently has a merged implementations of these protocols and no compositor should given these are snapshots of unfinished extensions. This is for testing purposes only!

Testing with gamescope

There aren't many vulkan clients to choose from right now, that run on wayland and can make use of the previously mentioned extensions. One of these clients is gamescope, which can run nested as a wayland client. As such it can forward HDR metadata of HDR windows games running inside of it via DXVK.

Given gamescope utilizes it's own vulkan layer and creative.. hacks to support this, setting up can be a bit convoluted. You want to enable this layer for gamescope, but not for it's clients.

Here is an example command line (assuming this layer has been installed to the system as an implicit layer): env ENABLE_HDR_WSI=1 gamescope --hdr-enabled -- env DISABLE_HDR_WSI=1 steam -bigpicture

Debugging what layers are being loaded can be done by setting VK_LOADER_DEBUG=error,warn,info.

Getting games to enable HDR might need Proton Experimental to be used in Steam as well as the following environment variables to be sure: ENABLE_GAMESCOPE_WSI=1 DXVK_HDR=1

Installation Instructions

Hacks. Don't use for serious color work

Active Releases

The following unofficial repositories are provided as-is by owner of this project. Contact the owner directly for bugs or issues (IE: not bugzilla).

Release Architectures Repo Download
Fedora 38 i386 (91)*, x86_64 (90)* Fedora 38 multilib x86_64+i386 (0 downloads)
Fedora 39 i386 (24730)*, x86_64 (24756)* Fedora 39 multilib x86_64+i386 (13584 downloads)
Fedora 40 i386 (2595)*, x86_64 (2754)* Fedora 40 multilib x86_64+i386 (3797 downloads)
Fedora 41 i386 (8)*, x86_64 (24)* Fedora 41 multilib x86_64+i386 (33 downloads)
Fedora rawhide i386 (39)*, x86_64 (98)* Fedora rawhide multilib x86_64+i386 (207 downloads)

* Total number of downloaded packages.