Complete HOW-TO Linux Mint 18.1 32/64 RTAI or PREEMPT with RIP install or deb

More
04 May 2017 12:12 - 04 May 2017 12:13 #92631 by andypugh
andypugh replied the topic: Complete HOW-TO Linux Mint 18.1 32/64 RTAI or PREEMPT with RIP install or deb
Someone here had a rather similar problem. In his case it appeared to be that he already had a later version of boost-python.
forum.linuxcnc.org/38-general-linuxcnc-q...sie-install?start=20
You might have to uninstall the version you have and get 1.55.0. I think you can force a version in the synaptic package manager with a right-click option on the package.
Last Edit: 04 May 2017 12:13 by andypugh.
More
06 May 2017 08:49 #92733 by probamo
probamo replied the topic: Complete HOW-TO Linux Mint 18.1 32/64 RTAI or PREEMPT with RIP install or deb
small addendum to POST 3 for those who wants to install RTAI under Ubuntu 16.04. While making kernel, there is a problem finding gcc-4.6 dependency, saying in Terminal:

The following packages have unmet dependencies:
linux-headers-3.4-9-rtai-686-pae : Depends: gcc-4.6 but it is not installable

.

To solve this I added in Source List two more lines:

deb archive.ubuntu.com/ubuntu/ trusty universe
deb-src archive.ubuntu.com/ubuntu/ trusty universe

install gcc-4.6, resume building kernel and make my day bright.

Cheers,
More
14 May 2017 22:00 #93202 by siggi
siggi replied the topic: Complete HOW-TO Linux Mint 18.1 32/64 RTAI or PREEMPT with RIP install or deb
I installed Ubuntu 16.04 and compiled the 4.9.4-rt2 #1 SMP PREEMPT RT kernel without issue, works like a charm once I ditched the PCI ath9k wireless card in favor of a USB mt7601u wireless dongle. This is an Optiplex 780 with "Intel(R) Core(TM)2 Quad CPU Q8300 @ 2.50GHz". With boot arguments "isolcpus=3 idle=poll acpi_irq_nobalance noirqbalance", I get ~15us latency on the base (25us) thread and <10us on the servo thread. With the ath9k PCI card my latencies were in 700us!!! I'm hoping to be able to ditch the "idle=poll" argument with the Mesa 5i25/7i76 setup I'm cobbling together.

The only problem I have so far is that with my local-built 2.7.8 linuxcnc, it appears the keyboard repeat is messing up jogging in axis. It goes pretty smoothly at first, but as soon as the keyboard repeat kicks in, the axis I'm jogging starts groaning and complaining. The worst thing is that it looks like the repeat queues up a bunch of events, so the jogging doesn't stop when I let go of the arrow/pg up/pg down keys.

Anyone know what this is about, keyboard auto-repeat messing up jogging in axis?
More
14 May 2017 22:09 #93203 by PCW
PCW replied the topic: Complete HOW-TO Linux Mint 18.1 32/64 RTAI or PREEMPT with RIP install or deb
Unless you have terrible latency, and if you are using a 5I25, I would probably not use isolcpus or
idle=poll since even 100 or so usec latency is not harmful and isolcpus lowers performance while
idle=poll uses more power
More
14 May 2017 23:47 #93205 by siggi
siggi replied the topic: Complete HOW-TO Linux Mint 18.1 32/64 RTAI or PREEMPT with RIP install or deb
Thanks, without idle=poll it's around 30-40us, which is probably fine for Mesa?
I don't mind "slow", as those 3 decent cores are quite enough to run this machine to my satisfaction. I do mind the power and the heat of idle=poll, though.
Time to create page: 0.161 seconds
Powered by Kunena Forum