- Posts: 21
- Thank you received: 0
Definitive guide to installing MX Linux, Probe Basic and LinuxCNC 2.9
5 years 6 days ago #224248
by spi
Replied by spi on topic Definitive guide to installing MX Linux, Probe Basic and LinuxCNC 2.9
What kinds of results your latency test gives?
~/linuxcnc-dev/scripts/latency-test
My newest box is not giving the error anymore after configuring linuxcnc with the --with-realtime=uspace option.
~/linuxcnc-dev/scripts/latency-test
My newest box is not giving the error anymore after configuring linuxcnc with the --with-realtime=uspace option.
Please Log in to join the conversation.
5 years 5 days ago #224256
by spumco
Replied by spumco on topic Definitive guide to installing MX Linux, Probe Basic and LinuxCNC 2.9
I don't remember the exact number, but latency was 'acceptable' for a Mesa card setup if my interpretation of the various latency discussions is accurate.
I'd like to try the lcnc configuration you've mentioned. Do I just start LCNC with "--with-realtime=uspace", or is there something else I have to install/modify?
I'd like to try the lcnc configuration you've mentioned. Do I just start LCNC with "--with-realtime=uspace", or is there something else I have to install/modify?
Please Log in to join the conversation.
5 years 5 days ago #224258
by spi
Replied by spi on topic Definitive guide to installing MX Linux, Probe Basic and LinuxCNC 2.9
Please check my updated guide but basically you need to do this:
cd ~/linuxcnc-dev/src
./autogen.sh
./configure --with-realtime=uspace
make
sudo make setuid
cd ~/linuxcnc-dev/src
./autogen.sh
./configure --with-realtime=uspace
make
sudo make setuid
Please Log in to join the conversation.
5 years 5 days ago #224259
by spumco
Replied by spumco on topic Definitive guide to installing MX Linux, Probe Basic and LinuxCNC 2.9
Thanks for the clarification.
Would you suggest uninstalling LCNC, qtpyvcp, and PB before re-installing LCNC with the new --with-realtime=uspace option?
Or should I just re-run everything (or some part) from your guide and what needs to be overwritten will take care of itself?
Would you suggest uninstalling LCNC, qtpyvcp, and PB before re-installing LCNC with the new --with-realtime=uspace option?
Or should I just re-run everything (or some part) from your guide and what needs to be overwritten will take care of itself?
Please Log in to join the conversation.
5 years 5 days ago #224273
by PCW
The servo thread rate should be 1 KHz normally ( period 1000000 ns).
It looks like you have it set for 10 KHz which will not work with most hardware.
Replied by PCW on topic Definitive guide to installing MX Linux, Probe Basic and LinuxCNC 2.9
Unexpected realtime delay on task 0 with period 100000
The servo thread rate should be 1 KHz normally ( period 1000000 ns).
It looks like you have it set for 10 KHz which will not work with most hardware.
Please Log in to join the conversation.
5 years 5 days ago #224274
by spumco
Where is that set or adjusted? Keep in mind that this installation is unmodified from the OP's first post - I haven't started setting up my actual machine other than ensuring that mesaflash can talk to my 7i76e.
EDIT - in the ini file, under EMCMOT, right? If so then it looks like the Probe Basic sim is defaulting to 10KHz and this should clear up once I copy over my working config.
Replied by spumco on topic Definitive guide to installing MX Linux, Probe Basic and LinuxCNC 2.9
Unexpected realtime delay on task 0 with period 100000
The servo thread rate should be 1 KHz normally ( period 1000000 ns).
It looks like you have it set for 10 KHz which will not work with most hardware.
Where is that set or adjusted? Keep in mind that this installation is unmodified from the OP's first post - I haven't started setting up my actual machine other than ensuring that mesaflash can talk to my 7i76e.
EDIT - in the ini file, under EMCMOT, right? If so then it looks like the Probe Basic sim is defaulting to 10KHz and this should clear up once I copy over my working config.
Please Log in to join the conversation.
5 years 5 days ago #224277
by Roguish
Replied by Roguish on topic Definitive guide to installing MX Linux, Probe Basic and LinuxCNC 2.9
yes, in EMCMOT.
from the manual: SERVO_PERIOD = 1000000
the sample configs, particularly the new ones like QtPyVCP, could be suspect. MOST important is to RTFM.
stepconf and pncconf are intended to be helpers, not end-alls.
recommend going through the config files line by line with reference to the docs, to learn and understand what's going on.....
good luck.
from the manual: SERVO_PERIOD = 1000000
the sample configs, particularly the new ones like QtPyVCP, could be suspect. MOST important is to RTFM.
stepconf and pncconf are intended to be helpers, not end-alls.
recommend going through the config files line by line with reference to the docs, to learn and understand what's going on.....
good luck.
Please Log in to join the conversation.
5 years 5 days ago #224320
by spumco
Replied by spumco on topic Definitive guide to installing MX Linux, Probe Basic and LinuxCNC 2.9
Following the updated installation guide did the trick.
No errors, no problems, no headaches.
Thank you!
No errors, no problems, no headaches.
Thank you!
Please Log in to join the conversation.
5 years 4 days ago #224464
by zhult
Replied by zhult on topic Definitive guide to installing MX Linux, Probe Basic and LinuxCNC 2.9
Hello all. im a new user to linux and i was following this guide to get Probe basic to work for my Mill im building. I got to the end of the guide and have some errors. Any help is very welcome. Thanks
Code:
Traceback (most recent call last):File "/home/zach/.local/bin/probe_basic", line 33, in <module>sys.exit(load_entry_point('probe-basic', 'gui_scripts', 'probe_basic')())File "/home/zach/probe_basic/probe_basic/__init__.py", line 20, in mainqtpyvcp.run_vcp(opts, VCP_CONFIG_FILE)File "/home/zach/.local/lib/python3.9/site-packages/qtpyvcp/__init__.py", line 27, in run_vcprun(*args, **kwargs)File "/home/zach/.local/lib/python3.9/site-packages/qtpyvcp/app/__init__.py", line 129, in runlaunch_application(opts, config)File "/home/zach/.local/lib/python3.9/site-packages/qtpyvcp/app/launcher.py", line 78, in launch_applicationloadWindows(config['windows'])File "/home/zach/.local/lib/python3.9/site-packages/qtpyvcp/app/launcher.py", line 228, in loadWindowswindow = _initialize_object_from_dict(window_dict)File "/home/zach/.local/lib/python3.9/site-packages/qtpyvcp/app/launcher.py", line 203, in _initialize_object_from_dictobj = _get_object_by_referance(provider)File "/home/zach/.local/lib/python3.9/site-packages/qtpyvcp/app/launcher.py", line 191, in _get_object_by_referancereturn getattr(importlib.import_module(modname), attrname)File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_modulereturn _bootstrap._gcd_import(name[level:], package, level)File "<frozen importlib._bootstrap>", line 1030, in _gcd_importFile "<frozen importlib._bootstrap>", line 1007, in _find_and_loadFile "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlockedFile "<frozen importlib._bootstrap>", line 680, in _load_unlockedFile "<frozen importlib._bootstrap_external>", line 790, in exec_moduleFile "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removedFile "/home/zach/probe_basic/probe_basic/probe_basic.py", line 13, in <module>from . import probe_basic_rcImportError: cannot import name 'probe_basic_rc' from 'probe_basic' (/home/zach/probe_basic/probe_basic/__init__.py)
Please Log in to join the conversation.
5 years 3 days ago #224520
by Flyer007
Replied by Flyer007 on topic Definitive guide to installing MX Linux, Probe Basic and LinuxCNC 2.9
Has anyone tried this with the Wildfire release? I am having some issues.
Also there are some steps in directions that seem off.
at cp ~/qtpyvcp/scripts/.xsessionrc ~/ I have to use full path for it to work
Then
mkdir ~/linuxcnc
mkdir ~/linuxcnc/configs
Error out as the directories are already there
Lastly;
git clone git://github.com/kcjengr/qtpyvcp.conversational-gcode.git
git checkout python3
you need a cd qtpyvcp.conversational-gcode before checkout
When I finish, I can start linuxcnc from terminal I don't see anything in the MX start menus for linuxcnc only QT designer
I was able to get PB sim to load once. I don't see any PB_Lathe in the linuxcnc selection list
Also there are some steps in directions that seem off.
at cp ~/qtpyvcp/scripts/.xsessionrc ~/ I have to use full path for it to work
Then
mkdir ~/linuxcnc
mkdir ~/linuxcnc/configs
Error out as the directories are already there
Lastly;
git clone git://github.com/kcjengr/qtpyvcp.conversational-gcode.git
git checkout python3
you need a cd qtpyvcp.conversational-gcode before checkout
When I finish, I can start linuxcnc from terminal I don't see anything in the MX start menus for linuxcnc only QT designer
I was able to get PB sim to load once. I don't see any PB_Lathe in the linuxcnc selection list
Please Log in to join the conversation.
Time to create page: 0.099 seconds
