VTK Backplot on RPi 4

More
6 years 5 months ago #168323 by reflow
VTK Backplot on RPi 4 was created by reflow
I posted this here because it seems specific to the QtPyVCP backplot. Happy for it to be moved.

I've successfully gotten the rest of the ProbeBasic interface running on the RPi4 however I'm having issues finding a VTK version which is functional here, and I'm wondering if anyone else has achieved this?

Setup:
Raspberry Pi 4B
Raspbian Buster Lite
Linux raspberrypi 4.19.71-rt24-v7l+ #1 SMP PREEMPT RT Kernel
Mesa 7i92 (Ethernet)
LinuxCNC built from 2.8 Branch
QtPyVCP from HEAD Apr27 ae59b847
This was all assembled from John's excellent instructions here: gnipsel.com/linuxcnc/uspace/rpi4-rt.html

I then built QT (c6128fc67c) in order to get a QTDesigner binary and am successfully able to use
Code:
editvcp
from the RPi.

For VTK, John suggests installing from Debian package and this provides VTK6 with QT4. However the QtPyVCP project appears to depend on QT5?
I have tried building both VTK HEAD and VTK 8.2.0, and hit varying issues, all associated with OpenGL ES differences.
I'm presently compiling VTK 7.1.1, as I found some commentary on Slicer and FreeCAD maybe working on RPi4 from this release with a few hacks, but I'm not hopeful.

Am I missing something, has anyone got this running, or can perhaps point me in the right direction?
Photo; just because getting this far seemed like an achievement.

Please Log in or Create an account to join the conversation.

More
6 years 5 months ago #168326 by reflow
Replied by reflow on topic VTK Backplot on RPi 4
For those trying to avoid building Qt/PyQt. My QtDesigner is attached.
This is based off of the instructions here: www.qtpyvcp.com/install/installation.html
And the install target becomes:
Code:
/usr/lib/arm-linux-gnueabihf/qt5/plugins/designer/libpyqt5.so
The following user(s) said Thank You: TurBoss, KCJ

Please Log in or Create an account to join the conversation.

More
6 years 5 months ago #168705 by cakeslob
Replied by cakeslob on topic VTK Backplot on RPi 4
user Scotta seems to have been working around this issue for a while and seems to have it working using archlinux. I dont know how similar the qtpyvcp backplot it to the qtvcp backplot, so I apologize since most of my reference material is for qtvcp , but I think he is using qtpyvcp now


scotta describes his initial issue
forum.linuxcnc.org/qtvcp/34895-qtvcp-issues?start=120
scotta gets it working
forum.linuxcnc.org/qtvcp/34895-qtvcp-issues?start=230
scotta install instructions
scottalford75.github.io/LinuxCNC-on-RPi/...uxCNC%20Install.html

me, personally, I dont know to switch over linux to arch. I was going to try and embed gremlin_view into the window and use that instead of the qt backplots, I can get gremlin_view to load and run fine along side a qt screen with no qt preview loaded . perhaps these things will work when rpi releases that new graphics driver...

Please Log in or Create an account to join the conversation.

More
6 years 3 months ago #174339 by scotta
Replied by scotta on topic VTK Backplot on RPi 4
It's been a while since I first got the VTK back plot working on the Pi. I've just managed to get VTK 8.2.0 compiled and running on an up to date Arch Linux Arm installation on RPi 3B. Super smooth :-)

Now that I have a working make configuration I'll attempt the same on Buster.

BTW, anyone else having huge memory issues with 2.9 Axis on Buster. I'm going to have to go back to a self compiled version of 2.8 to be useable again. Shame there is no arm version of 2.8 for Buster in the Build bot.

Scott

Please Log in or Create an account to join the conversation.

More
6 years 3 months ago #174353 by phillc54
Replied by phillc54 on topic VTK Backplot on RPi 4
There are 2.8 armhf builds on the Buildbot:
buildbot.linuxcnc.org/dists/buster/2.8-rtpreempt/binary-armhf/

They haven't been built since June 30 due to some issue which also seems to have affected 2.9 since July 08
buildbot.linuxcnc.org/buildbot/builders/...empt-rpi4/builds/178

Please Log in or Create an account to join the conversation.

More
6 years 3 months ago #175679 by scotta
Replied by scotta on topic VTK Backplot on RPi 4
Success! VTK 8.2.0 with Qt5 and Python 2 bindings working on Raspberry Pi OS (Buster) :)



I've created a deb package and will repeat an install on a clean Buster install. Cmake install directories has required some python path additions on the development Pi.

Scott
The following user(s) said Thank You: TurBoss, tommylight

Please Log in or Create an account to join the conversation.

Moderators: KCJ, Lcvette
Time to create page: 0.128 seconds
Powered by Kunena Forum