HDR causes issues #1613
Labels
No labels
accessibility
autorelease: pending
autorelease: tagged
bug
dependencies
documentation
duplicate
enhancement
github_actions
good first issue
help wanted
invalid
question
testing wanted
wontfix
No milestone
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Hookshot#1613
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hookshot version
v2.0.12
What kind of problem
Graphics (missing, black or wrong-coloured things, lighting, flicker)
What happened
HDR makes game unplayable, wrong colors and image is gone
Where in the game
Anywhere
How often
Every time
Graphics card and driver version
RTX 4070 Ti, 621,14
CPU, RAM and operating system
Intel 13600KF, 32GB, Windows 11
Changes from the defaults
No response
Other software hooked into the game
No, nothing hooked in
hookshot_log.txt
hookshot_log.txt
Screenshots or video
https://github.com/user-attachments/assets/fbcd263e-f7df-4d3d-9e5d-326c0de97030
Before you send it
same for me on linux, wayland, kde, nvidia 620.70.06
Same problem here on v2.0.12. With HDR on, the whole image turns blue / wrong colours, and it's unplayable. Windows "Use HDR" is on. It happens every time, anywhere in the game.
Same problem on Fedora 45, 7900 XTX, latest RADV/mesa drivers
HDR on, my scrren turn blue or purple, hdr10 tv and 4090
More detail from other v2.0.12 players with HDR on (Expanded): the old Insert menu draws as a solid blue block with garbled text, and one player says the whole game picture turns blue (#1626 sees blue, then black).
The menu part has a clear cause: the v2.0.12 menu is a plain 8-bit BGRA bitmap copied as it is into the HDR swapchain's format, so its colours come out wrong. Main already replaces that menu with the new one (#1459), which draws in the swapchain's own format. The open question is the game picture itself turning blue in HDR. If you can, please attach your hookshot_log.txt with HDR on (the swapchain format line), say which HDR mode (On / Native / Expanded) and which GPU, and add a photo of the screen.
Running native, changing the HDR setting initially makes the picture washed out, after restarting the game the picture flickers between washed out and bright.
GPU: 7900 XTX
OS: Fedora 45
hookshot_log.txt
One more HDR case from Discord (v2.0.12 or v2.0.13, windowed): with HDR on, the start-up screen is a solid blue box with cyan text, the FPS counter is purple, and the game picture is black rather than blue. So it isn't only fullscreen or the old menu: every overlay drawn on top of the picture comes out with wrong colours, and the game image itself doesn't show.
Same on v2.0.13: HDR10 gives a black picture and a green-tinted Insert menu (RTX 5090 D v2, 621.14)
v2.0.13 (source 54e42459), Windows 11, single 3840x2160 HDR display, output 3840x2160, frame generation off. This folder is rebuilt from source with
make_game.py --updateand built with NVIDIA's DLSS SDK, but DLSS itself runs fine — HDR is the only thing that breaks.With Graphics → HDR set (either value) the 3D picture goes black and the overlay menu comes out green; only setting HDR back to Off brings the picture back. Paper white (200) and peak brightness (2500, now the display's own) make no difference.
The HDR10 surface is made and the game is told HDR10, so the swapchain itself is not the problem. What looks suspicious is the HDR metadata that never reaches it:
All four
nn::vi::SetLayerNextHdr*Metadataentry points are unimplemented imports in the host, so the content's luminance range, gamut and HDR→SDR tone mapping metadata never reach the HDR10_ST2084 surface (format 64 =A2B10G10R10_UNORM_PACK32). If Windows needs them to interpret the PQ picture, that would explain the black image; the green menu looks like SDR UI colours written into a PQ/BT.2020 surface.I can rebuild this folder from any branch, so I am happy to test a patch.
v2.0.14 is out and fixes the colours of the menu, the FPS counter and the start-up screen with HDR on (they were drawn blue, purple or garbled). Please update with the Builder and say whether the game picture itself is still wrong with HDR (blue, washed out or black), with your HDR mode (On / Native), GPU and a hookshot_log.txt.
Hi, thanks for the HDR fixes! I’m still experiencing black screens and flickering on v2.0.14.
native-flicker-log.txt
I believe v2.0.14 fixed the menu that opens when I press
Insert, it renders properly in both HDR modes, but in-game, I get the same situation as @ddddddd24: black screen in one of the HDR modes, flicker in the other one. FG off.Still experiencing the HDR option messing up the menu in the latest version .14
I am on a RTX 4070 (Factory OC), Driver version 621.14
I am using the Expanded HDR mode. The game picture itself does not get affected, only the insert menu. This menu bug only happens upon toggling the HDR option. If I was to then close and reopen the insert menu, it would show up normally. But if you toggle the HDR again, the menu will bug out again.
I have double-checked that my game is on the latest .14 version
Something else I have noticed (but I don't know if it is a bug or not) is that native HDR mode makes the game look extremely bland and washed out. There is a screenshot of this in a comment from another user in this thread.
hookshot_log.txt
Still a black picture on v2.0.14 with HDR on, Linux + NVIDIA, frame generation 3x
What happens:
vk: HDR: an HDR10 surface (format 64), paper white 200 nits, peak 1000 nits. No error or validation line after it.Log of one session with HDR switched on and off a few times (paths anonymised):
hookshot_log_v2.0.14_hdr.txt
Same issue as #1749.
hookshot_log.txt
Experiencing variations of both symptoms on a fresh Hookshot v2.0.14 build. This occurs at the main menu screen and persists once loaded into the game.
System: Windows 11, Intel i5 13700F, RTX 4070 12 GB, NVIDIA driver 621.01
Display: Gigabyte G34WQC A, 3440×1440
Native HDR: The game image flickers heavily, both with frame generation on and off. Hookshot menus are fine.
Expanded HDR: The game image goes fully black. Hookshot menus are also fine.
hookshot_log.txt
A likely cause for Native HDR flickering between correct colours and grey is in #2038: one of the three window (swapchain) images stays RGBA8 while the others are HDR10, with a one-line work-around there (RX 7900 GRE, RADV).
Im on 2.1.0 + 5090 and when i enable HDR i get black screen, cant see anything.
On yesterdays release it was all purple
I opend a ticket with my log just in case
Doesnt matter if i use DLSS or "Games Own"
Thanks for the report. Reports of the same problem are now collected in #2502, which lists this one with your details and links back here, so one fix closes them together and the open list stays readable. Follow #2502 for the fix, and add new details there (or here). If this turns out to be a separate problem it will be reopened.