Re: [Emc-developers] LinuxCNC + LXRT (RTAI) results

2022-10-11 Thread Alec Ari via Emc-developers
Ah ok! Haha, yeah Jeff asked me the same thing. Alrighty!






On Tuesday, October 11, 2022 at 05:18:13 PM CDT, andy pugh  
wrote: 





On Tue, 11 Oct 2022 at 02:07, Alec Ari via Emc-developers
 wrote:
>
> Why were people asking me to test LXRT? Was it not working for other people, 
> or just poor latency?

Who asked? I see that I did, on the 11th of September. I think I was
just curious if it worked with your new kernel or if it was in some
way dependent on the older one.

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1912


___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] LinuxCNC + LXRT (RTAI) results

2022-10-11 Thread andy pugh
On Tue, 11 Oct 2022 at 02:07, Alec Ari via Emc-developers
 wrote:
>
> Why were people asking me to test LXRT? Was it not working for other people, 
> or just poor latency?

Who asked? I see that I did, on the 11th of September. I think I was
just curious if it worked with your new kernel or if it was in some
way dependent on the older one.

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1912


___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] LinuxCNC + LXRT (RTAI) results

2022-10-11 Thread Alec Ari via Emc-developers
C'mon guys, I'm on pins and needles over here.


 On Monday, October 10, 2022 at 08:04:48 PM CDT, Alec Ari via Emc-developers 
 wrote: 


Why were people asking me to test LXRT? Was it not working for other people, or 
just poor latency?

Alec


___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] LinuxCNC + LXRT (RTAI) results

2022-10-10 Thread Alec Ari via Emc-developers
Why were people asking me to test LXRT? Was it not working for other people, or 
just poor latency?

Alec






On Monday, October 10, 2022 at 09:08:58 AM UTC, andy pugh  
wrote: 





On Mon, 10 Oct 2022 at 01:06, Alec Ari via Emc-developers
 wrote:
>
> Oh! Once RTAI is installed (both kernel and modules) and you're booted into 
> your RTAI kernel, when you build LinuxCNC, you just force to use uspace on 
> the ./configure line:
>
> ./configure --with-realtime=uspace

You can also use the pre-built uspace packages (built on the
preempt-rt kernel) if you install the linuxcnc-usapce-rtai pre-built
package too.


-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1912


___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] LinuxCNC + LXRT (RTAI) results

2022-10-10 Thread andy pugh
On Mon, 10 Oct 2022 at 01:06, Alec Ari via Emc-developers
 wrote:
>
> Oh! Once RTAI is installed (both kernel and modules) and you're booted into 
> your RTAI kernel, when you build LinuxCNC, you just force to use uspace on 
> the ./configure line:
>
> ./configure --with-realtime=uspace

You can also use the pre-built uspace packages (built on the
preempt-rt kernel) if you install the linuxcnc-usapce-rtai pre-built
package too.


-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1912


___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] LinuxCNC + LXRT (RTAI) results

2022-10-09 Thread Alec Ari via Emc-developers
Oh! Once RTAI is installed (both kernel and modules) and you're booted into 
your RTAI kernel, when you build LinuxCNC, you just force to use uspace on the 
./configure line:

./configure --with-realtime=uspace

This way, LinuxCNC will not build modules (.ko) against your kernel, but rather 
use LXRT.

RTAI Debian packages:

http://linuxcnc.org/dists/bullseye/base/binary-amd64/

Or:

https://github.com/NTULINUX/RTAI/releases/tag/v5.3.2

For this test, I bumped the kernel to 4.19.261 and made a minor Kconfig change 
to prevent some possible build errors but I don't think this really matters. I 
also loaded the Debian Buster 4.19 kernel config instead of Stretch. I think 
new debs should be published though to reflect these changes as minor as it may 
be. I'll get around to it.

Alec




On Sunday, October 9, 2022 at 08:09:54 AM CDT, Thomas J Powderly 
 wrote: 





Thx Alec

I was just prodding you, don't worry about it.

i don't know how to build using the info you posted

since my bench if full

I'll wait for a howto

( at best i found out that hansu was not Chinese :-)

tomp

On 10/9/22 2:30 PM, Alec Ari via Emc-developers wrote:
> I can do more extensive testing. I wasn't sure what the problem was before 
> that people were having but it at least runs for me.
>
>
> Alec
>
>
>
>
>
>
> On Sunday, October 9, 2022 at 12:08:51 AM CDT, Thomas J Powderly 
>  wrote:
>
>
>
>
>
> wow
>
> but 61 secs?
>
> from missouri
>
> :-)
>
> still impressive
>
> tomp
>
> On 10/9/22 11:32 AM, Alec Ari via Emc-developers wrote:
>> Note: Using LXRT realtime
>>
>> Pic attached (not sure if mailing list accepts pictures, CC'ing to Bari to 
>> post on forums if necessary)
>>
>> Alec
>>
>>
>> ___
>> Emc-developers mailing list
>> Emc-developers@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-developers
> ___
> Emc-developers mailing list
> Emc-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-developers
>
>
> ___
> Emc-developers mailing list
> Emc-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-developers


___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] LinuxCNC + LXRT (RTAI) results

2022-10-09 Thread Thomas J Powderly

Thx Alec

I was just prodding you, don't worry about it.

i don't know how to build using the info you posted

since my bench if full

I'll wait for a howto

( at best i found out that hansu was not Chinese :-)

tomp

On 10/9/22 2:30 PM, Alec Ari via Emc-developers wrote:

I can do more extensive testing. I wasn't sure what the problem was before that 
people were having but it at least runs for me.


Alec






On Sunday, October 9, 2022 at 12:08:51 AM CDT, Thomas J Powderly 
 wrote:





wow

but 61 secs?

from missouri

:-)

still impressive

tomp

On 10/9/22 11:32 AM, Alec Ari via Emc-developers wrote:

Note: Using LXRT realtime

Pic attached (not sure if mailing list accepts pictures, CC'ing to Bari to post 
on forums if necessary)

Alec


___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers



___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] LinuxCNC + LXRT (RTAI) results

2022-10-09 Thread Nicklas SB Karlsson
Just to confirm, picture received.

sön 2022-10-09 klockan 04:32 + skrev Alec Ari via Emc-developers:
> Note: Using LXRT realtime
> 
> Pic attached (not sure if mailing list accepts pictures, CC'ing to
> Bari to post on forums if necessary)
> 
> Alec
> ___
> Emc-developers mailing list
> Emc-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-developers




___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] LinuxCNC + LXRT (RTAI) results

2022-10-09 Thread Alec Ari via Emc-developers


I can do more extensive testing. I wasn't sure what the problem was before that 
people were having but it at least runs for me.


Alec






On Sunday, October 9, 2022 at 12:08:51 AM CDT, Thomas J Powderly 
 wrote: 





wow

but 61 secs?

from missouri

:-)

still impressive

tomp

On 10/9/22 11:32 AM, Alec Ari via Emc-developers wrote:
> Note: Using LXRT realtime
>
> Pic attached (not sure if mailing list accepts pictures, CC'ing to Bari to 
> post on forums if necessary)
>
> Alec
>
>
> ___
> Emc-developers mailing list
> Emc-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-developers

___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] LinuxCNC + LXRT (RTAI) results

2022-10-08 Thread Thomas J Powderly

wow

but 61 secs?

from missouri

:-)

still impressive

tomp

On 10/9/22 11:32 AM, Alec Ari via Emc-developers wrote:

Note: Using LXRT realtime

Pic attached (not sure if mailing list accepts pictures, CC'ing to Bari to post 
on forums if necessary)

Alec


___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] LinuxCNC + LXRT (RTAI) results

2022-10-08 Thread Alec Ari via Emc-developers
Final note, sorry for all the emails, is that I compiled LinuxCNC myself using 
the following params:

./configure --with-realtime=uspace --enable-non-distributable=yes

On LinuxCNC commit:

c66ae6dfa56a4ce20f8ffa5e4e1aa55aabdf4bf5
Merge pull request #2084 from hansu/man-ascii-images

Alec


___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] LinuxCNC + LXRT (RTAI) results

2022-10-08 Thread Alec Ari via Emc-developers
One of the things I keep having to do is run `sudo rmmod rtai_sched rtai_hal 
rtai_math` because `halrun -U` doesn't work and LinuxCNC/latency-histogram 
keeps saying RTAI is already loaded.

While annoying, it _does_ work fine for me, and this is without having to add 
back in liblxrt to my RTAI tree.

Alec


___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers