does mach3 cross over to emc easily?
WalterN: what do you mean?
Jymmm: I mean if components are set up or "designed" to be used with mach3
[01:27:26] <WalterN> http://www.dmm-tech.com/Products.html
they dont really mention how communication works other than it works with mach3
*sigh* They're using USB to steal 5VDC - I hate when they do that shit.
You have +48, add a $0.25 regulator
thats what I was thinking, 'what a hokey way to do that'
It's probably cheaper than the usb cable or connector!?
[01:32:41] <WalterN> http://www.dmm-tech.com/Pricing.html
I think that motor will work well for me
the 'high torque' one
it probably wouldent be a good idea to go with the kit anyway
SWPadnos_ is now known as SWPadnos
!later skunkworks (sent via !later) Hi Sam, sorry I missed you, nice Y axis pics, Sam Sr. has been busy! Re your pix: http://www.electronicsam.com/images/KandT/conversion/yaxis/adaptfinal.JPG
You said the internal "splines" fit over a gear, OK, but what are the series of very fine cuts around the outside? And on two (slightly) different diameters? Just curious.
WalterN, all "mach3" hardware can be used with emc2 afaik. you'd have to set it all up but it's all standard servo kit
MattyMatt: what do you think of that "kit"?
looks expensive to me
there is something better?
at first glance, it's a lot of kit
I dont really care if its a kit of not, to be honest
I go for the low-rent kit :) I found a place in south korea that has nice cheap motors and psus
but that 'high torque' motor seems like what I would want
and I'd spend a week or two bidding low on nice used ones on fleabay first
ran though some numbers
where are those korean things to be found?
trying to find it in my history now :)
mesa doesnt work with mach does it?
* MattyMatt wouldn't know
WalterN: this looked like a good place just for the PSU
[06:51:48] <MattyMatt> http://www.sureelectronics.net/category.php?id=24
ugh, cant read any of that :/
click on the pictures :)
these are all stepper motors?
there's no prices on the site I've noticed, but they'll give you a good quote in English
I want servos :/
half way down the products page is the servos. this one looks like the same size as that kit http://www.longs-motor.com/ProductsView.asp?id=196&pid=75
they are very good company apparently, but I confess I prefer to see the price of everything upfront so I can let price influence my other decisions
the one I was looking at was 1000PRM and 900 peek watts
in the kit, "high torque"
all my motors came off ebay
motors either work or they don't :)
OK, the magnets could be a bit cooked in an abused one, and the bearings may be worn out, but they can be replaced
1lb that one is
400 watts it seems is the highest output of them
my strategy is getting it working at minimal cost, and then upgrade where needed
I suppose that would work too..
but at 3000 RPM I would need hear reduction
if you want a 1000RPM, maybe you want a 5phase stepper?
assuming a few things
heh, I've worked with stepper motor based CNC mills, I wont put myself though making garbage
5phase are a different league. 500 PPR natural, and they go up to 3000RPM before they lose all their torque
3000rpm might not be so bad really
you generally want gearing with servos anyway, don't you? to get low speed torque when you need it
I have no experience of big servos, I have no idea how good they are in the 1000RPM region
and no hands on experience of 5ph stepper either, but I've been studying them closely :)
they are what I'd like on my mill
MattyMatt: I would think it depends on the lead screw
but, lets say the lead screw is 5thread/inch.. at 1000 PRM with direct coupling, thats 200IPM rapids
[08:22:30] <Valen> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?JakeAndRussells
direct drive "servo"s
where servo is a 400W scooter motor
geez you'll be calling me pretty next
its hard to tell the scale..
750mm X travel
if you click the link you get high res
right, thats what I'm looking at
bigger than it seems
about that yeah
Valen: the dolfins are cute
how may I report latency test results? mail to emc-users? or maybe here?
psha there is a chart at http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Latency-Test
where u can add your system info + the test results
page is read only :(
This page is read-only | View other revisions
did u follow http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?BasicSteps
your link have such footer :) if cgi-bin is removed - only 'page is read-only' :)
"Because of wiki-spamming bots, this wiki now requires that you log in before editing pages. Anyone can log in. You don't have to register or anything." etc
check link without cgi-bin
[09:28:19] <psha> http://wiki.linuxcnc.org/emcinfo.pl?Latency-Test
nice, i'll add results for D510MO in the evening
ah is that the mini-ITX one?
2.6.32 not tested yet
thats not bad at all
are u using software step-gen ?
this board has passive cooling and chipset with pretty low tdp
previous intel atom boards have cooler on chipset
and it's pretty cheap :)
that's a very nice looking board for the price on newegg. shame they don't ship here
i try to start the ubuntu 10.04 live cd on an pc but as soon as i try to start the latency test i get an error about "permission denied" when loading the rtai_hal module. when i try the same in a virtual machine it works without problems. what could be the culprit for the problem?
ok the exact words are "-1 operation not permitted"
how are you running test?
i just try to start the latency-test application
but it never starts but gives these errors in the console. now i try to start with acpi=off noapic nolapic. maybe this helps
it is an old mini-itx system with an via cpu
live cd from emc site?
look into dmesg
with ubuntu 8.04 it runs good after disabling all power management functions
i will take a look after it booted up and i tried it again :)
hmm with all three options activated at boot it doesn't even start and runs into a kernel panic. sadly i can't see the displayed message because while booting it uses a resolution my old tft doesn't display
so i will try it again with default bootparams and take alook in dmesg
or something like it )
i think so but don't know. my ftf only shows that i should switch the resolution to display it ;
oh that's a good idea :)
Fox_Muldr: check dmesg
[12:15:24] <psha> http://wiki.antlinux.com/pmwiki.php?n=HowTos.VgaModes
Fox_Muldr: pick correct settings from here
there are 2 reasons for this usually: the latency test complains about no local apic
LOCAL APIC CONFIGURED BUT NOT DETECTED (or somehting like that)
so there are 2 cases: you chave an LAPIC, then you can enable it by adding 'lapic' to the bootparams
or your system doesn't have a LAPIC, in which case you can't do anything about it :/
i want to use linear encoders with servo for better accuracy, i read on wiki about using 5I20 MESA card but i dint found any HAL or INI FILE..
now when i try to start even without extra parameters it runs either into a kernel panic or it seems to boot up fine but the screen stays black even the system is not frozen. i think i will stay for the moment at my ubuntu 8.04 and try again when i have more time for this. the only reason to try the 10.04 was because i have opnegl display errors in axis with 8.04 and hoped to solve this with the newer ver
sion. but maybe i should instead find out why there are errors in the 3d view
from what source do you boot ubuntu?
my ols 8.04 is installed on the harddisk and the 10.04 booted from the live cd to test it
live CD? or from usb-flash e.g?
maybe cd is bad
no i tested it before
try to boot live 10.04 from flash
how did you test it?
i tested it after burning with verify option from nero which does a byte to byte verify
i had different read errors even after soft was saying cd is okay.
after running from usb stick it worked fine.
i had never any errors after verify said it is ok. :)
just try or write cd with slower speed
anybody knows abt linear encoders with servo configurations file and pin diagram etc?? can i use it with MESA 7I43
i did write it with slower speed to prevent problems (8x) :)
when i want to try to boot it from usb what filesystem should the usb stick be formated to and should i just copy all files from thelivecd to the usb stick?
anyways i would try writing usb stick not cd
cd is an atavism together with floppy ))
mk0: how you've booted livecd from flash?
my board complains when i've tried to write iso direct to partition
same thing is what i need to know to test this variant :)
i've added small partition with grub
but it seem to be too difficult :)
iso is for a cd rom not a partition on a disk
archivist: iso is booting just fine if tell grub where to find vmlinuz
but maybe there is more elegant solution?
maybe a howto for live-cd on usb-stick booting in the wiki would be good :)
yep, i'm writing a short instruction ) do not hurry )
at the moment i even revived my old 1gb usb stick where the usb port was ripped off for this purpose. gladly the solder pads were not riped off too so i could resolder it to the pcb ;)
and now it works again. ready for some nice emc2 booting tests
if you have winxp you can download ultraiso from offsite. this program has one very useful feature: menu "Bootable" -> Write disk Image. it will write the image to usb stick and all you'll have to do is to set appropriate option in bios to boot from usb.
i use ultraiso since a longer time now :)
i will try this immediate
any nasty Windows will suit, not necessarily XP)
skunkworks: KimK said (sent via !later) Hi Sam, sorry I missed you, nice Y axis pics, Sam Sr. has been busy! Re your pix: http://www.electronicsam.com/images/KandT/conversion/yaxis/adaptfinal.JPG
You said the internal "splines" fit over a gear, OK, but what are the series of very fine cuts around the outside? And on two (slightly) different diameters? Just curious.
KimK: the stock we used was some old knobs. We never machined the outside
mk0: not suitable for linux-only systems :)
yep! i know. but it seems there're no linux-only systems (almost of course). you can run wine or even vmware. or install win as a second.
this is just a most easy and effective way.
maybe... but maybe running mkfs.ext2 && grub-install is not too hard :)
since I've no win at all (
mk0: when i try to do "write disc image" ultraiso hangs for about a minute and than it displays the write dialog. but when i click write it says "can't access device". so it's no working way for me. maybe it has problems with win7
Fox_Muldr: do you have active linux system somewhere near?
maybe mine recipe will work :)
holy moses it's unbelievable )
so here it is, create two partitions on flash
first, small, i have 50mb
did you choose appropriate device? did you format it first?
(with boot flag set)
mk0: yes, yes
psha: ok i will partition it now
you're awesome. maybe viruses?
then run grub-install --root-directory=path-to-mounted-partition install-device-where to install-it
and place grub.cfg file in boot/grub/
grub.cfg i'll give you later
after all write iso image into second partition (raw)
e.g dd if=ubuntu.iso of=/dev/sdc2 bs=1M
btw if you use grub1 config file is menu.lst
psha: ok partitions created. now doing grub install. the "path-to-mounted-partition" is where i mounted the iso image?
hmm no not really
mount small partitions somewhere
e.g small (boot) partition is /dev/sdc2
so mount it on /mnt/tmp
ah ok the small partition from the usb stick
grub-install --root-directory=/mnt/tmp /dev/sdc
after this command you'll get boot directory in /mnt/tmp
i'm a bit confused about what you mean by "small partitions" on /dev/sdc2. i have /dev/uvba1 (50mb on usb stick) and /dev/uba2 (~1gb on usb stick)
so mount /dev/uvba1 somewhere
should i mount /dev/uba1 on /mnt/tnp?
ah hehe little problem. i don't format the partitions. what filesystem should i format it?
mke2fs -L boot /dev/uvba1
ext3 has journal that is not needed here
now i can grub install
in the command grub-install the last device which you called /dev/sdc is /dev/uba for me?
btw what is your distro?
suse 11.1 and my usb stick is /dev/uba
hm, suse has some strange udev rules to name usb disks )
so run grub-install --root-directory /mnt/tmp /dev/uba
/dev/uba is usb stick and this is what i have to use in the command, right? :)
by default all 'scsi-like' devices are named as sd* so that's why i'm bit confused )
ok its done
yea my harddisks are sd* but usb not ;)
are there boot dir?
on /dev/uba1 or uba2 ?
in mounted dir
hmm not really
have you mounted it?
but it said that it installed /boot/grub/menu.lst and other files correctly
yes i mountred it in /mnt/backup (dir existed so i used this) and run grub-install --root-directory
args i mean grub-install --root-directory /mnt/backup/ /dev/uba
maybe = is needed between root-directory and /mnt/backup...
i try again :)
hmm same messages and no boot dir :/
pretty strange :) since grub-install is shell script you may run it with sh -x and look where it really installs files
something's wrong with hands.dll )
psha: seems that grub-install ignors the --root-directory= line and does things on my local /boot dir :(
check menu.lst for corruptions
you mean my local one?
yes, since it ignores --root-dir
you may do it by hand
mkdir -p /mnt/backup/boot/grub
cp -a /boot/grub/* /mnt/backup/boot/grub/
my local menu.-lst is ok
copy grub files to /mnt/backup
and fix menu.lst
ok copied them
add menu.lst entry for EMC
hmm what yre the right menu.lst entries for this? i never edited the entries, only the parameters in it
linux /casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity initrd=/casper/initrd.lz --
here are three "data" lines
root, kernel and initrd
yes, fit them to menu.lst syntax
i'm writing them from my head
since flash is running latency test
drop only-ubiquity line
linux /casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper initrd=/casper/initrd.lz --
it looks like yours now
notice that initrd has .lz suffix, not gz!
8.04 has gz
so here you have menu item for booting emc iso in live-cd mode
write iso into second partition
all other files in the grub dir from my local install could be used without modification?
dd if=ubuntu-10.04..... of=/dev/uba2 bs=1M
menu.lst is only configuration file for grub
beware that it will change for grub2
somewhere it the future suse will switch to it )
now writing image to uba2
now i could try to boot from the usb stick or anything else needed?
i hope it's all
check that /dev/uba1 has boot flag enabled
than i will try it in a vmware where i know that it could boot from usb :)
if grub is installed then you'll see grub menu
yeah it is marked bootable
if you don't see it then something bad happened during grub-install
hmm maybe vmware doesn't support usb-boot. at least i can't see that boot device in the virtual bios
or the freeware vmware player has less options than the not free vmware workstation :/
try to fake it, give /dev/uba as file
i use it in windows so i can't access /dev/uba in my vmware ;)
ok i will try it on my real pc later on. but now it's time for eating something. thanks for all the help so far :)
hope it'll help you
i hope too ;)
)) you guys like difficulties!
it's known as "irc shell" )
seb_kuzminsky: You old dawg you, how the hell are ya!
psha: right now i tried to boot from usb stick on my mini-itx board. but sadly it can only boot from usb-fdd, usb-cdrom, usb-zip and usb-hdd but not from usb-stick
so i think i should try and fix the display errors in the opengl 3d views instead.
how it distingish between usb-hdd and usb-stick? )
hi all in the USA from Misty Germany
usb-hdd should(TM) behave lika a usb-stick
since they all are USB mass storage class
psha: don't know but i tried all four variants and it always said no operation system
then maybe there was no bootsector on the stick :)
no operation system or no device?
did you try using http://unetbootin.sourceforge.net/
Fox_Muldr: You didn't build the stick correctly
maybe grub-install failed not only to copy files but to install boot sector?
device was attached and first partition is bootable and grub is installed. so i don't know what is the problem
Fox_Muldr: and how did you do that>
psha: grub-install didn't work at all. so i copied the files by hand you remember?
Fox_Muldr: again, You didn't build the stick correctly
grub-install does two things: copy files and then install bs
psha: maybe you are right. the copy only did not create the mbr i think...
psha: so i have to create the mbr by hand without grub-install
there is way to call grub directly but i can not help you since debian ships grub2
but i may roll archive with my boot partition :)
psh: i could also do the steps with ubuntu 10.04 wuhich i use in a vmware
several mb's i estimate
wait a bit
Fox_Muldr: jusr use unnetbootin
psha: i can start this vm and attach my usb stick to it tha i have access to it natively
Fox_Muldr: just use unnetbootin
Jymmm: whats that now? :)
Fox_Muldr: scroll up to what cpresser said
is it posible to run the EMC distro on a usb Stick ?
ah ok i will try it after i retry the actual solution with grub bootsektor again :)
Fox_Muldr: No, do it now!
IchGuckLive: seems so. or at least i try to get it running with help
please write a note to eiki if it is in full funktion
Jymmm: why not first try the first solution. i spent quite some time ago with help of psha to get it going :)
Fox_Muldr: because unetbootin works for sure
Jymmm: if it doesn't work even after i redo the bootsektor tha i can try your version
or you could just use the built in utility for creating a bootstick
which built in utility??
Fox_Muldr: unfortunately we are using different versions of grub :( and diffirencies are quiet large (
psha: which version does ubuntu 10.04 use?
Hardy grub Lucid grub2
there are quite a few things one can screw up on. so you should try an easy solution first, and make sure booting itself works finde
than try everything else fancy :)
also the key have changed for startup
i don't know of these names. just give me a version number ;)
on labtop i woudt go with NOAPIC
Fox_Muldr: dunno, maybe 2 since it closely follows debian testing
just hit F6 then check
Fox_Muldr: try to dd image to the stick
it has boot sector && configured both for 8.04 and 10.04 live cd's
maybe it's most simple/cross platform solution to just bake small configured "prefix" image
psha: grub-install in ubuntu 10.04 respects the --root-directory parameter and copied a few more files to the grub dir and hopefully also a bootsektor to the partition. i will try it and after that i try another way ;)
but it uses grub.cfg instead of menu.lst :)
QUEST is there a axis config for a XYUV mashine ?
so i can see both path
Fox_Muldr: messaged grub.cfg in private not to spam channel
first entry is for 8.04, second for 10.04
psha: now i got a bash like grub screen when booting from usb stick :)
psha: so bootsektor was missing
grub.cfg was missing
yeah i couldn't boot anything ;)
i'm copying it now to the stick
IchGuckLive: not really
i want to run the Styro cutter with axis
Fox_Muldr: any success?
psha: all finished copying and now i run downstairs to my cnc pc and try it ;)
IchGuckLive: I understand that, but I don't really see why both paths would help
the airfoil has a different path on xy to uv
IchGuckLive: I know, but I find it hard that you can "see" things
sadly 8.04 kernel has better results in latency test then 10.04 on Intel D510MO :(
how much better?
what vs what?
ok i will try it and then report
~10 us vs ~20 us
trying with disabled KMS
psha: it says loading kernel... loading initrd... but it seems extreme slow because from the first to the second line it needed about 1 minute and now it stays at initrd and the usb stick led is blinking like hell. seems that the usb access from the bios is very slow
it's really loading initrd :)
and on slow flash it may take time
psha: seems so. i will wait what comes next :)
i'm running from fast SD card on modern board and it still takes time to load kernel/initrd
also some servers take a long time to load initrd from fast hard drives
don't know why...
I got better latency on 10.04 on a atom 330. iirc
psha: as we talked it has loadedit completely to the desktop :)
psha: so the usb boot version works
skunkworks: with disabled KMS it is ~10us but test is running only for half an hour
Fox_Muldr: it was hard way :) but gives you a brief introduction in how boot process is working :)
psha: but the initial problem stays the same. i can't run the latency test because of not working rtai. it says that loading of rtai_hal is not permitted. so it was no corrupted cd. at least this i can say :)
skunkworks: kernel mode settings, feature of recent kernels and supported (intel, radeon) video cards
Fox_Muldr: look in dmesg
psha: maybe this usb-stick booting procedure is worth to meantion in the wiki :)
interesting. psha: you could also try isolcpu
psha: i will take a look in dmesg
psha: dmesg: LOCAL APIC CONFIGURED BUT NOT AVAILABLE/ENABLED... i think i remember something about this problem from the mailing list
alex_joni mentioned it earlier
JT-Work_ is now known as JT-Work
Fox_Muldr: add lapic to the boot params
skunkworks: max jutter spike near ~22us :(
Fox_Muldr: with grub you may copy block and add desired parameters to it
Fox_Muldr: so you don't need to remember them all )
psha: should i just add "lapic" to the kernbel start parameters in menu.lst and/or grub.cfg?
mebu.lst is from first grub
psha: so i can delete menu.lst?
also you always may edit parameters in boot menu by pressing e
psha: ok i try it :)
skunkworks: is 20us max jutter too bad?
for software stepper
Fox_Muldr: sorry for hard way but for me it was obvious since i've used grub a lot :)
Fox_Muldr: glad it's working
psha: hmm i added "lapic" to the kernel parameter but when i try latency-test i got the same errror message about local apic configured but not available
here i can not help you since my knowlege of emc2 is near zero :)
can i verify that the kernel really used this parameter or is there another way of correcting this local apic thing?
look in dmesg and in /proc/cmdline
20us isn't that bad. depends on how fast a step generation you need.
psha: are you using the closed source video drivers?
no, intel has no closed drivers, except gma500
i'll try to run X with vesa driver and test again
i think that all i need is to blacklist i915
so it would not be loaded at all
psha: cmdline says that i have lapic as parameter. does it matter if lapic is before or after the last "--" in the kernel start line ?
as i remember it matters
params after -- are fed into init
psha: i have it before them at the moment
check dmesg for lines with apic
dmesg | grep -i apic
ok i check. and for what should i look especially?
i mean what apic message is relevant or not? or just all error messages ;)
all ) since i don't know what to look for
psha: there are a few apic messages within which doesn't sound as if it were wroking. i paste them in query
as you may see it complains about 'no or disabled' lapic
psha: isn't is possible to disable this apic thingy completele and work without it?
i don't know :) alex_joni maybe know something
or other emc2 gurus
i'm playing with emc only for a week )
ok you gurus, what is your opinion in this matter. could i completele disable this local apic and work with emc without this in ubuntu 10.04 or is my cpu too old for this and i have to stick with 8.04?
psha: i'm playing with emc also only for a few months now and then when i have time
psha: but after friday i have much more spare time to investigate my problems (after my last exam for this year)
i think for today i have enough of playing with an only partly working ubuntu live-usb-stick version :)
but i collected all the steps to create the bootable usb-stick in a textfile :)
who knows when i needs this again
Or, you could have just used unetbootin and been done. KISS... Keep it simple stupid, why over-think things?
Jymmm: at last it worked even the hard way. the problem with apic is another story ;)
Jymmm: honestly speaking there are only three commands :) but without gui :)
and why easy when there is a hard way :)
psha: you are right. there are not many steps. it only took so long until i understood how things worked :)
Well, I guess if you place no value on your time, then go for it.
[18:48:30] <skunkworks> http://www.electronicsam.com/images/KandT/conversion/yaxis/adaptmounted.jpg
it is no lost time. i learned something from this. and that is worth my time
also it's very easy to switch between live-cd images
just write them to 'data' partition and select another grub entry
i'm a student so if i have no fun at learning things i maybe have done something wrong :)
you know knowledge is power ;)
if your flash is large enought you may write both images and select proper from boot menu
psha: but when i understand it right these usb livecd images are still read only, or not?
they are read only always
ok, just want to be sure
live cd image is a squashfs (compressed filesystem) mounted readonly with memdisk on top of it
so the best thing would be a "livecd" on usb stick which is accesable like harddisk and saves data back :)
not so simple :) i've switched from 'hard disk like usb stick' to 'live cd like usb stick' for my home router
since usb may loose flash for a short period (
it's hw dependent
soyou mean the usb connection to the device is not as reliable as it should be to use it as rootfs
JT-Work: I *HATE* my drill press!
gee Jymmm I do to and I don't even know your drill press
JT-Work: When you lower the quill, it goes that way -->
the rtai for 10.04 is compiled to require a lapic
you could run without one, but only after recompiling rtai (and the kernel)
afterwards you'd have to recompile emc2 aswell
that's quite a bit of work to get right
alex_joni: is rtai-enabled kernel needed to compile emc?
psha: you don't need to boot it
you only have to have the proper headers package installed
otoh you can also compile emc2 in sim-only mode
then you don't need the rtai kernel
neither for compiling nor for running
but you can't drive actual hardware
alex_joni: i've already compiled sim-only mode for testing patches but now i've to roll rt version of emc for real hardware
and i don't want to pollute real system with gcc & friends
if build only need some additional packages it's ok since i have system for clear builds
Hi guys! When I use the Ubuntu 10.04 EMC live CD, all the numbers stay at 0 in latency-test.
It's a 785GT/GTM something rather by GIGABYTE with a quad core Phenom II
best latency ever!
Well it's not correct.. :)
oh, right, bummer
Also in Arch Linux my latency is at 248,000us+ and was wondering if there is a way to debug RTAI..
Live CD on same machine is at ~4,000us so something isn't working right deep down. btw I switched from 64 bit to 32-bit with the Arch project.
also, how do you get latency-test and emc to run without using sudo when building from source?
this sets the suid bit on the required binary
ah :) thanks!
[21:56:59] <skunkworks> http://www.youtube.com/watch?v=JZnQG_gf2cE
maybe I should turn off "Low-latency desktop" in Processors and Features and "1000_HZ" and for RCU make it classic. I have all the stuff on low-latency. maybe RTAI works best with regular settings?
or is the 248,000+ microsecond latency a bigger issue than just a kernel config?
When does it happen? Is it, by any chance, every 64 seconds?
no when it first starts... every single time
You could look at the kernel config suggested here: http://neo-technical.wikispaces.com/emc2-ubuntu
I wrote that guide :)
Well write it correctly then :-)
If it is a spike at start-up that never repeats, I would be tempted to ignore it.
no it stays like that
what are you using for the video driver?
DRI - swrast 7.8.2 stable and for DDX - xf86-video-ati
kernel DRM and AGP is off though
it wouldnt effect it that much though.
What do you get with a live-cd boot?
around 4,000 us
for max jitter on servo thread
So the system is capable.
(incidentally, I think the units are nS)
248,000 uS is a quarter of a second. That would be worse than an abacus :-)
Maybe I should try different (newer) RTAI patch against newer kernel?
I could use one from magma RTAI branch I guess.
Would Mozmck's debs be any use?
for the kernel?
I dont know if this latency is in userspace or not actually...
I think there was a kernel deb. To be honest I am not the right person to be discussing this with.
OK would you happen to know the location of the debs?
[22:22:24] <andypugh> http://www.linuxcnc.org/mozmck/old/
I have _no_ idea what is what\
I see a huge latency spike when starting new opengl windows
not 250k though
have you tried the vesa video driver?
NTU, I found the rtai did indeed give better latency results without "Low-latency desktop" and with I think 250_HZ
the whole point of RTAI is its above even the kernel is my understanding
thanks mozmck I'll switch it around a bit. Ill change my RCU too
NTU: have you checked latency after starting the window?
sorry I just see a spike when i open an openGL windows
oh like glxgears or something?
but only when starting them
once its running its fine
if you really want to stress your machine, run a glean test :P
piglit i think will do the trick too
its something to do with creating a new window
after that it doesn't seem to be an issue
with or without compiz / Kwin / compositing?
I've seen the same with nvidia binary and intel stuff
i *believe* it was the same with compiz on
I know the nvidia blobs cause serious RTAI problems
with SMP on it was fine
Id love to turn off ACPI / PM support but my SATA controller depends on it, so im stuck...
~30k spike on starting gl window
are you using SMP?
yes 4 cores
also make sure hyper threading is turned off
so it multi-core scheduler
it causes hard locks though
have you compiled any of your own stuff?
heh all of it
well I know where i'd be pointing the finger ;-P
if the out of the box one works and the one you compiled doesnt...
hopefully this new kernel config fixes it..
same latency as before..
Don't you love Linux?
But does it love you back?
I am not sure, today.
im trying magma now..
oh shoot... with EMC do you use the i386 RTAI patches in base/ or x86?
[23:26:45] <andypugh> http://wiki.linuxcnc.org/emcinfo.pl?Ubuntu10.04Notes
how much work would it be to get EMC to not use the pci_find_device API?
its been depreciated for awhile now...
NTU: why are you mucking about with the innards of EMC? ;->
because the newer kernels supported by RTAI no longer use the pci_8blah function
src/hal/drivers/hal_m5i20.c:288:5: error: implicit declaration of function pci_find_device
I'm currently on 188.8.131.52 patched with RTAI magma along with magma userspace, but EMC uses old code.. :(
oh i fixed it!
yes! oh thank god! RTAI + EMC now works....
How? what was the key?
RTAI userspace and kernel from magma tree, with some EMC code changed. wherever it says pci_find_device compiling error, replace with pci_get_device
:D cheers mates!!! thank you all so so much for the help, and support! Now time to update those Arch Linux packages and guides!
ahh your packaging it, thats why your mucking about so much lol
you can also enable pci legacy in the kernel config
and it will change thos function calls for you
I thaught you were just screwing around with the 10.04 install
haha no no no :)