-
-
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]: GPU memory hog + CPU usage too high #9365
Comments
the gpu usage is likely a bug with the gpu driver. also some of your cpu usage is likely that you are running multiple cameras at 1280x560 which is not a standard aspect ratio |
Thank you for the quick response - so is the gpu usage not something i should be concerned about it? I removed all the cameras with 1280x560, the cpu load is a bit less (25-30%) vs 40 but that's because half the cameras are now not being processed at all. What logs should i be looking at to help figure this out further. any ideas welcome. thanks |
what is the actual resolution of those camera streams? I wasn't suggesting that they be removed, just that the detect resolution is something reasonable |
That 1280x560 is one of two options available in the camera interference for substream #2. The main stream has significantly bigger resolutions but this is a 180dedgree camera, 4k-t180. |
I see, that is interesting, to be clear is it 128x560 or 1280x560 ? |
1280 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Describe the problem you are having
Hi, after a lot of trial and error, finally got hwaccel working on frigate. I have a an old server (Dual Xeon's from 2012 i believe), an old AMD GPU (also from 2012) and a PCIE TPU all accessible by the LXC (proxmox) that's running the frigate docker container.
Complete novice on this, i'll provide as much information as I can, see image, it shows very little CPU usage (but proxmox is showing me ~40% usage across 6 cores), its showing 10% GPU usage and a really really massive GPU memory %.
I have 6 cameras. Any help much appreciated.
VAINFO:
{"return_code":0,"stderr":"","stdout":"vainfo:VA-APIversion:1.17(libva2.10.0)nvainfo:Driverversion:MesaGalliumdriver22.3.6forPITCAIRN(,LLVM15.0.6,DRM2.50,5.15.30-2-pve)nvainfo:SupportedprofileandentrypointsnVAProfileMPEG2Simple:tVAEntrypointVLDnVAProfileMPEG2Main:tVAEntrypointVLDnVAProfileVC1Simple:tVAEntrypointVLDnVAProfileVC1Main:tVAEntrypointVLDnVAProfileVC1Advanced:tVAEntrypointVLDnVAProfileH264ConstrainedBaseline:tVAEntrypointVLDnVAProfileH264ConstrainedBaseline:tVAEntrypointEncSlicenVAProfileH264Main:tVAEntrypointVLDnVAProfileH264Main:tVAEntrypointEncSlicenVAProfileH264High:tVAEntrypointVLDnVAProfileH264High:tVAEntrypointEncSlicenVAProfileNone:tVAEntrypointVideoProc"}
Version
SYSTEM 0.12.1-367D724
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
Dahua
Any other information that may be helpful
No response
The text was updated successfully, but these errors were encountered: