Enabled Nvidia-based hardware acceleration but CPU usage does not seem to change #4145
Unanswered
cmsimike
asked this question in
Ask A Question
Replies: 2 comments 3 replies
-
|
If you see it from the host it's working. The process in the container is likely missing some permissions. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
@blakeblackshear Thanks! Any tips on what specific permissions to look at for? I've basically followed this https://docs.frigate.video/configuration/hardware_acceleration/ and installed the required deps (nvidia-cuda-toolkit, nvidia-driver). |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I've gone through https://docs.frigate.video/configuration/hardware_acceleration/ to setup hardware accelerated video decoding and I believe it's setup as correct as I know how. I confirmed I selected the correct decoder since I can see video in the UI but even changing to different decoders showed a green video stream. For reference here is my ffmpeg config:
I tried running
docker exec -it frigate nvidia-smibut the output seemed empty?but if I run
nvidia-smion the host machine directly, I am seeing ffmpegIt worries me I am not seeing the ffmpeg in the container but not sure if that's correct or not. It does diverge from the docs. But as mentioned above, I am seeing the ffmpeg processes on the host.
In any event, my CPU usage has not seemed to change at all. I (maybe incorrectly) would assume that cpu usage would go down or I'd basically see no cpu usage but I am seeing high cpu usage on the host machine from ffmpeg:
I'm just looking to confirm whether or not this is correct and if it isn't how can I go ahead and fix this.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions