-
Notifications
You must be signed in to change notification settings - Fork 24
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
vc4 and slow screen updates at higher resolution videos/streams #136
Comments
exporting VC4_DEBUG=perf and then starting kodi shows: ... The FPS of the 720p video with 50FPS on 1080p TV screen resolution is 12fps as reported by Kodi debug information. glxgears -info -fullscreen reports 60FPS: glxinfo: 720p video at 50FPS available here: https://kichukov.home.xs4all.nl/2min.mp4 (2 minute duration) Kodi: same issues with frame drops and high CPU utilization are observed with MPV: mpv 2min.mp4 -vo=opengl For 24 seconds it had to drop 722 frames. System-wide mesa driver in use: eselect mesa show eselect mesa list mesa is compiled with support for: classic, dri3, egl, gallium, gbm, gles1, gles2, llvm and vc4 video card. It seems like the h264 decoding is not offloaded to the GPU, thus the CPU overload and high frame drop rate. Thanks, |
Right, seems related to: #13 Once this code makes into the raspberrypi-sources I will be eager to test again. |
Hello,
When using the vc4 opensource driver on raspberry pi 3B and playing a movie at anything above 720x576 (Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 720x576 [SAR 16:11 DAR 20:11], 50 fps, 50 tbr, 90k tbn, 100 tbc) of Input #0, hls,applehttp stream the screen is slow to refresh thus causing slow motion effect. 720p is even worse, not to mention 1080p videos. The player is kodi 17.6 running on xorg server.
At 720p, the 4 CPU cores are at 75-80% utilization.
config.txt is configured with:
dtoverlay=vc4-kms-v3d,cma-256
Thank you!
-N
The text was updated successfully, but these errors were encountered: