Axis Crash on startup LM 18-18.3

26 Jan 2018 00:23 #105024 by krislogan

This is really starting to do my head in, I upgraded my machine from LM 17.3(working 32bit RTAI) -> 18 -> 18.3. Ran a latency test for a day everything was fine but then tried to start linuxcnc using Axis as the gui and got constant crashes like this

Traceback (most recent call last):
File "/usr/bin/axis", line 3640, in <module>
o = MyOpengl(widgets.preview_frame, width=400, height=300, double=1, depth=1)
File "/usr/bin/axis", line 383, in __init__
Opengl.__init__(self, *args, **kw)
File "/usr/lib/pymodules/python2.7/rs274/", line 164, in __init__
apply(RawOpengl.__init__, (self, master, cnf), kw)
File "/usr/lib/pymodules/python2.7/rs274/", line 112, in __init__
Togl.__init__(self, master, cnf, **kw)
File "/usr/lib/pymodules/python2.7/rs274/", line 38, in __init__
Widget.__init__(self, master, 'togl', cnf, kw)
File "/usr/lib/python2.7/lib-tk/", line 2094, in __init__
(widgetName, self._w) + extra + self._options(cnf))
_tkinter.TclError: NULL main window

Installed buildbot 2.7 RTAI same crashes
Installed linuxcnc 2.7.12 RTAI this morning, same crashes
Installed buildbot 2.8 RTAI just now with the same crashes (see attached for full log)

The machine is vanilla, works perfectly when I use my fallback install of LM 13.1 (precise) so it's not hardware.

Seems to be something to do with OpenGL as if I use tklinucnc as my interface I can use the machine without issue.

Please help :)
08 Feb 2018 01:40 #105552 by tommylight
Try installing graphic drivers as it seems you do have one that uses proprietary drivers or just enable software rendering, it is explained in the Linuxcnc wiki.
13 Feb 2018 08:08 #105812 by krislogan
So interestingly this only happens while using the 3.4.9 RTAI kernel. If I use the 3.16 or the 4.1 the Axis works fine on the same machine with nothing else changed.

Would like to use the 3.4.9 kernel as I get around 5000 latency with it, around 16,000 with the 3.16 and around 26,000 with the 4.1 kernel.
Time to create page: 0.075 seconds
Powered by Kunena Forum