Once I got RTAI module compiled and working on Debian, installing LinuxCNC was a lot easier.
After banging my head on the wall for the last couple days, I finally downloaded the LinuxCNC LiveCD. It install and runs fine. Though the odd thing is, I can run linuxcnc latency-test, I can't run rtai testsuite's latency test. The hardware I am using is an old P4 2.0Ghz 1GB IBM intellistation M desktops. When running the rtai latency test under debian, lat max is usually < 20,000 when compiling linuxcnc, but has SMI spiking issue. I am hoping the latency spiking issue can solved because I have 4 identical desktop that I can use for linuxcnc. The Max Jitter with Ubuntu so far ~20,000 running glxgear and watching linuxcnc videos on youtube. I know, why go with Debian when Ubuntu works right out the box. Hopefully I can get the Debian box to turn more smoothly using the configuration from Ubuntu box. I guess the next step is to buy the Mesa card. thanks, John On Tue, May 15, 2012 at 1:00 PM, Kent A. Reed <kentallanr...@gmail.com> wrote: > On 5/15/2012 2:05 PM, Tux Lab wrote: >> thanks for the link. I've tried so many different way to compile >> rtai, ie via debian's repository and downloading from original source >> that I'm a bit lost right now. However it good to know that at >> least someone else is running EMC on debian, so it's a doable task :) >> >> Anyway, I just got the latency test to run, but it looks pretty bad. >> ovl max at 174,383. Now I have to figure out how I got RTAI to work >> and duplicate it on another system. > > It's good to see you're making progress. > > Is this perhaps a laptop? > > By any chance, did you boot the LinuxCNC LiveCD on the same machine and > run the latency test from there to see how the numbers compare? > > What is your hardware platform, actually? > >> Does the graphics card driver makes any difference on latency? As I >> run glxgear, I notice the fps is pretty low and it's running software >> rendering. If I switch over to radeon driver will latency improve? >> does kernel timer frequency have an effect on the latency? >> >> thanks, >> >> John >> > > Yes, graphics card drivers can affect the latency, some very badly, but > the devil depends on the details of how they diddle with the machine. > You say "radeon driver". Are you using the proprietary NVidia driver? As > posted on the wiki, this driver has been reported in the past to break > real-time constraints (although they keep releasing new versions and > we've not been good at keeping straight which ones are bad). Try the > "nv" or "vesa" drivers instead if you have Radeon graphics. You could > also boot the LinuxCNC LiveCD on the system and see what driver Ubuntu > chooses. > > By itself, software rendering itself is probably not the issue. For > example, I have a copy of LinuxCNC2.4.6 running on an old Dell Pentium > IV desktop system with an NVidia GeForce FX 5200 graphics card. Ubuntu > detects the card and loads the "nouveau" driver. The combination does > not support 3D acceleration in hardware and yields quite modest frame > rates. However, I get reasonable latency numbers, about twice the > numbers I and others get with Intel Atom boards and their built-in Intel > GMA graphics, still good enough for software stepping. > > Regards, > Kent > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users