browser icon indicating copy to clipboard operation
browser copied to clipboard

Video playback tearing (RPI4)

Open smarthomeagentur opened this issue 4 years ago • 7 comments

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

smarthomeagentur avatar Dec 07 '20 22:12 smarthomeagentur

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

phil-d-wilson avatar Dec 16 '20 09:12 phil-d-wilson

its the same with enabled and disabled

smarthomeagentur avatar Dec 17 '20 00:12 smarthomeagentur

Can you try increasing the GPU memory?

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

phil-d-wilson avatar Dec 17 '20 07:12 phil-d-wilson

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

smarthomeagentur avatar Jan 04 '21 17:01 smarthomeagentur

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

klvnptr avatar Mar 19 '21 07:03 klvnptr

@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?

phil-d-wilson avatar Apr 08 '21 10:04 phil-d-wilson

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

potatowave avatar Jun 05 '24 04:06 potatowave