Problems with new computer
- danimal300
- Offline
- Senior Member
Less
More
- Posts: 63
- Thank you received: 1
21 Mar 2014 12:04 #45022
by danimal300
Problems with new computer was created by danimal300
I built a new computer just for linuxCNC. I had it working on an old PC, but the latency times were really bad and it took forever just to boot up. This is my new build:
Gigabyte E350N motherboard
Gskill ripjaws 4GB 1600 MHz CL7
Intel 32GB SSD with LinuxCNC installed
Being that I had it running on the other machine I thought that this would be easy to get going. I verified that the parallel port is at 0x378 IRQ=5 and in stepconf I entered in the correct address. This is the error that I get when running my machine profile.
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.3
Machine configuration directory is '/home/dan/linuxcnc/configs/Shapeoko'
Machine configuration file is 'Shapeoko.ini'
INIFILE=/home/dan/linuxcnc/configs/Shapeoko/Shapeoko.ini
PARAMETER_FILE=linuxcnc.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=2684
Killing task milltask, PID=2737
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
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: 721
Current serial number in output stream: 722
2684
PID TTY STAT TIME COMMAND
2737
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components
Kernel message information:
[ 1883.020523] I-pipe: Domain RTAI registered.
[ 1883.020536] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03.
[ 1883.020540] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) .
[ 1883.020625] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[ 1883.020629] PIPELINE layers:
[ 1883.020634] fa7dde20 9ac15d93 RTAI 200
[ 1883.020638] c085cb20 0 Linux 100
[ 1883.052890] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[ 1883.053180] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[ 1883.053188] RTAI[sched]: hard timer type/freq = APIC/12477250(Hz); default timing: periodic; linear timed lists.
[ 1883.053194] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 1597128000 hz.
[ 1883.053198] RTAI[sched]: timer setup = 999 ns, resched latency = 2944 ns.
[ 1883.053317] RTAI[usi]: enabled.
[ 1883.112986] RTAI[math]: loaded.
[ 1883.199929] config string '0x378 out '
[ 1884.802954] RTAI[math]: unloaded.
[ 1884.853523] SCHED releases registered named ALIEN RTGLBH
[ 1884.884343] RTAI[malloc]: unloaded.
[ 1884.984022] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[ 1884.987894] I-pipe: Domain RTAI unregistered.
[ 1884.988027] RTAI[hal]: unmounted.
Any help is greatly appreciated.
Gigabyte E350N motherboard
Gskill ripjaws 4GB 1600 MHz CL7
Intel 32GB SSD with LinuxCNC installed
Being that I had it running on the other machine I thought that this would be easy to get going. I verified that the parallel port is at 0x378 IRQ=5 and in stepconf I entered in the correct address. This is the error that I get when running my machine profile.
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.3
Machine configuration directory is '/home/dan/linuxcnc/configs/Shapeoko'
Machine configuration file is 'Shapeoko.ini'
INIFILE=/home/dan/linuxcnc/configs/Shapeoko/Shapeoko.ini
PARAMETER_FILE=linuxcnc.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=2684
Killing task milltask, PID=2737
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
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: 721
Current serial number in output stream: 722
2684
PID TTY STAT TIME COMMAND
2737
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components
Kernel message information:
[ 1883.020523] I-pipe: Domain RTAI registered.
[ 1883.020536] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03.
[ 1883.020540] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) .
[ 1883.020625] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[ 1883.020629] PIPELINE layers:
[ 1883.020634] fa7dde20 9ac15d93 RTAI 200
[ 1883.020638] c085cb20 0 Linux 100
[ 1883.052890] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[ 1883.053180] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[ 1883.053188] RTAI[sched]: hard timer type/freq = APIC/12477250(Hz); default timing: periodic; linear timed lists.
[ 1883.053194] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 1597128000 hz.
[ 1883.053198] RTAI[sched]: timer setup = 999 ns, resched latency = 2944 ns.
[ 1883.053317] RTAI[usi]: enabled.
[ 1883.112986] RTAI[math]: loaded.
[ 1883.199929] config string '0x378 out '
[ 1884.802954] RTAI[math]: unloaded.
[ 1884.853523] SCHED releases registered named ALIEN RTGLBH
[ 1884.884343] RTAI[malloc]: unloaded.
[ 1884.984022] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[ 1884.987894] I-pipe: Domain RTAI unregistered.
[ 1884.988027] RTAI[hal]: unmounted.
Any help is greatly appreciated.
Please Log in or Create an account to join the conversation.
21 Mar 2014 13:32 #45024
by Rick G
Replied by Rick G on topic Problems with new computer
Perhaps an Opengl problem.
wiki.linuxcnc.org/cgi-bin/wiki.pl?Troubl...oftware_based_OpenGL
Does glxgears run?
Have you tried running linuxcnc with the mini or tklinuxcnc interface?
www.linuxcnc.org/docs/devel/html/config/...ub_display_section_a
Rick G
wiki.linuxcnc.org/cgi-bin/wiki.pl?Troubl...oftware_based_OpenGL
Does glxgears run?
Have you tried running linuxcnc with the mini or tklinuxcnc interface?
www.linuxcnc.org/docs/devel/html/config/...ub_display_section_a
Rick G
Please Log in or Create an account to join the conversation.
21 Mar 2014 14:19 #45026
by ArcEye
Replied by ArcEye on topic Problems with new computer
Hi
There are problems with the drivers for the video chip on this board under 10.04
linuxcnc.org/dapper/emc2/emc2/index.php/...0-and-gigabyte-e350n
You don't say what your latency results were. If you do a test you may or may not have problems with glxgears (it does not load as much as axis).
Do what Rick suggests re alternative Guis, which should confirm it a driver GLX problem
The best solution would be to install 12.04 and then use Sebs 3.4.55-rtai debs.
The driver support is much improved in 12.04
highlab.com/~seb/linuxcnc/rtai-for-3.4-prerelease/
regards
There are problems with the drivers for the video chip on this board under 10.04
linuxcnc.org/dapper/emc2/emc2/index.php/...0-and-gigabyte-e350n
You don't say what your latency results were. If you do a test you may or may not have problems with glxgears (it does not load as much as axis).
Do what Rick suggests re alternative Guis, which should confirm it a driver GLX problem
The best solution would be to install 12.04 and then use Sebs 3.4.55-rtai debs.
The driver support is much improved in 12.04
highlab.com/~seb/linuxcnc/rtai-for-3.4-prerelease/
regards
Please Log in or Create an account to join the conversation.
- danimal300
- Offline
- Senior Member
Less
More
- Posts: 63
- Thank you received: 1
23 Mar 2014 02:29 #45105
by danimal300
Replied by danimal300 on topic Problems with new computer
I was getting latency times of about 4000 static and 6200 under moderate to heavy loading and computational tasking. I will give the drivers a try per that thread that you linked then I will post back here. Thanks for the help.
Please Log in or Create an account to join the conversation.
- danimal300
- Offline
- Senior Member
Less
More
- Posts: 63
- Thank you received: 1
23 Mar 2014 04:10 #45111
by danimal300
Replied by danimal300 on topic Problems with new computer
I tried the work around listed on the help page by entering:
sudo apt-get install libgl1-mesa-swx11
Then I restarted the machine and received the same error as before. Then I tried the driver install that was listed in the other thread and installed the AMD 12.10 driver per the install instructions. After I uninstalled the old ATI driver I restarted the computer and had the "low graphics mode" and I selected "repair" and "load default (generic) Xorg". Then I installed the recommended AMD driver 12.10. At this point I restarted the computer and got the "low graphics mode" so something must not have gone right during the install. I did some research and re-installed fglrx per instructions on ubuntu.org and this allowed the computer to start up normally without any errors, but I still get the same error when running the machine profile. I tried to create a new profile using stepconf, and that one failed as well and never started up.
sudo apt-get install libgl1-mesa-swx11
Then I restarted the machine and received the same error as before. Then I tried the driver install that was listed in the other thread and installed the AMD 12.10 driver per the install instructions. After I uninstalled the old ATI driver I restarted the computer and had the "low graphics mode" and I selected "repair" and "load default (generic) Xorg". Then I installed the recommended AMD driver 12.10. At this point I restarted the computer and got the "low graphics mode" so something must not have gone right during the install. I did some research and re-installed fglrx per instructions on ubuntu.org and this allowed the computer to start up normally without any errors, but I still get the same error when running the machine profile. I tried to create a new profile using stepconf, and that one failed as well and never started up.
Please Log in or Create an account to join the conversation.
23 Mar 2014 05:25 #45117
by andypugh
Have you tried a non-graphical GUI? It doesn't seem to be an option in Stepconf, but it is a simple change to the INI file:
www.linuxcnc.org/docs/html/config/ini_co...ub_display_section_a
Try changing "[DISPLAY] DISPLAY = axis" to "[DISPLAY] DISPLAY = tklinuxcnc"
Replied by andypugh on topic Problems with new computer
I still get the same error when running the machine profile. I tried to create a new profile using stepconf, and that one failed as well and never started up.
Have you tried a non-graphical GUI? It doesn't seem to be an option in Stepconf, but it is a simple change to the INI file:
www.linuxcnc.org/docs/html/config/ini_co...ub_display_section_a
Try changing "[DISPLAY] DISPLAY = axis" to "[DISPLAY] DISPLAY = tklinuxcnc"
Please Log in or Create an account to join the conversation.
- danimal300
- Offline
- Senior Member
Less
More
- Posts: 63
- Thank you received: 1
23 Mar 2014 07:55 #45124
by danimal300
Replied by danimal300 on topic Problems with new computer
I feel like I have tried so many things to get this working that I must be messing up more as I go along changing things. With that I decided to upgrade to 12.04 and try 3.4.55. Good news is I got drivers for everything and now my speakers work at least so I can watch youtube how to videos. Small victories I guess.
Here is what I did in the order that I did it:
I did the complete 12.04 upgrade
Downloaded the 3.4.55 files from here: highlab.com/~seb/linuxcnc/rtai-for-3.4-prerelease/
I installed the source file then the manual, then header fies and doc file.
Neither image file would install, one just wold not compile, the other said there was a dependency issue.
So figured I would give installing linuxCNC a try and it did not work for the following reason:
The following packages have unmet dependencies:
linuxcnc : Depends: python (< 2.7) but 2.7.3-0ubuntu2.2 is to be installed
Depends: python2.6-tk but it is not installable
Depends: python2.6-imaging but it is not installable
Recommends: hostmot2-firmware but it is not installable
E: Unable to correct problems, you have held broken packages.
So first I installed python 2.7.3 and then installed 2.7.3-0ubuntu2.2 and tried to install linuxCNC again. Same exact error. What am I doing wrong here?
Here is what I did in the order that I did it:
I did the complete 12.04 upgrade
Downloaded the 3.4.55 files from here: highlab.com/~seb/linuxcnc/rtai-for-3.4-prerelease/
I installed the source file then the manual, then header fies and doc file.
Neither image file would install, one just wold not compile, the other said there was a dependency issue.
So figured I would give installing linuxCNC a try and it did not work for the following reason:
The following packages have unmet dependencies:
linuxcnc : Depends: python (< 2.7) but 2.7.3-0ubuntu2.2 is to be installed
Depends: python2.6-tk but it is not installable
Depends: python2.6-imaging but it is not installable
Recommends: hostmot2-firmware but it is not installable
E: Unable to correct problems, you have held broken packages.
So first I installed python 2.7.3 and then installed 2.7.3-0ubuntu2.2 and tried to install linuxCNC again. Same exact error. What am I doing wrong here?
Please Log in or Create an account to join the conversation.
- danimal300
- Offline
- Senior Member
Less
More
- Posts: 63
- Thank you received: 1
23 Mar 2014 07:57 #45125
by danimal300
I have another SSD that I am not using so I think that I am going to do a fresh install and try this too. Thanks for the help.
Replied by danimal300 on topic Problems with new computer
I still get the same error when running the machine profile. I tried to create a new profile using stepconf, and that one failed as well and never started up.
Have you tried a non-graphical GUI? It doesn't seem to be an option in Stepconf, but it is a simple change to the INI file:
www.linuxcnc.org/docs/html/config/ini_co...ub_display_section_a
Try changing "[DISPLAY] DISPLAY = axis" to "[DISPLAY] DISPLAY = tklinuxcnc"
I have another SSD that I am not using so I think that I am going to do a fresh install and try this too. Thanks for the help.
Please Log in or Create an account to join the conversation.
23 Mar 2014 08:40 #45127
by andypugh
Have you tried a non-graphical GUI? It doesn't seem to be an option in Stepconf, but it is a simple change to the INI file:
www.linuxcnc.org/docs/html/config/ini_co...ub_display_section_a
Try changing "[DISPLAY] DISPLAY = axis" to "[DISPLAY] DISPLAY = tklinuxcnc"
Replied by andypugh on topic Problems with new computer
I still get the same error when running the machine profile. I tried to create a new profile using stepconf, and that one failed as well and never started up.
Have you tried a non-graphical GUI? It doesn't seem to be an option in Stepconf, but it is a simple change to the INI file:
www.linuxcnc.org/docs/html/config/ini_co...ub_display_section_a
Try changing "[DISPLAY] DISPLAY = axis" to "[DISPLAY] DISPLAY = tklinuxcnc"
Please Log in or Create an account to join the conversation.
- danimal300
- Offline
- Senior Member
Less
More
- Posts: 63
- Thank you received: 1
23 Mar 2014 10:53 #45130
by danimal300
Replied by danimal300 on topic Problems with new computer
I did a fresh install on the other SSD of 10.04 and did the above fix for the display in tht INI file and it worked like a champ. I still need to run latency tests and setup my machine configuration, buy I got my test motor turning. Thanks for all the help.
Please Log in or Create an account to join the conversation.
Time to create page: 0.079 seconds