AMD iGPU bad scaling - lower detection rate #15792
Unanswered
ortofan
asked this question in
Hardware Acceleration Support
Replies: 2 comments 14 replies
-
The above config was for using substreams from the cameras, where is my go2rtc rescale option
|
Beta Was this translation helpful? Give feedback.
5 replies
-
Beta Was this translation helpful? Give feedback.
9 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.
-
Describe the problem you are having
I have two systems for redundency. Both systems are fed the same cameras. One of them is an intel 14500T the other is an AMD 8845HS. Both have Coral Tpu and other than the cpu (iGPU) they are essentially the same. h.264 and vaapi used for both.
With any sort of scaling enabled on the AMD the image gets a bit granier and straight lines get jagged etc...typical scaling problem.
My prefred way of using it all would be to have go2rtc scale the main channel form each camera (1920x1080 to 1280x720). This saves on network streams and also provide the same resolution for each camera (not all have substream with correct aspect ratio).
However with scaling enabled, detection rate on the AMD iGPU is about 10% lower than on the intel iGPU, clearly becase the image is less clear.
If I chose a substream from each camera for detect using birdseye, even though the resolution is set for the same as the substream (640x360), randomly some of the cameras get scaled up. I know this becasue the camera text will get smaller. When this scaling happens it is clear that the AMD iGPU scaling is super bad comapred to the intel system. (Sorry I guess I described 2 problems, 1 with AMD scaling and an other about Birdseye wanting to do extra work for no reason and also effected by scaling).
Version
14.1
Frigate config file
docker-compose file or Docker CLI command
Relevant Frigate log output
No log output for bad scaling :(
Relevant go2rtc log output
FFprobe output from your camera
Install method
Docker Compose
Object Detector
Coral
Network connection
Wired
Camera make and model
Sevarl newer and older Hikvision models.
Screenshots of the Frigate UI's System metrics pages
Any other information that may be helpful
Birdseye not scaled same as substreem resolution


Birdseye scaled up (and down???) text is unreadably.
Beta Was this translation helpful? Give feedback.
All reactions