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

Sluggish CSS animations #179

Open
tdusmoha opened this issue Oct 27, 2017 · 16 comments
Open

Sluggish CSS animations #179

tdusmoha opened this issue Oct 27, 2017 · 16 comments

Comments

@tdusmoha
Copy link

What were you doing?

Loading a full page image slider

What did you expect to happen?

The images would slide smoothly

What happened instead?

Instead it was sluggish

Was there an error message displayed? What did it say?

No error, but the same page works fine on other distro.

Version of FullPageOS? 0.8.1

[Can be found in /etc/fullpageos_version ALWAYS INCLUDE.]

Screenshot(s) showing the problem:

[If applicable. Always include if unsure or reporting UI issues.]

@guysoft
Copy link
Owner

guysoft commented Oct 27, 2017 via email

@remi-grumeau
Copy link

remi-grumeau commented Oct 28, 2017 via email

@tdusmoha
Copy link
Author

tdusmoha commented Nov 2, 2017

@guysoft tried to tweak the settings on chrome://flags, but no success.
@remi-grumeau yes i'm using CSS transform.

For lack of a better solution, I am starting chromium over Jessie (desktop) in kiosk mode. My css animations work flawlessly.

If you would like to give it a go, here's the page i'm trying to load: redline dot mycloud dot mu

@ppejovic
Copy link

@guysoft how do you go about disabling the gpu acceleration? Thanks.

@tdusmoha
Copy link
Author

Type the following in your address bar chrome://gpu

@ppejovic
Copy link

@tdusmoha no, this is a distro setting.

@guysoft Is this the correct setting GUI_INCLUDE_ACCELERATION=no? That I assume would require me to build the distribution?

@guysoft
Copy link
Owner

guysoft commented Jul 16, 2018

@ppejovic Indeed, this is the default setting when building the distro.
It sounds like people want also a non-accelerated version. Because I also saw a similar problem in #232.
I could build a nightly with this setting disabled.

@ppejovic
Copy link

ppejovic commented Jul 17, 2018

Thanks @guysoft. I did a non-accelerated build and I saw a noticeable improvement in the css animations on my Pi 2 Model B. There is still some jitter, so will have to keep looking at what I can tweak next! A nightly build would be useful.

Amazing project btw. Thought it was cool building a distro on the os itself. Thank-you!

@ppejovic
Copy link

So on the non-accelerated distro I enabled the "OpenGL desktop driver with full KMS" and now the css animations are buttery smooth! I haven't tested this setting on the accelerated version. HTH.

@guysoft
Copy link
Owner

guysoft commented Jul 22, 2018

Hey, I created a variant of FullPageOS that has graphical acceleration disabled, so you can test that:

http://unofficialpi.org/Distros/FullPageOS/no-acceleration/nightly/2018-07-22_2018-06-27-fullpageos-no-acceleration-stretch-lite-0.10.0.zip

md5: 2197ebd78f65c17e4155e5bf93e7af55

@tdusmoha
Copy link
Author

tdusmoha commented Jul 23, 2018 via email

@guysoft
Copy link
Owner

guysoft commented Jul 24, 2018

@ppejovic

So on the non-accelerated distro I enabled the "OpenGL desktop driver with full KMS" and now the css animations are buttery smooth! I haven't tested this setting on the accelerated version. HTH.

This sounds like Raspbian changed how the acceleration works and that this script should change to match the new method "OpenGL desktop driver with full KMS" works

@samijandali
Copy link

@guysoft thanks for referring me here!
Well for me now the page is crashing and I'm getting the "Aw, snap" from chromium (used the above image and enabled OpenGL with full KMS

@samijandali
Copy link

@ppejovic I have my videos in an HTML video element and they run off using javascript. I am using Pi 3 B (not the latest one)

@tvandergeer
Copy link

@ppejovic Can you elaborate on what I should do to enable the "OpenGL desktop driver with full KMS" option?

@ppejovic
Copy link

@tvandergeer http://www.raspberryconnect.com/gamessoftware/item/314-trying_out_opengl_on_raspberry_pi_3

Though subsequent to my post above I’ve found this makes chrome crash during video playback.

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

6 participants