Open Bug 1983229 Opened 1 year ago Updated 1 year ago

YouTube videos lag while playing Steam games in fullscreen or borderless mode at the same time

Categories

(Core :: Graphics: WebRender, defect)

Firefox 141
defect

Tracking

()

UNCONFIRMED

People

(Reporter: sectoriker, Unassigned)

References

Details

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

Steps to reproduce:

I just started firefox, and any steam game that is played on fullscreen and started to play a video in the background.

Actual results:

When I putted the video in the background and tabbed into the game, the video almost instantly started to stutter and lag. Also I have this right here if it can help: https://share.firefox.dev/3Hbq0Hy

Expected results:

It should had happened that the video didn't stutter at all and just be at a costant 60 fps like it is with non-steam games.

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
Summary: So this has been happening for quite some time now, where youtube videos start to stutter highly and lag when playing on steam games SPECIFICALLY in fullscreen or borderless. → YouTube videos lag while playing Steam games in fullscreen or borderless mode at the same time

Pretty much the same issue for me, though the videos/streams entirely freeze with just audio playing normally. And I put the videos/streams on my second monitor. I personally can reproduce this easily just by opening my inventory or shops in Cyberpunk 2077. And it mostly just happens with games that are rather demanding for my PC.
https://share.firefox.dev/45y7xwM

I am having the same problem. When playing a full screen game on my primary monitor, the Youtube video playing on my second monitor freezes but audio continues to work as normal.

The compositor thread has (for comment 0):

  • UpdateCompositedFrame reported every 16ms with [2 remaining images]
  • "video frame offsets" about 9ms late, but reasonably consistent.
  • VideoFrameTimeStampJitter << 0.1ms.

I assume this means the video frames are being produced on time.

How are non-video animations in the browser, such as on https://lottiefiles.com/free-animations/?

Component: Audio/Video: Playback → Graphics: WebRender
See Also: → 1982575

(In reply to Karl Tomlinson (:karlt) from comment #4)

The compositor thread has (for comment 0):

  • UpdateCompositedFrame reported every 16ms with [2 remaining images]
  • "video frame offsets" about 9ms late, but reasonably consistent.
  • VideoFrameTimeStampJitter << 0.1ms.

I assume this means the video frames are being produced on time.

How are non-video animations in the browser, such as on https://lottiefiles.com/free-animations/?

I tried playing those animations in the link, and it still stuttered a bit, not as bad as youtube does, but I could still see some stuttering.

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

For more information, please visit BugBot documentation.

Flags: needinfo?(mozilla)
Severity: -- → S3
Flags: needinfo?(mozilla)

I am having the same issues. It's the worst with Twitch, and it still happens in safe mode.

https://share.firefox.dev/47sfPHz

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