Closed Bug 1864618 Opened 7 months ago Closed 6 months ago

FF Nightly 121: YouTube videos show only green screen

Categories

(Core :: Audio/Video: Playback, defect)

Firefox 119
defect

Tracking

()

RESOLVED DUPLICATE of bug 1865928

People

(Reporter: urbi1464, Unassigned)

Details

Attachments

(5 files)

Attached image FF_Nightly.121-02.jpg

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/119.0

Steps to reproduce:

After Update to FF Nightly 121.x, YouTube videos show only a green screen when played. It happens for each YouTube video. All worked well with v120.x. My example shows the result with this URL: https://www.youtube.com/watch?v=2FwcUxGAp0E

Actual results:

After Update to FF Nightly 121.x, YouTube videos show only a green screen when played. It happens for each YouTube video. All worked well with v120.x.

Expected results:

Please repair the defect so that YouTube videos show again teh normal content when played instead of a green screen.

The Bugbug bot thinks this bug should belong to the 'Core::Audio/Video: Playback' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Audio/Video: Playback
Product: Firefox → Core

I recorded a screen-capture video where you can see this bug. The relevant part of my video about this "green screen bug" starts from 3:20. The first part is about the other bug I reported for the PiP mode (1864616): https://risse.flammenkamp.de/FF_bugs_1864616_and_1864618.mp4

Hello,

Would you mind to follow this instruction to capture a profiled result while the issue happens? By using about:logging then you can set up the log modules, and start profiling. After start logging, then you can go to play youtube video to reproduce the issue. Once issue is reproduced, then you can click stop logging and upload the result.

In addition, it would be helpful if you can upload your about:support, and try to turn off the hardware decoding by setting media.hardware-video-decoding.enabled=false to see if the issue still exists. Thank you.

Flags: needinfo?(urbi1464)

Hello Alastor,

No, unfortunately, turning off the hardware decoding has no effect. The same when I re-enable VP9. In any case, only the green screen. It is, by the way, enough just to hover with the mouse pointer over any YouTube video. Then I am already getting nothing but a green color instead of the preview of the video.

I recorded for you another screen-capture video while I was capturing the profile as you instructed, so that you can see what I have done: https://risse.flammenkamp.de/FF_bug_1864618_002.mp4.

Unfortunately, Firefox seems to have problems uploading the captured profile. When I push the Upload Profile button, it starts blinking ("uploading profile"), but then I don't see anything uploading. The button have remained blinking for minutes now, but still no progress. Will try again, but in case you don't get the data, please instruct me what else can I do. See this uploading error in this video: https://risse.flammenkamp.de/FF_bug_1864618_uploading_error.mp4

Flags: needinfo?(urbi1464)

Uploading of the captured profile still doesn't work. Therefore I captured a new profile, this time into the following file: http://risse.flammenkamp.de/FF_bug_1864618_main.11800.moz_log .

During capturing, I just clicked on a YouTube video, stopped playing after a few seconds, and then I hovered with my mouse pointer over a video preview. See if it helps.

Hi, with today's update to FF 120.0, this error is now also on my main FF. This means for me, that I can no longer use Firefox as my browser !!! Really a pity.

Fortunately, I backed up FF 119.0.1 before the update. So I will roll back to that version for now.

PLEASE FIX THIS ANNOYING BUG AS SOON AS POSSIBLE !!!!

Good news: Beginning with FF Nightly 122.0a1 (2023-11-23), the Youtube videos can be played again without this green screen. So, whatever you have changed, please add this fix asap to the normal FF builds. Thanks!

Status: UNCONFIRMED → RESOLVED
Closed: 6 months ago
Duplicate of bug: 1865928
Resolution: --- → DUPLICATE

Would you be able to confirm what fixed it using the mozregression tool's "find fix" functionality? Would be extremely helpful for getting it expedited into at least Fx121 and possibly a 120 bugfix release if the fix is low enough risk. Thanks!
https://mozilla.github.io/mozregression/

Flags: needinfo?(urbi1464)

That said, https://bugzilla.mozilla.org/show_bug.cgi?id=1865426 looks like a possibility?

Flags: needinfo?(sotaro.ikeda.g)
Flags: needinfo?(urbi1464)

Hi, as already reported for Bug 1865928 which is likely a duplicate, I have run mozregression between FF Nightly 2023-11-18 and 2023-11-24. Results: 2023-11-20 was bad, 2023-11-21 was good again.
You can see the bug from the attached data, and also from this extract:
2023-11-28T20:51:30.382000: INFO : b'[GFX1-]: GpuProcessTextureId is not valid'
2023-11-28T20:51:31.551000: INFO : Narrowed integration fix window from [f2558d4e, 4a6ed431] (3 builds) to [dde99020, 4a6ed431] (2 builds) (~1 steps left)
2023-11-28T20:51:31.561000: DEBUG : Starting merge handling...
2023-11-28T20:51:31.561000: DEBUG : Using url: https://hg.mozilla.org/integration/autoland/json-pushes?changeset=4a6ed43174388497963a5e476b2b22e495ba088e&full=1
2023-11-28T20:51:31.561000: DEBUG : redo: attempt 1/3
2023-11-28T20:51:31.561000: DEBUG : redo: retry: calling _default_get with args: ('https://hg.mozilla.org/integration/autoland/json-pushes?changeset=4a6ed43174388497963a5e476b2b22e495ba088e&full=1',), kwargs: {}, attempt #1
2023-11-28T20:51:31.565000: DEBUG : urllib3.connectionpool: Resetting dropped connection: hg.mozilla.org
2023-11-28T20:51:33.143000: DEBUG : urllib3.connectionpool: https://hg.mozilla.org:443 "GET /integration/autoland/json-pushes?changeset=4a6ed43174388497963a5e476b2b22e495ba088e&full=1 HTTP/1.1" 200 None
2023-11-28T20:51:33.276000: DEBUG : Found commit message:
Bug 1860062 - Tighten GPU Sandbox Further r=handyman

Differential Revision: https://phabricator.services.mozilla.com/D191494

2023-11-28T20:51:33.276000: DEBUG : Did not find a branch, checking all integration branches
2023-11-28T20:51:33.278000: INFO : The bisection is done.
2023-11-28T20:51:33.280000: INFO : Stopped

Thanks for doing that! Between yours and RIck's results, it certainly seems like bug 1860062 made the symptoms disappear. But that's still a bit confusing because that change was reverted a day later on Nightly and hasn't been re-landed since. So it isn't clear to me why current Nightly builds are still working OK ...

Attached are now also the results of another mozregession, this time between FF 119 (good) and FF 120 (bad). I think it confirms what you already suspected.

(In reply to Ryan VanderMeulen [:RyanVM] from comment #14)

Thanks for doing that! Between yours and RIck's results, it certainly seems like bug 1860062 made the symptoms disappear. But that's still a bit confusing because that change was reverted a day later on Nightly and hasn't been re-landed since. So it isn't clear to me why current Nightly builds are still working OK ...

It seemed that bug 1860062 worked similar to pref gfx.video.convert-yuv-to-nv12.image-host-win = false. And Bug 1865426 seemed to address the problem of NV12 uploading before the back out of bug 1860062.

(In reply to Ryan VanderMeulen [:RyanVM] from comment #10)

That said, https://bugzilla.mozilla.org/show_bug.cgi?id=1865426 looks like a possibility?

Yes. It added check of NV12 support. It seemed to be related.

Flags: needinfo?(sotaro.ikeda.g)

For what it's worth, I tried FF 120.0 with the following settings, but I am still getting the green screen for any YouTube video:
layers.iosurfaceimage.use-nv12=false
media.wmf.use-nv12-format=false
media.wmf.zero-copy-nv12-textures=false
Perhaps also interesting: On Linux Mint 20.3 (same computer), FF 120 does not show me the green screen. YouTube videos are played normally there. Perhaps NV12 is not supported on Linux? Or at least not with my graphic card driver?

New findings: FF 120.0 braught me a new option regarding NV12: gfx.video.convert-yuv-to-nv12.image-host-win. When I set this to false, then the videos are played without the green screen. So again: The following setting heals it on Windows with FF 120.0:
gfx.video.convert-yuv-to-nv12.image-host-win=false

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: