Hi there!
I am currently designing and building my first homemade CNC machine. After some discussions with experienced enthusiasts I decided to go with a gantry design.
Since the CAM software I was using for the test setup does not natively support gantry squaring, I ended up stealing an old mainboard and testing out LinuxCNC which I installed from the downloadable image.
My employer was kind enough to gift me an old
GA-B85M-HD3 (rev. 1.x) mainboard with some old
Intel(r) Pentium(R) CPU G3250 @ 3.20GHz. Some of its manufacturer specifications:
Onboard GraficsIntegrated Graphics Processor - Intel® HD Graphics support:
- 1 x D-Sub port, supporting a maximum resolution of 1920x1200
- 1 x DVI-D port, supporting a maximum resolution of 1920x1200
* The DVI-D port does not support D-Sub connection by adapter.
- 1 x HDMI port, supporting a maximum resolution of 4096 x 2160 @ 24 Hz / 2560 x 1600 @ 60 Hz
* Support for HDMI 1.4a version.
- Maximum shared memory of 1 GB
Expansion slots
- 1 x PCI Express x16 slot, running at x16
(The PCI Express x16 slot conforms to PCI Express 3.0 standard.)
- 2 x PCI Express x1 slots
(The PCI Express x1 slots conform to PCI Express 2.0 standard.)
- 1 x PCI slot
I have watched my fair share on tutorials about LinuxCNC by now and found out that using a dedicated gpu could reduce the jitter by
a lot, and using a shared-memory onboard gpu may render the machine useless for LinuxCNC.
Furthermore I read that using NVIDIA/RADEON/ATI and other major companies with their proprietary drivers might be a bad thing, therefore I decided to buy a Matrox M9125 PCIe gpu.
The problem with the Matrox M9125 is, that its most recent drivers can not be installed with the latest xorg/xserver version that is shipped with the LinuxCNC image, and I do not feel like downgrading to an older version.
Using the onboard graphics and the HDMI slot @ 4k resultion I "stress tested" the machine while running the HAL Latency Test. I believe the high resoltion has an effect on the jitter, but it might only have been by chance (I later tried 1920x1080 res and the jitter appeared to be way lower).
"Stress testing" was basically just playing ~20 youtube videos and ~5 glxgears windows. I doubt that this counts as a proper stress test, but when this box is controlling the cnc machine I do not plan on having anything else running but LinuxCNC.
Using
4k resoltuion, the result was 31292 max base thread jitter. In idle, the max base thread jitter was usually around 18000-20000.
Using
FHD resolution, the result was 21000 max base thread jitter, in idle, the max base thread jitter was usually around 10000-12000.
- I am not sure if these values are any good. Is this a usable machine, or should I aim for better latency values?
- What dedicated (PCIe x16) GPU would you suggest, that also works (has drivers available) for the latest LinuxCNC image?
I assume with these values I could run LinuxCNC on the onboard graphics at a 1920x1080 resolution or is using the onboard gpu generally a very bad idea?
Regards