Axis GUI dies on start-up
21 May 2021 17:51 #209768
by htrantx
Axis GUI dies on start-up was created by htrantx
I re-installed Debian stretch with linuxcnc 2.7.14 version onto an old x86 pc. On linuxcnc startup the axis GUI just flashed on the screen and then close with error messages:
Starting DISPLAY program: axis
Shutting down and cleaning up LinuxCNC...
The script dies at /usr/bin/linuxcnc: line 857: $EMCDISPLAY -ini "$INIFILE" $EMCDISPLAYARGS $EXTRA_ARGS
I have not has any problem before with this machine until the re-installing of 2.7.14
linuxcnc-2.7.14-wheezy .iso did the same thing for DISPLAY = axis, but DISPLAY =keystick and DISPLAY= tklinuxcnc are ok
Did I miss a step of updating libs or files for the axis GUI? Please help.
Starting DISPLAY program: axis
Shutting down and cleaning up LinuxCNC...
The script dies at /usr/bin/linuxcnc: line 857: $EMCDISPLAY -ini "$INIFILE" $EMCDISPLAYARGS $EXTRA_ARGS
I have not has any problem before with this machine until the re-installing of 2.7.14
linuxcnc-2.7.14-wheezy .iso did the same thing for DISPLAY = axis, but DISPLAY =keystick and DISPLAY= tklinuxcnc are ok
Did I miss a step of updating libs or files for the axis GUI? Please help.
Please Log in or Create an account to join the conversation.
21 May 2021 19:05 #209779
by cmorley
Replied by cmorley on topic Axis GUI dies on start-up
Does glxgears demo work?
Please Log in or Create an account to join the conversation.
21 May 2021 21:23 #209804
by htrantx
Replied by htrantx on topic Axis GUI dies on start-up
glxgears works fine
Please Log in or Create an account to join the conversation.
21 May 2021 22:32 #209807
by andypugh
That's annoying, we have to guess again.
So, it's not an OpenGL thing.
2.7.14 is probably running the RTAI kernel, so can you do:
sudo dmesg -c (to clear the dmesg buffer)
linuxcnc (to start linuxcnc, choose the config, let it crash)
dmesg (to display the kernel log)
And paste everything after "linuxcnc" here?
(Note that copy in the terminal is SHIFT - Ctrl-C. Because plain Ctrl-C is "Break")
Replied by andypugh on topic Axis GUI dies on start-up
glxgears works fine
That's annoying, we have to guess again.
So, it's not an OpenGL thing.
2.7.14 is probably running the RTAI kernel, so can you do:
sudo dmesg -c (to clear the dmesg buffer)
linuxcnc (to start linuxcnc, choose the config, let it crash)
dmesg (to display the kernel log)
And paste everything after "linuxcnc" here?
(Note that copy in the terminal is SHIFT - Ctrl-C. Because plain Ctrl-C is "Break")
Please Log in or Create an account to join the conversation.
21 May 2021 23:18 #209810
by htrantx
Replied by htrantx on topic Axis GUI dies on start-up
I think the kernel log is in the attached file in my org post.
Thanks
Thanks
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 18562
- Thank you received: 6218
21 May 2021 23:55 #209813
by tommylight
Replied by tommylight on topic Axis GUI dies on start-up
Looks like Noveau does not play nice with OpenGL so using the software rendering would be an option (not sure how valid), but there is something else in the dmesg that makes me think a part of the RAM memory is gone, so try swapping the memory if possible or remove a stick or two if there are more present.
Please Log in or Create an account to join the conversation.
22 May 2021 16:29 #209844
by htrantx
Replied by htrantx on topic Axis GUI dies on start-up
I went into the rabbit hole.
The linuxcnc script dies at the command: axis -ini /home/lcnc/linuxcnc/configs/my-mill/my-mill.ini
so I ran: axis -ini /home/lcnc/linuxcnc/configs/my-mill/my-mill.ini in a terminal and this is what I got:
lcnc@debian:/$ axis -ini /home/lcnc/linuxcnc/configs/my-mill/my-mill.ini
Traceback (most recent call last):
File "/usr/bin/axis", line 3018, in <module>
s.poll()
linuxcnc.error: emcStatusBuffer invalid err=3
axis.py
...___________________________
widgets.unhomemenu.add_command(command=commands.unhome_all_axes)
root_window.tk.call("setup_menu_accel", widgets.unhomemenu, "end", _("Unhome All Axes"))
s = linuxcnc.stat();
s.poll() _________________________line 3018 This is where it dies
statfail=0
statwait=.01
while s.axes == 0:
print "waiting for s.axes"
time.sleep(statwait)
statfail+=1
statwait *= 2
if statfail > 8:
raise SystemExit, (
"A configuration error is preventing LinuxCNC from starting.\n"
"More information may be available when running from a terminal.")
s.poll()
live_axis_count = 0
...________________________
I can not find the linuxcnc.py anywhere to trace the error down.
The linuxcnc script dies at the command: axis -ini /home/lcnc/linuxcnc/configs/my-mill/my-mill.ini
so I ran: axis -ini /home/lcnc/linuxcnc/configs/my-mill/my-mill.ini in a terminal and this is what I got:
lcnc@debian:/$ axis -ini /home/lcnc/linuxcnc/configs/my-mill/my-mill.ini
Traceback (most recent call last):
File "/usr/bin/axis", line 3018, in <module>
s.poll()
linuxcnc.error: emcStatusBuffer invalid err=3
axis.py
...___________________________
widgets.unhomemenu.add_command(command=commands.unhome_all_axes)
root_window.tk.call("setup_menu_accel", widgets.unhomemenu, "end", _("Unhome All Axes"))
s = linuxcnc.stat();
s.poll() _________________________line 3018 This is where it dies
statfail=0
statwait=.01
while s.axes == 0:
print "waiting for s.axes"
time.sleep(statwait)
statfail+=1
statwait *= 2
if statfail > 8:
raise SystemExit, (
"A configuration error is preventing LinuxCNC from starting.\n"
"More information may be available when running from a terminal.")
s.poll()
live_axis_count = 0
...________________________
I can not find the linuxcnc.py anywhere to trace the error down.
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 18562
- Thank you received: 6218
22 May 2021 17:18 #209851
by tommylight
Replied by tommylight on topic Axis GUI dies on start-up
Axis is not supposed to run like that, LinuxCNC is, so instead of axis use linuxcnc in the command line.
Please Log in or Create an account to join the conversation.
22 May 2021 18:32 #209857
by htrantx
Replied by htrantx on topic Axis GUI dies on start-up
Thanks everyone,
My Axis problem is found.
For some reason Axis does not like the old Asus graphic card. I swapped it out with a Chinese made card and Axis works. I don't know why the old card is not compatible with Axis, maybe it just needs a different driver, which was not loaded from the Debian .iso
Anyway, thanks again.
My Axis problem is found.
For some reason Axis does not like the old Asus graphic card. I swapped it out with a Chinese made card and Axis works. I don't know why the old card is not compatible with Axis, maybe it just needs a different driver, which was not loaded from the Debian .iso
Anyway, thanks again.
The following user(s) said Thank You: andypugh
Please Log in or Create an account to join the conversation.
Time to create page: 0.249 seconds