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!
About this post
- Posted
- Archived
- Score
- 20 · 100% up
- Kind
- Text
- ID
- 9l8oby
29 comments
If you are using an Intel cpu, you should try chromium-vaapi from AUR.
https://aur.archlinux.org/packages/chromium-vaapi-bin/
Sorry but what makes this vaapi version better than the default?
The vaapi version had the hardware acceleration patch added to it. Normal chromium doesn't have hardware acceleration
If you're using an nvidia gpu you can get it to work by installing libva-vdpau-driver-chromium as well .
I am using an INTEL GPU.
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
Had the same stuttering on YT.
Running on xorg fixed it but weird mouse acceleration there, back to wayland.
--disable-gpu-driver-bug-workaroundson wayland worked aswell but spammed terminal with some errorchromium --disable-gpu-driver-bug-workarounds --use-gl=osmesa &>/dev/null &Running this fixed it but if I close the terminal chromium dies. :/So what's better to run Chromium with this flag? Or use the vaapi version that has the hardware acceleration patch added to chromium?
You likely can not get rid of the message easily, however you can simply ammend your .desktop entry or set them up in a conf file
I had the same issue with chromium, and this solved it for me.
I am on Wayland, and will give this a shot. Thanks!
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.
...
Are you running on Wayland by any chance?
I am, yes!
Try logging in on xorg (just pick xorg in the Dropdown in the GDM login screen) and see if that improves the situation.
no hardware acceleration?
I had a lot of trouble with this back in the days. Basically you want to check hardware acceleration on chromium config. Type
chrome://gpuand 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 proprietarygoogle-chromepackage from aur might fix the issue.Edit: checked the article after I commented and it mentions what I just said apparently, my bad.
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
Joey Sneddon Updated 4 October 2018 : Google Has ‘No Plans’ to Enable Chrome Hardware Acceleration on Linux
enabling hardware acceleration fixed the problem for me.
as well as installing flash
This is also pretty common with even windows AND Mac. Maybe it is fixable with Linux.
I believe this is a Chromecast issue. It happens to me regardless of the source of the stream.