-
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
What USE_WPE_VIDEO_PLANE_DISPLAY_DMABUF really does? #172
Comments
It's mostly an experiment initially meant to support Secure Video Path (DRM videos rendering). You shouldn't need this for hardware-accelerated video playback per se. Can you read this page and report the informations needed to debug this? |
Thank you for the answer. Here is some information: GPU: Mali 400 MP2 Runing the command:
gives good results, and low CPU load as long as I have the environment variable To make sure GStreamer is not trying to use OpenGL API I compiled from the source with only gles2 support with the following meson options:
After installing the compiled GStreamer I don't need to specify gles2 and video playback is always good when using However, when using the browser (epiphany), it still gives poor performance with low CPU load, like when using the packaged GStreamer from Debian. When running the browser, I also need to specify
Now, getting the log files with MiniBrowser. For some reason when trying with epiphany I didn't get any log files in /tmp.
I'm trying to play mp4 directly to give the best chance. I get ~50% load in the CPU, and the video plays with some artifacts but plays. Log files attached. I wonder if it possible to get closer to the performance of Thank you! |
Can you post dot files for the gst-play case too please? |
Hi, Thank you |
Same caps in both cases... So next step would be to run |
Let me know how I could run the tests. I don't have much experience using these tools. Am I correct to say that Do you think we should be getting more or less the same performance with webkit and gst-play? Or webkit will always be much slower? Again, thanks a lot for the help. I know Pinephone is underpowered but I think that if the hardware capabilities are being used we should be able to get decent performance, especially because the CPU load is not at 100% when trying to play using browser. Is it possible to compile |
Prefix the MiniBrowser command with
Yes to the former. For the latter, I'm not sure yet...
We should aim to have both on par.
I'm not familiar with that platform, but generally speaking I think we should keep default build options and let GStreamer/WebKit select the right GL/gles context at runtime. |
Hi, |
Sorry if here is the wrong place to ask this.
I have a pinephone and would like to have hardware accelerated video playback with the WebKit engine.
Gstreamer already fully supports hardware decoding on Allwinner SOC's with the Cedrus driver. When using epiphany browser (or Minibrowser) I see hardware video decoding but video playback is still bad.
I believe the problem could be on the videosink part of the WebKit implementation that maybe is not using the hardware capabilities to show the video.
I couldn't find documentation for the switch
USE_WPE_VIDEO_PLANE_DISPLAY_DMABUF
and would like to know if this could help to fix the issue with video playback.Thanks in advance
The text was updated successfully, but these errors were encountered: