Closed Bug 1891672 Opened 1 year ago Closed 1 year ago

Embedded figures in WEBM videos overcompressed/blurred to illegibility in Firefox 125

Categories

(Core :: Graphics: WebRender, defect)

Firefox 124
Desktop
All
defect

Tracking

()

RESOLVED FIXED
127 Branch
Tracking Status
firefox-esr115 --- wontfix
firefox125 --- wontfix
firefox126 --- wontfix
firefox127 --- verified
firefox128 --- verified
firefox129 --- verified

People

(Reporter: kastner.karl, Assigned: tnikkel)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: nightly-community, regression)

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:124.0) Gecko/20100101 Firefox/124.0

Steps to reproduce:

Played WEBM videos generated by Blue Button: https://bbb.b-tu.de/playback/presentation/2.3/9075468b3c082d2770a1fa94683c861e0b7dfe45-1713248898538

In Firefox 125.0+build1-0ubuntu0.22.04.1~mt1 on Ubuntu 22.04.3 LTS Jammy.

Actual results:

Embedded figures are not displayed correctly, but blurred due to overcompression so that the content cannot be recognized. This is the case mostly to JPEG images, but sometimes affects PNGs.

Expected results:

The video and figures should be displayed correctly with at most acceptable compression that does not render the content illegible. The figures in the WEBM videos are correctly displayed in Chrome and Firefox 124 on the same machine.

Status: UNCONFIRMED → NEW
Component: Untriaged → Graphics: WebRender
Ever confirmed: true
OS: Unspecified → All
Product: Firefox → Core
Regressed by: 1711061
Hardware: Unspecified → Desktop

:aosmond, since you are the author of the regressor, bug 1711061, could you take a look? Also, could you set the severity field?

For more information, please visit BugBot documentation.

Flags: needinfo?(aosmond)

Set release status flags based on info from the regressing bug 1711061

Are you sure about that regression window? Bug 1711061 landed in Firefox 96, while you said it works in Firefox 124?

Severity: -- → S3
Flags: needinfo?(aosmond) → needinfo?(kastner.karl)

Oh I sorry, I see the regression window was from Alice0775 White. Would you be able to generate a different regression window given Firefox 124 works? You can use mozregression to hopefully do this easily:
https://mozilla.github.io/mozregression/quickstart.html

I get a regression range that agrees with Alice0775's comment 1. The issue doesn't always reproduce, I think we request the wrong size decoded image, and if we have the correctly sized image decoded we will use it, so that could explain why 124 seemed to work.

I've been working with this code for other bugs recently, I can look into this.

The patch in bug 1805599 fixes this for me.

I just need to create a test before landing that. This page might be useful to construct a reasonable testcase from.

Assignee: nobody → tnikkel
No longer blocks: wr-investigate-glitch
Depends on: 1805599
Flags: needinfo?(kastner.karl)
Blocks: wr-blurry

I reproduced this in FF 124 in Windows meanwhile. The problem occurs only sometimes, that's why it worked for me when I tested it in FF 124 at first. I also noticed that the images are properly displayed after refreshing the page. The problem might be caused by the browser sometimes displaying the thumbnails from the bottom bar instead of the image.

Bug 1805599 landed on nightly. Could you re-test on nightly (127)?

Flags: needinfo?(kastner.karl)

Tagging this for QA to verify, since the bug reporter has not responded.

Flags: qe-verify+

Managed to reproduce the issue on Fx125.0.1 and no longer reproduced it on Nightly 129 (2024-07-01).
I've also checked Fx 128.0b1 and Fx 127 (release) and it seems to be fixed there also. Ryan also confirmed that the fix was entered in Fx 127. I'll update the flags.

Status: NEW → RESOLVED
Closed: 1 year ago
Flags: needinfo?(kastner.karl)
Resolution: --- → FIXED
Target Milestone: --- → 127 Branch
You need to log in before you can comment on or make changes to this bug.