Skip to content

Chrome / Chromium - Stuttering with YouTube HD Videos

Hello Everyone,

I recently stumbled upon the following article: https://www.omgubuntu.co.uk/2018/10/hardware-acceleration-chrome-linux

In addition, I have also noticed my Chromium (version 69.0.3497.100) is somewhat laggy when watching HD YouTube videos. I am unsure if the article above is the root-cause, but thought i would ask.

If it is, is there a patched version of Chromium in the AUR with this patch?

Thanks in advance!

20 points27 comments
Open on Reddit
About this post
Posted
Archived
Score
20 · 100% up
Kind
Text
ID
9l8oby

Author

208
posts
484
comments
6
media
View profile

29 comments

If you are using an Intel cpu, you should try chromium-vaapi from AUR.

https://aur.archlinux.org/packages/chromium-vaapi-bin/

10 points

Sorry but what makes this vaapi version better than the default?

3 points

The vaapi version had the hardware acceleration patch added to it. Normal chromium doesn't have hardware acceleration

5 points

If you are on Wayland try on Xorg. If that is the case and that fixed it, you might want to start chromium with --disable-gpu-driver-bug-workarounds and see if there's any improvement

4 points

Had the same stuttering on YT.

  • Running on xorg fixed it but weird mouse acceleration there, back to wayland.

  • --disable-gpu-driver-bug-workarounds on wayland worked aswell but spammed terminal with some error

  • chromium --disable-gpu-driver-bug-workarounds --use-gl=osmesa &>/dev/null & Running this fixed it but if I close the terminal chromium dies. :/

1 points

So what's better to run Chromium with this flag? Or use the vaapi version that has the hardware acceleration patch added to chromium?

1 points

post your specs. It really depends... if you have a 2nd gen intel i-Core or less.

I'm rocking a 2nd gen i5-2500K and it still runs... without stutter.

...

3 points

Are you running on Wayland by any chance?

1 points

I am, yes!

1 points

Try logging in on xorg (just pick xorg in the Dropdown in the GDM login screen) and see if that improves the situation.

1 points

I had a lot of trouble with this back in the days. Basically you want to check hardware acceleration on chromium config. Type chrome://gpu and configure that until you have everything green or almost (this was my homepage until I fixed it). Check if you are using the intended gpu. And search about how to enable all those graphics features. Also using the proprietary google-chrome package from aur might fix the issue.

Edit: checked the article after I commented and it mentions what I just said apparently, my bad.

1 points

To be honest I've had this happen recently on my Nvidia 1080 ti with a threadripper 1950x on arch. Have latest driver, chrome, flags set up for you acceleration but no cigar. Gnome running on xorg because nvidia-wayland is iffy

1 points

Joey Sneddon Updated 4 October 2018 : Google Has ‘No Plans’ to Enable Chrome Hardware Acceleration on Linux

​

Google says it has no plans to enable Chrome hardware acceleration on Linux — not even as an experimental option.

​

..... based on recent comments from a Google Chrome team member, the situation is not going to change…

​

Those with powerful rigs and high-end modern processors are unlikely to notice any major issues with software decoding, making the “issue” a subjective one.

​

Accordingly, if you visit chrome://gpu with the flag enabled you’ll see some text which reads: “Video Decode: Hardware accelerated“.

​

Done? Not quite. It turns out that, in spite of what the browser says, the flag does not enable hardware accelerated video decoding.

​

Don’t believe me? Stream some HD video from YouTube or Vimeo in Chrome on Linux while you keep an eye on your system’s CPU usage via top or the System Monitor app and you’ll notice that it’s fairly busy…

1 points

enabling hardware acceleration fixed the problem for me.

as well as installing flash

1 points

This is also pretty common with even windows AND Mac. Maybe it is fixable with Linux.

0 points

I believe this is a Chromecast issue. It happens to me regardless of the source of the stream.

-1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.