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:
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.