[SUPPORT] blakeblackshear - Frigate


119 posts in this topic Last Reply

Recommended Posts

On 1/27/2021 at 10:22 AM, DiabloXP said:

 

Awesome, I used these steps to get my m.2 coral running on 6.9.0. Thank you very much!!! 

Did you use the exact steps or edit for Unraid kernel 5.1.0 as you are on 6.9.x ?

Link to post
  • Replies 118
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

I released now a Plugin for Unraid 6.9.0rc2 and up so that the installation of the Drivers is as easy as going to the CA App and search for 'Coral-Driver'.   It will take about an hour to sh

You don't need to pass in the device to the container.  It really is as simple as loading the plugin to get the drivers going and then telling Frigate to use it.     detectors:   coral_pci

And its back

Posted Images

16 hours ago, DiabloXP said:

 

Mostly, just had to substitute the kernel version in a few of the commands (example: wget https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/linux-5.9.13.tar.gz)

i must be doing something wrong.

Running Unraid 6.9.0-rc2

Bison 3.0.4 (as per guide above)

Linux kernel (according to 6.9.0-rc2) is 5.10.1 

 

getting an error on


 

make modules_prepare

  SYNC    include/config/auto.conf.cmd
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/kconfig/conf.o
In file included from /usr/include/bits/local_lim.h:38,
                 from /usr/include/bits/posix1_lim.h:161,
                 from /usr/include/limits.h:183,
                 from /usr/lib64/gcc/x86_64-slackware-linux/9.2.0/include-fixed/limits.h:194,
                 from /usr/lib64/gcc/x86_64-slackware-linux/9.2.0/include-fixed/syslimits.h:7,
                 from /usr/lib64/gcc/x86_64-slackware-linux/9.2.0/include-fixed/limits.h:34,
                 from scripts/kconfig/conf.c:7:
/usr/include/linux/limits.h:5:10: fatal error: uapi/linux/limits.h: No such file or directory
    5 | #include <uapi/linux/limits.h>
      |          ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [scripts/Makefile.host:112: scripts/kconfig/conf.o] Error 1
make[1]: *** [Makefile:602: syncconfig] Error 2
Makefile:688: include/config/auto.conf.cmd: No such file or directory
make: *** [Makefile:710: include/config/auto.conf.cmd] Error 2

 

Is this a dependancy thing? I've enabled all the Dev Pack, but not sure what else is needed from the NerdPack? 

Any thoughts?

Link to post
12 minutes ago, Jaburges said:

i must be doing something wrong.

Running Unraid 6.9.0-rc2

Bison 3.0.4 (as per guide above)

Linux kernel (according to 6.9.0-rc2) is 5.10.1 

 

getting an error on


 


make modules_prepare

  SYNC    include/config/auto.conf.cmd
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/kconfig/conf.o
In file included from /usr/include/bits/local_lim.h:38,
                 from /usr/include/bits/posix1_lim.h:161,
                 from /usr/include/limits.h:183,
                 from /usr/lib64/gcc/x86_64-slackware-linux/9.2.0/include-fixed/limits.h:194,
                 from /usr/lib64/gcc/x86_64-slackware-linux/9.2.0/include-fixed/syslimits.h:7,
                 from /usr/lib64/gcc/x86_64-slackware-linux/9.2.0/include-fixed/limits.h:34,
                 from scripts/kconfig/conf.c:7:
/usr/include/linux/limits.h:5:10: fatal error: uapi/linux/limits.h: No such file or directory
    5 | #include <uapi/linux/limits.h>
      |          ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [scripts/Makefile.host:112: scripts/kconfig/conf.o] Error 1
make[1]: *** [Makefile:602: syncconfig] Error 2
Makefile:688: include/config/auto.conf.cmd: No such file or directory
make: *** [Makefile:710: include/config/auto.conf.cmd] Error 2

 

Is this a dependancy thing? I've enabled all the Dev Pack, but not sure what else is needed from the NerdPack? 

Any thoughts?

 

I actually didn't install the NerdPack and was just playing whack-a-mole on the dependencies until it built. Here is what I ended up with on RC1:

 

mkdir packages
cd packages/
wget https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/linux-5.9.13.tar.gz
mv linux-5.9.13.tar.gz linux-5.9.13.tgz
cd /usr/src/
mv linux-5.9.13-Unraid/ linux-5.9.13-Unraid_orig
tar zxvf ~/packages/linux-5.9.13.tgz
ln -s linux-5.9.13 linux
cp -rf linux-5.9.13-Unraid_orig/* linux
cp -f linux-5.9.13-Unraid_orig/.config linux
ln -sf /usr/src/linux/include/asm-generic /usr/include/asm-generic
ln -sf /usr/src/linux/arch/x86/include/asm /usr/include/asm
ln -sf /usr/src/linux/include/linux /usr/include/linux
cd /root/
wget http://slackware.cs.utah.edu/pub/slackware/slackware64-14.2/slackware64/d/bison-3.0.4-x86_64-1.txz
wget http://slackware.cs.utah.edu/pub/slackware/slackware64-14.2/slackware64/l/ncurses-5.9-x86_64-4.txz
wget http://slackware.cs.utah.edu/pub/slackware/slackware64-14.2/slackware64/d/gcc-5.3.0-x86_64-3.txz
wget http://slackware.cs.utah.edu/pub/slackware/slackware64-14.2/slackware64/l/mpfr-3.1.4-x86_64-1.txz
wget http://slackware.cs.utah.edu/pub/slackware/slackware64-14.2/slackware64/d/cmake-3.5.2-x86_64-1.txz
wget http://slackware.cs.utah.edu/pub/slackware/slackware64-14.2/slackware64/d/make-4.1-x86_64-2.txz
wget http://slackware.cs.utah.edu/pub/slackware/slackware64-14.2/slackware64/d/guile-2.0.11-x86_64-2.txz
wget http://slackware.cs.utah.edu/pub/slackware/slackware64-14.2/slackware64/ap/bc-1.06.95-x86_64-3.txz
wget http://slackware.cs.utah.edu/pub/slackware/slackware64-14.2/slackware64/l/elfutils-0.163-x86_64-1.txz
wget http://slackware.cs.utah.edu/pub/slackware/slackware64-14.2/slackware64/d/gdb-7.11-x86_64-1.txz 
wget http://slackware.cs.utah.edu/pub/slackware/slackware64-14.2/slackware64/d/guile-2.0.11-x86_64-2.txz 
wget http://slackware.cs.utah.edu/pub/slackware/slackware64-14.2/slackware64/l/gc-7.4.2-x86_64-3.txz
wget http://slackware.cs.utah.edu/pub/slackware/slackware64-14.2/slackware64/l/libunistring-0.9.3-x86_64-1.txz
wget http://slackware.cs.utah.edu/pub/slackware/slackware64-14.2/slackware64/d/python-2.7.11-x86_64-2.txz
installpkg gc-7.4.2-x86_64-3.txz 
installpkg gdb-7.11-x86_64-1.txz 
installpkg guile-2.0.11-x86_64-2.txz 
installpkg libunistring-0.9.3-x86_64-1.txz 
installpkg python-2.7.11-x86_64-2.txz
installpkg bison-3.0.4-x86_64-1.txz
installpkg ncurses-5.9-x86_64-4.txz
installpkg gcc-5.3.0-x86_64-3.txz
installpkg mpfr-3.1.4-x86_64-1.txz
installpkg cmake-3.5.2-x86_64-1.txz
installpkg make-4.1-x86_64-2.txz
installpkg guile-2.0.11-x86_64-2.txz
installpkg bc-1.06.95-x86_64-3.txz
installpkg elfutils-0.163-x86_64-1.txz
cd /usr/src/linux
make menuconfig
make modules_prepare
export CONFIG_STAGING_APEX_DRIVER=m
export CONFIG_STAGING_GASKET_FRAMEWORK=m
make M=/root/apex/
insmod gasket.ko
insmod apex.ko
lsmod|grep apex
mkdir /boot/config/drivers
cp /root/apex/gasket.ko /boot/config/drivers/
cp /root/apex/apex.ko /boot/config/drivers/

 

Link to post
45 minutes ago, DiabloXP said:

 

I actually didn't install the NerdPack and was just playing whack-a-mole on the dependencies until it built. Here is what I ended up with on RC1:

 



mkdir packages
cd packages/
wget https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/linux-5.9.13.tar.gz
mv linux-5.9.13.tar.gz linux-5.9.13.tgz
cd /usr/src/
mv linux-5.9.13-Unraid/ linux-5.9.13-Unraid_orig
tar zxvf ~/packages/linux-5.9.13.tgz
ln -s linux-5.9.13 linux
cp -rf linux-5.9.13-Unraid_orig/* linux
cp -f linux-5.9.13-Unraid_orig/.config linux
ln -sf /usr/src/linux/include/asm-generic /usr/include/asm-generic
ln -sf /usr/src/linux/arch/x86/include/asm /usr/include/asm
ln -sf /usr/src/linux/include/linux /usr/include/linux
cd /root/
wget http://slackware.cs.utah.edu/pub/slackware/slackware64-14.2/slackware64/d/bison-3.0.4-x86_64-1.txz
wget http://slackware.cs.utah.edu/pub/slackware/slackware64-14.2/slackware64/l/ncurses-5.9-x86_64-4.txz
wget http://slackware.cs.utah.edu/pub/slackware/slackware64-14.2/slackware64/d/gcc-5.3.0-x86_64-3.txz
wget http://slackware.cs.utah.edu/pub/slackware/slackware64-14.2/slackware64/l/mpfr-3.1.4-x86_64-1.txz
wget http://slackware.cs.utah.edu/pub/slackware/slackware64-14.2/slackware64/d/cmake-3.5.2-x86_64-1.txz
wget http://slackware.cs.utah.edu/pub/slackware/slackware64-14.2/slackware64/d/make-4.1-x86_64-2.txz
wget http://slackware.cs.utah.edu/pub/slackware/slackware64-14.2/slackware64/d/guile-2.0.11-x86_64-2.txz
wget http://slackware.cs.utah.edu/pub/slackware/slackware64-14.2/slackware64/ap/bc-1.06.95-x86_64-3.txz
wget http://slackware.cs.utah.edu/pub/slackware/slackware64-14.2/slackware64/l/elfutils-0.163-x86_64-1.txz
wget http://slackware.cs.utah.edu/pub/slackware/slackware64-14.2/slackware64/d/gdb-7.11-x86_64-1.txz 
wget http://slackware.cs.utah.edu/pub/slackware/slackware64-14.2/slackware64/d/guile-2.0.11-x86_64-2.txz 
wget http://slackware.cs.utah.edu/pub/slackware/slackware64-14.2/slackware64/l/gc-7.4.2-x86_64-3.txz
wget http://slackware.cs.utah.edu/pub/slackware/slackware64-14.2/slackware64/l/libunistring-0.9.3-x86_64-1.txz
wget http://slackware.cs.utah.edu/pub/slackware/slackware64-14.2/slackware64/d/python-2.7.11-x86_64-2.txz
installpkg gc-7.4.2-x86_64-3.txz 
installpkg gdb-7.11-x86_64-1.txz 
installpkg guile-2.0.11-x86_64-2.txz 
installpkg libunistring-0.9.3-x86_64-1.txz 
installpkg python-2.7.11-x86_64-2.txz
installpkg bison-3.0.4-x86_64-1.txz
installpkg ncurses-5.9-x86_64-4.txz
installpkg gcc-5.3.0-x86_64-3.txz
installpkg mpfr-3.1.4-x86_64-1.txz
installpkg cmake-3.5.2-x86_64-1.txz
installpkg make-4.1-x86_64-2.txz
installpkg guile-2.0.11-x86_64-2.txz
installpkg bc-1.06.95-x86_64-3.txz
installpkg elfutils-0.163-x86_64-1.txz
cd /usr/src/linux
make menuconfig
make modules_prepare
export CONFIG_STAGING_APEX_DRIVER=m
export CONFIG_STAGING_GASKET_FRAMEWORK=m
make M=/root/apex/
insmod gasket.ko
insmod apex.ko
lsmod|grep apex
mkdir /boot/config/drivers
cp /root/apex/gasket.ko /boot/config/drivers/
cp /root/apex/apex.ko /boot/config/drivers/

 

Thanks for sharing 

 

It seems the makefile is looking for a file 

uapi/linux/error.h

 

/usr/src/linux/arch/x86/include/uapi

only contains `asm` directory

are there any other symlinks that you added that may resolve this?

Edited by Jaburges
fat fingers
Link to post
2 hours ago, Jaburges said:

Thanks for sharing 

 

It seems the makefile is looking for a file 

uapi/linux/error.h

 

/usr/src/linux/arch/x86/include/uapi

only contains `asm` directory

are there any other symlinks that you added that may resolve this?

little out of my depth but the top of the file in question: `errno.h`

#include <uapi/linux/errno.h> 

 

there are a bunch of *.h (limits.h, errno.h) that look for `uapi/linux/file.h` 

 

Not sure if i'm doing something wrong, but the files are all over the place and thus not found by the make command. So either need editing, moving, or another symlink created

 

I created another symlink

ln -s /usr/src/linux/include/uapi /usr/include/uapi

 

But i still get errors with other files not located where they are expected. 

@DiabloXP did you copy or edit limits.h types.h etc? 

Edited by Jaburges
Link to post

Ok so got it working on 6.9.0-rc2 (Huge thanks to @pgbtech for the initial steps helping me solve some issues I had)

Rough workflow is:

1. Download Coral gasket and apex sourcefiles 

2. Download and extract Linux kernel 5.10.1 (6.9.0-rc2), and copy over Unraid patches/mods

3. Install dependencies and add symlinks

4. make gasket and apex

5. add to drivers and boot config

6. Enjoy :)

 

I also enabled all of the DevTools plugin as well (make for example is needed) 

 

[Please note at time of writing, the symlinks didnt bring all the required files into the right location, and I didnt' know enough about 'WHY' they were separate. I did notice for example `types.h` was different in different locations, so took me some time to work out exactly which files to copy over] 

 

cd /root
mkdir packages
cd packages/
wget https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/linux-5.10.1.tar.gz
mv linux-5.10.1.tar.gz linux-5.10.1.tgz
cd /usr/src/
mv linux-5.10.1-Unraid/ linux-5.10.1-Unraid_orig
tar zxvf ~/packages/linux-5.10.1.tgz
ln -s linux-5.10.1 linux
cp -rf linux-5.10.1-Unraid_orig/* linux
cp -f linux-5.10.1-Unraid_orig/.config linux
ln -sf /usr/src/linux/include/uapi/linux /usr/include/linux
ln -sf /usr/src/linux/include/uapi/asm /usr/include/asm
ln -sf /usr/src/linux/include/uapi/asm-generic /usr/include/asm-generic
cd /root/
wget http://slackware.cs.utah.edu/pub/slackware/slackware64-14.2/slackware64/d/bison-3.0.4-x86_64-1.txz
wget http://slackware.cs.utah.edu/pub/slackware/slackware64-14.2/slackware64/l/ncurses-5.9-x86_64-4.txz
installpkg bison-3.0.4-x86_64-1.txz
installpkg ncurses-5.9-x86_64-4.txz
cd /usr/src/linux
make modules_prepare

 

Note at this point the make might fail due to missing files

 

cp /usr/src/linux/arch/x86/include/asm/types.h /usr/include/asm/types.h
cp /usr/src/linux/arch/x86/include/asm/posix_types.h /usr/include/asm/posix_types.h
cp /usr/src/linux/arch/x86/include/asm/posix_types_64.h /usr/include/asm/posix_types_64.h
cp /usr/src/linux/arch/x86/include/generated/uapi/asm/ioctls.h /usr/include/asm/
cp /usr/src/linux/arch/x86/include/generated/uapi/asm/ioctl.h /usr/include/asm/
cp /usr/src/linux/arch/x86/include/generated/uapi/asm/sockios.h /usr/include/asm/
cp /usr/src/linux/arch/x86/include/generated/uapi/asm/socket.h /usr/include/asm/
cp /usr/src/linux/include/linux/compiler_types.h /usr/include/asm/

 

Now try and make

 

make modules_prepare
export CONFIG_STAGING_APEX_DRIVER=m
export CONFIG_STAGING_GASKET_FRAMEWORK=m
make M=/root/apex/
insmod gasket.ko
insmod apex.ko
lsmod|grep apex
mkdir /boot/config/drivers
cp /root/apex/gasket.ko /boot/config/drivers/
cp /root/apex/apex.ko /boot/config/drivers/

 

Link to post

I want to thank you. I'm also following the project in Github 'cause you made my dummy "ip cams" smart with a few steps. Right now using only CPU accel. but with a Ryzen 3700x there's a lot of power to use, now because this project considering a Coral Usb to add to my server. Thanks a lot. 

Edited by Kanashii
Link to post
9 hours ago, Kanashii said:

I want to thank you. I'm also following the project in Github 'cause you made my dummy "ip cams" smart with a few steps. Right now using only CPU accel. but with a Ryzen 3700x there's a lot of power to use, now because this project considering a Coral Usb to add to my server. Thanks a lot. 

 

Thank you for posting. I'm currently using an USB TPU and the overall performance is much better, so I highly recommend it to you if you can afford it.

Link to post
On 2/9/2021 at 3:07 PM, Jaburges said:

Ok so got it working on 6.9.0-rc2 (Huge thanks to @pgbtech for the initial steps helping me solve some issues I had)

Rough workflow is:

1. Download Coral gasket and apex sourcefiles 

2. Download and extract Linux kernel 5.10.1 (6.9.0-rc2), and copy over Unraid patches/mods

3. Install dependencies and add symlinks

4. make gasket and apex

5. add to drivers and boot config

6. Enjoy :)

 

I also enabled all of the DevTools plugin as well (make for example is needed) 

 

[Please note at time of writing, the symlinks didnt bring all the required files into the right location, and I didnt' know enough about 'WHY' they were separate. I did notice for example `types.h` was different in different locations, so took me some time to work out exactly which files to copy over] 

 


cd /root
mkdir packages
cd packages/
wget https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/linux-5.10.1.tar.gz
mv linux-5.10.1.tar.gz linux-5.10.1.tgz
cd /usr/src/
mv linux-5.10.1-Unraid/ linux-5.10.1-Unraid_orig
tar zxvf ~/packages/linux-5.10.1.tgz
ln -s linux-5.10.1 linux
cp -rf linux-5.10.1-Unraid_orig/* linux
cp -f linux-5.10.1-Unraid_orig/.config linux
ln -sf /usr/src/linux/include/uapi/linux /usr/include/linux
ln -sf /usr/src/linux/include/uapi/asm /usr/include/asm
ln -sf /usr/src/linux/include/uapi/asm-generic /usr/include/asm-generic
cd /root/
wget http://slackware.cs.utah.edu/pub/slackware/slackware64-14.2/slackware64/d/bison-3.0.4-x86_64-1.txz
wget http://slackware.cs.utah.edu/pub/slackware/slackware64-14.2/slackware64/l/ncurses-5.9-x86_64-4.txz
installpkg bison-3.0.4-x86_64-1.txz
installpkg ncurses-5.9-x86_64-4.txz
cd /usr/src/linux
make modules_prepare

 

Note at this point the make might fail due to missing files

 


cp /usr/src/linux/arch/x86/include/asm/types.h /usr/include/asm/types.h
cp /usr/src/linux/arch/x86/include/asm/posix_types.h /usr/include/asm/posix_types.h
cp /usr/src/linux/arch/x86/include/asm/posix_types_64.h /usr/include/asm/posix_types_64.h
cp /usr/src/linux/arch/x86/include/generated/uapi/asm/ioctls.h /usr/include/asm/
cp /usr/src/linux/arch/x86/include/generated/uapi/asm/ioctl.h /usr/include/asm/
cp /usr/src/linux/arch/x86/include/generated/uapi/asm/sockios.h /usr/include/asm/
cp /usr/src/linux/arch/x86/include/generated/uapi/asm/socket.h /usr/include/asm/
cp /usr/src/linux/include/linux/compiler_types.h /usr/include/asm/

 

Now try and make

 


make modules_prepare
export CONFIG_STAGING_APEX_DRIVER=m
export CONFIG_STAGING_GASKET_FRAMEWORK=m
make M=/root/apex/
insmod gasket.ko
insmod apex.ko
lsmod|grep apex
mkdir /boot/config/drivers
cp /root/apex/gasket.ko /boot/config/drivers/
cp /root/apex/apex.ko /boot/config/drivers/

 

 

Following this and everything works up until the make fails and I try to copy the missing files. None of the files are present except for posix_types.h

Link to post
1 hour ago, alphablu said:

 

Following this and everything works up until the make fails and I try to copy the missing files. None of the files are present except for posix_types.h

you downloaded 5.10.1 as above? Have you tried the make command? does it fail on missing files?

if so goto /usr/src/linux 

then run `find -name XXXXX`

where XXXX is the file that is missing from the make.

Link to post

Yeah, downloaded and extracted and the make fails with:

 

"make: error while loading shared libraries: libguile-2.2.so.1: cannot open shared object file: No such file or directory"

 

I assume thats the error?

 

Doing a search for "types.h" for example finds:

 

./tools/testing/selftests/rcutorture/formal/srcu-cbmc/include/linux/types.h
./tools/testing/selftests/rcutorture/formal/srcu-cbmc/empty_includes/uapi/linux/types.h
./tools/include/uapi/linux/types.h
./tools/include/linux/types.h
./net/batman-adv/types.h
./include/uapi/linux/types.h
./include/uapi/linux/sched/types.h
./include/uapi/linux/iio/types.h
./include/uapi/asm-generic/types.h
./include/linux/types.h
./include/linux/sunrpc/types.h
./include/linux/sched/types.h
./include/linux/iio/types.h
./include/linux/ceph/types.h
./fs/ntfs/types.h
./drivers/net/wireless/marvell/libertas/types.h
./drivers/net/wireless/broadcom/brcm80211/brcmsmac/types.h
./drivers/net/fddi/skfp/h/types.h
./arch/xtensa/include/uapi/asm/types.h
./arch/x86/include/asm/fpu/types.h
./arch/x86/include/asm/e820/types.h
./arch/sh/include/asm/types.h
./arch/s390/include/uapi/asm/types.h
./arch/s390/include/asm/fpu/types.h
./arch/powerpc/include/uapi/asm/types.h
./arch/powerpc/include/asm/types.h
./arch/powerpc/boot/types.h
./arch/parisc/include/uapi/asm/types.h
./arch/mips/include/uapi/asm/types.h
./arch/mips/include/asm/types.h
./arch/mips/include/asm/sn/types.h
./arch/mips/include/asm/fw/arc/types.h
./arch/ia64/include/uapi/asm/types.h
./arch/ia64/include/asm/types.h
./arch/arm/include/uapi/asm/types.h
./arch/alpha/include/uapi/asm/types.h
./arch/alpha/include/asm/types.h

 

Link to post
10 minutes ago, alphablu said:

Yeah, downloaded and extracted and the make fails with:

 

"make: error while loading shared libraries: libguile-2.2.so.1: cannot open shared object file: No such file or directory"

 

I assume thats the error?

 

Doing a search for "types.h" for example finds:

 



./tools/testing/selftests/rcutorture/formal/srcu-cbmc/include/linux/types.h
./tools/testing/selftests/rcutorture/formal/srcu-cbmc/empty_includes/uapi/linux/types.h
./tools/include/uapi/linux/types.h
./tools/include/linux/types.h
./net/batman-adv/types.h
./include/uapi/linux/types.h
./include/uapi/linux/sched/types.h
./include/uapi/linux/iio/types.h
./include/uapi/asm-generic/types.h
./include/linux/types.h
./include/linux/sunrpc/types.h
./include/linux/sched/types.h
./include/linux/iio/types.h
./include/linux/ceph/types.h
./fs/ntfs/types.h
./drivers/net/wireless/marvell/libertas/types.h
./drivers/net/wireless/broadcom/brcm80211/brcmsmac/types.h
./drivers/net/fddi/skfp/h/types.h
./arch/xtensa/include/uapi/asm/types.h
./arch/x86/include/asm/fpu/types.h
./arch/x86/include/asm/e820/types.h
./arch/sh/include/asm/types.h
./arch/s390/include/uapi/asm/types.h
./arch/s390/include/asm/fpu/types.h
./arch/powerpc/include/uapi/asm/types.h
./arch/powerpc/include/asm/types.h
./arch/powerpc/boot/types.h
./arch/parisc/include/uapi/asm/types.h
./arch/mips/include/uapi/asm/types.h
./arch/mips/include/asm/types.h
./arch/mips/include/asm/sn/types.h
./arch/mips/include/asm/fw/arc/types.h
./arch/ia64/include/uapi/asm/types.h
./arch/ia64/include/asm/types.h
./arch/arm/include/uapi/asm/types.h
./arch/alpha/include/uapi/asm/types.h
./arch/alpha/include/asm/types.h

 

 

 

Might have something here, i uninstalled and reinstalled guile and now ive moved on to a new error, ill keep working on it.

 

Edit: Ok, all that is cleared up and i am now getting "fatal error: sys/types.h: No such file or directory"

Edited by alphablu
Link to post
13 minutes ago, alphablu said:

 

 

Might have something here, i uninstalled and reinstalled guile and now ive moved on to a new error, ill keep working on it.

 

Edit: Ok, all that is cleared up and i am now getting "fatal error: sys/types.h: No such file or directory"

weird - no clue why its looking in sys/ what is the full error - what file is pointing to that?

 

Link to post
  SYNC    include/config/auto.conf.cmd
  HOSTCC  scripts/basic/fixdep
scripts/basic/fixdep.c:92:10: fatal error: sys/types.h: No such file or directory
   92 | #include <sys/types.h>
      |          ^~~~~~~~~~~~~
compilation terminated.
make[2]: *** [scripts/Makefile.host:95: scripts/basic/fixdep] Error 1
make[1]: *** [Makefile:535: scripts_basic] Error 2
Makefile:688: include/config/auto.conf.cmd: No such file or directory
make: *** [Makefile:710: include/config/auto.conf.cmd] Error 2

 

EDIT: Installing glibc fixed that. Now i've got:

 

  SYNC    include/config/auto.conf.cmd
  HOSTCC  scripts/basic/fixdep
gcc: fatal error: cannot execute ‘as’: execvp: No such file or directory
compilation terminated.
make[2]: *** [scripts/Makefile.host:95: scripts/basic/fixdep] Error 1
make[1]: *** [Makefile:535: scripts_basic] Error 2
Makefile:688: include/config/auto.conf.cmd: No such file or directory
make: *** [Makefile:710: include/config/auto.conf.cmd] Error 2

 

You said you installed everything in Devtools, I'm starting to think that was an important step. Did you just go in and turn everything on?

Edited by alphablu
Link to post
On 2/10/2021 at 10:26 PM, alphablu said:

  SYNC    include/config/auto.conf.cmd
  HOSTCC  scripts/basic/fixdep
scripts/basic/fixdep.c:92:10: fatal error: sys/types.h: No such file or directory
   92 | #include <sys/types.h>
      |          ^~~~~~~~~~~~~
compilation terminated.
make[2]: *** [scripts/Makefile.host:95: scripts/basic/fixdep] Error 1
make[1]: *** [Makefile:535: scripts_basic] Error 2
Makefile:688: include/config/auto.conf.cmd: No such file or directory
make: *** [Makefile:710: include/config/auto.conf.cmd] Error 2

 

EDIT: Installing glibc fixed that. Now i've got:

 


  SYNC    include/config/auto.conf.cmd
  HOSTCC  scripts/basic/fixdep
gcc: fatal error: cannot execute ‘as’: execvp: No such file or directory
compilation terminated.
make[2]: *** [scripts/Makefile.host:95: scripts/basic/fixdep] Error 1
make[1]: *** [Makefile:535: scripts_basic] Error 2
Makefile:688: include/config/auto.conf.cmd: No such file or directory
make: *** [Makefile:710: include/config/auto.conf.cmd] Error 2

 

You said you installed everything in Devtools, I'm starting to think that was an important step. Did you just go in and turn everything on?


Yes, turn everything in the DevTools plugin on. Probably not all are needed, but doesn’t hurt anything to have them installed.

Link to post
2 hours ago, local.bin said:

Just purchased my coral hardware and looking at the kernel building and thinking this is a prime candidate to be added as an option to Unraid-Kernel-Helper :)

I've now builded a test package and also a custom build for 6.9.0rc2 if someone wants to test the files please contact me.

Link to post
21 minutes ago, ich777 said:

I've now builded a test package and also a custom build for 6.9.0rc2 if someone wants to test the files please contact me.

Many thanks :) I was slow getting to your IM message.

 

My hardware shipped today so if i am lucky I might get them tomorrow, but hoping to get for the weekend and I'd be happy to test.

Link to post
11 hours ago, ich777 said:

I've now builded a test package and also a custom build for 6.9.0rc2 if someone wants to test the files please contact me.

 

I have one installed in my server but I haven't done the install process yet, I'd be happy to test.

Link to post

Question for the hardware pros...  how do we know if the dual coral TPU board is working?  I'm only seeing one in the device lists on unRaid.  Maybe my mobo doesn't support the dual lanes on that adapter port?  ASRrock X570 Pro4 mobo with Ryzen 5 3600

Link to post

I released now a Plugin for Unraid 6.9.0rc2 and up so that the installation of the Drivers is as easy as going to the CA App and search for 'Coral-Driver'.

 

It will take about an hour to show up in the CA App and you also have to be on Unraid 6.9.0rc2 to see the package in the CA App.

Link to post

Massive thanks to @ich777 for all the hard work and getting it done quickly!  I've tested it on a PCIE based Coral TPU and it works great.  Stupid simple to install.  While you are installing the plugin, mash the donate button on his profile and throw him a beer/coffee or two ;)  

Link to post
5 hours ago, ich777 said:

I released now a Plugin for Unraid 6.9.0rc2 and up so that the installation of the Drivers is as easy as going to the CA App and search for 'Coral-Driver'.

 

It will take about an hour to show up in the CA App and you also have to be on Unraid 6.9.0rc2 to see the package in the CA App.

 

Glad others were able to test so you could release; my hardware hasn't arrived yet.

 

Thanks again.

Link to post
  • 2 weeks later...

Hello,

 

i updated today for the first time since october.. Seam that there has been some gib changes.

Im wondewring how to get the nvenc nvidia stuff to work?

https://blakeblackshear.github.io/frigate/configuration/nvdec

 

Im running the Unraid Nvidia 6.8.3. I could manage to get the docker files from blakeblackshear/frigate:stable-amd64nvidia but have to idea how to set the settings from the docs^^

 

Also i noticed, that im running frigate version 0.8.4-5043040. The latest release is 1.x something. Is this because of the nvidia version, or is this container just outdated?

 

thanks, greetz Stefan

Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.