Axis Crash on startup LM 18-18.3

More
26 Jan 2018 00:23 #105024 by krislogan
Hi,

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/OpenGLTk.py", line 164, in __init__
apply(RawOpengl.__init__, (self, master, cnf), kw)
File "/usr/lib/pymodules/python2.7/rs274/OpenGLTk.py", line 112, in __init__
Togl.__init__(self, master, cnf, **kw)
File "/usr/lib/pymodules/python2.7/rs274/OpenGLTk.py", line 38, in __init__
Widget.__init__(self, master, 'togl', cnf, kw)
File "/usr/lib/python2.7/lib-tk/Tkinter.py", 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 :)
Attachments:

Please Log in or Create an account to join the conversation.

More
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.

Please Log in or Create an account to join the conversation.

More
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.

Please Log in or Create an account to join the conversation.

More
28 Feb 2018 16:27 #106714 by andypugh

Please Log in or Create an account to join the conversation.

Time to create page: 0.109 seconds
Powered by Kunena Forum