-
-
Notifications
You must be signed in to change notification settings - Fork 556
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
Performance issues on Raspberry Pi 4 #523
Comments
Would you check what Chromium version is used both with GTK and QT? A wild guess is that it is using an ancient Chromium that results in poor performance. Also how did you install dependencies, via |
I'm not sure how to get the real version, so I got the user agent on both cases: With QT: On the chromium itself on the OS: GTK bindings came with the OS (I guess) as I installed pywebview using pip and it didn't install much. With QT it installed a lot of things (with pip as well, and I think I also installed some things on the OS manually according to your instructions). |
I do not have access to Raspberry Pi, so cannot check it for myself. I have got the same WebKit version on my desktop system (Intel Nuc based) and videos play with no problems. |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days |
I have similar problems. On RPI my jpg-stream works perfectly in Chromium, but in pywebview, I only get 1-2 frames per second which flash into view and then go. So in effect I get flickering images. I'm willing to provide you with an RPI if that helps resolve the issue. |
@tnagels I can take a look if you provide me with a RPI. Send me a message at roman at flowrl.com |
@r0x0r I just sent you an email! |
Thanks to @tnagels I got an opportunity to investigate this. No results yet, but the status of current investigations are
|
Ok more findings:
I am not very good at or keen on building Linux packages, so maybe somebody else could give it a try and report results back here. |
Any chance of trying the Ubuntu build for the RPI4? There is one which is supported by the RPI Imager. Maybe that has different/more packages. |
Yeah, I will give it a try. |
@tnagels Good news. I got adequate video performance with Ubuntu for RPI4. 480p at 30fps, on par with performance of Chromium. I used this command for installing dependencies
|
@r0x0r that is indeed good news! I will give this a try as soon as I have some time on my hands. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
The message to post on the issue when closing it. If none provided, will not comment when closing an issue. |
Specification
Description
Hello!
I have an electron app that I would like to migrate to pywebview, and I'm very happy so far, but I'm having much slower performance on pywebview compared to chromium on the same RPi4.
I would like to investigate this, if it's something pywebview can change, using different flags for the rendering engines (to mimic what chromium has configured for the RPi), or if I should report this to upstream. I tested GTK and QT bindings, with different results, but with problems on both.
GTK ones work better in general, but I have one video on the app and it shows at 1 or 2 FPS. (the same video plays perfectly on chromium). QT works a bit faster but I need to double-click on links most of the time and no video at all.
Any ideas?
Practicalities
YES I am willing to work on this issue myself.
NO I am prepared to support this issue financially.
The text was updated successfully, but these errors were encountered: