Comments (8)
Interesting, what are the specs of your host?
from viseron.
It's a Asus PN41: https://www.asus.com/us/displays-desktops/mini-pcs/pn-series/mini-pc-pn41/
In the meantime I played a bit with codeproject.ai docker and now logs are different:
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 10-adduser: executing...
usermod: no changes
************************ UID/GID *************************
User uid: 0
User gid: 0
************************** Done **************************
[cont-init.d] 10-adduser: exited 0.
[cont-init.d] 20-gid-video-device: executing...
[cont-init.d] 20-gid-video-device: exited 0.
[cont-init.d] 30-edgetpu-permission: executing...
************** Setting EdgeTPU permissions ***************
Coral Vendor IDs:
"1a6e"
"18d1"
Matching USB devices:
Bus 002 Device 002: ID 18d1:9302
No EdgeTPU PCI device was found
************************** Done **************************
[cont-init.d] 30-edgetpu-permission: exited 0.
[cont-init.d] 40-set-env-vars: executing...
****** Checking for hardware acceleration platforms ******
OpenCL is available!
VA-API is available!
CUDA cannot be used
*********************** Done *****************************
[cont-init.d] 40-set-env-vars: exited 0.
[cont-init.d] 50-check-if-rpi: executing...
********** Checking if we are running on an RPi **********
Not running on any supported RPi
*********************** Done *****************************
[cont-init.d] 50-check-if-rpi: exited 0.
[cont-init.d] 55-check-if-jetson: executing...
****** Checking if we are running on a Jetson Board ******
Not running on any supported Jetson board
*********************** Done *****************************
[cont-init.d] 55-check-if-jetson: exited 0.
[cont-init.d] 60-ffmpeg-path: executing...
****************** Getting FFmpeg path *******************
FFmpeg path: /home/abc/bin/ffmpeg
*********************** Done *****************************
[cont-init.d] 60-ffmpeg-path: exited 0.
[cont-init.d] 70-gstreamer-path: executing...
***************** Getting GStreamer path *****************
GStreamer path: /usr/bin/gst-launch-1.0
*********************** Done *****************************
[cont-init.d] 70-gstreamer-path: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[2023-09-20 18:12:00] [INFO ] [viseron.core] - -------------------------------------------
[2023-09-20 18:12:00] [INFO ] [viseron.core] - Initializing Viseron
[2023-09-20 18:12:00] [INFO ] [viseron.components] - Setting up component data_stream
[2023-09-20 18:12:00] [INFO ] [viseron.components] - Setup of component data_stream took 0.0 seconds
[2023-09-20 18:12:00] [INFO ] [viseron.components] - Setting up component webserver
[2023-09-20 18:12:00] [INFO ] [viseron.components] - Setup of component webserver took 0.0 seconds
[2023-09-20 18:12:00] [INFO ] [viseron.components] - Setting up component ffmpeg
[2023-09-20 18:12:00] [INFO ] [viseron.components] - Setting up component codeprojectai
[2023-09-20 18:12:00] [INFO ] [viseron.components] - Setting up component nvr
[2023-09-20 18:12:01] [INFO ] [viseron.components] - Setting up component mog2
[2023-09-20 18:12:01] [INFO ] [viseron.components] - Setup of component nvr took 0.0 seconds
[2023-09-20 18:12:01] [INFO ] [viseron.components] - Setup of component ffmpeg took 0.0 seconds
[2023-09-20 18:12:01] [INFO ] [viseron.components] - Setup of component mog2 took 0.0 seconds
[viseron-finish] Viseron exit code 256
[viseron-finish] Viseron received signal 4
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.
from viseron.
Hmm strange, how much RAM does it have?
Codeproject AI component is using the REST API so i am not sure how that could fail like this
from viseron.
Did you perhaps set a memory limit on the Docker container?
from viseron.
Try to use dmesg
command after viseron exited.
I have similliar problem, and in dmesg output:
traps: python3[13462] trap invalid opcode ... in _dlib_pybind11.cpython-38-x86_64-linux-gnu.so[...]
I rebuid dlib as workarond.
from viseron.
Try to use
dmesg
command after viseron exited.I have similliar problem, and in dmesg output:
traps: python3[13462] trap invalid opcode ... in _dlib_pybind11.cpython-38-x86_64-linux-gnu.so[...]
I rebuid dlib as workarond.
how did you rebuild dlib?
from viseron.
how did you rebuild dlib?
I'm using a Dockerfile like this:
FROM roflcoopter/amd64-cuda-viseron:dev
RUN apt-get -y update && apt-get install -y build-essential cmake python3-dev
RUN pip install --force-reinstall dlib
And in my docker-compose.yml:
services:
viseron:
# image: roflcoopter/amd64-cuda-viseron:dev # < this line commented
build: . # < this line added to use Dockerfile insted image.
from viseron.
Looks very similar to the issue I had before. Not sure if something is missing from those Intel N series CPU.
from viseron.
Related Issues (20)
- Mask is completely being ignored... HOT 2
- Add camera for image feed HOT 7
- No recordings found m3u8 file not being saved/generated. HOT 10
- Issue when creating video file for motion detection HOT 3
- gstreamer // ffmpeg HOT 28
- object_detector failure with darknet HOT 4
- adding nvidia deepstream support HOT 1
- [3.0.0b3] Segments get moved through Tiers before being deleted HOT 1
- How to ignore audio on event recording HOT 1
- Dual Edge TPU support? HOT 2
- Error validating config for domain camera and component gstreamer HOT 3
- Waiting for PostgreSQL Server to start... HOT 4
- FFprobeTimeout on very simple configurations, but container internal `ffmpeg` command works. HOT 2
- OSError: [Errno 8] Exec format error: 'MP4Box' HOT 1
- Feature request Telegram support
- Password clearly displayed in log HOT 1
- Failed connection to rstp. HOT 7
- Python3 high cpu usage and error HOT 2
- Viseron on jetson, Darknet not recognizing cuda (v3.0.0b6)
- Viseron running on Jetson Orin Nano - Jetpack6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from viseron.