ValveSoftware / gamescope

SteamOS session compositing window manager
Other
2.84k stars 189 forks source link

gamescope crash when HDR is enabled on nvidia GTX3080 #1075

Open tylerfan opened 6 months ago

tylerfan commented 6 months ago

I am testing on Ubuntu23.10 with gnome, so i suppose this is embedded mode for gamescope.

passing ./binary --hdr-enabled --hdr-debug-force-output, it crashed here with an assertion triggered:

gamescope: ../src/rendervulkan.cpp:2905: bool vulkan_remake_swapchain(): Assertion `bRet' failed.

My nvidia driver is 525.147.05.

I am wondering whether HDR would actually work on nvidia or anything i am doing wrong? obviously the swapchain creation is not working, but vulkan is not spitting out any information for debugging. non-HDR mode works fine.

I turned on the macros as well. export ENABLE_GAMESCOPE_WSI=1 export DXVK_HDR=1

Joshua-Ashton commented 6 months ago

Gamescope nested HDR only works on KDE Plasma and currently only on AMD. This error is expected right now, this is not a Gamescope bug.