gamescope icon indicating copy to clipboard operation
gamescope copied to clipboard

HDR stop working in Forza Horizon 4

Open RevengeRip opened this issue 1 year ago • 1 comments

Is there an existing issue for this?

  • [x] I have searched the existing issues

Are you using any gamescope patches or a forked version of gamescope?

  • [x] The issue occurs on upstream gamescope without any modifications

Current Behavior

HDR used to work in Forza Horizon 4 but now it doesn't.

Steps To Reproduce

  1. Launch Forza Horizon 4 with gamescope --hdr-enabled

Hardware information

- Distro: Arch Linux
- CPU: AMD Ryzen 7 9800X3D
- GPU: AMD Radeon RX 6700 XT
- Driver Version: Mesa 24.3.3-cachyos1.4

Software information

- Desktop environment: KDE 6.2.5
- Session type: Wayland
- Gamescope version: gamescope version 3.16.1 (gcc 14.2.1)
- Gamescope launch command(s): gamescope --mangoapp --hdr-enabled -w 2560 -h 1440 -W 2560 -H 1440 -f

Which gamescope backends have the issue you are reporting?

  • [x] Wayland (default for nested gamescope)
  • [ ] DRM (default for embedded gamescope, i.e. gamescope-session)
  • [ ] SDL
  • [ ] OpenVR

Logging, screenshots, or anything else

[Gamescope WSI] Creating swapchain for xid: 0xe000a1 - oldSwapchain: (nil) - provided minImageCount: 3 - minImageCount: 3 - format: VK_FORMAT_A2B10G10R10_UNORM_PACK32 - colorspace: VK_COLOR_SPACE_HDR10_ST2084_EXT - flip: true
[Gamescope WSI] Refusing to make swapchain (unsupported VkFormat) for xid: 0xe000a1 - format: VK_FORMAT_A2B10G10R10_UNORM_PACK32 - colorspace: VK_COLOR_SPACE_HDR10_ST2084_EXT - flip: true
[Gamescope WSI] Creating swapchain for xid: 0xe000a1 - oldSwapchain: (nil) - provided minImageCount: 3 - minImageCount: 3 - format: VK_FORMAT_A2B10G10R10_UNORM_PACK32 - colorspace: VK_COLOR_SPACE_HDR10_ST2084_EXT - flip: true
[Gamescope WSI] Refusing to make swapchain (unsupported VkFormat) for xid: 0xe000a1 - format: VK_FORMAT_A2B10G10R10_UNORM_PACK32 - colorspace: VK_COLOR_SPACE_HDR10_ST2084_EXT - flip: true
[Gamescope WSI] Creating swapchain for xid: 0xe000a1 - oldSwapchain: (nil) - provided minImageCount: 3 - minImageCount: 3 - format: VK_FORMAT_A2B10G10R10_UNORM_PACK32 - colorspace: VK_COLOR_SPACE_HDR10_ST2084_EXT - flip: true
[Gamescope WSI] Refusing to make swapchain (unsupported VkFormat) for xid: 0xe000a1 - format: VK_FORMAT_A2B10G10R10_UNORM_PACK32 - colorspace: VK_COLOR_SPACE_HDR10_ST2084_EXT - flip: true
[Gamescope WSI] Creating swapchain for xid: 0xe000a1 - oldSwapchain: (nil) - provided minImageCount: 3 - minImageCount: 3 - format: VK_FORMAT_A2B10G10R10_UNORM_PACK32 - colorspace: VK_COLOR_SPACE_HDR10_ST2084_EXT - flip: true
[Gamescope WSI] Refusing to make swapchain (unsupported VkFormat) for xid: 0xe000a1 - format: VK_FORMAT_A2B10G10R10_UNORM_PACK32 - colorspace: VK_COLOR_SPACE_HDR10_ST2084_EXT - flip: true

RevengeRip avatar Jan 18 '25 14:01 RevengeRip

I found the culprit: it was AMDVLK installed alongside RADV. Although I wasn't using AMDVLK atm and games was loading with RADV it still affected HDR somehow.

RevengeRip avatar Jan 18 '25 14:01 RevengeRip

Seeing this issue with Final Fantasy XVI, but AMD_VULKAN_ICD=RADV across the board works fine. Only seeing it when running the game itself with AMDVLK set.

Both Wayland and DRM backends.

njdom24 avatar Mar 22 '25 16:03 njdom24