Re: [Emc-users] Migrating from Heron to Lucid

2010-11-26 Thread yann jautard
On 23/11/2010 19:38, Andy Pugh wrote:
 On 23 November 2010 18:14, Lars Anderssonl...@larsandersson.com  wrote:


 Did a lot of googling on that, I am afraid I don't understand what
 software-only openGL is but I would like to try it. Any pointers please?
  
 http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?TroubleShooting#Installing_Software_based_OpenGL

 But I am not especially optimistic.



On my P4 box, switching to software only open gl improved a lot the 
latency, going from 40k to 12k
(with hardy)

--
Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
Tap into the largest installed PC base  get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Migrating from Heron to Lucid

2010-11-24 Thread Lars Andersson
Having satisfied my curiosity now I think I will stay with Heron for a
while, (9k on the same HW) until maybe some other user finds a fix.

I use Lucid now on other (non realtime) machines, the difference is not
important.

 -Original Message-
 From: Andy Pugh [mailto:a...@andypugh.fsnet.co.uk]
 Sent: den 23 november 2010 22:22
 To: Enhanced Machine Controller (EMC)
 Subject: Re: [Emc-users] Migrating from Heron to Lucid
 
 On 23 November 2010 21:07, Lars Andersson l...@larsandersson.com
 wrote:
 
  Seems I'm in the wrong place (kern vs. user), this looks better (but
 not
  good)
 
 25k isn't stellar, but is perfectly usable.
 
 You can drive a stepper at 3000rpm with x4 microstepping at that.
 
 --
 atp
 
 ---
 ---
 Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
 Tap into the largest installed PC base  get more eyes on your game by
 optimizing for Intel(R) Graphics Technology. Get started today with the
 Intel(R) Software Partner Program. Five $500 cash prizes are up for
 grabs.
 http://p.sf.net/sfu/intelisp-dev2dev
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


--
Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
Tap into the largest installed PC base  get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Migrating from Heron to Lucid

2010-11-23 Thread Lars Andersson


 -Original Message-
 From: Andy Pugh [mailto:a...@andypugh.fsnet.co.uk]
-
-
 I think some people have found that switching to software-only openGL
 has improved things, though mainly in the sense of not-crashing rather
 than latency.
-
- 
Did a lot of googling on that, I am afraid I don't understand what
software-only openGL is but I would like to try it. Any pointers please?


--
Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
Tap into the largest installed PC base  get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Migrating from Heron to Lucid

2010-11-23 Thread Andy Pugh
On 23 November 2010 18:14, Lars Andersson l...@larsandersson.com wrote:

 Did a lot of googling on that, I am afraid I don't understand what
 software-only openGL is but I would like to try it. Any pointers please?

http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?TroubleShooting#Installing_Software_based_OpenGL

But I am not especially optimistic.

-- 
atp

--
Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
Tap into the largest installed PC base  get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Migrating from Heron to Lucid

2010-11-23 Thread Lars Andersson
Thanks,
I did read that document but missed it. 
Now when I run the GUI version of latency test it is stable below 30 000 but
when I run the testsuite version it is different, (and to me unreadable):

## RTAI latency calibration tool ##
# period = 10 (ns) 
# avrgtime = 1 (s)
# do not use the FPU
# start the timer
# timer_mode is oneshot

RTAI Testsuite - KERNEL latency (all data in nanoseconds)
RTH|lat min|ovl min|lat avg|lat max|ovl max|   overruns
RTD|  -1365|  -1365|199|2083252|2083252|   8329
RTD|  -1357|  -1365|  -1178|   -367|2083252|   8329
RTD|  -1367|  -1367|  -1191|   4123|2083252|   8329
RTD|  -1367|  -1367|  -1167|   1047|2083252|   8329
RTD|  -1360|  -1367|  -1187|   -695|2083252|   8329
RTD|  -1366|  -1367|  -1238|   -100|2083252|   8329
RTD|  -1370|  -1370|  -1186|   -519|2083252|   8329
RTD|  -1360|  -1370|  -1202|257|2083252|   8329
RTD|  -1360|  -1370|  -1192|   -423|2083252|   8329
RTD|  -1364|  -1370|  -1190|   -719|2083252|   8329

Doesn't look so good does it?


 -Original Message-
 From: Andy Pugh [mailto:a...@andypugh.fsnet.co.uk]
 Sent: den 23 november 2010 19:39
 To: Enhanced Machine Controller (EMC)
 Subject: Re: [Emc-users] Migrating from Heron to Lucid
 
 On 23 November 2010 18:14, Lars Andersson l...@larsandersson.com
 wrote:
 
  Did a lot of googling on that, I am afraid I don't understand what
  software-only openGL is but I would like to try it. Any pointers
 please?
 
 http://wiki.linuxcnc.org/cgi-
 bin/emcinfo.pl?TroubleShooting#Installing_Software_based_OpenGL
 
 But I am not especially optimistic.
 
 --
 atp
 
 ---
 ---
 Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
 Tap into the largest installed PC base  get more eyes on your game by
 optimizing for Intel(R) Graphics Technology. Get started today with the
 Intel(R) Software Partner Program. Five $500 cash prizes are up for
 grabs.
 http://p.sf.net/sfu/intelisp-dev2dev
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


--
Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
Tap into the largest installed PC base  get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Migrating from Heron to Lucid

2010-11-23 Thread Lars Andersson
Seems I'm in the wrong place (kern vs. user), this looks better (but not
good)

## RTAI latency calibration tool ##
# period = 10 (ns) 
# average time = 1 (s)
# use the FPU
# start the timer
# timer_mode is oneshot

RTAI Testsuite - USER latency (all data in nanoseconds)
2010/11/23 22:01:43
RTH|lat min|ovl min|lat avg|lat max|ovl max|   overruns
RTD|   -482|   -482|   -102|  10336|  10336|  0
RTD|   -328|   -482|-32|   5855|  10336|  0
RTD|   -334|   -482|-45|  10302|  10336|  0
RTD|   -330|   -482|-81|  23673|  23673|  0
RTD|   -337|   -482|-69|  11448|  23673|  0
RTD|   -357|   -482|   -163|   4865|  23673|  0
RTD|   -330|   -482|-65|  11564|  23673|  0
RTD|   -327|   -482|-18|  10560|  23673|  0
RTD|   -335|   -482|-64|  11562|  23673|  0
RTD|   -335|   -482|-41|  10919|  23673|  0
RTD|   -328|   -482|-71|  25069|  25069|  0
RTD|   -328|   -482|-39|  10947|  25069|  0
RTD|   -335|   -482|-49|  11529|  25069|  0
RTD|   -330|   -482|-61|  25220|  25220|  0
RTD|   -325|   -482|-33|   8491|  25220|  0
RTD|   -322|   -482|-28|   9991|  25220|  0
RTD|   -326|   -482|-57|   9416|  25220|  0
RTD|   -332|   -482|-62|   8797|  25220|  0


 -Original Message-
 From: Andy Pugh [mailto:a...@andypugh.fsnet.co.uk]
 Sent: den 23 november 2010 19:39
 To: Enhanced Machine Controller (EMC)
 Subject: Re: [Emc-users] Migrating from Heron to Lucid
 
 On 23 November 2010 18:14, Lars Andersson l...@larsandersson.com
 wrote:
 
  Did a lot of googling on that, I am afraid I don't understand what
  software-only openGL is but I would like to try it. Any pointers
 please?
 
 http://wiki.linuxcnc.org/cgi-
 bin/emcinfo.pl?TroubleShooting#Installing_Software_based_OpenGL
 
 But I am not especially optimistic.
 
 --
 atp
 
 ---
 ---
 Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
 Tap into the largest installed PC base  get more eyes on your game by
 optimizing for Intel(R) Graphics Technology. Get started today with the
 Intel(R) Software Partner Program. Five $500 cash prizes are up for
 grabs.
 http://p.sf.net/sfu/intelisp-dev2dev
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


--
Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
Tap into the largest installed PC base  get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Migrating from Heron to Lucid

2010-11-21 Thread Lars Andersson
Hello list,

 

I have been using  EMC2 with 8.04 now for some time on an medium old PC with
and having a consistent latency below 10 000, pretty happy with it. My HW is
a 3 axis mill, stepper motors,  Gecko 540, Motherboard says ASRock 775i65G,
865 chipset, Pentium4 3GHz and nvidia MX400 graphics.

 

As a consequence of bad weather and too little to do, I thought I'll give
Ubuntu 10.04 a try. 

So put in a brand new hard disk and do a fresh install from the live USB
stick. Installation went without a glitch. Good, now do a quick check on
latency, is now over 200 000, not so impressive, clearly display related it
jumps around when resizing the glxgears display. So I change my nvidia board
to an ati radeon, this brings latency to 25 000. Tried ATI and VESA drivers,
no difference.

Tried the GFLRX driver but this gave me a seg fault in glxgears (libGL.0). I
could not resolve this so I simply reinstalled EMC2.

 

BTW. 

Using the VESA driver was a little involved. Driver vesa  in xorg.conf
gave me  (EE) VESA: Kernel Modesetting driver in use, refusing to load  

https://wiki.ubuntu.com/X/KernelModeSetting taught me this:

Creating a file with
 echo radeon modeset=0  /etc/modprobe.d/radeon-kms.con

And executing

update-initramfs -u

made it possible to load VESA. Didn't note any performance difference
though.

 

To summarize, moving from 8.04 to 10.04 brings my latency from 10 000 to 25
000, is there something more I can do? 

Maybe stick with 8.04 (I still have it installed) ? Any other suggestions
for me to try are welcome! 

 

 

--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Migrating from Heron to Lucid

2010-11-21 Thread Andy Pugh
On 21 November 2010 20:29, Lars Andersson l...@larsandersson.com wrote:

 Maybe stick with 8.04 (I still have it installed) ? Any other suggestions
 for me to try are welcome!

I think some people have found that switching to software-only openGL
has improved things, though mainly in the sense of not-crashing rather
than latency.

If the CPU is multi-core then isolcpus is worth a try too. But I
suspect the P4 wasn't


-- 
atp

--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Migrating from Heron to Lucid

2010-11-21 Thread Steve Blackmore
On Sun, 21 Nov 2010 21:29:40 +0100, you wrote:

So put in a brand new hard disk and do a fresh install from the live USB
stick. Installation went without a glitch. Good, now do a quick check on
latency, is now over 200 000, not so impressive, clearly display related it
jumps around when resizing the glxgears display. So I change my nvidia board
to an ati radeon, this brings latency to 25 000. Tried ATI and VESA drivers,
no difference.

Tried the GFLRX driver but this gave me a seg fault in glxgears (libGL.0). I
could not resolve this so I simply reinstalled EMC2.

Try loading 10.04 from 

http://www.ubuntu.com/desktop/get-ubuntu/download

then install EMC as per

http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Installing_EMC2

The 10.04 live installation wouldn't even boot my PC. The official one
worked fine. (Not a media problem - simply doesn't work with my PC
hardware.)

My latency halved without any configuration, I've also accepted every
update since. Doesn't seem to be a problem either.

Steve Blackmore
--

--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users