Kernel 6.12 with PREEMPT_RT patches enabled - yet POSIX non-realtime (LM22.1)

More
1 year 9 months ago #320056 by rodw
Thats annoying.

I'm sure this is a linuxcnc issue. If you install rt-tests with apt, you could test RT performance using cyclictest which will eliminate linuxcnc's shenanigans.

I have found results although different are broadly simlar to latency-histogram

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

More
1 year 9 months ago #320179 by royka
This patch for LinuxCNC should be sufficient, it will still look for the PREEMPT_RT in uname but removes the check for /sys/kernel/realtime
 

File Attachment:

File Name: linuxcnc-r...12.patch
File Size:930 B


With this environment setting you don't need any patch by the way
LINUXCNC_FORCE_REALTIME=1  latency-histogram
The following user(s) said Thank You: Cant do this anymore bye all

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

More
1 year 9 months ago #320192 by Cant do this anymore bye all
It does make it somewhat confusing when there are still RT patches put up at kernel.org. I guess one would have to closely look into it and assess their usefulness in the context of Linuxcnc.

The sys patch is also included in the patchsets, so I guess that interface is used by projects\software other than Linuxcnc.

For anyone using the RPi images all that is used is the sys patch, not the full patchset. As per my kernel mentor royka.

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

More
1 year 9 months ago #320206 by rodw

 As per my kernel mentor royka.
image missing /media/kunena/emoticons/smile.png
He knows far more than me!

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

More
1 year 8 months ago #321367 by sajurcaju
I'm trying to put LinuxCNC on Mint 22.1. I followed Beef's directions here:
iamtherealbeef.com/content/linuxcnc-on-linuxmint-22/
It all went great (much thanks), but I have an error when I run linuxcnc. Debug file info:
Missing rtapi.conf. Check your installation.
49550

Help will be greatly appreciated!
Steve

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

More
1 year 8 months ago #321389 by sajurcaju
Hey, nevermind. I just found tommylight's explanation of installing on Mint Debian. This sounds much easier and more within my (lack of) Linux skills.
The following user(s) said Thank You: tommylight

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

Time to create page: 0.243 seconds
Powered by Kunena Forum