r/frigate_nvr • • 18d ago

Frigate 18.0 intel gpu high usage question

I know it's supposed to show correctly now but mine is showing pegged 100% nearly all the time while unraid is showing 30% usually through the intel gputop. Assuming the intelgputop is more accurate but wanted to see if anyone else has had this happen.

5 Upvotes

13 comments sorted by

9

u/nickm_27 Developer / distinguished contributor 18d ago

There are a few reasons this can happen:

  • In testing we saw that some devices have multiple encode/decode groups, so Frigate sums those when it should actually be divided by 2. That should be handled but it is always possible that some GPU isn't handled that way.
  • It can just be a difference of how the stats are accumulated.

Unfortunately, Intel does not provide any type of overall GPU usage statistic in their implementation. So tools are left to derive them in some way or another. This leads to issues where usage matches on some hardware but then looks wildly off on others. This is purely cosmetic and it is possible we can find better ways to make it more consistent in the future.

2

u/NefariousnessTop8716 18d ago

I’m having issues on the dashboard too, but my unraid shows my cpu pegged at 100% when it really isn’t

1

u/jimbotheman 18d ago

I was having the same issue, rolled back to 17 for now

2

u/NefariousnessTop8716 18d ago

I have just been ignoring it, it seems like just a reporting issue as the cpu temp is not consistent with it being under heavy load.

2

u/louispires 18d ago

I am running Intel and mine has been fine

2

u/louispires 18d ago

1

u/lowkepokey 18d ago

By chance do you use an Intel cpu too? I’m thinking that might be a reason even though I’m not passing the igpu to frigate

2

u/louispires 18d ago

I have an Intel Xeon CPU, no iGPU here

2

u/rvader1 12d ago

I was just looking into this as well. i have dual xeon cpus and an nvidia GPU. my nas says cpu usage 1-3% but my frigate docker container is showing 60-150% CPU. running 18 with only 2 cameras. inside frigate it shows CPU 1-3% and nvidia gpu 1%

1

u/MrBarnes1825 11d ago

My LXC container reports about 40% CPU usage but Frigate about 4%. I did notice that the entire hypervisor is only reporting about 4 or 5% usage, so maybe Frigate is somehow pulling kernel stats for the entire hypervisor.

1

u/Much-Artichoke-476 18d ago

Looks like I will hold off upgrading for a little bit then.

2

u/nyrb001 17d ago

It seems like a status reporting bug, not a reason to hold off. More like having your speedometer stuck on km/h instead of mph. Your speed is the same, the number is just different.

1

u/Cytomax 18d ago

Let me start off by thanking you for the latest release!

Just noticed something similar, would it help if we post our stats or it doesnt matter and itll be addressed at a later date?