Read the statement by Michael Teeuw here.
MMM-Globe rotates very slowly and haltingly
-
@Syosse - The reason for the slow & flashing is because that module is pure Javascript and doesn’t use hardware acceleration at all. It’s using the CPU to do all the work.
I’ve been toying around with a 3D accelerated version of that module but I got distracted. It didn’t look super hard. Mostly just playing around with some free libraries.
-
@bhepler said in MMM-Globe rotates very slowly and haltingly:
@Syosse - The reason for the slow & flashing is because that module is pure Javascript and doesn’t use hardware acceleration at all. It’s using the CPU to do all the work.
I’ve been toying around with a 3D accelerated version of that module but I got distracted. It didn’t look super hard. Mostly just playing around with some free libraries.
allright thanks so much for the information!
So is there no other solution than replacing the Raspberry Pi and getting one with a higher CPU?
-
@Syosse said in MMM-Globe rotates very slowly and haltingly:
So is there no other solution than replacing the Raspberry Pi and getting one with a higher CPU?
You could finish what I started. Write a module that uses the 3d-accelerated globe libraries. There’s already a project out there that has the hexagon look & feel.
You’ll have to reconfigure your mirror to use Chromium in kiosk mode to display your mirror, rather than the default Electron (Electron does not support hardware acceleration). That’s not difficult at all. It’s just command line arguments. That should work on an RPi.
-
@bhepler said in MMM-Globe rotates very slowly and haltingly:
Electron does not support hardware acceleration
incorrect… we just disable it by default in 2.26
add
export ELECTRON_ENABLE_GPU=1
to the script where u launch MM
note that you also have to have the correct drivers installed to enable GPU
… not the fakekms… -
@sdetweil Huh. Well, that’s new. If I ever get around to making the hardware accelerated version I’ll give it a go.