New and Working RTAI debs for 2.9

More
14 Jan 2026 14:41 #341368 by andypugh
Replied by andypugh on topic New and Working RTAI debs for 2.9
So, are you saying that
"addf pwmgen.make-pulses base-thread"
Causes the PC to shut down and need a reset?

Is it possible that your base-thread period is shorter than the base-thread latency?

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

More
14 Jan 2026 16:29 #341376 by cnbbom
Replied by cnbbom on topic New and Working RTAI debs for 2.9

So, are you saying that
"addf pwmgen.make-pulses base-thread"
Causes the PC to shut down and need a reset?

Is it possible that your base-thread period is shorter than the base-thread latency?

Yes, disabling that line makes everything work except for the PWM spindle.

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

More
14 Jan 2026 16:44 #341380 by cnbbom
Replied by cnbbom on topic New and Working RTAI debs for 2.9

Life has got more complicated. With proper kernel tuning, latency can be better with Debian 13. I am in the process of publishing a second video about this on YouTube. Please refer to my channel. www.youtube.com/@MrRodW
The yet to be published video should be watched before the current one.

My apologies and thanks. A beginner in these things missed something; I thought it was just copy and paste, but it's all different. My processor only has 4 cores, how could a number 7 be working? But now I think I understand, and I did some tests changing the isolcpus values. I stress-tested two YouTube videos and one video on the PC plus 8 glxgears and got this result.
Attachments:

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

More
14 Jan 2026 22:06 #341388 by andypugh
Replied by andypugh on topic New and Working RTAI debs for 2.9

So, are you saying that
"addf pwmgen.make-pulses base-thread"
Causes the PC to shut down and need a reset?

Is it possible that your base-thread period is shorter than the base-thread latency?
Yes, disabling that line makes everything work except for the PWM spindle.

Is anything else running in the base thread? 
What is your base thread period. 

And can you please confirm that the machine actually crashes with a PWM in the base thread? 
 

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

More
14 Jan 2026 23:23 - 14 Jan 2026 23:27 #341389 by cnbbom
Replied by cnbbom on topic New and Working RTAI debs for 2.9




And can you please confirm that the machine actually crashes with a PWM in the base thread? 




 

As I explained here, I'm doing things manually and trying to learn, I don't know how to verify this, but remember that I did this test with preempt RT. That is, a clean installation of the linuxcnc CD with the modifications suggested by rodw. I tested with isolcpus 1, 2, 3 cores, then reduced it to 2.3 and even then the latency improved.

With the CD installation, PWM works, and the problem with trying to install the RTAI kernel was due to the high latency, which reached 120000.
Last edit: 14 Jan 2026 23:27 by cnbbom.

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

More
14 Jan 2026 23:41 #341391 by cnbbom
Replied by cnbbom on topic New and Working RTAI debs for 2.9
This function comes in my PC's BIOS, "S3 video repost," and it was also part of a latency problem that I disabled.

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

More
14 Jan 2026 23:52 #341392 by cnbbom
Replied by cnbbom on topic New and Working RTAI debs for 2.9
I'm afraid of Google Translate. The translation doesn't seem legible; it looks distorted.

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

More
15 Jan 2026 01:24 #341399 by cnbbom
Replied by cnbbom on topic New and Working RTAI debs for 2.9
andypugh
Is this the correct information?
Attachments:

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

More
15 Jan 2026 03:28 #341408 by tommylight
Replied by tommylight on topic New and Working RTAI debs for 2.9
Base period is in the .ini file inside your configuration folder, usually
/home/cnc/linuxcnc/configs/sim.axis
instead of cnc you will have your user name
As for latency screenshots, see those colorful vertical lines on both sides of the graph? Those mean there are latency excursions outside the visible area, so add --show at the end of latency-histogram line and test again.

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

More
15 Jan 2026 14:48 #341428 by cnbbom
Replied by cnbbom on topic New and Working RTAI debs for 2.9
I hope I got it right this time.
Attachments:

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

Time to create page: 0.174 seconds
Powered by Kunena Forum