Hi all! A while back I wrote to see if OrangePi might be supported with gSender. Since then I have purchased an rPI 4 and installed 1.4.1. It appears that the app installs and when I run the application, nothing appears to start, however there are several process that are running behind the scenes. I tried the 1.4.0 build as well with the same results.
Is anyone aware of a way that I can get gSender to load and function on the RPI?
I’m having the same issue, pi 4 2gb, newly imaged sd card with raspberry pi os (64-bit), package updates applied. fwiw, universal gcode sender works fine with this setup. Sorry I don’t have a solution, just adding my “me too”.
Are you sure that you have the right version of gSender? I just tried the gSender page and when I choose raspberry pi it wanted to download ‘gSender-1.4.1-Linux-Intel-64Bit.deb’ which is not correct since the pi uses an ARM chip.
I always get my gSender right from gSender’s GitHub Release page. I would think you want ‘gSender-1.4.2-Linux-ARM-64Bit.AppImage’ or ‘gSender-1.4.2-Linux-ARM-64Bit.deb’.
The ARM appimage right? Not the Intel one. I was hoping that the wrong download was the problem because it was the only possible fix that I could think of. It’s good that UGS works at least. I used UGS until I switched to gSender.
I tried to see if I could get gSender to work on my Pi 4b but I couldn’t get it to work either. I tried both ARM builds, the deb and the appimage.
Maybe @KGN can help? This is the errors that I got when running gsender from a terminal.
Blockquote
[13322:0218/023059.047376:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
[13322:0218/023059.047790:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
[13322:0218/023059.048065:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
[13322:0218/023059.048339:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
[13322:0218/023059.048566:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
[13322:0218/023059.048788:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
[13322:0218/023059.049060:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
[13322:0218/023059.050633:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
[13322:0218/023059.050982:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
[13322:0218/023059.051216:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
[13322:0218/023059.051492:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
[13322:0218/023059.051713:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
[13322:0218/023059.051946:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
[13322:0218/023059.052171:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
02:31:00.887 ⺠Error: /tmp/.mount_gSendefsJtkr/resources/app/node_modules/@serialport/bindings-cpp/build/Release/bindings.node: cannot open shared object file: No such file or directory
at process.func [as dlopen] (node:electron/js2c/asar_bundle:2:2131)
at Object. (node:internal/modules/cjs/loader:1356:18)
at Object.func [as .node] (node:electron/js2c/asar_bundle:2:2131)
at Module.load (node:internal/modules/cjs/loader:1126:32)
at node:internal/modules/cjs/loader:967:12
at Function._load (node:electron/js2c/asar_bundle:2:13327)
at Module.require (node:internal/modules/cjs/loader:1150:19)
at require (node:internal/modules/cjs/helpers:110:18)
at load (/tmp/.mount_gSendefsJtkr/resources/app/node_modules/node-gyp-build/node-gyp-build.js:22:10)
at Object. (/tmp/.mount_gSendefsJtkr/resources/app/node_modules/@serialport/bindings-cpp/dist/load-bindings.js:11:46)
at Module._compile (node:internal/modules/cjs/loader:1271:14)
at Object…js (node:internal/modules/cjs/loader:1326:10)
at Module.load (node:internal/modules/cjs/loader:1126:32)
at node:internal/modules/cjs/loader:967:12
at Function._load (node:electron/js2c/asar_bundle:2:13327)
at Module.require (node:internal/modules/cjs/loader:1150:19)
02:31:00.895 ⺠Returned - http://undefined:undefined
02:31:00.897 ⺠Unable to start the server at http://undefined:undefined
[13341:0218/023101.318152:ERROR:platform_shared_memory_region_posix.cc(214)] Creating shared memory in /dev/shm/.org.chromium.Chromium.KGZBOg failed: No such file or directory (2)
[13341:0218/023101.318566:ERROR:platform_shared_memory_region_posix.cc(217)] Unable to access(W_OK|X_OK) /dev/shm: No such file or directory (2)
[13341:0218/023101.319215:FATAL:platform_shared_memory_region_posix.cc(219)] This is frequently caused by incorrect permissions on /dev/shm. Try ‘sudo chmod 1777 /dev/shm’ to fix.
And here is the same in a text file if that’s easier to read. gSenderError.txt (3.6 KB)
If you need more info Kevin just let me know what you need and I’ll try to get it for you.
When I tried running it in a terminal, initially I got no output. I found there was a missing libfuse2. After installing that I got the same result you did.
I have been using gsender ( I think version 1.7? I forgot. Loaded it about a year ago …the version right before the one that seemed to have all the bugs…I will try to check when I am back at the garage in a few days) on a ras pi 4 and it loaded and works fine. As I remember I just did it with the ap image. I am not good at all with Linux or pi (this is the only thing I do on a pi) but I remember it being pretty easy ( I had previously had trouble trying to get Universal Gcode sender and another Cnc program on a pi). I seem to remember the gsender version I use is suggested to use Bullseye 32 bit (not the newer 64). I think I have a thread post in the Facebook page or somewhere where sience staff gave help. I am happy to look more in when I get to my pi in my garage. Also, in a few days I am going to post a pi question about how to run 2 different versions of gsender on 1 pi so you can use on 2 different Cnc machines.
Edit my previous post…if you look at the gsender Facebook group, my post on May 1. 2023 was answered my Chris Throrog of Seince and he said 32 bit “Buster” was the pi OS to use and I did that on my pi4.
Did you ever get gSender to work on a Pi? I checked my notes and I was successful using the 32-bit older “Buster” release of the Raspberry Pi OS, along with the associated 32-bit .deb file.
My primary gSender machine is not the Pi, but it did work.
Based on the installation documentation, I don’t think Sienci has prioritized gSender updates beyond Buster at this time. Installation - gSender Docs
Hi all, there’s been quite a whirlwind recently between the switchover of Pi Foundation to 64-bit several months back plus now Electron (the app builder we use for gSender) now also dropping support of any 32-bit based systems. As of 1.4.4 we’ve made sure to put out a Pi build which you’ll find labelled as “Pi” in the name and should work on 64-bit Bullseye
Unfortunately it looks like we won’t be able to continue to support 32-bit past the 1.2.2 build since otherwise we’ll have to force an older Electron build which then loses compatibility with some of the other libraries we depend on. If anyone wants to give a shot to any of this new info let me know and me or @KGN will do our best to answer any remaining questions. The documentation will be updated shortly as well
Chris, I am going to try this in the next week or so. You helped me get set up via the facebook post in Gsender facebook on May 1, 2023 to set up gsender 1.1.7 on my Raspberry Pi4. It works great. I did it per your instructions by loading the older 32bit Buster OS version. I have never upgraded and I am fine, I like it. I am getting a new cnc machine (home build) and I need to run gsender on it also. I assume I need to just use a different RaspPi because the machine settings will be different for the new machine (and I still want to run the old machine at a different location). I am fine with that. I was going to ask if I should do it the same as back in May 1 2023 with the 32 bit system, but it seems that you are stating above that now there is a 64 bit Bullseye version, so I will try that in the next week or 2 and report back.
Yes Todd, unfortunately Raspberry Pi dropped support for 32-bit, and then also lots of the other tools we use for compiling gSender also dropped support. This means that you can either still set up gSender 1.1.7 or even up to 1.2.2, but if you want to use a newer version of gSender than that, then you’ll have to change your approach slightly.
Try it out. Try out the instructions too. Let us know how it goes for you
I did testing with a variety of Raspberry Pi OS and gSender combinations in the spring, and eventually gave up attempting to use the Raspberry Pi platform. The last working combination seems to be:
Raspberry Pi 3B+
32bit Buster OS
gSender 1.2.2
If the Pi 4 can support the 32-bit OS you might try that combination.
I also needed to increase swap, and performance was still really slow in the visualizer.
My current platform is Debian Linux on Intel or ARM (using the AppImage), and I’ve also run gSender successfully on macOS.
I would think though that since the images are on the download page they are actually installable in some configuration. It would be nice to at least know what if any config has been validated so people know whether to try with their current setup or try an update to hit the validated config.