Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Videos are lagging when playing 2 Video on 2 Screens #813

Open
TechG3n opened this issue Apr 6, 2022 · 1 comment
Open

Videos are lagging when playing 2 Video on 2 Screens #813

TechG3n opened this issue Apr 6, 2022 · 1 comment

Comments

@TechG3n
Copy link

TechG3n commented Apr 6, 2022

Hi,
I'm using a Pi4 4GB to display two videos to two Displays
As demo i use https://files.pimylifeup.com/omxplayer/bigbuckbunny_30sclip.mp4.

I have increased the GPU memory to 512MB and the Command looks like
omxplayer -o hdmi -n -1 --display 2 --loop --no-keys --no-osd --pos 00:00:05 -r /home/pi/bigbuckbunny_30sclip.mp4

When i start one instance it runs fine, but if i start both the videos start to lag/hang.
At this point the CPU is at 10%, 3GB free ram, 428Mb free video memory an no temp problem (43°).
I have tried to put the videos on a fast USB Stick, or one on SD and one on Stick.

What can be the problem that the video lags and is there a fix?

@rijotech
Copy link

Enable this on your /boot/config.txt
and upgrade your firmware sudo rpi-update

dtoverlay=vc4-fkms-v3d
max_framebuffers=2
gpu_mem=512

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants