- Posts: 10
- Thank you received: 0
Xubuntu 18.04.5 + kernel 5.6.19-rt12 | rtai-modules-5.6.19-rt12 missed
6 years 1 month ago #181215
by Adik A.
Replied by Adik A. on topic Xubuntu 18.04.5 + kernel 5.6.19-rt12 | rtai-modules-5.6.19-rt12 missed
Hello again,
I decided to compare jitter under kernel 5.6.19-rt12, v4.14.175 and v4.19.114. I wanted v4.19.14, because supports Intel UHD 630 graphics (Intel i5-9500).
I'm stuck at the stage of compiling rtai-modules:
Error:
a bit earlier:
Has anyone successfully compiled the rtai-modules for v.4.19.14 and knows how to correct this error?
Under the v4.14.175 rtai-modules compiles w/o problems, jitter is great, but graphics acceleration does not work for my i5-9500 CPU. I also can't set the resolution to 1920x1080px.
Graphics card UHD 630 under kernel v.4.19.14 works OK, unfortunately I can't compile the RTAI modules.
I decided to compare jitter under kernel 5.6.19-rt12, v4.14.175 and v4.19.114. I wanted v4.19.14, because supports Intel UHD 630 graphics (Intel i5-9500).
I'm stuck at the stage of compiling rtai-modules:
Code:
cat /etc/linuxmint/info
RELEASE=19.3
CODENAME=tricia
EDITION="Xfce"
DESCRIPTION="Linux Mint 19.3 Tricia"
DESKTOP=Gnome
TOOLKIT=GTK
NEW_FEATURES_URL=https://www.linuxmint.com/rel_tricia_xfce_whatsnew.php
RELEASE_NOTES_URL=https://www.linuxmint.com/rel_tricia_xfce.php
USER_GUIDE_URL=https://www.linuxmint.com/documentation.php
GRUB_TITLE=Linux Mint 19.3 Xfce
Code:
root@mint-linuxcnc:~/RTAI-master/ksrc# uname -a
Linux mint-linuxcnc 4.19.114-rtai-amd64 #1 SMP Tue Sep 8 09:07:06 CEST 2020 x86_64 x86_64 x86_64 GNU/Linux
Code:
cd ~/RTAI-master
./autogen.sh
./configure
debian/configure 4.19.114 rtai amd64
dpkg-buildpackage
Error:
Code:
In file included from ./include/linux/compat.h:16:0,
from ./arch/x86/include/asm/fpu/internal.h:14,
from /root/src/RTAI-master/include/asm/rtai_fpu.h:191,
from /root/src/RTAI-master/include/asm/rtai_hal.h:61,
from /root/src/RTAI-master/include/asm/rtai.h:23,
from /root/src/RTAI-master/include/rtai.h:27,
from /root/src/RTAI-master/src/sched/rtai_hal.c:75:
./include/linux/if.h:28:10: fatal error: sys/socket.h: There is no such file or directory
#include <sys/socket.h> /* for struct sockaddr. */
^~~~~~~~~~~~~~
a bit earlier:
Code:
libtool: link: gcc -o calibrate calibrate-calibrate.o -lpthread
test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
echo >&2; \
echo >&2 " ERROR: Kernel configuration is invalid."; \
echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo >&2 ; \
/bin/false)
Has anyone successfully compiled the rtai-modules for v.4.19.14 and knows how to correct this error?
Under the v4.14.175 rtai-modules compiles w/o problems, jitter is great, but graphics acceleration does not work for my i5-9500 CPU. I also can't set the resolution to 1920x1080px.
Graphics card UHD 630 under kernel v.4.19.14 works OK, unfortunately I can't compile the RTAI modules.
Please Log in to join the conversation.
- BeagleBrainz
- New Member
-
Less
More
- Thank you received: 0
6 years 1 month ago #181219
by BeagleBrainz
Replied by BeagleBrainz on topic Xubuntu 18.04.5 + kernel 5.6.19-rt12 | rtai-modules-5.6.19-rt12 missed
Are you wanting the RTAI kernel or the RT_PREEMPT kernel ?
And as far as I know Andy & others have done a lot of work on getting a RTAI kernel to work with Linuxcnc.
And as far as I know Andy & others have done a lot of work on getting a RTAI kernel to work with Linuxcnc.
Please Log in to join the conversation.
6 years 1 month ago #181220
by Adik A.
Replied by Adik A. on topic Xubuntu 18.04.5 + kernel 5.6.19-rt12 | rtai-modules-5.6.19-rt12 missed
Please Log in to join the conversation.
- BeagleBrainz
- New Member
-
Less
More
- Thank you received: 0
6 years 1 month ago #181222
by BeagleBrainz
Replied by BeagleBrainz on topic Xubuntu 18.04.5 + kernel 5.6.19-rt12 | rtai-modules-5.6.19-rt12 missed
What hardware are you going to be using to control your machine ?
I think it may be helpful if you state your goal and the hardware you hope to use with Linuxcnc ie: Mesa or Parallel port. As you have been jumping back & forth between RTAI & RT_PREEMPT.
As far as I know there is only one rtai version that will work with Linuxcnc, as I said before there as been a lot of work into getting Linuxcnc & the rtai kernel to work.
As it stands the current rtai kernel that is known to work with linuxcnc can have limited graphics.
I think it may be helpful if you state your goal and the hardware you hope to use with Linuxcnc ie: Mesa or Parallel port. As you have been jumping back & forth between RTAI & RT_PREEMPT.
As far as I know there is only one rtai version that will work with Linuxcnc, as I said before there as been a lot of work into getting Linuxcnc & the rtai kernel to work.
As it stands the current rtai kernel that is known to work with linuxcnc can have limited graphics.
Please Log in to join the conversation.
6 years 1 month ago #181224
by Adik A.
Replied by Adik A. on topic Xubuntu 18.04.5 + kernel 5.6.19-rt12 | rtai-modules-5.6.19-rt12 missed
Hardware: Mesa 7i76e card.
I'm waiting for the delivery of DYN4 servo drives from DMM.
For my config (Core i5-9500, M.2 SSD, mini-itx mainboard) RTAI with kernel 4.x offers lower jitter (13us), RT_PREEMPT with kernel 5.6.19 jitter jumps to 80-100us.
I'm waiting for the delivery of DYN4 servo drives from DMM.
For my config (Core i5-9500, M.2 SSD, mini-itx mainboard) RTAI with kernel 4.x offers lower jitter (13us), RT_PREEMPT with kernel 5.6.19 jitter jumps to 80-100us.
Please Log in to join the conversation.
- BeagleBrainz
- New Member
-
Less
More
- Thank you received: 0
6 years 1 month ago #181225
by BeagleBrainz
Replied by BeagleBrainz on topic Xubuntu 18.04.5 + kernel 5.6.19-rt12 | rtai-modules-5.6.19-rt12 missed
You want RT_PREEMPT for Mesa ethernet. Your latency is fine.
YOU NEED TO USE RT_PREEMPT
DO NOT YOU USE RTAI FOR MESA ETHERNET
On my Lenovo T530 using my Mint 19.2 install.
running
gives the follwoing
YOU NEED TO USE RT_PREEMPT
DO NOT YOU USE RTAI FOR MESA ETHERNET
On my Lenovo T530 using my Mint 19.2 install.
running
Code:
latency-histogram --nobase
Attachment not found
Please Log in to join the conversation.
6 years 1 month ago #181226
by Adik A.
Replied by Adik A. on topic Xubuntu 18.04.5 + kernel 5.6.19-rt12 | rtai-modules-5.6.19-rt12 missed
ok, so the conclusion: with Mesa Ethernet cards jitter is not as important as with a parallel connection right?
I tried your Linux Mint 19 repository but unfortunately there is a download error. I posted a log in the appropriate topic.
I tried your Linux Mint 19 repository but unfortunately there is a download error. I posted a log in the appropriate topic.
Please Log in to join the conversation.
5 years 10 months ago #191943
by mirkap
Hi,
I have exactly the same problem.
I try to compile RTAI 5.2.3. on Debian distro kernel 4.19.152.
I want to use RTAI with parallel port.
Replied by mirkap on topic Xubuntu 18.04.5 + kernel 5.6.19-rt12 | rtai-modules-5.6.19-rt12 missed
Adik A. wrote: Hello again,
...
Error:
Code:In file included from ./include/linux/compat.h:16:0, from ./arch/x86/include/asm/fpu/internal.h:14, from /root/src/RTAI-master/include/asm/rtai_fpu.h:191, from /root/src/RTAI-master/include/asm/rtai_hal.h:61, from /root/src/RTAI-master/include/asm/rtai.h:23, from /root/src/RTAI-master/include/rtai.h:27, from /root/src/RTAI-master/src/sched/rtai_hal.c:75: ./include/linux/if.h:28:10: fatal error: sys/socket.h: There is no such file or directory #include <sys/socket.h> /* for struct sockaddr. */ ^~~~~~~~~~~~~~
a bit earlier:
Code:libtool: link: gcc -o calibrate calibrate-calibrate.o -lpthread test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \ echo >&2; \ echo >&2 " ERROR: Kernel configuration is invalid."; \ echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\ echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \ echo >&2 ; \ /bin/false)
Has anyone successfully compiled the rtai-modules for v.4.19.14 and knows how to correct this error?
.[/b]
Hi,
I have exactly the same problem.
I try to compile RTAI 5.2.3. on Debian distro kernel 4.19.152.
I want to use RTAI with parallel port.
Please Log in to join the conversation.
- tommylight
-
- Away
- Administrator
-
Less
More
- Posts: 22010
- Thank you received: 3
5 years 10 months ago #191945
by tommylight
Replied by tommylight on topic Xubuntu 18.04.5 + kernel 5.6.19-rt12 | rtai-modules-5.6.19-rt12 missed
linuxcnc.org/downloads/
The 2.8 Buster 10 RTAI section.
The 2.8 Buster 10 RTAI section.
Please Log in to join the conversation.
Time to create page: 0.117 seconds
