Problem with GeoGebra Classic - Recent Versions on Raspberry Pi

Ruben R. Puentedura shared this question 2 weeks ago
Answered

I tried to install the latest version of GeoGebra Classic (geogebra-classic_6.0.511.0-201811221406_armhf.deb) on a Raspberry Pi, and found that it did not work - when launched from the command line, it crashes with the following message:

------

Error: The module '/usr/share/geogebra-classic/resources/app/build/giac.node'

was compiled against a different Node.js version using

NODE_MODULE_VERSION 48. This version of Node.js requires

NODE_MODULE_VERSION 57. Please try re-compiling or re-installing

the module (for instance, using `npm rebuild` or `npm install`).

at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:172:20)

at Object.Module._extensions..node (module.js:598:18)

at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:172:20)

at Module.load (module.js:503:32)

at tryModuleLoad (module.js:466:12)

at Function.Module._load (module.js:458:3)

at Module.require (module.js:513:17)

at require (internal/module.js:11:18)

at bindings (/usr/share/geogebra-classic/resources/app/node_modules/bindings/bindings.js:76:44)

at Object.<anonymous> (/usr/share/geogebra-classic/resources/app/main.js:6:32)


------

Digging a little deeper, I found that this is not a recent problem - all versions from 6.0.498 onwards do not work. Additionally, some earlier versions, while they work, do so with serious performance issues, pegging the processor at 100% (e.g. all versions I tested from 6.0.481 through 6.0.496). The most recent version I tested which did not crash and performed acceptably was 6.0.471 (I did not test versions 6.0.472 through 6.0.477).

All the tests were run on a Raspberry Pi 3A+, with a fresh install of the latest Raspbian image (2018-11-13 Release) on a known-good SD card.

Would it be possible to track down the problem, and post an updated version to the Debian repositories?

Many thanks in advance for all help.

Comments (11)

photo
1

Thanks for the very detailed bug report. We'll try to fix this as soon as possible.

photo
1

i want to download applet form resources kindly guide me how to download

photo
1

Please start a new thread and write some more details what you exactly would like to download. The Raspberry Pi installers are available at https://archive.raspberrypi... but you must be searching something else, right?

photo
photo
1

I managed to reproduce the problem. Also some other platforms seem to be affected. Hopefully this issue will be fixed in the next release. We already have a patch, but it needs to be tested first.

photo
1

Please can you try http://test.geogebra.org/~k... if it works for you? This is an official package, it will be removed from this URL later.

photo
1

I tried this latest package but it does not work for me, I get this:

No autoupdate for linux
Registered protocol succesfully
Registered protocol succesfully
And then nothing happens. So I guess it will not work for you, either. :-(

photo
1

Unfortunately, I can confirm that this package does not work - I see the same outcome on my system.

Thank you again for working on this - let me know when there’s another version you’d like me to test.

photo
1

Please try http://test.geogebra.org/~k..., it works for me on Raspbian 2017-07-05.

photo
1

This package works for me on Raspbian 2018-11-13 as well, but as you mentioned, the CPU load is at 100%. We will investigate this issue soon.

photo
1

Now I checked which versions are affected with the 100% CPU load. Indeed, 481 and above all seem to have this issue. 477 works properly. Hopefully we can track down the problem now. Other platforms do not seem to be affected, at least 64 bit Linux works properly above 477 as well.

photo
1

It turned out that GPU acceleration was explicitly enabled on all platforms after v477 to make it possible to use the 3D View on all systems, even if the GPU is blacklisted. Now this setting have been removed for Raspberry because the GPU support does not work well in most cases. The next official version (most probably v516) will not have the performance issue any longer.

photo
© 2018 International GeoGebra Institute