RPI4 - Debian / LinuxCNC / EtherCAT / XFCE
18 May 2022 09:33 #243256
by rodw
Replied by rodw on topic RPI4 - Debian / LinuxCNC / EtherCAT / XFCE
6 glx gears all day
Started compiling vtk at 8:30 pm. See how we go in 16 gb...
Following Tchmiimy's approach on this page:
github.com/pyvista/pyvista-support/issues/432
See you in the morning
Started compiling vtk at 8:30 pm. See how we go in 16 gb...
Following Tchmiimy's approach on this page:
github.com/pyvista/pyvista-support/issues/432
See you in the morning
Attachments:
Please Log in or Create an account to join the conversation.
18 May 2022 21:31 #243296
by rodw
Replied by rodw on topic RPI4 - Debian / LinuxCNC / EtherCAT / XFCE
Success! I hope...
After 5 hours, there was still about 2000 files remaining to be built with ninja. (of just under 10000)
Then checking with python
Now I just have to find where the wheel file is living
After 5 hours, there was still about 2000 files remaining to be built with ninja. (of just under 10000)
apt install -y build-essential mesa-common-dev mesa-utils freeglut3-dev ninja-build git cmake
git clone --recursive https://gitlab.kitware.com/vtk/vtk.git
mkdir build
cd build
cmake -GNinja -DVTK_WHEEL_BUILD=ON -DVTK_WRAP_PYTHON=ON ../vtk/
ninja
python setup.py bdist_wheel
Then checking with python
cnc@bcm2711:~/devel/build$ python3
>>> import vtk
>>> print(vtk.vtkVersion.GetVTKSourceVersion())
vtk version 9.1.0
>>> exit()
Now I just have to find where the wheel file is living
The following user(s) said Thank You: elovalvo
Please Log in or Create an account to join the conversation.
18 May 2022 22:00 #243299
by rodw
Replied by rodw on topic RPI4 - Debian / LinuxCNC / EtherCAT / XFCE
The wheel is in
build/dist
on my pi it is called
So tonight I'll be onto installing qtpyvcp
build/dist
on my pi it is called
vtk-9.1.20220518.dev0-cp310-cp310-linux_aarch64.whl
So tonight I'll be onto installing qtpyvcp
The following user(s) said Thank You: elovalvo
Please Log in or Create an account to join the conversation.
18 May 2022 22:53 - 18 May 2022 23:00 #243304
by elovalvo
To install qtvcp you need these commands:
and than
select 3 = Yes, for a package installation
Replied by elovalvo on topic RPI4 - Debian / LinuxCNC / EtherCAT / XFCE
The wheel is in
build/dist
on my pi it is calledvtk-9.1.20220518.dev0-cp310-cp310-linux_aarch64.whl So tonight I'll be onto installing qtpyvcp
To install qtvcp you need these commands:
sudo apt-get install python3-gst-1.0
cd /usr/lib/python3/dist-packages/qtvcp/designer
sed 's/x86_64/aarch64/g' ./install_script > /tmp/install_64_script
sudo cp /tmp/install_64_script .
sudo chmod a+x ./install_64_script
./install_64_script
and than
select 3 = Yes, for a package installation
Last edit: 18 May 2022 23:00 by elovalvo.
The following user(s) said Thank You: rodw
Please Log in or Create an account to join the conversation.
19 May 2022 11:42 #243333
by rodw
Replied by rodw on topic RPI4 - Debian / LinuxCNC / EtherCAT / XFCE
elovalvo's method to install qtvcp did not work for me, At least the install script ran perfectly instead of erroring. I was getting segmentation faults with qtplasmac, and other sample screens did not load.
but adding
to cmdline.txt made a substantial improvement on latency
10 glx gears vs 6 previously. I'll let it run overnight again.
I just have to try qtpyvcp but that will be another night.
I did grab a 64 bit SD card today so its time to try rebuilding the image tomorrow.
We had incessant internet outages today so could not get any work done, let alone playing with this..
but adding
processor.max_cstate=1
to cmdline.txt made a substantial improvement on latency
10 glx gears vs 6 previously. I'll let it run overnight again.
I just have to try qtpyvcp but that will be another night.
I did grab a 64 bit SD card today so its time to try rebuilding the image tomorrow.
We had incessant internet outages today so could not get any work done, let alone playing with this..
Attachments:
Please Log in or Create an account to join the conversation.
19 May 2022 14:25 - 19 May 2022 14:25 #243346
by ftree
Replied by ftree on topic RPI4 - Debian / LinuxCNC / EtherCAT / XFCE
processor.max_cstate=1
Excellent, will add to the boot cmd too!
I now have LXQT v1.1 installed as default. Will commit that soon.
I have forked forked FalconView with a view to make it look inkeeping with an modern LXQT based ui.
Busy getting the robot working on EtherCAT....
Excellent, will add to the boot cmd too!
I now have LXQT v1.1 installed as default. Will commit that soon.
I have forked forked FalconView with a view to make it look inkeeping with an modern LXQT based ui.
Busy getting the robot working on EtherCAT....
Last edit: 19 May 2022 14:25 by ftree.
Please Log in or Create an account to join the conversation.
19 May 2022 18:40 #243356
by rodw
Replied by rodw on topic RPI4 - Debian / LinuxCNC / EtherCAT / XFCE
Attachments:
Please Log in or Create an account to join the conversation.
19 May 2022 18:54 #243357
by rodw
Replied by rodw on topic RPI4 - Debian / LinuxCNC / EtherCAT / XFCE
hmm, clicking on a png image (screenshot) would not open it.
fixed that
Just experiment with cstates before adding to your image. I just realised the horizontal scale was different between my overnight runs so it might be worse..
sudo apt install feh
Just experiment with cstates before adding to your image. I just realised the horizontal scale was different between my overnight runs so it might be worse..
Please Log in or Create an account to join the conversation.
19 May 2022 21:29 #243363
by rodw
Replied by rodw on topic RPI4 - Debian / LinuxCNC / EtherCAT / XFCE
THis command installs the linuxcnc dependencies for those who want to update the debian package by building from source
sudo apt install -y dpkg-dev dh-python intltool libboost-python-dev libgtk2.0-dev libmodbus-dev libeditreadline-dev libusb-1.0-0-dev libxmu-dev netcat-openbsd tcl8.6-dev tk8.6-dev yapps2 asciidoc dblatex docbook-xsl dvipng ghostscript graphviz groff imagemagick inkscape python3-lxml source-highlight w3c-linkchecker xsltproc texlive-extra-utils texlive-font-utils texlive-fonts-recommended texlive-lang-cyrillic texlive-lang-french texlive-lang-german texlive-lang-polish texlive-lang-spanish texlive-latex-recommended asciidoc-dblatex texlive-xetex
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19196
- Thank you received: 6434
19 May 2022 21:56 #243364
by tommylight
Replied by tommylight on topic RPI4 - Debian / LinuxCNC / EtherCAT / XFCE
There are some red dots on that graph so might have excursions that are out of visible area, use this
latency-histogram --nobase --sbinsize 1000 --show
The following user(s) said Thank You: rodw
Please Log in or Create an account to join the conversation.
Time to create page: 0.385 seconds