Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Youtube Creates Insane Stacked Lag #3632

Open
1 task
calicocookiecutter opened this issue Nov 22, 2024 · 7 comments
Open
1 task

Youtube Creates Insane Stacked Lag #3632

calicocookiecutter opened this issue Nov 22, 2024 · 7 comments
Labels

Comments

@calicocookiecutter
Copy link

What happened?

Hi there, basically, the longer I use YouTube, the laggier waterfox gets, the video will rarely freeze but usually keeps playing normally. Things like pausing or hovering with a mouse to see the display (timeline, settings, etc) gets worse and worse until it doesn't respond at all
This lag eventually spreads to the start menu, I can pull it up with the WIN key, but no mouse or keyboard inputs register.
This means I can't close the window at all, this leads me to force shutting down my computer using the power button.
Other programs run fine during this? EXCEPT once when I realized waterfox had 'frozen' (again, video still plays), at some point it had corrupted my Clip Studio Paint file. There's a known bug that rarely a file can corrupt before saving and/or quitting, which turns it into a .csp file that isn't recognized as a .csp file anymore by CSP, which is exactly what happened.

The onset of the lag usually takes an hour or two but ranges, sometimes it can occur really quickly, skipping straight to 'freezing'.
I used to put up with it, even if it was super annoying, but I just lost hours of work to this. I have NEVER had any issues with CSP up till now, I've been using it for 3 years.
It has persisted for many editions.
Considering my CSP file corrupted and the video still plays whilst everything else has gone to shit, I'm thinking it may be like, a computational demand issue, thing? Like my computer is putting in too much effort and piling up too much junk data from the youtube window that other things just cant work. I've put my PC specs in-case this is the issue.

TL;DR

  • Youtube will get increasingly worse input delay before becoming unresponsive to everything, video will still play
  • This spreads to the search function on windows, WIN key can pull it up, but no other inputs work
  • Refreshing does not fix the issue
  • Once 'frozen', the computer must be externally powered off in order to regain control
  • Other applications (only tested with CSP) work 'fine'
  • Very likely corrupted my CSP file
  • Persisted for many editions

PC Specs:

  • 12th gen intel corei5-12400F
  • nvidia geforce rtx 3060
  • 48gbs RAM (3200 MT/s, ddr4)
  • Two monitors (gives context)

Please fix this issue g's, I'm seriously considering going back to chrome because of this :((

Reproducible?

  • I have checked that this issue cannot be reproduced on Mozilla Firefox.

Version

G6

What platform are you seeing the problem on?

Windows

Relevant log output

@wbak1102
Copy link

At my place YouTube opens instantly only with HBO Max I have a problem.

@SavageTheUnicorn
Copy link

SavageTheUnicorn commented Nov 24, 2024

I experience the same freezing issues more often when multiple tabs of youtube videos are open. For example; I have 8 tabs (none have began loading the video at all yet, I did this intentionally to save on resources) and while watching a video I'd estimate once every 15-30 seconds the entire video playback freezes EXCEPT it doesn't. Only the audio continues playing, but waiting a few seconds and interacting with the window in any way seems to get it to unstick kind of.

(I think this issue, for me atleast. was fixed and then REINTRODUCED in the latest update. One of the last 2-3 updates had solved this for me)

@calicocookiecutter
Copy link
Author

I experience the same freezing issues more often when multiple tabs of youtube videos are open. For example; I have 8 tabs (none have began loading the video at all yet, I did this intentionally to save on resources) and while watching a video I'd estimate once every 15-30 seconds the entire video playback freezes EXCEPT it doesn't. Only the audio continues playing, but waiting a few seconds and interacting with the window in any way seems to get it to unstick kind of.

(I think this issue, for me atleast. was fixed and then REINTRODUCED in the latest update. One of the last 2-3 updates had solved this for me)

oh weird, i think it happens more often for me when i have two windows open with 7+ tabs total, but only one of those is youtube so

@Squall-Leonhart
Copy link

There is an active memory leak bug involving Youtube on the mozilla tracker, the issue is likely from that.

@SavageTheUnicorn
Copy link

SavageTheUnicorn commented Nov 25, 2024

There is an active memory leak bug involving Youtube on the mozilla tracker, the issue is likely from that.

That's very possible. For now I've turned off hardware acceleration and seems to have solved it though it's only been about 8 hours.

After extended testing, this is a viable solution for now (for me).

After even more testing, it was a false positive. It seems to take a bit longer to create the lag, but it still happens sadly.

@IdrisQe
Copy link

IdrisQe commented Dec 9, 2024

Hi, on 6.5.2 here, and I can confirm that turning off Hardware Acceleration does not guarenteed fix this. I already had it disabled before updating to 6.5.X and Youtube gets compoundingly more laggy the longer I have it open for.

I might try disabling "media.hardware-video-decoding.enabled" in about:config and see if that helps, though I have a feeling that will just make things worse. If I do remember to do that tomorrow, I'll report back and edit this comment as to whether it helped or not.

@calicocookiecutter
Copy link
Author

Update, you can see the lag progress in real time when scrolling through the youtube homepage, so its not specific to media players it seems?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants