Early Omniturn gang lathe to Linuxcnc?
- gearheaded
- Topic Author
- Offline
- Junior Member
- Posts: 29
- Thank you received: 1
I ran the latency-histogram --nobase while watching youtube vids, 5glx of various sizes, and used gimp to edit some photos. Here is a screenshot of the graph. Seems ok to me based on what I've been reading,
I did notice that videos played at varying speed as well as the gears not moving consistently, but nothing ever froze up.
Thanks for any additional insights
Karl
Please Log in or Create an account to join the conversation.
The MPG encoder pins that support 1x mode are not selected this way.
They require mode 3 and change a few GPIO pins to lower speed MPG encoder pins
Sorry about that. It's been a while since I configured my mpg.
Please Log in or Create an account to join the conversation.
Do you still get the SSerial port errors with a 1000000 ns servo thread?
If so, can you run LinuxCNC for a while and then run this command in a terminal:
halcmd show all *tmax*
and post the results here
Please Log in or Create an account to join the conversation.
- gearheaded
- Topic Author
- Offline
- Junior Member
- Posts: 29
- Thank you received: 1
I rebooted and removed the isolcpus=1, within seconds the latency shoots +/- 100us. With multiple glxgears and you tube running, it only takes 5-10 minutes to get huge jumps until finally reaching the levels in this screen shot.
This leads to a unexpected realtime delay. I tried setting the base period to 2ms, but no change.
I went back to isolcpus=1 and the latency histogram went back to +/-20us. Tried the suggested halcmd and the first time it showed a lot of data, I didn't take a screen shot at the time figuring I would get one later. Ever since, even after multiple reboots, all I get is this screen:
Should I just buy another mother board, I thought I was following the best advice I could find. I'm not worried about a few hundred bucks in the big picture, it's chasing my tail to the tune of 40 hours research and still can't get the software to even run, then alone start using it. Time is the expensive thing to me.
Any advice would be appreciated...just want to wire up the lathe, and learn to use it with Linuxcnc.
Thanks
Karl
Please Log in or Create an account to join the conversation.
Attachments:
Please Log in or Create an account to join the conversation.
halcmd show all *tmax*
(those are not quotes but asterisks)
Please Log in or Create an account to join the conversation.
- gearheaded
- Topic Author
- Offline
- Junior Member
- Posts: 29
- Thank you received: 1
I tried setting c-state to c1 and disabling c1e, but latency was still way up there. Is there any other boot parameters I need to be using?
Here is the BIOS settings I've been using:
BIOS settings:
CPU page
Both fans set to full speed
Intel Speedstep = disabled
CPU C states = disabled
Intel virtualization technology = disabled
VT-d = disabled
Power Gear = sport mode
Chipset Config:
Memory set to 1.5V 4GB Patriot 1333
Onboard graphics
Shared memory 512M
Audio disabled
LAN enabled
PCIe1 link speed auto
Deep S5 disabled
Super I/O config:
Serial ports disabled
Para port disabled
ACPI config:
Everything disabled except for- ACPI HNET Table is enabled
Thanks
Karl
Please Log in or Create an account to join the conversation.
Can you replot the no-isolcpus setup with a wider scale so its possible to
see if the long times are outliers:
latency-histogram --nobase --sbinsize 1000
Please Log in or Create an account to join the conversation.
- gearheaded
- Topic Author
- Offline
- Junior Member
- Posts: 29
- Thank you received: 1
Please Log in or Create an account to join the conversation.
Might also be a BIOs issue of some kind
(Is your MB a AsRock J3355B?, that's what I tested)
At this point it might be quickest to just try another PC
Please Log in or Create an account to join the conversation.