Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swapchain error when attempting to Create swapchain for id: 5 - format: VK_FORMAT_A2B10G10R10_UNORM_PACK32 - colorspace: VK_COLOR_SPACE_HDR10_ST2084_EXT #250

Open
Erfboom opened this issue Mar 31, 2024 · 0 comments

Comments

@Erfboom
Copy link

Erfboom commented Mar 31, 2024

Using Intel UHD630 on Plasma6 wayland , the following command ENABLE_HDR_WSI=1 mpv --vo=gpu-next --target-colorspace-hint --gpu-api=vulkan my/hdr/movie.mkv results in

Error:

[HDR Layer] Creating swapchain for id: 5 - format: VK_FORMAT_A2B10G10R10_UNORM_PACK32 - colorspace: VK_COLOR_SPACE_HDR10_ST2084_EXT [HDR Layer] Refusing to make swapchain (unsupported VkFormat) for id: 5 - format: VK_FORMAT_A2B10G10R10_UNORM_PACK32 - colorspace: VK_COLOR_SPACE_HDR10_ST2084_EXT [vo/gpu-next/libplacebo] vk->CreateSwapchainKHR(...): VK_ERROR_INITIALIZATION_FAILED (../src/vulkan/swapchain.c:620) [vo/gpu-next/libplacebo] Failed (re)creating swapchain!

If I drop Enable_HDR_WSI=1 I believe it's being tonemapped as I can see the colors correctly. If I add --target-trc=srgb to the above command, it works but that's because I'm telling mpv how to tonemap, I think...

The same issue happens in Moonlight-Qt with a custom built version that uses libplacebo as a backend.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant