My browser drops a bunch of frames while playing YouTube videos

The thing is, we want crap blockers which aren’t crap blockers.

I’ll get me coat.

4 Likes

TBH, i used ABP 15 year’s ago, at this time ABP was really good and recommend all over the place. But their fame sold to some shady companies and for people who are not allways up to date… may still think its a good tool.

1 Like

firefox-adblock-plus is available from Extra repository

But I use uBlock origin

The OP wasn’t actually asking for an adblocking extension. The quote was their reaction to a suggestion to test without extensions.

Yep. I use ublock. I need it. I have tried removing it. Not only does that not work, but it causes me huge bandwidth loss. I don’t need ads that waste time and data bandwidth. I

We still don’t know the results from testing without extensions loaded.

Are you keeping us in suspense, or are you not understanding English well?.

1 Like

There’s another thing: 4 frames in 10,000 isn’t a massive deal. Like, 0.04%, if my mental arithmetic isn’t completely screwed today.

2 Likes

The Topic creator not even answered my question, if this frames are skipping when the video starts or the video is already running.

Its important to know, since youtube video’s also used per default automatic resolution.

I wouldn’t surprised if this behaviour also occurred under windows.

1 Like

I’m finding that a lot of YouTube videos are stuttering / backtracking right near the beginning. This might show as “dropped frames”. The ad-blocker is likely the culprit, but I’d sooner have this than having ads shoved in my face.

I guess no frames are dropped if you play a previously downloaded YouTube video in another player e.g. smplayer?

1 Like

For whatever reason, the OP isn’t doing much to help themselves; not performing suggested tests; not answering questions. At this time, I’m uncertain how to progress, or if it’s possible.

Some engagement from the OP might change that, but I’m not seeing any indication that will happen.

2 Likes

10000 frames at 60 frames per second would be approximately 2 minutes and 46 seconds

Playing an online video from youtube has a number of potential points of failure before the video stream reaches local hardware. Youtube server might be glitchy or have high demand for data;
Internet packet loss; momentary lapse of WiFi

I suggest test video playback in browsers and video players with local content to eliminate any internet transmission issues

1 Like

I have tried using the browser without any extension. The result is the same. A bunch of frames dropped.

I tried, firefox (worst offender), google chrome (hwaccel enabled)(bad), chromium ( hwaccel+) (10-11 out of 10000 frames dropped)(not bad), brave (10 out of 10000 frames dropped). Vivaldi (I don’t like it) opera (also too many dropped frames 50/10000).

Other browser: not tried.

Browsers I won’t use even if I was payed to do so: ms edge.

At least that’s now ruled out.


You could try using the Falkon browser, which is very lightweight compared to others:

sudo pacman -S falkon

You don’t need to like this browser; it’s only for testing to see if it makes any difference. Don’t expect it to perform well the first time it’s run; it will likely need to cache some content, just like any newly installed browser. Make sure to try watching several videos and report back with the results when done.


I can’t find any mention of what type of Internet connection you are using? Is it a wired connection or is it WiFi?

If it’s WiFi, try with a wired connection.


Apart from that, you previously mentioned:

This is the obvious workaround to your problem. Use X11.

From your brief review of browsers and previous comments, I suggest you try using Xfce with chromium

I was battling this same problem just now (on an arch system converted from a Manjaro install, so YMMV), but same exact symptoms… Though plasma6 and nvidia (I know, I know). There were good diagnostic steps here that helped me figure this out, but ultimately what I did was force Firefox to run in xwayland mode by setting

export MOZ_ENABLE_WAYLAND=0

in ~/.bash_profile

It’s not quite a fix, but I’m not noticing a significant penalty by doing it this way for now. Hopefully this at least makes it usable in the meantime until whatever the root cause is identified and fixed. webrender.all also was enabled, but honestly didn’t check to see if it was fine without it. If it’s not, try xwayland with webrender.all and see if that does the trick.

My vainfo shows “XDG_RUNTIME_DIR is invalid or not set in the environment.” (it is, though) and seems to fall back to calling x11, so it’s probably related. Check your vainfo and see if you see something similar, if so, that’s probably the path we should go down to find the actual fix.

1 Like

I will try that.

Xfce does work. It uses x11. Anything that is x11 works. Gnome x11 works, kde x11 works anything on x11 works but the problem is Wayland. I want to use Wayland. I’ve heard that x11 can be a big attack surface for viruses and keyloggers.

That’s just wrong. Use x11 and enjoy undropped frames.

After the large updates, you could always test what’s happening on Wayland.

3 Likes

I can’t help with Wayland

I have heard that too, but it does not make much sense without facts and data