-- Force sRGB colorimetry so gamescope does not set BT2020_RGB on the DP -- connector. The PS5's internal DP->HDMI bridge cannot correctly translate -- BT2020 signalling to HDMI, causing a black screen. gamescope.config.known_displays.ps5_srgb_override = { pretty_name = "PS5 sRGB Override", hdr = { supported = false, force_enabled = false, eotf = gamescope.eotf.gamma22, max_content_light_level = 400, max_frame_average_luminance = 400, min_content_light_level = 0.5 }, colorimetry = { r = { x = 0.640, y = 0.330 }, g = { x = 0.300, y = 0.600 }, b = { x = 0.150, y = 0.060 }, w = { x = 0.3127, y = 0.3290 } }, matches = function(display) debug("[ps5_srgb_override] Forcing sRGB for PS5 external display") return 100 end } debug("Registered PS5 sRGB display override")