Linux Mint with RTAI

More
10 years 11 months ago #65526 by tjmarch
Replied by tjmarch on topic Linux Mint with RTAI
To everyone following this please review discussion starting at post:

forum.linuxcnc.org/forum/9-installing-li...-help?start=20#65400

Tim March

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

More
10 years 11 months ago - 10 years 11 months ago #65529 by Roguish
Replied by Roguish on topic Linux Mint with RTAI
Hello, I am working on the Mint install.
I've been through the whole thing several times with the same result. very careful to follow procedure in the first post by BigJohnT.
Mint installs OK. runs good. then install RTAI with the 'setup.sh' script. everything appears to work, except when I actually boot into the PAE kernel.
I do not get the nice X windows display. The screen appears to come up in a terminal mode, but with the contrast reversed and the test goofed up. cannot really read anything on the screen clearly.
So, I have tried booting into 'recovery mode' which works fine. Once in recovery mode if I do an immediate 'resume boot' the boot continues and good old Mint come up fine.
Once booted this way, Linuxcnc seems to work fine. (I am currently moving a few configurations to the system) So far a Touchy config comes up. Gmocappy, and Gscreen work in sim, but Axis does not run at all.
I am pretty sure there is a graphics problem, duh.
It's an Intel based board with Intel on-board graphics.
Any help work be really appreciated. I've done a fair bit of searching but have not found any thing yet.
Is (are) there command line commands to reset the graphics?
help please.
It is an Intel based board with Intel on-board graphics.
Last edit: 10 years 11 months ago by Roguish. Reason: more info

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

More
10 years 11 months ago #65536 by tjmarch
Replied by tjmarch on topic Linux Mint with RTAI
Hello Roguish
I am the person that sent Big John files, I also have a Intel board with on-board graphics, only difference is I installed a Nviida 8400 graphics card and do not use on-board video graphics and just use default driver in Mint . I used compile method to install LCNC instead of Big John's method of install this worked for me when I tested . Was wondering if you are using any kernel load parameters in your grub file that might be causing the issue.

Regards
Tim March

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

More
10 years 11 months ago #65539 by tjmarch
Replied by tjmarch on topic Linux Mint with RTAI
Roguish
Have a look at John Thornton's post in linuxcnc mailing list here

sourceforge.net/p/emc/mailman/emc-users/...th=201511&viewday=16

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

More
10 years 11 months ago - 10 years 11 months ago #65541 by jtc
Replied by jtc on topic Linux Mint with RTAI
Tested in a virtual machine, after following the tutorial and when try to run a sim configuration I got the same error:

Code:
Print file information: RUN_IN_PLACE=no LINUXCNC_DIR= LINUXCNC_BIN_DIR=/usr/bin LINUXCNC_TCL_DIR=/usr/lib/tcltk/linuxcnc LINUXCNC_SCRIPT_DIR= LINUXCNC_RTLIB_DIR=/usr/realtime-3.4-9-rtai-686-pae/modules/linuxcnc LINUXCNC_CONFIG_DIR= LINUXCNC_LANG_DIR=/usr/share/linuxcnc/tcl/msgs INIVAR=inivar HALCMD=halcmd LINUXCNC_EMCSH=/usr/bin/wish8.5 LINUXCNC - 2.7.2-26-gdbf34f6 Machine configuration directory is '/home/jtc/linuxcnc/configs/sim.axis' Machine configuration file is 'axis_9axis.ini' INIFILE=/home/jtc/linuxcnc/configs/sim.axis/axis_9axis.ini PARAMETER_FILE=sim-9axis.var TASK=milltask HALUI=halui DISPLAY=axis Starting LinuxCNC... Starting LinuxCNC server program: linuxcncsvr Loading Real Time OS, RTAPI, and HAL_LIB modules Starting LinuxCNC IO program: io Starting HAL User Interface program: halui Found file(lib): /usr/share/linuxcnc/hallib/core_sim9.hal Found file(lib): /usr/share/linuxcnc/hallib/sim_spindle_encoder.hal Found file(lib): /usr/share/linuxcnc/hallib/axis_manualtoolchange.hal Found file(lib): /usr/share/linuxcnc/hallib/simulated_home.hal Found file(lib): /usr/share/linuxcnc/hallib/locking_indexer.hal Starting TASK program: milltask Starting DISPLAY program: axis Unexpected realtime delay: check dmesg for details. Shutting down and cleaning up LinuxCNC... Killing task linuxcncsvr, PID=2889 Killing task milltask, PID=2956 task: 513 cycles, min=0.000018, max=0.008041, avg=0.002026, 0 latency excursions (> 10x expected cycle time of 0.001000s) Removing HAL_LIB, RTAPI, and Real Time OS modules Removing NML shared memory segments Debug file information: . . Traceback (most recent call last): File "/usr/bin/axis", line 3133, in <module> o = MyOpengl(widgets.preview_frame, width=400, height=300, double=1, depth=1) File "/usr/bin/axis", line 352, 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 2058, in __init__ (widgetName, self._w) + extra + self._options(cnf)) _tkinter.TclError: NULL main window 2889 PID TTY STAT TIME COMMAND 2956 PID TTY STAT TIME COMMAND Stopping realtime threads Unloading hal components
Last edit: 10 years 11 months ago by jtc.

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

More
10 years 11 months ago #65542 by tjmarch

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

Time to create page: 0.522 seconds
Powered by Kunena Forum