Youtube freezing on Ubuntu 18.04

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 ! :)


Solution 1:

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.