Search Results (Searched for: )

  • tietouwa
16 Sep 2026 02:27
Not a LinuxCNC install. Same class of box as the earlier J1900 eglfs vs Xorg thread.Posting because the useful knob was not another kernel cmdline flag.
Intel Celeron J1900 has 2 MiB L2 as two 1 MiB slices:
CPUs 0-1 share one L2
CPUs 2-3 share the other L2
We already isolated the EtherCAT loop on CPU3 (SCHED_FIFO 80, 1 kHz).
That is not enough if the fullscreen Qt/eglfs HMI is still allowed on CPU2.
The UI then sits on the L2 sibling of the RT core and contends for the same 1 MiB.
Change (HMI only, not a whole-system cgroup):
before: Qt main / touch / QML / render / GPU worker allowed on CPUs 0-2
after: those threads allowed on CPUs 0-1 only
RT thread stayed on CPU3 both times
Same binary, same recipe, same 1 ms period, 20 automatic press cycles each side.
Jitter = wake-to-wake CLOCK_MONOTONIC minus 1 ms, integer microseconds.
0 us means |error| < 1 us. This is period error, not latency-test / cyclictest.
All numbers below are the full captures (approach + press + retract), not a PID subset.
Absolute jitter, nearest-rank, all samples
UI on 0-2 (20 runs) UI on 0-1 (20 runs)
n 119159 119254
P50 0 us 0 us
P95 6 us 1 us
P99 13 us 1 us
P99.9 21 us 2 us
signed min/max -42 / +46 us -13 / +14 us
|j| >= 10 us 2983 8
|j| >= 20 us 198 0
|j| >= 30 us 22 0
|j|
Per-run P50 / P95 / P99 / P99.9 (|jitter|, us)
# UI 0-2 UI 0-1
1 1 / 9 / 14 / 23 0 / 1 / 1 / 2
2 0 / 2 / 9 / 19 0 / 1 / 1 / 2
3 0 / 5 / 12 / 21 0 / 1 / 1 / 2
4 0 / 6 / 15 / 20 0 / 1 / 1 / 2
5 0 / 7 / 15 / 20 0 / 1 / 1 / 2
6 0 / 1 / 1 / 2 0 / 1 / 1 / 2
7 0 / 6 / 14 / 20 0 / 1 / 1 / 2
8 0 / 7 / 15 / 20 0 / 1 / 1 / 2
9 0 / 4 / 13 / 19 0 / 1 / 1 / 2
10 0 / 6 / 16 / 26 0 / 1 / 1 / 2
11 0 / 3 / 11 / 22 0 / 1 / 1 / 3
12 1 / 9 / 15 / 23 0 / 1 / 1 / 2
13 1 / 9 / 14 / 26 0 / 1 / 1 / 2
14 1 / 9 / 15 / 32 0 / 1 / 1 / 2
15 0 / 8 / 14 / 19 0 / 1 / 1 / 2
16 1 / 9 / 14 / 26 0 / 1 / 1 / 2
17 0 / 1 / 6 / 13 0 / 1 / 1 / 2
18 0 / 6 / 13 / 19 0 / 1 / 1 / 2
19 0 / 1 / 5 / 15 0 / 1 / 1 / 2
20 0 / 1 / 1 / 2 0 / 1 / 1 / 2
After the pin, every run has P99 = 1 us. 15/20 runs have max |j|
The 8 remaining >=10 us samples are two ticks each in runs 1, 8, 15, 16.
Point of the numbers
- P50 was already 0 us. The HMI was not ruining the median.
- The L2 sibling shows up in the tail: P95 6->1, P99 13->1, P99.9 21->2.
- Moving i915 IRQ off CPU2 was not sufficient by itself. User-space Qt
render can still land on CPU2 and thrash the RT core's L2.
- Do not set a cgroup AllowedCPUs=0-1 on the whole process: the FIFO
thread must still be able to bind to CPU3.
- Do not park every system thread on 0-1. This was only the HMI/render path.
Box (for context, not the variable under test)
- Debian 13 PREEMPT_RT 6.12, Qt eglfs_kms, no X
- IgH EtherCAT, 1 kHz, Lost frames = 0
- isolcpus / rcu_nocbs on CPU3, i915 IRQ on CPU0
Happy to hear if anyone running a GL HMI on Bay Trail saw the same
CPU2/CPU3 L2 pairing.
  • ncf250sd
16 Sep 2026 01:06
Probe basic error was created by ncf250sd
I just updated to the latest probe basic (Probe Basic APT Stable Install Bookworm 12).  I do not use an ATC.  Everything is working as it was before the update except I get this error (Error Named parameter #<number_of_pockets> not defined ) when trying to load a tool utilizing the Tool Change Panel (load tool).If I load a tool from the main screen it works fine.  I can even use the Tool change panel to unload the tool.  I have looked through my ini file and cannot see anything out of place.  Any suggestions on where to start looking would be appreciated.
  • rhscdn
16 Sep 2026 00:22
Replied by rhscdn on topic XHC-WHB04b-6 freeze in issue fixed !!
I've encountered this bug many times. Thanks for posting.
  • Pieter69
15 Sep 2026 22:07
  • rodw
15 Sep 2026 20:48
Replied by rodw on topic XHC-WHB04b-6 freeze in issue fixed !!
A better solution should be to submit your changes to LinuxCNC as a PR.
  • rodw
15 Sep 2026 20:37
I would upgrade to 2.9.10 and see if it persists.
If it does, learn how to do a run in place install of master branch 2.10pre and try there.
Then, post as an issue on GitHub where it will be reviewed but the devs. 
  • PCW
15 Sep 2026 19:12 - 15 Sep 2026 19:30
If the G540 is connected to the 7I96S parallel expansion connector, you should use
7i96s_g540d.bin firmware, that configures the 7I96S's P2 expansion connector the G540
pinout, Then basic setup can be done with pncconf. No need for AI, that just a time sink here.
  • PCW
15 Sep 2026 18:58
Replied by PCW on topic 7i98 and 5abobx3 firmware
You're welcome.

Once you are setup, it relatively easy to make a new configuration in a few minutes.
  • Marslukan
15 Sep 2026 17:01 - 15 Sep 2026 17:01
Replied by Marslukan on topic 7i98 and 5abobx3 firmware
Спасибо за помощь. Всё получилось, сначала залил вашу прошивку, потом решил для пробы изменить пару пинов и скомпилировать новый bit - успешно, загрузил и запустил LinuxCNC - работает. Ещё раз спасибо!!!
  • tommylight
15 Sep 2026 15:45
How is the Mesa wired to G540?
  • tuxcnc
15 Sep 2026 14:48 - 15 Sep 2026 14:52
Replied by tuxcnc on topic XHC-WHB04b-6 freeze in issue fixed !!
I made a diff with the latest hal.cc from Github and got a 43 kB patch...
Can you make a patch from your sources?
 
  • DougS
15 Sep 2026 14:20
Hello Folks Newbe here.

I mistakenly though I could easily convert my Shark SD120 to a Linuxcnc setup using a Mesa 7i96s to a Gecko g540. After hours of fooling with it and being misled by AI I now realize there is no easy way to setup the HAL and INI configs. I purchased the hardware and would like to make it work so any help would be greatly appreciated.

Thanks,
Doug
 
  • PCW
15 Sep 2026 13:59 - 15 Sep 2026 14:00
Replied by PCW on topic 7i98 and 5abobx3 firmware
That's basically correct:

1. Add new pinout file to project (seveni98.xise in this case)
2. Select proper card and desired pinout file in top level file (TopEthernet16HostMot2.vhd in this case)
3. Recompile
4. Rename created bit file (TopEthernetHostMot2.bit in this case)  to desired final name.
  • ajanfahri
15 Sep 2026 13:27
UPDATE / SOLVED

Hello everyone;
After many tests, i found any solutions for this issue

Three İmportant Parts
1. Using Xenomai/Cobalt clock as the master cyclic timing base
2. Waiting for the ethercat slave dc clocks to converge before starting motion.(<1 microseconds)
3. Explicity phase-locking EtherCAT SEND to a safe position relative to SYNC0

I hope this saves someone else a lot of debugging time.

Fahreddin
  • CNC_Tux
15 Sep 2026 13:27 - 15 Sep 2026 14:03
XHC-WHB04b-6 freeze in issue fixed !! was created by CNC_Tux
Dear Linuxcnc Friends,
the WHB04b-6 driver has a big issue, if you are in Automatic mode and a cnc program in running and you use the jog wheel, will be freeze in the WHB04b-6. That issue is a bug in the hal.cc ! Every move on the jog wheel try the driver to switch into the manual mode and the WHB04b-6 freeze in. I have fixed this issue with AI and compiled the driver new in the Version of Linuxcnc 2.9.10
The Driver works very well and in my Version is the maximum of Jogscale 0.1mm ( to much Jogscale is a crash risk )
You can download here the zip file, unpack and copy with sudo rights to your System in /usr/bin/
Dont forgett to set the rights for execute the files.


The fixed hal.cc is in the attachment, for the guys they want compile by himself.
Best regards
Reinhard 

File Attachment:

File Name: AI_Driver_...4b-6.zip
File Size:600.77 KB
 
 

File Attachment:

File Name: hal.c
File Size:56 KB

Please rename the attachment hal.c to hal.cc
Displaying 826 - 840 out of 11911 results.
Time to create page: 0.262 seconds
Powered by Kunena Forum