LinuxCNC terminated with an error
- whererthe
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
01 Aug 2013 06:28 #37312
by whererthe
LinuxCNC terminated with an error was created by whererthe
This is what I get when I try to run LinuxCNC...lol no idea what's wrong.
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-2.6.32-122-rtai/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.5.1
Machine configuration directory is '/home/desk/linuxcnc/configs/SherlineLathe'
Machine configuration file is 'SherlineLathe_inch.ini'
INIFILE=/home/desk/linuxcnc/configs/SherlineLathe/SherlineLathe_inch.ini
PARAMETER_FILE=stepper.var
TASK=milltask
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 TASK program: milltask
Starting DISPLAY program: axis
Shutting down and cleaning up LinuxCNC...
Killing task linuxcncsvr, PID=1800
Killing task milltask, PID=1877
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Cleanup done
Debug file information:
Can not find -sec MOT -var MOT -num 1
Can not find -sec IO -var IO -num 1
Can not find -sec LINUXCNC -var NML_FILE -num 1
Can not find -sec EMC -var NML_FILE -num 1
Xlib: extension "GLX" missing on display ":0.0".
X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 3 (X_GetWindowAttributes)
Resource id in failed request: 0xffffffff
Serial number of failed request: 722
Current serial number in output stream: 723
1800
PID TTY STAT TIME COMMAND
1877
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components
Kernel message information:
[ 968.409192] I-pipe: Domain RTAI registered.
[ 968.409198] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03.
[ 968.409201] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) .
[ 968.409265] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[ 968.409267] PIPELINE layers:
[ 968.409270] f835de20 9ac15d93 RTAI 200
[ 968.409272] c085cb20 0 Linux 100
[ 968.437193] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[ 968.437403] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[ 968.437407] RTAI[sched]: hard timer type/freq = APIC/12557015(Hz); default timing: periodic; linear timed lists.
[ 968.437410] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 2511416000 hz.
[ 968.437412] RTAI[sched]: timer setup = 999 ns, resched latency = 2944 ns.
[ 968.437471] RTAI[usi]: enabled.
[ 968.463097] RTAI[math]: loaded.
[ 968.566980] config string '0x0378'
[ 969.642058] RTAI[math]: unloaded.
[ 969.655081] SCHED releases registered named ALIEN RTGLBH
[ 969.700205] RTAI[malloc]: unloaded.
[ 969.800018] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[ 969.801749] I-pipe: Domain RTAI unregistered.
[ 969.801827] RTAI[hal]: unmounted.
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-2.6.32-122-rtai/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.5.1
Machine configuration directory is '/home/desk/linuxcnc/configs/SherlineLathe'
Machine configuration file is 'SherlineLathe_inch.ini'
INIFILE=/home/desk/linuxcnc/configs/SherlineLathe/SherlineLathe_inch.ini
PARAMETER_FILE=stepper.var
TASK=milltask
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 TASK program: milltask
Starting DISPLAY program: axis
Shutting down and cleaning up LinuxCNC...
Killing task linuxcncsvr, PID=1800
Killing task milltask, PID=1877
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Cleanup done
Debug file information:
Can not find -sec MOT -var MOT -num 1
Can not find -sec IO -var IO -num 1
Can not find -sec LINUXCNC -var NML_FILE -num 1
Can not find -sec EMC -var NML_FILE -num 1
Xlib: extension "GLX" missing on display ":0.0".
X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 3 (X_GetWindowAttributes)
Resource id in failed request: 0xffffffff
Serial number of failed request: 722
Current serial number in output stream: 723
1800
PID TTY STAT TIME COMMAND
1877
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components
Kernel message information:
[ 968.409192] I-pipe: Domain RTAI registered.
[ 968.409198] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03.
[ 968.409201] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) .
[ 968.409265] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[ 968.409267] PIPELINE layers:
[ 968.409270] f835de20 9ac15d93 RTAI 200
[ 968.409272] c085cb20 0 Linux 100
[ 968.437193] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[ 968.437403] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[ 968.437407] RTAI[sched]: hard timer type/freq = APIC/12557015(Hz); default timing: periodic; linear timed lists.
[ 968.437410] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 2511416000 hz.
[ 968.437412] RTAI[sched]: timer setup = 999 ns, resched latency = 2944 ns.
[ 968.437471] RTAI[usi]: enabled.
[ 968.463097] RTAI[math]: loaded.
[ 968.566980] config string '0x0378'
[ 969.642058] RTAI[math]: unloaded.
[ 969.655081] SCHED releases registered named ALIEN RTGLBH
[ 969.700205] RTAI[malloc]: unloaded.
[ 969.800018] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[ 969.801749] I-pipe: Domain RTAI unregistered.
[ 969.801827] RTAI[hal]: unmounted.
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
Less
More
- Posts: 7760
- Thank you received: 2055
01 Aug 2013 08:40 #37318
by cmorley
Replied by cmorley on topic LinuxCNC terminated with an error
I'm guessing it's a video problem.
Try a tklinuxcnc config.
It doesn't use openGL
That might point to the problem.
Try a tklinuxcnc config.
It doesn't use openGL
That might point to the problem.
Please Log in or Create an account to join the conversation.
- whererthe
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
02 Aug 2013 09:07 #37339
by whererthe
Replied by whererthe on topic LinuxCNC terminated with an error
Wow very nice that worked...now I"m curious how I can get the normal gui to work?
Please Log in or Create an account to join the conversation.
- ArcEye
- Offline
- Junior Member
Less
More
- Posts: 25
- Thank you received: 761
02 Aug 2013 14:47 #37343
by ArcEye
Replied by ArcEye on topic LinuxCNC terminated with an error
See
wiki.linuxcnc.org/cgi-bin/wiki.pl?Troubl...oting#Display_Issues
We have no idea what machine you have and especially what video card or chipset
Good chance it is nvidia or ATI which can cause real problems with openGL if their proprietary drivers are used.
Do a lspci -vv > pci.txt and attach it and tell us what you can about the video card, if it is a card which I suspect it is.
regards
wiki.linuxcnc.org/cgi-bin/wiki.pl?Troubl...oting#Display_Issues
We have no idea what machine you have and especially what video card or chipset
Good chance it is nvidia or ATI which can cause real problems with openGL if their proprietary drivers are used.
Do a lspci -vv > pci.txt and attach it and tell us what you can about the video card, if it is a card which I suspect it is.
regards
Please Log in or Create an account to join the conversation.
- nimdock
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 1
10 Jun 2014 00:44 #47817
by nimdock
Replied by nimdock on topic LinuxCNC terminated with an error
I used this link
harishnavnit.wordpress.com/2014/03/06/re...solve-the-glx-error/
The commands:
1.- Remove nvidia drivers
sudo apt-get remove --purge nvidia-*
2.- Install ubuntu desktop
sudo apt-get install ubuntu-desktop
3.- Include nouveau to boot
echo 'nouveau' | sudo tee -a /etc/modules
I use Ubuntu 12.04 LTS
harishnavnit.wordpress.com/2014/03/06/re...solve-the-glx-error/
The commands:
1.- Remove nvidia drivers
sudo apt-get remove --purge nvidia-*
2.- Install ubuntu desktop
sudo apt-get install ubuntu-desktop
3.- Include nouveau to boot
echo 'nouveau' | sudo tee -a /etc/modules
I use Ubuntu 12.04 LTS
The following user(s) said Thank You: jcarrr
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23310
- Thank you received: 4858
10 Jun 2014 07:18 #47829
by andypugh
Did it work?
If so, it is a little different from the WIki advice, and could perhaps usefully be added.
(This is a community project, everything here was written by users, and now you are one)
Replied by andypugh on topic LinuxCNC terminated with an error
I used this link
harishnavnit.wordpress.com/2014/03/06/re...solve-the-glx-error/
Did it work?
If so, it is a little different from the WIki advice, and could perhaps usefully be added.
(This is a community project, everything here was written by users, and now you are one)
Please Log in or Create an account to join the conversation.
- ArcEye
- Offline
- Junior Member
Less
More
- Posts: 25
- Thank you received: 761
10 Jun 2014 13:35 - 10 Jun 2014 14:52 #47835
by ArcEye
Unfortunately, just because it has been published, does not mean it is any good.
Entering a video driver in /etc/modules is bizarre, that is what the whole setup in /etc/X11 is for
It is not an optional user module, but the core of the graphics system
If it is a nvidia card and you have non-free drivers, all you need to do is go into synaptic and check the nouveau package is installed, then remove nvidia-glx or whatever the driver package was and nouveau will be substituted.
You may also have to remove the additional .conf folder from /etc/X11, depends how the install was done, ie whether done automatically or added manually.
eg
On my system here, I had to compile nvidia drivers because of a non-standard kernel (which will pertain for most users using rtai)
I then added /etc/X11/xorg.conf.d/20-nvidia.conf which specified the nvidia driver
regards
Replied by ArcEye on topic LinuxCNC terminated with an error
I used this link
harishnavnit.wordpress.com/2014/03/06/re...solve-the-glx-error/
The commands:
1.- Remove nvidia drivers
sudo apt-get remove --purge nvidia-*
2.- Install ubuntu desktop
sudo apt-get install ubuntu-desktop
3.- Include nouveau to boot
echo 'nouveau' | sudo tee -a /etc/modules
I use Ubuntu 12.04 LTS
Unfortunately, just because it has been published, does not mean it is any good.
Entering a video driver in /etc/modules is bizarre, that is what the whole setup in /etc/X11 is for
It is not an optional user module, but the core of the graphics system
If it is a nvidia card and you have non-free drivers, all you need to do is go into synaptic and check the nouveau package is installed, then remove nvidia-glx or whatever the driver package was and nouveau will be substituted.
You may also have to remove the additional .conf folder from /etc/X11, depends how the install was done, ie whether done automatically or added manually.
eg
On my system here, I had to compile nvidia drivers because of a non-standard kernel (which will pertain for most users using rtai)
I then added /etc/X11/xorg.conf.d/20-nvidia.conf which specified the nvidia driver
regards
Last edit: 10 Jun 2014 14:52 by ArcEye.
Please Log in or Create an account to join the conversation.
- nimdock
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 1
10 Jun 2014 16:30 #47840
by nimdock
Replied by nimdock on topic LinuxCNC terminated with an error
I read in wikipedia that nouveu is included by default.
In the link says that is needed include nouveau in /etc/modules because sometimes is included in backlist
My steps was install ubuntu 12.04 like this link wiki.linuxcnc.org/cgi-bin/wiki.pl?LinuxCNC_On_Ubuntu_Precise,
and then the instructions above, and the glx error disapeared.
I think that is easy, and basically is the same that you say.
Regards
In the link says that is needed include nouveau in /etc/modules because sometimes is included in backlist
My steps was install ubuntu 12.04 like this link wiki.linuxcnc.org/cgi-bin/wiki.pl?LinuxCNC_On_Ubuntu_Precise,
and then the instructions above, and the glx error disapeared.
I think that is easy, and basically is the same that you say.
Regards
Please Log in or Create an account to join the conversation.
- ArcEye
- Offline
- Junior Member
Less
More
- Posts: 25
- Thank you received: 761
10 Jun 2014 17:35 #47844
by ArcEye
It should be if your card was detected at install, or indeed if you still have the same card fitted as when you installed
No harm checking.
The proper thing to do is to remove it from a blacklist entry in /etc/modules.d
Whatever, if it works for you
Replied by ArcEye on topic LinuxCNC terminated with an error
I read in wikipedia that nouveu is included by default.
It should be if your card was detected at install, or indeed if you still have the same card fitted as when you installed
No harm checking.
In the link says that is needed include nouveau in /etc/modules because sometimes is included in backlist
The proper thing to do is to remove it from a blacklist entry in /etc/modules.d
Whatever, if it works for you
Please Log in or Create an account to join the conversation.
Time to create page: 0.067 seconds