Hi guys, I thought I'd share my installation guide for Linuxcnc on Debian
Bookworm. This has become easier since Debian has included the non-free
packages in their standard Bookworm ISO.

You can access this guide here:
https://docs.google.com/document/d/1jeV_4VKzVmOIzbB-ytcgsW2I_PhCm1x7oiw8VcLFdiY/edit?usp=sharing
<https://docs.google.com/document/d/1jeV_4VKzVmOIzbB-ytcgsW2I_PhCm1x7oiw8VcLFdiY/edit?usp=sharing>

This is a living document and will be subject to  ongoing changes.

It is still a work in progress but it has been tested by quite a few users
now.
The  basic installation is very simple and is covered in the first 14
steps. The rest introduces a number of options such as ethercat, QTPYVCP etc

This guide  (thanks to inspiration from Peter Wallace and work by James
Walker) also includes download links to prebuilt deb files for the 6.3
kernel built  from pristine source from kernel.org to avoid the high
latency Debian default PREEMPT_RT kernels. In our testing, this resulted in
a 265% improvement in latency/jitter over the default Bookworm kernels. It
also eliminated Error Finishing Read issues with Mesa ethernet devices.

The other massive improvement to performance for hardware using  some
Realtek NIC drivers comes from installing the r8168-dkms driver. This is no
longer present in the Bookworm repositories so we download it from SID
packages. On our hardware containing a Realtek R8111 NIC, this resulted in
a 400% improvement in network latency.

If you are interested in compiling the 6.3 kernel, complete instructions
are included in the Google Drive folder containing the kernel files linked
to in the instructions..

So finally after months of playing with kernel stuff, I have an environment
that supports Linuxcnc and a Mesa ethernet environment on a modern debian
distribution that supports modern hardware.

Feel free to ask questions, add comments/suggestions to my Google Drive
docs or steal any content if you wish to add a version of this to the
Linuxcnc docs. I don't have the time for that. It's hard enough collating
and testing the information presented.

I think from V 2.9 and on, some instructions should be presented on using
Bookworm probably on the downloads section. This could be done now.


Rod Webster

VMN®

www.vmn.com.au

Ph: 1300 896 832

Mob: +61 435 765 611

_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to