elementary / os

The OS build system
https://elementary.io
GNU General Public License v3.0
984 stars 130 forks source link

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

Closed cassidyjames closed 4 years ago

cassidyjames commented 5 years ago

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](https://www.bountysource.com/issues/64338934-videos-freeze-while-audio-continues-to-play-in-chrome-videos-etc?utm_campaign=plugin&utm_content=tracker%2F93529863&utm_medium=issues&utm_source=github)** on this issue. Add to the bounty at [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F93529863&utm_medium=issues&utm_source=github).
jorge-aparicio commented 5 years ago

Using @mnavarrocarter works somewhat for me the high cpu usage still causes frame drops and stutters on my xps 13 using youtube on chrome

jeanvcastro commented 5 years ago

I can confirm @mnavarrocarter solution fixed the problem for me.

elementary OS 5.0 Juno (64-bit) Built on Ubuntu 18.04 LTS Linux 4.15.0-38-generic GTK+ 3.22.30

Dual Core Intel® Core™ i5-5300U CPU @ 2.30GHz Intel Corporation HD Graphics 5500 (rev 09)

jorge-aparicio commented 5 years ago

After more experimentation I have determined that the high cpu usage of the fix prevents me from playing 1080p 60fps videos on youtube and stutters with 720p fps videos which is not an issue I've had on other distros i.e. manjaro so while this helps a bit I wouldnt call it a fix. XPS 13 9360 7th gen I7 intel 620 graphics

anarrestee commented 5 years ago

Does anyone know if we can expect a permanent fix from stable updates? Or would you advice to use the workarounds available, like the one suggested by @mnavarrocarter?

(Edit) @mnavarrocarter's workaround fixed it for me in Netflix and Youtube (Chrome). But issue persists in elementary's Videos app.

elementary OS 5.0 Juno (64-bit) Built on Ubuntu 18.04 LTS Linux 4.15.0-38-generic GTK+ 3.22.30

Dual-Core Intel® Core™ i7-3537U CPU @ 2.00GHz NVIDIA Corporation GK107M [GeForce GT 740M] (rev a1)

belizeno commented 5 years ago

I can confirm this works on my computer. There needs to be a permanent fix though. Elementary Os is as perfect an OS as you can get, with this one tiny glitch messing things up on Intel Graphics HD Machines.

screenshot from 2018-11-13 13-57-48

anarrestee commented 5 years ago

After installing Firefox and VLC and testing the issue again, I can confirm (in my machine) it persists and seems confined to Videos app, even after using @mnavarrocarter solution.

okitoxo commented 5 years ago

I have the same problem. I found that the video works fluid if i do use Picture in Picture feature over youtube video and the original video is in other working area.

abdullahgira commented 5 years ago

@mnavarrocarter solution works fine for videos, but this issue is not with videos only, I have this issue while downloading on mega.nz or when loading a website the loading icon stops and doesn't show any content on the page unless I move the mouse, for mega.nz the download progress doesn't show any update unless I move the mose screenshot from 2018-11-15 00-28-45

viniciusn commented 5 years ago

Same here, doesn't happen on Mozilla or Epiphany. Only Chrome, Chromiun or Opera.

hunboy723 commented 5 years ago

Kaffeine works on the first screen.

abdullahgira commented 5 years ago

Connecting external monitor with @mnavarrocarter solution doesn't solve the problem.

Livotch commented 5 years ago

I had the same problem on Chrome, I disabled "Use hardware acceleration when available" in Chrome settings, it works fine now.

ruemoo commented 5 years ago

i have the same issue with freezing, did the same as Livotch did a while ago and fixed on steam but found out that it affects games aswell as chrome, cant play some games only using a controller as it freezes and starts moving again when i move the mouse, rendering my controller pointless. do we have any fixes for this or is the freezing a dead end?

danirabbit commented 4 years ago

Closing because this appears to have been fixed in Ubuntu