HDR video hits the underlay surface limit and desaturates when there's only one video visible
Categories
(Core :: Graphics: WebRender, defect, P3)
Tracking
()
People
(Reporter: bradwerth, Unassigned)
References
Details
This is easiest to see on macOS because of the display of HDR video surfaces, but is potentially an issue on all platforms since the issue originates in WebRender.
Steps to Reproduce:
- On macOS, with an HDR-capable screen, navigate to https://lf-tk-sg.ibytedtos.com/obj/tcs-client-sg/resources/video_demo_hevc.html#main10-hdr10-sample-1. There are many test videos on this page.
- Scroll down until the next video "HEVC Main10 Profile - HDR10 - Sample 2 (4K + 60P)" is partly visible.
- Note that the video appears desaturated.
- Scroll down further, until the video is about 3/4 visible. The video will appear in full color.
- Scroll slightly up, and the video will desaturate again. This can be repeated, up-and-down, around the 3/4 visible mark.
When I set the pref gfx.webrender.debug.surface-promotion-logging, the promotion failure result output to stderr is Surface promotion of prim at Box2D((850.00006, 882.0), (2572.0, 1850.0)) failed with: hit the underlay surface limit. This is happening even though only one video is visible.
If WebRender only attempted to promote underlays within the visible rect of the window, we would be much less likely to hit this limit
Comment 1•5 months ago
|
||
Note that this is a limit on number of HDR videos in one document, separate windows have their own instance of WebRender so don't cumulatively approach this limit.
Description
•