Fatal Errors Installing on Parallels.
So on the Mac latency problems just don't matter, but they give me fatal errors on starting up LinuxCNC. The log complains of "unexpected realtime delay" & LinuxCNC aborts.
Is it possible to configure LinuxCNC to avoid this problem? If the fix is easier using Ubuntu rather than Debian, I can do that.
Please Log in or Create an account to join the conversation.
An unexpected delay does not cause LinuxCNC to exit. I do lots of LinuxCNC work in VMs on my Mac, albeit with VMWare Fusion rather than parallels, and it all works just fine.
Which configs are you trying to use? Are you running the sim configs?
Please Log in or Create an account to join the conversation.
Thank you for the questions--I tried a number of things and get the same kind of result.
I will be grateful for any insights you have.
Please Log in or Create an account to join the conversation.
/usr/bin/linuxcnc: line 857: 4245 Segmentation fault $EMCDISPLAY -ini "$INIFILE" $EMCDISPLAYARGS $EXTRA_ARGS
check whether other OpenGL software works in your virtual machine (glxgears is a good choice), OR try a different UI such as tklinuxcnc that doesn't use OpenGL for display.
Please Log in or Create an account to join the conversation.
glxgears runs without error.This line indicates that the user interface program is crashing, but doesn't indicate much about why:
/usr/bin/linuxcnc: line 857: 4245 Segmentation fault $EMCDISPLAY -ini "$INIFILE" $EMCDISPLAYARGS $EXTRA_ARGS
check whether other OpenGL software works in your virtual machine (glxgears is a good choice), OR try a different UI such as tklinuxcnc that doesn't use OpenGL for display.
tklinuxcnc with the servo-sim config also seems to work.
I'd like to use axis so that I've got a visual simulation.
Please Log in or Create an account to join the conversation.
I'd like to use axis so that I've got a visual simulation.
You may need to do something with the display compatibility settings in Parallels (assuming there are some, I haven't ever used it).
Alternatively software opengl might be a solution. (with the caveat that this is a very old Wiki page and might be very outdated)
wiki.linuxcnc.org/cgi-bin/wiki.pl?Troubl...oftware_based_OpenGL
Please Log in or Create an account to join the conversation.
Updated to 2.7.4. No effect.
Debug file information:
/usr/bin/linuxcnc: line 857: 9415 Segmentation fault $EMCDISPLAY -ini "$INIFILE" $EMCDISPLAYARGS $EXTRA_ARGS
Please Log in or Create an account to join the conversation.
Increased display memory from 128M to 256M. No effect.
Turned off 3D acceleration. No effect.
Disabled vertical synchronization. No effect.
Reverted all display parameters to previous values: 128M, 3D acceleration on, vertical sync enabled.
New error log attached.
Please Log in or Create an account to join the conversation.
sudo apt-get install libgl1-mesa-swx11
No effect. Seg error at the same line number.
Please Log in or Create an account to join the conversation.
Andy mentioned that he runs LinuxCNC axis sim on VMWare Fusion. I can take a hint. Right now I'm using a trial of Fusion, but I will definitely be buying it. Remains to be seen whether I replace Parallels (which is excellent, other than this one problem) or run both.
If anyone gets LinuxCNC axis running on Parallels, I'd like to know about it. If you're just trying to get it running, use Fusion.
Please Log in or Create an account to join the conversation.