### Problem STR 1. Using Firefox Nightly on a Wins11 and the device has PlayReady support (Check `about:support` -> `Content Decryption Modules Information` -> if `Video Robustness` is not empty for `com.microsoft.playready.recommendation.XXX`) 2. go to https://on.orf.at/live and click any video on the list which is available to watch Expected 3. video is displayed correctly Actual 3. only black frames are displayed, but if you watch video in PiP mode, it would be displayed correctly. --- ### Root cause I assumed that WR couldn't process the external image successfully due to the error `[WARN webrender::renderer] Invalid ext-image`. In bug 1804134, the black frame is showed due to the rounded corner is applied to the video, so we hit [this condition](https://searchfox.org/mozilla-central/rev/43cb6eca1c3069d46d589d52ab4949257e630d19/gfx/wr/webrender/src/picture.rs#2559-2565) causing the black frame issue. But on ORF website, the root cause seems different. By applying this [patch](https://phabricator.services.mozilla.com/D212340), it shows the error is caused by atomic operation. > [WARN webrender::picture] Surface promotion of prim at Box2D((120.0, 200.00003), (2187.0, 1363.0)) failed with: slice is atomic. > [WARN webrender::renderer] Invalid ext-image
Bug 1896948 Comment 11 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
### Problem STR 1. Using Firefox Nightly on a Win10+ and the device has PlayReady support (Check `about:support` -> `Content Decryption Modules Information` -> if `Video Robustness` is not empty for `com.microsoft.playready.recommendation.XXX`) 2. go to https://on.orf.at/live and click any video on the list which is available to watch Expected 3. video is displayed correctly Actual 3. only black frames are displayed, but if you watch video in PiP mode, it would be displayed correctly. --- ### Root cause I assumed that WR couldn't process the external image successfully due to the error `[WARN webrender::renderer] Invalid ext-image`. In bug 1804134, the black frame is showed due to the rounded corner is applied to the video, so we hit [this condition](https://searchfox.org/mozilla-central/rev/43cb6eca1c3069d46d589d52ab4949257e630d19/gfx/wr/webrender/src/picture.rs#2559-2565) causing the black frame issue. But on ORF website, the root cause seems different. By applying this [patch](https://phabricator.services.mozilla.com/D212340), it shows the error is caused by atomic operation. > [WARN webrender::picture] Surface promotion of prim at Box2D((120.0, 200.00003), (2187.0, 1363.0)) failed with: slice is atomic. > [WARN webrender::renderer] Invalid ext-image
### Problem STR 1. Using Firefox Nightly on a Win10+ and the device has PlayReady support (check `about:support` -> `Content Decryption Modules Information` -> if `Video Robustness` is not empty for `com.microsoft.playready.recommendation.XXX`) 2. go to https://on.orf.at/live and click any video on the list which is available to watch Expected 3. video is displayed correctly Actual 3. only black frames are displayed, but if you watch video in PiP mode, it would be displayed correctly. --- ### Root cause I assumed that WR couldn't process the external image successfully due to the error `[WARN webrender::renderer] Invalid ext-image`. In bug 1804134, the black frame is showed due to the rounded corner is applied to the video, so we hit [this condition](https://searchfox.org/mozilla-central/rev/43cb6eca1c3069d46d589d52ab4949257e630d19/gfx/wr/webrender/src/picture.rs#2559-2565) causing the black frame issue. But on ORF website, the root cause seems different. By applying this [patch](https://phabricator.services.mozilla.com/D212340), it shows the error is caused by atomic operation. > [WARN webrender::picture] Surface promotion of prim at Box2D((120.0, 200.00003), (2187.0, 1363.0)) failed with: slice is atomic. > [WARN webrender::renderer] Invalid ext-image