-
-
Notifications
You must be signed in to change notification settings - Fork 227
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
OctoDash Segmentation Fault on Raspberry Pi 5 OctoPi 1.1.0 #4612
Comments
Hi, i am facing the same challenge. I already tried pretty the same possible solutions but nothing worked in my case. I really hope there is an solution out there for this issue. I really want to get this running, if anybody has an idea, i can test it, i run a second Installation where i can test new solutions without destroying my running OctoPrint installation ;-) |
Quick Update: After doing some research and trying to build OctoDash from source (node 18.19.1, npm 10.5.2), I was able to successfully build the OctoDash, however, the issue came when I tested the service: It looks like electron has some issues with aarch64 architecture, any attempt to run it triggers a I'm not sure what the solution is here, I'm not familiar enough with node and the few posts online were inconclusive how to resolve this issue with electron crashing on arm64 devices... Update # 2After some more research I think I figured out the underlying cause of the issue: the Raspberry Pi 5 has a page size of 16k, according to some sources, electron is compiled with a page size of 4k, as a result, when electron tries to run it Seg Faults. The quick workaround is simple but comes with the tradeoff of reducing page size from 16k to 4k until someone comes up with a compiled version of electron that supports 16k page size. To get OctoDash working I needed to change the pagesize of the kernel from 16k to 4k As for the fix in the case of the RPi5 running OctoPi, add the following line to the
The long term solution for something like the RPi5 would probably be to update the codebase of OctoDash to use a version of electron that supports page sizes greater than 4k - in this case 16k+. Hope this helps anyone else in this situation Sources: |
I'm speechless, it works also for me. i used the original install script from OctoDash, made the changes you mentioned in the config.txt, and set manually the boot option B2 (Console with Autologin). Now it runs!! Thank you for this huge step forward!! |
What doesn't work?
When I run octodash, it throws a
Segmentation Fault
What did you already try?
ratpoison
- ratpoison starts, I can interact with keyboard and touchratpoison
doing^C !
then enteringoctodash
- Segfaultsratpoison
shell - SegfaultsGeneral Information:
Additional context
Notes:
I'm not sure what else I should be trying. I can't seem to find any logging information relating to Octodash that would provide me with more details about the error.
From what I can tell, xinit and startx are working, including the touch functionality; I'm able to start both
ratpoison
and the window managers.Any help appreciated.
The text was updated successfully, but these errors were encountered: