Closed Bug 1759328 Opened 3 years ago Closed 3 years ago

video blinking when play two video in two window on two screen with vastly different refresh rate (60Hz and 160Hz) at same time on Radeon RX 6900 XT

Categories

(Core :: Graphics: WebRender, defect)

Firefox 100
Desktop
Windows 11
defect

Tracking

()

RESOLVED INVALID
Tracking Status
firefox-esr91 --- unaffected
firefox98 --- unaffected
firefox99 --- unaffected
firefox100 --- disabled
firefox101 --- affected

People

(Reporter: mmis1000, Assigned: jgilbert)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: regression)

Attachments

(1 file)

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

Steps to reproduce:

  1. plug two monitor with vastly different refresh rate (160hz, 60hz)
  2. open two firefox window, one on each monitor.
  3. play video on both window. for example h264 test video

Actual results:

The video on monitor with lower refresh rate (60hz) blinks in very high frequency.

Note:
If you change the 160hz screen to 60, it works normally.
If you pause one of the videos, it works normally.
It breaks only if you plays both.

Expected results:

Both video plays normally.

OS: Unspecified → Windows 11
Hardware: Unspecified → Desktop

This is probably a regression, it didn't happen few days ago.

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

(In reply to mmis1000 from comment #1)

This is probably a regression, it didn't happen few days ago.

It could be bug 1758601, could you try to turn off gfx.webrender.dcomp-video-overlay-win and gfx.webrender.dcomp-video-yuv-overlay-win to see if it helps? If not, would you mind to use mozregession to find out the culprit?

Thank you.

Flags: needinfo?(mmis1000)

(In reply to Alastor Wu [:alwu] from comment #3)

(In reply to mmis1000 from comment #1)

This is probably a regression, it didn't happen few days ago.

It could be bug 1758601, could you try to turn off gfx.webrender.dcomp-video-overlay-win and gfx.webrender.dcomp-video-yuv-overlay-win to see if it helps? If not, would you mind to use mozregession to find out the culprit?

Thank you.

Seems disable gfx.webrender.dcomp-video-overlay-win alone is enough to stop the artifacts.

Flags: needinfo?(mmis1000)

Per comment4, move to gfx component.

Status: UNCONFIRMED → NEW
Component: Audio/Video: Playback → Graphics: WebRender
Ever confirmed: true
Regressed by: 1758601

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

:sotaro, since you are the author of the regressor, bug 1758601, could you take a look?
For more information, please visit auto_nag documentation.

Flags: needinfo?(sotaro.ikeda.g)
Has Regression Range: --- → yes
Blocks: video-perf
Flags: needinfo?(sotaro.ikeda.g)

mmis1000, can you attach about:support to this bug?

Flags: needinfo?(mmis1000)

When I tried with with 2 displays(144hz, 60hz) on 2 Windows 11 PCs, the problem did not happen. It might be hardware specific problem.

Attached file About support
It seems it only happen when frame drops (GPU max out). Play https://www.youtube.com/watch?v=VnLdOcDNTe0 at 4k60/2k60 And change around may help to reproduce it. And another situation is: screen capture seems can't capture the flicking.

The video shot on my phone is flciking
While screen captured with shareX isn't
I am not really sure whether it is about system or hardware.
So I also upload my amd radeon software setting here

Phone: https://drive.google.com/file/d/1LfYpd39Hn0rSRENJl-VI_wrCyGAuKcS9/view?usp=sharing
Screen record: https://drive.google.com/file/d/11tzlxtFOXSlf8upT9MvCSySBZIgdVjzq/view?usp=sharing
Amd radeon setting: https://drive.google.com/file/d/11u4txEjrDhyUr0zI7dZwyJxp2tC6MjJA/view?usp=sharing

Flags: needinfo?(mmis1000)
Summary: video blinking when play two video in two window on two screen with vastly different refresh rate at same time → video blinking when play two video in two window on two screen with vastly different refresh rate (60Hz and 160Hz) at same time on Radeon RX 6900 XT
Severity: -- → S2

I've been interacting AMD about this issue.

Assigning to Jeff since he's engaged with AMD about it.

Assignee: nobody → jmuizelaar
Assignee: jmuizelaar → jgilbert

Ok, ready to try to repro on:

Display0	2560x1440@144Hz : AMD Radeon RX 6700 XT
Display1	1920x1080@60Hz : AMD Radeon RX 6700 XT

If I play the video from the #c0, it seems to play fine. If I fullscreen one on each monitor, I do get a single flash on the 144hz when I move my mouse from the 60hz to the 144hz display.

I will try the harder video from #c10 next.

I can't seem to repro this, even with #c10's video running from different timestamps in windows on the separate monitors.
However for the OP's displays, Display0 is the low-hz one:

      "Display0": "3840x2160@60Hz : AMD Radeon RX 6900 XT",
      "Display1": "3840x2160@160Hz : AMD Radeon RX 6900 XT",

I will try that.

I do sometimes see a (random?) persistent rect "cut out" when I move another window on top of a playing video, in some cases. Not sure how to repro that.

I can't seem to get my displays to change order. Changing primary display doesn't work, and even swapping ports and entirely restarting doesn't work.
Possible driver version bug?

I will try to match driver versions.
jrmuizel to file bug for making whether we're hitting MPO more visible, because that might be a difference, actually due to monitors.

Flags: needinfo?(jgilbert)

Is this actually S2 given that it seems not so easy reproducible and only affects a specific gfx card?

Severity: S2 → S3

Tried to repro the issue without success on the recent publicly available Adrenalin drivers at https://support.amd.com with the 6900XTR configuration without success.
Ryzen 7 5800X
RX6900XT + Adrenalin 22.4.1
Windows 11 + Firefox v. 100.0

Displays:

LG 27GN950 (4k160Hz DP) + ASUS VG259QM (1080p60Hz DP/HDMI)
ASUS VG259QM (1080p240Hz DP) + ASUS VC239 (1080p60Hz HDMI)

can you please use the most recent drivers from support.amd.com and identify if the issue is still seen or what overlay related option to set in about:config to see the issue?

Flags: needinfo?(mmis1000)

(In reply to Paul Blinzer from comment #20)

....
can you please use the most recent drivers from support.amd.com and identify if the issue is still seen or what overlay related option to set in about:config to see the issue?

Seems no longer reproducible with current driver and system (Radeon 22.4.2 & windows 11 1000.22000.652.0) even overload the firefox in setup like https://bugzilla.mozilla.org/show_bug.cgi?id=1759328#c11 . Probably fixed on amd's end or windows' end.

Flags: needinfo?(mmis1000)

mmis1000 are you able to try downgrading to AMD driver version 30.0.14029.5006 (22.2.3) to see if you can still reproduce it?

Flags: needinfo?(mmis1000)

(In reply to Jeff Muizelaar [:jrmuizel] from comment #22)

mmis1000 are you able to try downgrading to AMD driver version 30.0.14029.5006 (22.2.3) to see if you can still reproduce it?

Reproduced again with Radeon 22.2.3 + windows 11 1000.22000.652.0 , so it seems to be a AMD driver bug that already fixed in latest release.

Flags: needinfo?(mmis1000)

Since this sounds like it has been corrected by AMD, please consider resolving this report.

No longer blocks: gfx-triage
Flags: needinfo?(mmis1000)
Status: NEW → RESOLVED
Closed: 3 years ago
Flags: needinfo?(mmis1000)
Resolution: --- → INVALID

mmis1000 are you also able to try 22.3.1 to see if that driver has the fix as well?

Flags: needinfo?(mmis1000)

(In reply to Jeff Muizelaar [:jrmuizel] from comment #25)

mmis1000 are you also able to try 22.3.1 to see if that driver has the fix as well?

Seems to work pretty normally

Flags: needinfo?(mmis1000)

(In reply to Jeff Muizelaar [:jrmuizel] from comment #25)

mmis1000 are you also able to try 22.3.1 to see if that driver has the fix as well?

It seems the bug is back in Adrenalin 22.5.2 Optional. Do it need to reopen it? Or I should make a new one?

The symptom and workaround are exactly same as above as far as I can see (Overlay on video messed up, can be workaround by disable gfx.webrender.dcomp-video-overlay-win )

And it seems far more easier to reproduce this time (on my end). I wonder if other can reproduce it.

Can you open a new one?

See Also: → 1771637
Flags: needinfo?(jgilbert)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: