balena-io-experimental / browser

A drop-in web browser block
99 stars 76 forks source link

Video playback tearing (RPI4) #37

Open smarthomeagentur opened 3 years ago

smarthomeagentur commented 3 years ago

Hi, I testet a lot for Raspberry Pi 4 to get Video Playback with chrome. All the samples have the problem of tearing. What works is WebGL 2.0 so there is some kind of accelerated video support. An Example for the tearing looks like this: PXL_20201207_221327461 MP

phil-d-wilson commented 3 years ago

@smarthomeagentur do you have the GPU enabled or disabled? Does it make a difference if you change the setting?

smarthomeagentur commented 3 years ago

its the same with enabled and disabled

phil-d-wilson commented 3 years ago

Can you try increasing the GPU memory?

https://www.balena.io/docs/reference/OS/advanced/

smarthomeagentur commented 3 years ago

HI @phil-d-wilson I did it with GPU Mem 256 and also the normal 128/64. I think all settings do the same for video FullHD Playback

klvnptr commented 3 years ago

tearing happens to me as well. pretty much tried everything. increased memory, enabled gpu, etc. any idea?

phil-d-wilson commented 3 years ago

@klvnptr @smarthomeagentur - I've just pushed a new version of this block - would you mind re-testing and letting me know if this is still an issue?

potatowave commented 4 months ago

Not sure if this repository is still active, but I found that I also had the video tearing on both x86 generic and Rpi4 with 8GB of ram. Both setups I only changed the following variables and added a URL

  ENABLE_GPU: 1
  SHOW_CURSOR: 1