linuxcnc 2.9.2 (live) on the intel n100 cpu

More
1 year 2 months ago - 1 year 2 months ago #332782 by rebelx
It's been a while, but please allow me to post a little update on my experience with N100 based systems. I noticed that sometimes my mini-pc completely freezes, while running my mini-PC with Windows 11 never caused any problems. So the fix that I implemented was simply to ditch Debian and run LinuxCNC on Windows 11.  image missing /media/kunena/emoticons/w00t.png
Okay, all jokes aside..... After struggling for quite a while and running all possible checks, I finally discovered that the mainstream Debian 12 and 13 (Trixie) kernels, drivers and firmware have some problems with Alder Lake processors, especially the iGPU part. This can easily be resolved by upgrading Debian with the latest RT kernel (6.12.33+ at this moment), drivers and firmware. Ever since, my system is rock solid. I am using isolcpus=2,3 and irqaffinity=0,1, which gives me a responsive system with with a servo thread latency of 26.3us and a base thread latency of 40.1us, which are both excellent. This was measured during several hours, while simultaneously running 10 instances of glxgears, playing Youtube videos and stress testing the system with:
$ sudo stress-ng --cpu 4 --vm 2 --hdd 2 --fork 4 --timeout 7200s

 

Here is a brief summary of the upgrade process, for those who may be interested: 1. Enable backports:
    Edit /etc/apt/sources.list and add:
    deb deb.debian.org/debian bookworm-backports main contrib non-free-firmware
    Then:
Code:
$ sudo apt update

2. Install RT kernel:
   
Code:
$ sudo apt install -t bookworm-backports linux-image-rt-amd64 linux-headers-rt-amd6

3. Reboot and check Debian is running the latest RT kernel:
   
Code:
$ uname -a

4. Update firmware:
   
Code:
$ sudo apt install firmware-linux firmware-linux-nonfree firmware-misc-nonfree

5. Update Mesa drivers (iGPU):
   
Code:
$ sudo apt install -t bookworm-backports mesa-vulkan-drivers mesa-opencl-icd libgl1-mesa-dri

6. Check setup:
    – RT kernel:
Code:
$ uname -a
(already done at step 3)
    – Mesa version:
Code:
$ glxinfo | grep "OpenGL version"
    – Firmware:
Code:
$ dmesg | grep firmware

 
Last edit: 1 year 2 months ago by rebelx.
The following user(s) said Thank You: tommylight

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

More
1 year 2 months ago #332859 by rebelx
Please notice that in step 2 at the end the 4 is missing from amd64
It should be:

$ sudo apt install -t bookworm-backports linux-image-rt-amd64 linux-headers-rt-amd64
The following user(s) said Thank You: tommylight

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

More
8 months 2 weeks ago #343083 by jarcysgru

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

Time to create page: 0.071 seconds
Powered by Kunena Forum