11

Hello I recently installed Ubuntu 18.04 from Windows 10 and so far it's good, but I have a problem. Youtube is freezing every 30 seconds for like 1 or 2 seconds. I watched a movie and it didn't have a problem but it's freezing with Youtube.

If someone could help me I will be very happy to continue my experience with Ubuntu ! :)

Miroslav
  • 979
  • Hi there. How did you install your Ubuntu: is it a virtual machine? Have you configured a dual boot? Have you erased your Windows and are only relying on Ubuntu now? Your installation type is important to understand where the problem comes from. – avazula Aug 07 '18 at 14:28
  • Wiped Windows 10. I really want to just use Ubuntu on my second machine aka for watching movies, netflix, youtube and etc. – Miroslav Aug 07 '18 at 14:31
  • Would this help? – avazula Aug 07 '18 at 14:34
  • No, i tried it 1 hour ago, and right now but still freezing. – Miroslav Aug 07 '18 at 14:42
  • @Predator1112 I updated Ubuntu and it fixed my issues. If you have problems with that goto the corresponding question. – Santropedro Apr 08 '19 at 03:19

4 Answers4

13

This happened to me too. It turns out to be a Chrome issue. Neither FF not Epiphany makes momentary sticky freezes nor halts while video playing. (decoding)

When you check chrome://gpu/ you will notice that Hardware Protected Video Decode part indicates that hardware acceleration is not available in Linux. Inorder to fix that go to chrome://flags/ and enable the Override software rendering list and restart Chrome. It worked for me.

Redu
  • 231
0

From my experience it can be caused by the internet browser (chrome) but if you use firefox it's probably not that.

Jeryosh
  • 745
  • I'm using Chrome. I really can't switch to Firefox. Everything for me is based aroung Chrome and Google's ecosystem. My computer and my phone and my tablet is linked to chrome. – Miroslav Aug 07 '18 at 14:44
  • 2
    Can you test one minute to watch a youtube video on firefox ? it is freezing or not ? – Jeryosh Aug 07 '18 at 14:48
  • 1
    I watched 5 minute video without a problem. So it's a problem with Chrome on Linux. Thanks for the info about the Chrome. I will try to use it :) – Miroslav Aug 07 '18 at 14:53
  • @Predator1112 don't forget to mark the answer as accepted if you found it useful. – avazula Aug 07 '18 at 15:24
  • Yea, thanks for the fast responses from both of you :) It's true that Linux family is a one united team! Cheers! – Miroslav Aug 07 '18 at 15:29
  • 1
    While this describes the issue in (slightly) more detail, this is not an answer to the issue. Nor is this a viable workaround for those of us who rely on chrome. – RTbecard Nov 16 '18 at 17:26
0

I have disabled "Use hardware acceleration when available" in chrome settings and it solved the problem.

  • Worked for me even though the problem is happening across chrome, chromium, brave. (Not Firefox it seems). But the question is, what does it mean that running videos on my browser can't use GPU acceleration when they've been able to for years with Ubuntu 18.04? – iJames Nov 17 '20 at 20:06
  • I have this issue on FF on ubuntu 18.04 after I download/installed some updates (!!!). And I guess now I have no option but just update OS to 20.04 – Marat Zakirov Jun 30 '22 at 07:16
0

I had the same issues, I tried all of these solutions like switching off hardware acceleration (however, Chrome began hanging quite a bit for me but that is due to the high number of tabs I have open) and also it did not really work. I tried the other solutions and none worked. I restarted my computer and it worked temporarily only. But try that also just in case, you never know it might just work.

In the end, I tried checking what extensions were having access to YouTube from Chrome, I tried switching them all off except for the bare essentials (which was AdBlock), so what happened was I had an extension called HabitLab which definitely has some bugs because once I switched it off, YouTube began working normally. So the best thing for you to do might be to check your Chrome Extensions one by one (if the other solutions are not for you)