-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[HW Accel Support]: libnvcuvid.so.1 missing #5166
Comments
Weird, still working as expected for me Did you try beta4? @NateMeyer is it possible the changes for tensorrt affected the non tensorrt container? |
This looks like a similar issue as #4819 and the referenced nvidia issue NVIDIA/nvidia-docker#1001 Do you have the nvidia-container-runtime and libnvcuvid.so installed on your host? Here is the compose file I'm testing the nvidia gpu decoding with and don't see the issue: version: "3"
services:
frigate:
image: ghcr.io/blakeblackshear/frigate:0.12.0-beta5
shm_size: "256m"
privileged: true
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities: [gpu]
volumes:
- /etc/localtime:/etc/localtime:ro
- ./config/config.yml:/config/config.yml:rw
- ./data:/media/frigate
ports:
- "5000:5000"
|
nvidia-container-runtime is installed, libnvcuvid1 wasn't. I've done some tests and indeed the library shows up in |
I was able to resolve the
I found the solution in this reddit post: https://www.reddit.com/r/jellyfin/comments/10cdxhw/comment/j4fgsbx |
That's probably a solution for Ubuntu, this package is not available on Debian, it's just called |
Oh I see, good to know.
Yep, I wanted to leave this here for other people when searching. |
I had to add the capability
|
I have same error. Also, apt-get install libnvidia-decode-525-server...this commands cannot find the package.. Any pointers I am running Frigate container in a QNAP NAS. |
You are bumping a 1.5 year old closed issue, with a semi related question. If your QNAP does have a GPU, turn to QNAP support. This was a Docker host issue, not an error in frigate. The nvidia Docker runtime should solve the GPU dependencies. |
Describe the problem you are having
When attempting to enable Nvidia acceleration, I get the error that libnvcuvid.so.1 cannot be loaded and no output is shown for my camera. As soon as I install the library inside the running container manually with
apt update && apt install libnvcuvid1
, the ffmpeg process is able to start and output is shown. Copying the library and putting it into/usr/lib/x86_64-linux-gnu/
after removing the package and its dependencies also keeps the container working after a restart so that should suffice.Version
0.12.0 beta 5
Frigate config file
docker-compose file or Docker CLI command
Relevant log output
FFprobe output from your camera
Operating system
Debian
Install method
Docker Compose
Network connection
Wired
Camera make and model
Foscam VD1
Any other information that may be helpful
No response
The text was updated successfully, but these errors were encountered: