os icon indicating copy to clipboard operation
os copied to clipboard

Videos freeze while audio continues to play in Chrome, Videos, etc. [$10]

Open cassidyjames opened this issue 8 years ago • 64 comments

From @pbirkbeck on July 9, 2018 4:1

On elementary OS Juno beta videos freeze while watching netflix, youtube etc. Audio continues to play. When I move the mouse around the video resumes playing but freezes a few seconds later without any mouse movement.


There is a $10 open bounty on this issue. Add to the bounty at Bountysource.

cassidyjames avatar Oct 05 '18 16:10 cassidyjames

From @maylton on September 20, 2018 18:44

I've been facing the very same problem. Also, it happens not only while streaming videos, but in vlc and default video player too.

cassidyjames avatar Oct 05 '18 16:10 cassidyjames

From @peteruithoven on September 21, 2018 17:20

There also is a Videos specific issue for this: https://github.com/elementary/videos/issues/93 I personally haven't seen this happen on Youtube, what browser and video did you use?

cassidyjames avatar Oct 05 '18 16:10 cassidyjames

From @irineubruno on September 22, 2018 0:4

Estou com mesmo problema, não pode ser o driver de vídeo ?

cassidyjames avatar Oct 05 '18 16:10 cassidyjames

From @Philip-Scott on September 22, 2018 4:15

I can confirm, but I don't think it's Gala's fault. If we search for "videos freeze until mouse movement" you will find that it's a driver problem :/

cassidyjames avatar Oct 05 '18 16:10 cassidyjames

Can confirm here on two Intel systems. One with 5th gen and the other with I believe 8th gen.

cassidyjames avatar Oct 05 '18 16:10 cassidyjames

From @sebasvisser on October 5, 2018 9:5

Can confirm this also happens on 7th gen i7 on chrome browser

cassidyjames avatar Oct 05 '18 16:10 cassidyjames

I have the same issue on 6th gen Intel laptop with Youtube on Chrome browser. 4.15.0-36-generic kernel

kubaplas avatar Oct 09 '18 16:10 kubaplas

Same thing with Bomi video player. But only when it in non-fullscreen mode

Djaler avatar Oct 13 '18 20:10 Djaler

I can also confirm that this also happens to me on youtube or any video. i5 4200u with Intel HD. Elementary OS Juno 0.5 Kernel: 4.15.0-36-generic

I've started to use Linux recently, but I'm aware Elementary don't usually push kernel updates. so, this is issue is going to stay in here for the rest of the 2 years of the 0.5 version, or will I need to force a kernel update just like the PRO linux users :P?

PNunesDev avatar Oct 17 '18 20:10 PNunesDev

@PNunesDev elementary OS uses the Ubuntu kernel, which gets frequent updates gets upgraded to newer versions along with the rolling "HWE" stack.

cassidyjames avatar Oct 17 '18 22:10 cassidyjames

Confirm here too.

image

otavioschwanck avatar Oct 18 '18 14:10 otavioschwanck

Same here on core-i7 3rd gen...

azhar25git avatar Oct 18 '18 16:10 azhar25git

Update: If you keep moving the mouse, the video don't freeze. Only happens when mouse is stopped.

otavioschwanck avatar Oct 18 '18 18:10 otavioschwanck

I've updated the kernel to 4.18.15, didn't help.

kubaplas avatar Oct 18 '18 18:10 kubaplas

I tried updating to the latest mesa drivers also didn't help

jorge-aparicio avatar Oct 18 '18 19:10 jorge-aparicio

Update: if mouse is out of video, the freeze doesn't happen

otavioschwanck avatar Oct 18 '18 19:10 otavioschwanck

I've updated the kernel to 4.18.15, didn't help.

Well, that's not good, probably the issue is related with intel mesa drivers. Does intel contain any easy update system for their GPU drivers?

EDIT: Nevermind, somebody replied that updating Mesa didn't helped either.

PNunesDev avatar Oct 18 '18 19:10 PNunesDev

I have ubuntu 18.04 and mint 19 (same base, kernel and drivers), and this issue occurs.

otavioschwanck avatar Oct 18 '18 20:10 otavioschwanck

Core 7th gen, HD graphics 620 here, same issue.

Tried upgrading to kernel 4.18.0 and 4.18.15 but this same issue continues haunting me.

I think it's not a driver problem, but Gala's compositor one. I've never had this issue using Gnome.

For example: I managed to make a video stop freezing by holding a Terminal window in front of it, with the beam animation. While the animation was playing on the Terminal window, the video on the browser behind it played smoothly. But, once the beam animation stopped (it automatically pauses after some seconds), almost instantly, the video also froze.

I think it's related to the Gala screen refresh rate. If there's no event coming from the system UI to force it redraw the screen every 1/60 second (in a 60hz display) for quite some time, it freezes and await for the next system event forcing it to redraw. This looks like a trick to save power, but this side-effect is annoying.

I opened an issue on Gala repo: elementary/gala#368

leonidasv avatar Oct 18 '18 20:10 leonidasv

Update videos play perfectly for some reason in firefox not sure what makes it different but its a temporary solution for online video at least

jorge-aparicio avatar Oct 18 '18 21:10 jorge-aparicio