#emc | Logs for 2010-10-21

Back
[00:00:04] <pcncx> qq- it might not be stable
[00:00:16] <pcncx> or work with what i have
[00:00:52] <pcncx> is there a way to debianize this thing? like dpkg it?
[00:00:54] <qq-> it is last stable
[00:01:03] <pcncx> so I can remove it if I decide I don't like it
[00:01:08] <andypugh> there are debs
[00:01:17] <pcncx> well now why didn't you say so?
[00:01:35] <pcncx> I'm all about aptitude install over here
[00:01:38] <qq-> pcncx, to learn things
[00:02:06] <andypugh> I assumed they would be ubuntu/kernel specific
[00:02:07] <andypugh> http://www.linuxcnc.org/mozmck/
[00:02:27] <pcncx> andypugh oh if they're not for Lenny then yes I'd be better off making my own
[00:02:59] <pcncx> I need to learn how to make my own debs
[00:03:30] <qq-> pcncx, emc2 is difficult ...
[00:03:54] <theorb> theorb is now known as theorbtwo
[00:05:02] <qq-> pcncx, go compile for now , see what it act , and later if you are ok , see how to build a debian package
[00:05:26] <andypugh> I have been compiling emc2 about 100 times a day for the last week
[00:05:39] <pcncx> man for the old piece of junk this machine it is it still runs like greazed lightning!
[00:05:45] <qq-> see what/ see how*
[00:06:02] <pcncx> it built
[00:06:41] <pcncx> hmm the tests file was rather underwhelming
[00:08:27] <pcncx> hey there is a debian directory
[00:10:08] <pcncx> I just wish there were some directions in it
[00:12:15] <pcncx> hrm what kind of coke is this stuff smoking?
[00:12:25] <pcncx> EMC2 requires the real-time kernel 2.6.32-122-rtai to run.
[00:12:45] <pcncx> how I fix that?
[00:14:22] <pcncx> the kernel version ir runs with is hard coded into the software?
[00:14:58] <qq-> pcncx, as said use your /home/paulcnc/EMC2/emc2-2.4.4
[00:15:49] <pcncx> qq- yes i just did a ./configure help and see the switch now thanks
[00:16:37] <qq-> read README
[00:16:59] <pcncx> it just pointed me to install which I read
[00:29:11] <pcncx> oh well I don't get it I've no idea what this switch is looking for
[00:35:01] <pcncx> building emc what exactly is the --with-realtime= switch looking for in ./configure ?
[00:39:19] <pcncx> I guess I'll have to sleep on all of this over here
[00:43:38] <pcncx> oh well better luck tomorrow night all
[12:00:57] <ChanServ> [#emc] "This is the #emc channel - talk related to the Enhanced Machine Controller and general machining. Website: http://www.linuxcnc.org/, wiki at http://wiki.linuxcnc.org/"
[12:01:14] <Paragon39> and now I do.
[13:35:15] <alex_joni> wow: http://www.youtube.com/watch?v=UyCe3RNT7pw&feature=related
[13:42:20] <JT-Work> neat!
[13:44:20] <cpresser> greak skills!
[13:52:42] <JT-Work> the price of Alibre is going up... I think they are fishing for sales by letting people know...
[15:45:25] <srpski> srpski is now known as Dannyboy
[16:08:06] <SadMan> :q
[16:08:09] <SadMan> oops
[16:40:19] <elmo40> http://www.youtube.com/watch?v=InM6xn0AJCU
[17:09:08] <willburrrr2003> Good morning to all :)
[17:10:03] <willburrrr2003> I had a productive night lastnight, had to chang computers out for my cnc project with one that would read teh emc install disk but got it installed finally!!
[17:11:28] <willburrrr2003> After that managed to get an hour of reading through the HAL manual, and start trying the intr to HAL programing...made it through the Halmeter section before I called it a night :)
[17:46:56] <skunkworks> willburrrr2003: Great!
[17:50:06] <willburrrr2003> Yea skunkworks, feeling pretty gooad about the progress, now I am wiring the control cabiet for my machine as I have had the components mounted in there for months now...just not time to move it forward hehe
[17:51:25] <willburrrr2003> "good" not "gooad" damn kb glitches ....need to re-read what I type to catch them
[18:34:48] <skunkworks> Nice work andy
[18:37:18] <andypugh> Me? (Or is there another Andy?)
[18:37:43] <willburrrr2003> just curious, is there a graphical version of the halmeter so I can see the waveforms of signals rather than just a number?
[18:37:57] <andypugh> Halscope
[18:38:23] <willburrrr2003> sweet, thanks looking forward to tryig that when I get home :)
[18:39:05] <andypugh> It's well worth getting familiar with Halscope, it is one of EMC2's "Killer Apps"
[18:42:03] <atmega> next, you need halAI, it guesses what you want to see and shows it to you.
[18:42:42] <andypugh> At that point 'HAL' becomes an unfortunate name "I'm sorry Dave, I can't let you do that"
[18:45:33] <skunkworks> andypugh: you :)
[18:46:32] <andypugh> 8i20?
[18:48:45] <skunkworks> yes :)
[18:49:40] <andypugh> I guess 3HP servos are getting on for the sort of size your machine needs?
[18:50:03] <cradek> http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=330476132729
[18:51:14] <andypugh> I suspect that they are trying to bypass eBay
[18:51:33] <Bluntz> wow
[18:51:37] <atmega> is it for the one, or fore everything in the pic?
[18:51:41] <cradek> atmega: the one
[18:51:50] <cradek> there's hundreds of them listed (individually) for $10k each
[18:52:12] <atmega> must be 'free insertion fee' week
[18:52:20] <cradek> yeah, guess so
[18:52:29] <andypugh> No, it is technically for none of them, the Ad is to get you to contact them to buy the individual holders outside of eBay.
[18:52:39] <skunkworks> http://www.youtube.com/watch?v=4g-SlFrxPWM
[18:53:08] <atmega> that one has 'make offer', could be legit if not obnoxious
[18:56:14] <cradek> skunkworks: wow that's an ugly-sounding machine
[18:56:24] <cradek> wonder what all the rattling is when Z moves
[18:56:24] <skunkworks> heh - didn't have the sound on
[18:57:37] <skunkworks> also - the spindle is interesting. Wish I could see the whole machine.
[18:57:50] <cradek> yeah some kind of centering contraption?
[18:58:34] <atmega> http://raleigh.craigslist.org/tls/2018012990.html
[18:58:49] <atmega> is that actually considered a mill or just a big drill press?
[18:59:04] <Bluntz> I smoked my 3 axis chineee ts6050 board using 24v psu
[18:59:05] <cradek> I think you'd call that a mill-drill
[18:59:26] <skunkworks> also a round column. not that great for cnc'ing
[18:59:27] <cradek> you can see dovetail ways on Y. it's meant for milling I think.
[18:59:44] <cradek> no, not that great for anything I bet - it's a compromise machine
[19:00:05] <cradek> lathe looks more useful
[19:00:37] <Bluntz> so they replaced it with a 5 axis variant ,anyone know if its the same driver?
[19:01:20] <andypugh> Bluntz: Probably.
[19:01:48] <andypugh> Aye, the lathe is nice (but like all US lathes has the longitudinal handle in the wrong place)
[19:01:59] <atmega> cradek: could you cut aluminum/brass with any precision with it?
[19:03:20] <cradek> atmega: could I? maybe with enough care :-) could you? no idea...
[19:03:34] <cradek> (I offered $50 for one of his $10k tools...)
[19:03:48] <Bluntz> thnx andy
[19:04:33] <andypugh> Bluntz: I only know of two driver ICs in use on those cheap boards. The other one is more fragile..
[19:04:58] <andypugh> atmega: I reckon as long as you use the quill for vertical, not the head.
[19:05:34] <cradek> the screws are probably useless for precise work - you'd have to do surface plate layout for anything that needed to be in the right place
[19:05:56] <cradek> but you could do basic machining with it, sure
[19:06:15] <andypugh> However, I reckon it is probably an order of magnitude better in all respects than my mill.
[19:06:52] <atmega> kind of pricey for an unknown
[19:07:02] <cradek> yep
[19:07:29] <atmega> no room for the lathe
[19:08:49] <andypugh> atmega: This is a cool combination machine: http://cgi.ebay.co.uk/SIOME-TC-5-RARE-UNUSUAL-Lathe-AND-milling-machine-/150509451835
[19:09:38] <andypugh> (Though why folk advertise "rare" in relation to machine tools is a mystery to me. It means "no spare parts")
[19:10:30] <cradek> the book shows a little milling table, but I don't see it
[19:10:50] <Bluntz> I was thinking about purchasing an old used unimat lathe for a conversion
[19:11:17] <andypugh> Any machine you get, you will wish was bigger.
[19:11:29] <Bluntz> hehe
[19:11:29] <andypugh> That will happen on about the second job with a Unimat.
[19:11:51] <Bluntz> rite
[19:11:59] <andypugh> A Unimat is too small to even peel some carrots.
[19:13:47] <andypugh> The hal pin name length limit is too short
[19:14:16] <willburrrr2003> what is the pin name length limit set at?
[19:15:09] <andypugh> 41
[19:15:37] <andypugh> So, hm2_5i23.0.sserial.1.port.2.8i20.mac-current won't fit.
[19:16:07] <willburrrr2003> thanks, knowing that should save me some grief in my designing of my hal "circuit"
[19:16:45] <andypugh> The alternative is hm2_5i23.0.sserial.1.8i20.1.max_current, and leave the user to guess which port it is wired into .
[19:17:12] <cradek> what happens if you increase it?
[19:17:39] <andypugh> It's a #DEFINE in hal.h. I daredn't
[19:18:08] <cradek> chicken
[19:18:33] <andypugh> I don't have 2 years to test every HAL component and combination
[19:19:31] <andypugh> Is "serport.1.1" clear enough, do you think?
[19:19:47] <skunkworks> that is what users are for ;)
[19:20:22] <Bluntz> ok so the gantry design needs to accept 48" stock then I wonder if my 2.1 A astrosyns and this board are up to that
[19:21:55] <andypugh> The size is less important than the cutting forces, and the forces will probably be typical.
[19:22:10] <andypugh> But a big, heavy, gantry will move slowly with small motors
[19:24:06] <Bluntz> hmm
[19:24:23] <Bluntz> so a robotic arm design maybe?
[19:24:58] <cradek> andypugh: I changed it from 41 to 99 and everything seems to run
[19:25:44] <cradek> andypugh: would probably break configs that are nearly out of hal memory.
[19:25:45] <andypugh> Does that waste shared memory do you think?
[19:25:50] <cradek> sure
[19:26:08] <andypugh> So, back to the sserial.1.1 idea?
[19:26:09] <cradek> you might want to increase the size of the hal shm block at the same time to avoid breaking any configs?
[19:27:31] <cradek> #define HAL_SIZE 262000
[19:27:50] <andypugh> Well, 41 chars is already quite enough to be typing in halrun or the test-hal-command window.
[19:27:53] <cradek> if you'd increase this the same ratio it seems like you wouldn't break any configs.
[19:28:12] <cradek> that's sure true, but there is tab completion
[19:28:23] <andypugh> Not in "Show machine config"
[19:28:41] <andypugh> (It would be nice if you could at least copy-paste in that window)
[19:29:03] <cradek> (I guess I don't use that)
[19:29:27] <cradek> don't you click on the names in that?
[19:30:38] <andypugh> You can type "setp" commands in the box at the bottom. That is often rather handy
[19:31:38] <skunkworks> I thought jepler added that.
[19:32:29] <andypugh> Added what?
[19:32:49] <andypugh> And he might have done, I have not done a pull for months
[19:34:41] <skunkworks> never mind - I was thinking this was the same... r75ea5e76057b /tcl/bin/halshow.tcl: halshow: permit an unlimited number of levels
[19:50:09] <pcncx> has anyone ever heard of emc2-2.4.4 disabling input shortly after it is run?
[19:50:27] <cradek> what do you mean by disabling input?
[19:51:04] <pcncx> I mean I can move my mouse although the cursor inverts but I cannot click the buttons and the keyboard is completely unresponsive i have to power off the machine
[19:51:44] <pcncx> I am at a total loss over here
[19:52:35] <andypugh> Video driver? I think that they can be involved in mouse input?
[19:52:49] <pcncx> I am using r128 and drm
[19:53:24] <bootnecklad> andypugh yes
[19:53:27] <bootnecklad> I am a totaly nut job
[19:53:31] <pcncx> the only thing I can do is move the cursor on the screen but it is like it isn't even really there I have auto raise on but wundows don't come up
[19:53:45] <pcncx> windows even
[19:54:04] <pcncx> and the mouse turns black
[19:54:09] <pcncx> like the arrow
[19:54:17] <pcncx> though before the rebuild it was like a big black spot
[19:54:37] <pcncx> but I just rebuilt the whole thing again and notived it is arrow shaped again
[19:54:42] <bootnecklad> and a loony too
[19:55:12] <pcncx> I even tried to run emc in -d debug but it left me nothing
[19:55:36] <pcncx> should i change the directory it leaves the log file in?
[19:55:48] <pcncx> right now it tries to leave it in /tmp
[19:55:49] <andypugh> Try changing "axis" to "xemc" in the INI file.
[19:55:55] <pcncx> ok
[19:56:20] <pcncx> andypugh at this stage of the game I'm ready to stand on my head and spit wooden nickels if it gets me a bit closer
[19:56:32] <andypugh> You should get a much less graphically intensive UI to experiment with.
[19:56:40] <cradek> pcncx: does "r128 and drm" mean you've installed the closed-source nvidia or ati drivers?
[19:56:59] <pcncx> cradek no those are the open source plane jane GPL drivers
[19:57:13] <andypugh> Only change it in the [DISPLAY] section, not the axis definitions :-)
[19:57:49] <psha> cradek: r128 is open source radeon driver
[19:57:52] <psha> but pretty old
[19:57:52] <cradek> pcncx: are you using the linuxcnc install?
[19:58:03] <psha> as i remember
[19:58:13] <pcncx> cradek no this is a bare debian system with rtai kernel
[19:58:15] <cradek> I mean are you using our custom ubuntu install cd, or some other os?
[19:58:21] <cradek> ok
[19:58:33] <pcncx> it seems to work otherwise
[19:58:40] <cradek> so we've got many many unknowns :-/
[19:58:56] <psha> pcncx: try to use vesa driver first
[19:58:56] <cradek> do your rtai runtests work right?
[19:59:07] <pcncx> cradek yes I'm looking for the one unknown that is messing this up
[19:59:16] <pcncx> you mean latency run and stuff?
[19:59:18] <pcncx> yes
[19:59:19] <cradek> yes
[19:59:38] <psha> and simple gl prog like glxgears works?
[19:59:38] <cradek> do you mean the rtai latency test or the emc latency test (or both)?
[19:59:44] <pcncx> far as I can tell rtai is here and working
[19:59:57] <pcncx> when I run emc I get the config screen then it dies after that
[20:00:10] <pcncx> like with the splash still on the screen
[20:00:21] <pcncx> the other window pops up but you're done
[20:00:32] <cradek> it's true it might be opengl related, but that's only a guess - realtime starts at that point too
[20:00:46] <pcncx> glxgears runs
[20:00:50] <cradek> you could try the emc latency-test program to see if realtime runs (it does not use opengl)
[20:00:57] <pcncx> ok how i do that?
[20:01:04] <cradek> latency-test at the shell
[20:01:21] <pcncx> ok I found it in scripts
[20:01:28] <pcncx> ok bbiab maybe
[20:01:36] <cradek> . scripts/emc-environment; latency-test
[20:03:52] <pcncx> it is running
[20:04:05] <pcncx> and I'm still here!
[20:04:26] <pcncx> that is a good sign right?
[20:05:29] <qq-> not for us ;)
[20:05:53] <pcncx> qq- help me fix this and I promise I'll go away
[20:06:37] <cradek> true that is a good sign. did you run some glxgearses at the same time?
[20:06:46] <pcncx> no let me do that
[20:07:13] <pcncx> ack i got the black mouse but my keybard is working
[20:07:33] <qq-> pcncx, i asked for help on almost same behaviors yesterday , non helped me , so ... now your tour
[20:07:35] <pcncx> cradek you're bringing it right up to the edge
[20:07:45] <psha> pcncx: with glxgears + latency or only latency&
[20:08:03] <pcncx> the latency test is going and I started glxgears then the mouse changed color
[20:08:15] <pcncx> but I still got a keyboard!
[20:08:21] <psha> so either kill glx or change driver to vesa
[20:08:28] <psha> while you still have keyboard :)
[20:08:36] <cradek> yeah, I agree with psha; you want to try the vesa driver
[20:08:42] <pcncx> ah this machine is on a power strip easy enough to restart
[20:08:52] <cradek> what are your latency-test numbers?
[20:09:14] <pcncx> 11258 servo and 13443 base
[20:09:59] <pcncx> though lastn ight fooling with run latency I hit like 16 and change with glxgears dragging iceweasel around
[20:10:16] <pcncx> it never went past that spike
[20:10:26] <pcncx> was like 16558
[20:10:38] <psha> not so bad
[20:10:51] <pcncx> I figure 17,000 setting and i should be good
[20:11:06] <pcncx> I don't plan on making any surgical instruments
[20:11:25] <cpresser> the servo-thread runs with 250k? so 16k is already 6% of it?
[20:11:29] <pcncx> but til i get this working I'm not going anywhere with this project
[20:11:54] <pcncx> I will use the stepper module
[20:12:18] <psha> pcncx: replace r128 with vesa in xorg.conf and try again
[20:12:31] <pcncx> OK so my next plan of attack is lose r128 and just run vesa?
[20:12:54] <psha> another way is to install libgl1-mesa-swx11 instead of libgl1-mesa-dri
[20:12:59] <psha> yes
[20:13:12] <psha> if it work you may try replacing DRI glx with software one
[20:13:19] <psha> with r128 driver
[20:13:34] <psha> but vesa is more safe way in most cases
[20:13:54] <pcncx> yes i will try that first
[20:14:21] <cpresser> software rendering isnt that slow after all
[20:14:28] <pcncx> oh just hit a new high on my jitter
[20:15:10] <psha> cpresser: rendering is not bad, but without page flips scrolling looks really bad
[20:15:22] <cradek> software rendering for EMC is the way to go
[20:15:35] <psha> anyone using gladevcp here?
[20:15:42] <cradek> it always works right. it doesn't mess with latency. it's plenty fast enough for AXIS which just draws some lines.
[20:15:58] <pcncx> wow when i killed glxgears my cursor came back
[20:16:19] <psha> so it's defenitely glx + rtai issue
[20:16:35] <pcncx> gonno just shut off latency now I'm going to try glxgears again
[20:16:36] <cradek> very weird
[20:16:52] <pcncx> nope its black
[20:17:14] <pcncx> there is something seriously wrong with mesa on my machine
[20:17:21] <psha> r128 is pretty old and drm subsystem is changing very fast in last 2-3 years...
[20:17:34] <pcncx> so together they're bad huh?
[20:17:34] <psha> so nothing strange that there are some strange bugs with DRM
[20:17:52] <psha> try vesa :)
[20:18:00] <pcncx> well I got to say I am not too thrilled with r128
[20:18:15] <pcncx> gives me maybe 300 fps in gears
[20:18:28] <pcncx> so no great loss
[20:18:46] <pcncx> yeah let me do the xorg.conf
[20:20:37] <pcncx> one more question what do I do with drm?
[20:21:33] <cradek> I don't think vesa uses it
[20:21:47] <cradek> you mean LoadModule "drm"?
[20:22:08] <pcncx> well in general do I need to get rid of it do i need it I don't know
[20:22:23] <cradek> try without
[20:22:27] <pcncx> k
[20:22:51] <cpresser> AFAIK, X.org will load required modules based on dependecy automatically
[20:23:00] <pcncx> I have Load "dri"
[20:23:08] <pcncx> cpresser even if you have a conf file?
[20:23:25] <pcncx> I thought the conf file was a show stopper for X
[20:23:47] <psha> pcncx: conf file instructs what you want from X, but don't mandate what steps to do and what - not
[20:24:14] <pcncx> like there is no way to explicitely tell X not to load something?
[20:24:24] <cpresser> check the log-file. my X-installton loats a lot of modules, i did not explicit instruct to use
[20:24:25] <pcncx> I could always del the module off my system
[20:24:36] <pcncx> then see what X does about that
[20:24:37] <cpresser> ~loads
[20:24:39] <cradek> just try Driver "vesa"
[20:24:44] <psha> maybe there is some 'blacklisting' but i'm not aware of it
[20:24:55] <cpresser> better rename it :)
[20:24:57] <cradek> don't delete stuff first...
[20:25:33] <pcncx> k i swapped r128 for vesa let me cp this conf to /etc
[20:25:42] <psha> my server dies with oops :(
[20:26:47] <cpresser> oops sounds like a serious problem.. does the backtrace help?
[20:26:59] <psha> somewhere in xfs...
[20:27:17] <psha> it's luck that i was logged in via ssh
[20:27:24] <psha> so i've catched trace
[20:27:26] <pcncx> k going to restart X here
[20:27:33] <psha> but till tommorrow it's dead...
[20:27:59] <psha> with my emc2.git public repo and patches waiting cmorley review...
[20:28:33] <cpresser> so you dont have local access to fix it?
[20:29:28] <psha> no
[20:29:42] <psha> it's ~5-7km from me
[20:29:59] <psha> and everyone there are sleeping already
[20:34:50] <psha> maybe memory is broken..
[20:40:42] <pcncx> this is going to take a while to get to work here
[20:41:05] <pcncx> I'll let you know when I'm in X with a screen with vesa running
[20:41:26] <cpresser> pcncx: problems with monitor-timings?
[20:41:47] <pcncx> cpresser yeah looks like it I wrote down all the junk from xvidtune i got to setup modelines
[20:42:00] <pcncx> or something
[20:42:07] <cradek> nahhh
[20:42:20] <pcncx> is there like some config tool I can use?
[20:42:33] <cradek> boot single user, run 'X -configure', copy the xorg.conf.new to /etc/X11/xorg.conf, edit Driver to say "vesa", reboot
[20:42:44] <pcncx> cradek yeah i did that
[20:42:56] <cradek> and what's the result?
[20:43:07] <pcncx> but when i did my screen said mode not supported or soemthing
[20:43:17] <pcncx> looked like out of range refresh
[20:43:23] <cradek> weird
[20:43:28] <cpresser> I got my modeline for vesa: start with legay-video-driver; run xrandr -q; copy modeline
[20:43:31] <cradek> is your video cable fully wired? screen made in the last decade or so?
[20:43:44] <pcncx> its a flat panel
[20:43:50] <cpresser> I had the same problem with my vesa-setup.. a lot of out-of-sync stuff
[20:43:54] <cradek> dvi or vga?
[20:44:11] <pcncx> vga but it gets the dpms info
[20:44:21] <cpresser> turn dpms off :)
[20:44:23] <pcncx> least i think it does
[20:44:29] <cradek> you mean edid
[20:44:29] <cpresser> there is an option for it
[20:44:38] <pcncx> well whatever the card and screen do
[20:44:47] <cradek> check the xorg log and make sure it's reading it
[20:44:54] <cradek> pretty weird for it not to just work
[20:45:00] <pcncx> yes i have a copy of the bombed log open now
[20:45:07] <pcncx> story of my life
[20:45:17] <pcncx> I'm used to it anymore
[20:45:30] <pcncx> the only way is the hard way
[20:45:59] <pcncx> (II) VESA(0): Attempting to use 75Hz refresh for mode "1280x1024" (11a)
[20:46:06] <pcncx> I don't think my screen can do that
[20:46:20] <pcncx> xvidtune said I was at like 60 Hz
[20:46:41] <pcncx> hsync 63.98 v sync 60.02
[20:47:08] <pcncx> so soon as i get this nonsense straightened out I should be good to go
[20:47:18] <cradek> HorizSync 64
[20:47:21] <cradek> VertRefresh 60
[20:47:30] <cradek> then it will pick the right vesa mode for you
[20:49:19] <pcncx> bizarre the xorg.conf that works has no modelines in it
[20:49:54] <pcncx> maybe i should just take the ones out of the genned file?
[20:53:43] <pcncx> ok bbl
[21:05:33] <pcncx> I think i need to take a step back from all of this for a bit here
[21:06:56] <pcncx> before I wear a hole in my HDD where xorg.conf is stored!
[21:57:45] <pcncx> at least I know what the problem is now
[22:05:24] <pcncx> whoah it works!
[22:11:00] <andypugh> What did you do?
[22:11:16] <pcncx> I renamed the kernel r128 module then rebooted
[22:11:30] <pcncx> so now it can't load the danged thing
[22:11:50] <pcncx> I tried to rename the xorf r128 driver as well but X wouldn't start
[22:11:54] <pcncx> xorg
[22:12:18] <pcncx> and now axis is up running and not flaking out
[22:12:52] <cradek> hope all your gremlins are really gone
[22:13:04] <pcncx> well my gl performance is even worse
[22:13:11] <pcncx> but hey it works right?
[22:13:35] <cradek> yay
[22:13:59] <pcncx> I thought it was going to take me days of fiddling around it still may
[22:14:16] <pcncx> like why my machine won't use the vesa driver I've no idea
[22:14:49] <cradek> too bad we don't get a plain old xorg.conf anymore these days
[22:14:55] <pcncx> monitor stays black and popus up a floating box that says input not supported
[22:15:28] <pcncx> well I'm running a basically empty xorg.conf now
[22:17:07] <Valen> cradek: I was under the impression you could still make an xorg.conf
[22:17:16] <Valen> I have a full one in my 10.04 myth box
[22:17:18] <pcncx> Valen you can
[22:17:27] <pcncx> don't mean it is going to work
[22:17:33] <cradek> you can ... and then it also reads other conf files ... and then it also autoconfigures everything
[22:17:52] <pcncx> yeah X does seem to have more of a mind of its own these days
[22:18:12] <cradek> yes more and more - it's often a good thing - not always
[22:18:20] <Valen> its windows
[22:18:25] <pcncx> this is the rule you can hurt X in the conf file or X can go off and hurt itself
[22:18:27] <Valen> its a good thing when it works
[22:18:38] <Valen> when it doesn't work your screwed
[22:19:11] <pcncx> like if you screw up your conf unless it is something simple like a fontpath you may be doomed
[22:19:35] <Valen> no, you just ssh in or drop to a console
[22:19:52] <pcncx> exactly doomed to fixing it
[22:20:22] <Valen> I'd rather be able to fix it than having to do a windows and say, it didn't auto detect go buy a new video card
[22:20:53] <pcncx> the though of getting a ned video adapter did cross my mind and still is with all of this
[22:21:20] <pcncx> if i had another one lying around it'd be in there let me tell you
[22:21:37] <Valen> they are pretty cheap really
[22:21:52] <pcncx> cheaper than me beating my head against the keyboard for days
[22:22:02] <Valen> can be
[22:22:09] <Valen> you have some ATI card dont you?
[22:22:22] <pcncx> yeah an antique rage 128
[22:22:35] <Valen> whats the host PC?
[22:22:37] <pcncx> I can see how it got the name
[22:22:57] <pcncx> a gateway E-3400
[22:23:27] <Valen> i mean PCI, PCI-E
[22:23:32] <pcncx> agp
[22:23:41] <Valen> ahh, they are getting rare
[22:23:52] <Valen> or rarer
[22:24:12] <pcncx> yeah I've no good spares lying around now
[22:24:16] <Valen> honestly I'd be tempted to blow $100 and one of the intel dual core atom mbos
[22:24:28] <Valen> are you using mesa?
[22:24:37] <pcncx> I believe so
[22:24:39] <Valen> as in servo hardware
[22:24:46] <pcncx> oh no
[22:24:50] <Valen> 5i23 stuff
[22:24:53] <pcncx> I just got plain stepper drivers
[22:25:00] <Valen> so parrallel port?
[22:25:01] <pcncx> you know step and direction
[22:25:07] <pcncx> yes parallel port
[22:25:30] <Valen> there was something mentioned about a firmware bug (that could be worked around) on the intel mbos
[22:25:38] <Valen> but apart from that it might be a cheap $100
[22:25:53] <Valen> you get a working system out of the box with a 10.04 install
[22:26:05] <Valen> and ~4000-6000 latency
[22:26:31] <cradek> 2 cpu + running with isolcpus is sure a big win
[22:26:42] <cradek> if latency is important to you (software stepgen)
[22:26:49] <cradek> for servos or hardware stepgen, makes no difference
[22:26:57] <Valen> cradek: makes me feel better ;-P
[22:27:03] <Valen> also I run the servo loop faster
[22:27:25] <cradek> do you have a really high accel machine?
[22:27:33] <pcncx> this box I don't think I'll do better than 20000 latency
[22:28:17] <cradek> that's really quite fine for the majority of systems
[22:28:30] <pcncx> well for me for now it is going to have to be
[22:29:10] <pcncx> when I retire my other PC maybe it'll run EMC better?
[22:29:32] <pcncx> but if i spend anything on a PC it won't be for EMC right now I'm afraid
[22:29:43] <pcncx> it'll be for a new main machine
[22:30:46] <Valen> cradek: our machine has some nonlinearity to it
[22:30:51] <Valen> the higher servo loop seems to help
[22:31:05] <Valen> even $100, thats 2 end mills
[22:31:33] <pcncx> not where i buy my end mills it isn't
[22:31:50] <pcncx> if I'm lucky i can get 100 endmills for $100
[22:31:58] <Valen> http://www.newegg.com/Product/Product.aspx?Item=N82E16813121399
[22:32:17] <Valen> I'm guessing your not talking about 12mm coated carbide
[22:32:42] <pcncx> I'm talking about whatever I can score on the used market it varies
[22:33:15] <pcncx> I buy them with the cosmoline still stuck to them or whatever that brown crud is
[22:33:28] <Valen> we use carbide
[22:33:31] <Valen> no goo
[22:33:55] <pcncx> my mill isn't rigid enough for carbide
[22:34:18] <pcncx> so I'm better off with HSS
[22:35:09] <pcncx> honestly i can't keep up with all the grades of carbide and neither can 98% of the people running carbide tooling
[22:35:47] <pcncx> I've researched it and it is quite involved
[22:36:04] <qq-> pcncx, so which X driver use now ?
[22:36:20] <pcncx> qq- same old same old but I ditched the kernel module
[22:36:35] <qq-> name ?
[22:36:43] <pcncx> r128.ko
[22:36:50] <pcncx> it was the thing KOing me
[22:37:32] <qq-> so now use what ? this > r128.ko ?
[22:37:50] <pcncx> I just took it out so it cannot load
[22:37:57] <pcncx> it was doing something
[22:38:09] <pcncx> because now glxgears gives me about half the framerates it used to
[22:38:31] <pcncx> but axis isn't locking my system up
[22:38:43] <qq-> 00:36<qq-> pcncx, so which X driver use now ?
[22:38:48] <pcncx> so there is something going on there
[22:39:02] <pcncx> same X driver just took out the kernel driver
[22:39:08] <pcncx> there are two different drivers
[22:39:32] <pcncx> X has one in some modules/drivers directory and there is one in the kernel modules
[22:39:44] <qq-> grep Driver /var/log/Xorg.0.log , says ?
[22:39:55] <pcncx> and apparently X can still use its even if the kernel one isn't loaded
[22:40:21] <pcncx> it is going to say r128 but I'll look
[22:41:00] <pcncx> (II) R128: Driver for ATI Rage 128 chipsets:
[22:41:46] <qq-> i see, so no using vesa , thats what i needed to know
[22:41:50] <pcncx> when i built my kernel I thought it was a good idea to include the kernel module in the configuration
[22:41:57] <pcncx> so I did
[22:42:11] <pcncx> and it worked up until I tried to run emc
[22:42:32] <pcncx> well I tried to get X to use the vesa driver and it wouldn't
[22:42:40] <pcncx> well it did but I got no display
[22:43:44] <pcncx> yeah there is still stuff going on here I don't fully understand
[22:44:19] <pcncx> what I do know is axis is up and running and my system isn't frozen solid
[22:46:00] <pcncx> but there is one more thing I want to check out quickly with all of this that might be a factor
[22:46:59] <pcncx> nope not a factor I'd started emc sued to root
[22:47:11] <pcncx> works as my user as well
[22:48:02] <pcncx> dang that kernel module is just poison to axis
[22:49:07] <pcncx> ha ha I got Pc speaker sound effects!
[22:49:27] <pcncx> that is too cute who did that?
[22:52:25] <pcncx> is there a way to turn the sound off? or at least lower the volume?
[22:53:19] <andypugh> <catching up> The issue with the D510MO is that the BIOS doesn't properly declare EPP mode. So it is fine for normal parallel port setups and for PCI card setups, but anything which uses the p-port for comms (Mesa 7i43, Pico PPMC, Pluto) needs to be persuaded to work. (EPP is perfectly functional, but is not detected as such).
[22:54:02] <pcncx> is there a way to mute axis sim?
[22:54:21] <andypugh> Plus points for the D510MO are that is is tiny and runs fine completely passively cooled.
[22:54:23] <cradek> oh are you running stepper/sim? run sim/axis instead
[22:54:47] <cradek> that is a cute trick, and nice for testing, but would get irritating after a while
[22:54:47] <pcncx> cradek the sound effects do make it very realistic
[22:55:07] <pcncx> its almost done I'll live
[22:55:47] <pcncx> ha ha my last one didn't do that is it new?
[22:56:00] <cradek> it's not new
[22:56:21] <pcncx> huh because I've run the sim in 8.04 packaged release
[22:56:45] <pcncx> and I'd have remembered if it made that ungodly noise
[22:56:53] <cradek> um what config did you select?
[22:57:24] <pcncx> does this help? Machine configuration file is 'axis.ini'
[22:57:32] <cradek> what directory?
[22:57:35] <pcncx> I picked the first axis sim off the menu
[22:58:00] <cradek> it shouldn't be making noise then...
[22:58:09] <cradek> stepper/sim_inch.ini makes noise. sim/axis.ini doesn't
[22:58:09] <pcncx> oh really?
[22:58:20] <cradek> gremlins!!
[22:58:22] <pcncx> yes the inch I think how can I tell for sure?
[22:58:44] <pcncx> let me restart it and pay more attention
[22:59:02] <pcncx> yeah sim_inch
[22:59:18] <pcncx> which one doesn't make noise?
[22:59:38] <cradek> Sample Configurations / sim / axis
[22:59:53] <cradek> not / stepper / sim*
[23:00:12] <pcncx> OK got it I think let me run and see
[23:00:45] <pcncx> program exceeds machine maximum on axis Z
[23:00:59] <cradek> read the beginning of the program
[23:02:36] <pcncx> yeah i don't know too involved for me at my level keeps saying exceeds machine maximum on axis Z
[23:02:56] <cradek> your simulated machine has its Z all the way up
[23:03:12] <cradek> you need to move it down and set the origin on your pretend workpiece
[23:03:43] <cradek> jog down a few inches, touch off Z, 0
[23:03:48] <pcncx> hmm it is running now
[23:03:57] <pcncx> and no noise
[23:04:02] <andypugh> I can see the argument that this is a good simulation. I am not convinced it is the most confidence-inspiring intro for noobs.
[23:04:20] <pcncx> andypugh I had no idea my PC speaker was so loud!
[23:04:39] <pcncx> I never heard it more than beep til that simulation
[23:04:54] <andypugh> I was meaning the mandatory touch0off
[23:05:14] <pcncx> yeah i did it 4 times and I still don't know why the 4th time was a charm for me
[23:06:04] <pcncx> and if cradek hadn't been egging me on I'd have given up
[23:06:54] <pcncx> now strangely I miss the horrible noises
[23:07:33] <cradek> some people are never happy...
[23:07:58] <pcncx> yeah if you'd have told me i nthe middle of that last sim that I'd be missing those sounds I'd have looked at you funny
[23:09:12] <pcncx> I think this machine has an on board PC speaker and I can't monkey with it to muffle it any
[23:09:58] <pcncx> I remember one old system I took the PC speaker off the case and threw it into an empty glass wrapped in paper towels
[23:10:20] <pcncx> Doom on that machine with PC speaker was a bit much
[23:10:42] <pcncx> it sounded cool in the stuffed glass though!
[23:11:43] <pcncx> this rocks I think I'm up and running over here thanks!
[23:12:09] <Valen> put a resistor in line with it
[23:12:24] <pcncx> Valen its a little piezo unit right on the mobo
[23:12:34] <Valen> hit it with a hammer
[23:12:36] <Valen> fix it good
[23:12:52] <pcncx> wouldn't be the first time I fixed a PC with that technique
[23:13:31] <pcncx> I put a 28 oz Estwing through one once hit it so hard I cracked an HDD case inside it
[23:14:26] <pcncx> never had a lick of problems out of any of the ther PCs that were around when I did that
[23:16:37] <pcncx> the rest learned run or else!
[23:17:48] <pcncx> I think that is when I began to realize that sometimes i just have to walk away from some things for a while
[23:18:40] <pcncx> but I'm not kidding I worked on that problem for 3 days straight and when i mean straight i mean straight
[23:18:52] <pcncx> I mean 72 continious hours
[23:19:14] <pcncx> when i finally figured out what it was I was so pissed off I cracked the machine
[23:20:41] <pcncx> but that was back when I ran Windows and there was only so much you could do you know?
[23:20:56] <NTU_live> Hello everybody. I am on a AMD Phenom II X4 955 Processor stepping 03 with RTAI from magma, 2.6.35.7 kernel, all the latest bleeding edge stuff (doesnt work on Ubuntu 10.04 live cd either) and latency-test shows up as all 0s
[23:21:18] <pcncx> NTU_live well now that sounds good to me
[23:21:33] <NTU_live> also i am on the arch live cd atm, with gnome, and the EXACT same image, it works finee on my PC
[23:21:37] <NTU_live> i am on my dads PC atm
[23:22:15] <NTU_live> both 785 boards except i am on a 3-core +1 unlocked core where as this is a true 4 core CPU
[23:22:41] <pcncx> NTU_live steal your dad's CPU he'll never know ...
[23:23:41] <pcncx> * pcncx grows horns |_|pcncx
[23:24:54] <pcncx> well I'm off to go veg out in front of the tube for a while
[23:25:01] <oem> Anyone using a 5i20 +7133T and a +5v -5v
[23:25:06] <oem> copely control*
[23:30:04] <NTU_live> dmesg http://pastebin.com/kVYCzPXJ lspci http://pastebin.com/vgzSn107 output of bash -x latency-test http://pastebin.com/EpT2gWHp also when i start EMC i get: USRMOT: ERROR: command timeout and its repeated like 10 times then says /usr/bin/emc: line 358: 4652 Killed $EMCTASK -ini "$INIFILE"
[23:42:07] <NTU_live> i attached gdb to the PID of latency-test and here is what i got for bt: http://pastebin.com/SJibPLuV