- Posts: 2
- Thank you received: 0
Axis Crashes Using Ubuntu 16.04.2 x64, Preempt_RT, and a VM
- joelittiken
- Topic Author
- Offline
- New Member
-
I've been using LinuxCNC for several years now, ever since the LiveCD came with Ubuntu 6.06 I believe, but this happens to be my first time to the forum. I've been trying to get LinuxCNC running on an install of Ubuntu 16.04.2 x64 for the main purpose of better support for more modern hardware from Linux 4.x. Also, I'm pretty fond of Ubuntu and don't really feel a need to change from it.
Anyway, I'm doing some testing in a VirtualBox VM right now and I was able to build the PREEMPT_RT kernal (4.4.47-rt59) and install LinuxCNC without any hassle. When I try to start up any configuration that uses Axis for the display, however, the program crashes and I get this error:
I was initially thinking this might be a problem with the VirtualBox graphics drivers since I've had issues with drivers such as AMD's FGLRX in the past. I tried disabling the VirtualBox graphics drivers, however, and had the same issues. I also tried using other user interfaces such as mini, touchy, tk, etc. and they all worked perfectly. This problem is just specific to Axis. Has anyone had anything similar to this happen, or by chance know what the culprit is and how I could fix it?
Thanks in advance, and I appreciate any ideas any of you may have.
Please Log in to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
-
- Posts: 4739
- Thank you received: 2
Please Log in to join the conversation.
- joel.maxuel
- Offline
- New Member
-
- Posts: 9
- Thank you received: 0
Did you ever find a solution to this error? I am getting the same (_tkinter.TclError: NULL main window) on bare metal (Compaq laptop) running Debian Stretch.
Please Log in to join the conversation.
- joelittiken
- Topic Author
- Offline
- New Member
-
- Posts: 2
- Thank you received: 0
Unfortunately, I was never able to figure out what the problem was. I tried disabling the graphics drivers and even tried booting with only the default mesa driver enabled, neither of which worked. I even used a variety of different Ubuntu releases, different kernels, and ran it on VirtualBox, VMware, and bare metal. For the time being I just went back to what I was using before (Ubuntu 12.04 + RTAI) but hopefully sometime I can get it figured out. If you get it working, please let me know. I'm curious to see what the solution is.
Please Log in to join the conversation.
- joel.maxuel
- Offline
- New Member
-
- Posts: 9
- Thank you received: 0
joelittiken wrote: Joel,
Unfortunately, I was never able to figure out what the problem was. I tried disabling the graphics drivers and even tried booting with only the default mesa driver enabled, neither of which worked. I even used a variety of different Ubuntu releases, different kernels, and ran it on VirtualBox, VMware, and bare metal. For the time being I just went back to what I was using before (Ubuntu 12.04 + RTAI) but hopefully sometime I can get it figured out. If you get it working, please let me know. I'm curious to see what the solution is.
I have not figured out the problem either, but I have a live Axis now. Looks like I had to compile from source, and I followed the attachment from the admin's Mint post .
I made a mistake where I followed the directions too closely...now I am compiling a second time (seems the last debuild command can be ignored), and have yet to reboot, but I completed a simulation in axis without any crashes.
I hope this helps you as well.
Please Log in to join the conversation.
