Description

Specification here: [Link Removed]

Which is mirrored in engine in FD3D12DynamicRHI::Init (for example):

[Image Removed]

However, FWindowsPlatformMisc::ChooseHDRDeviceAndColorGamut always returns 5 or 6, when it should be returning 3 or 4. Issue also seems to be present in the Mac version of the function too.

See licensee UDN for more info.

Steps to Reproduce

Enable HDR in windows/for your monitor.

In any project, add the following to DefaultEngine.ini:

[/Script/Engine.RendererSettings]
r.AllowHDR=1
r.HDR.EnableHDROutput=1

[/Script/WindowsTargetPlatform.WindowsTargetSettings]
DefaultGraphicsRHI=DefaultGraphicsRHI_DX12

BuildCookRun the project for Win64 (or launch via editor). Once built/cooked, launch the game from VisualStudio instead (-onethread helps a bit here too).

Set a breakpoint in FD3D12Viewport::EnsureColorSpace

Expected: DF_ACES1000_ST_2084 or DF_ACES2000_ST_2084 should be used

Result: DF_ACES1000_ScRGB:DF_ACES1000_ScRGB: or DF_ACES2000_ScRGB are used instead

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-122309 in the post.

3
Login to Vote

Fixed
ComponentUE - Rendering Architecture - RHI
Affects Versions4.26.24.27
Target Fix5.1
Fix Commit19918995
CreatedAug 23, 2021
ResolvedApr 26, 2022
UpdatedMay 6, 2022
View Jira Issue