Youtube video freezes until I move my mouse- Chrome/ium

7,807

Solution 1

It is happening to me either in Ubuntu Budgie 18.04.

How to fix: Disable the hardware acceleration in your browser:

  • Chromium/Chrome.
  • Search 'hardware'.
  • Uncheck Use hardware acceleration when available.
  • Restart browser.

Best regards.

Solution 2

I found a fix without any throwbacks!

It's sufficient to start chromium with the flag --disable-gpu-vsync and the problem completely goes away.

It's possible to make chromium start with this flag by default, just execute this command in the terminal, restart chrome and the issue will be gone forever:

sudo sh -c 'echo "CHROMIUM_FLAGS=--disable-gpu-vsync" > /etc/chromium-browser/customizations/10-gpufix'
Share:
7,807
Argaman
Author by

Argaman

Bs.c on Computer Science. Mostly, I'm working with Java, Bash, C++/C. Ubuntu fan, but I used a lot of linux distos, such as Solus, Linux mint, Kali, Deepin and Elementary.

Updated on September 18, 2022

Comments

  • Argaman
    Argaman almost 2 years

    I am Ubuntu 18.04 lts Budgie, and somehow whenever I am not moving my mouse, either on fullscreen or not, the video freezes, until I move my mouse again. It happens all the time, on Chrome and Chromium.

    I do have Nvidia proprietary driver installed.

    Someone asked something similar but for Ubuntu 11, and It's a bit outdated.

    Edit: it doesn't happen on Firefox from what I have seen so far.

    Thanks in advance :)

    • pLumo
      pLumo over 5 years
      it freezes immediately when you stop moving the mouse or after some time?
    • Argaman
      Argaman over 5 years
      @RoVo Immediately. maybe a second or two but it's almost instantly
    • Marecky
      Marecky over 5 years
      It happens for me on Ubuntu Budgie 18.04 and evergreen Firefox Developer Edition...
    • Santropedro
      Santropedro about 5 years
      @Argaman II think they solved the issue in a recent update.
  • Argaman
    Argaman over 5 years
    I disabled all addons and I tried to reinstall Chrome, but unfortunately it did not help :( Thanks for trying to help though :)
  • Argaman
    Argaman over 5 years
    Thank you for trying to help after so long :) I will indeed try your solution, but does it work for chrome as well? Because this is my main browser, I tested the issue on Chromium just because I was curious, but thank you nonetheless :)
  • rikial
    rikial over 5 years
    @Argaman the flag works with chrome too, i just don't know how to set it by default at the moment (you'll have to start it from terminal every time). Just switch to chromium as your main browser: it's identical to chrome and it's even completely open source.
  • runlevel0
    runlevel0 over 5 years
    Hi @rikial the command above writes a file into the default config directory for chrome / chromium. It seems that Chrome uses the same too. It will work withut the shell.
  • Pieter De Clercq
    Pieter De Clercq over 5 years
    However be aware that this will cause a much higher CPU usage especially when watching videos in high qualities
  • Costales
    Costales over 5 years
    @PieterDeClercq I care about freeze videos, not higher CPU ;)