Closed Bug 1638305 Opened 5 years ago Closed 1 year ago

WebGL Rendering text using a texture atlas and per component data storage shows corruption

Categories

(Core :: Graphics: CanvasWebGL, defect, P1)

77 Branch
defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox76 --- unaffected
firefox77 --- affected
firefox78 --- ?

People

(Reporter: adrian, Assigned: jgilbert)

References

Details

(Keywords: regression)

Attachments

(3 files)

Attached file webgl_testcase.zip

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36

Steps to reproduce:

Using WebGL with a glyph texture atlas that stores each character into a separate colour component with the shader only rendering one colour component at a time.

Actual results:

Reading a specific component in the shader is failing, showing the other characters underneath when it shouldn't.
https://ibb.co/jzqnGsZ firefox 77.0b6

Expected results:

The text should be legible without other unrelated characters drawn underneath
https://ibb.co/87pd312 firefox 76.0.1

This was found by a customer and so I would appreciate some urgency on this. Thanks everyone.

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → Canvas: WebGL
Product: Firefox → Core

The severity field is not set for this bug.
:jgilbert, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(jgilbert)

Looks like 76.0.1, 77rc1, and 78 Nightly are all unaffected on my Windows machine.

I will test on a Mac later today. It's possible this was due to a regression that was since fixed.

Assignee: nobody → jgilbert
Severity: -- → S1
Keywords: regression
Priority: -- → P1
Attached image Error-ff-77-0b6.png
Attached image Success-ff-76-0-1.png
Flags: needinfo?(jgilbert)

Just following up on our conversation yesterday - is this indeed S1?

Flags: needinfo?(jgilbert)

I can't reproduce this on 77.0.1 or Nightly 10.15.5 MacBook Pro (15-inch, 2019). (Intel(R) UHD Graphics 630)

Flags: needinfo?(jgilbert)

I can reproduce this on (old nightly) 77.0a1 "MacBook Pro (Retina, 15-inch, Late 2013)" 10.15.3.

Status: UNCONFIRMED → NEW
Ever confirmed: true

Letting it restart and update to 80, I can't repro. I downloaded 77.0.1 and can't repro there either.
I suspect this might be a "tired program" bug, where it won't repro right off the bat, but given enough time and usage/mem-fragmentation/something it'll start to have problems.

I'll try some workloads to see if I can't make a more reliable STR.

Does this issue happen even right after restarting the browser, Adrian?

Flags: needinfo?(adrian)

It was happening immediately and reproducibly however I can't repro in the released version of 77 or the latest beta so possibly it was just a bad beta build. I'll ask My QA team to have a quick check to confirm then you can probably resolve this. Thanks anyway, really wanted to be sure this didn't get into the release build!

Flags: needinfo?(adrian)

adrian: Triaging as REO for 79 - are you planning on addressing this for 79?

Flags: needinfo?(adrian)
Flags: needinfo?(adrian) → needinfo?(jgilbert)
Severity: S1 → S3

This might be related to bug 1659225, though this bug seems to predate 1659225's regression point.

Flags: needinfo?(jgilbert)
See Also: → 1659225

Comment #11 indicates WFM

Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: