mar0x / Candle

GRBL controller application with G-Code visualizer written in Qt.
GNU General Public License v3.0
5 stars 1 forks source link

Pi5 installation problems #5

Open ddllpp opened 1 month ago

ddllpp commented 1 month ago

I'm having trouble installing this on my Raspberry Pi 5 running the stock 64bit OS. It uses Wayland and when running the aarch64.appimage I get these errors: qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in "" locale: "en" Cannot mix incompatible Qt library (5.15.2) with this library (5.15.8) Aborted When I build from source using QT Creator, running ./Candle you can see the desktop thru the visualizer panel. Using the mesa override 'MESA_GL_VERSION_OVERRIDE=3.3 ./Candle' the visualizer is all black with no USC icon visible and changing colours in settings had no effect. Using Synaptic I installed anything qt with wayland, and now both methods result in the desktop showing through. Can anyone help? Thanks much

ddllpp commented 1 month ago

I was able to get the windows 64 bit version working in Wine on my Pi5. It'll open a file, the visualizer works fine, and after setting the COM1 with 'wine regedit' it was able to talk to my Openbuilds CNC. It's too unstable though. The window keeps closing on it's own after a few seconds. So close!

mar0x commented 1 month ago

I don't have RPi5 now, but I'm going to rebuild image for latest RPi OS when I have time. I think WINE is not an option, especially on RPi, especially for such a critical mission as CNC control :)

ddllpp commented 1 month ago

Thanks very much. The closest I can come is building from source and using the override: sudo LIBGL_ALWAYS_SOFTWARE=1 ./Candle Everything works now, but GPU is close to 100%, CPU ~50% and mouse navigation is unusable. Not what I would have thought with a software override..