Commit Graph

1460 Commits

Author SHA1 Message Date
Nick Mowen
baeb3ddc75 Formatting 2022-11-28 14:17:04 -07:00
Nick Mowen
86074e69d2 Add intel_gpu_top for testing 2022-11-28 14:17:04 -07:00
Nick Mowen
61cac3c2f9 Formatting 2022-11-28 14:17:04 -07:00
Nick Mowen
eb25935dd2 Add nvidia gpu stats test 2022-11-28 14:17:04 -07:00
Nick Mowen
9b5516caa5 Add tests and fix AMD formatting 2022-11-28 14:17:04 -07:00
Nick Mowen
b0a282236f Remove name from gpu map 2022-11-28 14:17:04 -07:00
Nick Mowen
fa698514ab Fix percent formatting 2022-11-28 14:17:04 -07:00
Nick Mowen
f1a8a7981d Strip for float conversion 2022-11-28 14:17:04 -07:00
Nick Mowen
c7d461ccc1 Strip for float conversion 2022-11-28 14:17:04 -07:00
Nick Mowen
250440ca5e Fix mypy 2022-11-28 14:17:04 -07:00
Nick Mowen
447df28746 Formatting 2022-11-28 14:17:04 -07:00
Nick Mowen
beb8229e4d Block out RPi as util is not currently available 2022-11-28 14:17:04 -07:00
Nick Mowen
2e1958a20b Start to add support for intel GPU stats 2022-11-28 14:17:04 -07:00
Nick Mowen
987bc050ed Get correct nvidia % 2022-11-28 14:17:04 -07:00
Nick Mowen
1d7265f453 Format AMD with space between percent 2022-11-28 14:17:04 -07:00
Nick Mowen
1b35af4c0d Add chart for gpu stats 2022-11-28 14:17:04 -07:00
Nick Mowen
cc150147d1 Use nvidia stats 2022-11-28 14:17:04 -07:00
Nick Mowen
4ffdfe66ba Add nvidia gpu stats 2022-11-28 14:17:04 -07:00
Nick Mowen
c97975eb19 Fix vram 2022-11-28 14:17:04 -07:00
Nick Mowen
615135d624 Use only the values 2022-11-28 14:17:04 -07:00
Nick Mowen
41ac558642 pass config 2022-11-28 14:17:04 -07:00
Nick Mowen
17c2522ee1 Fix missed arg 2022-11-28 14:17:04 -07:00
Nick Mowen
38317b9ed4 Add real amd GPU stats 2022-11-28 14:17:04 -07:00
Nick Mowen
497ebf63f2 Add util to get radeontop results 2022-11-28 14:17:04 -07:00
Nick Mowen
3180dfd617 Catch RPi args as well 2022-11-28 14:17:04 -07:00
Nick Mowen
96b970430f Setup general tracking for GPU stats 2022-11-28 14:17:04 -07:00
Nick Mowen
fa765da19d Add driver env var name 2022-11-28 14:17:04 -07:00
Nick Mowen
1dd80f422d Add driver names to consts 2022-11-28 14:17:02 -07:00
Nick Mowen
2bf706cf4b Make ffprobe button show dialog with output and option to copy 2022-11-28 14:16:43 -07:00
Nick Mowen
1337c78ef8 Return full output of ffprobe process 2022-11-28 14:16:43 -07:00
Nick Mowen
f294ec1ca1 Return full output of ffprobe process 2022-11-28 14:16:43 -07:00
Nick Mowen
ff45b6dbe1 Fix bad if statement 2022-11-28 14:16:43 -07:00
Nick Mowen
97a56b8aeb Copy ffprobe in output 2022-11-28 14:16:43 -07:00
Nick Mowen
18b0840e6b Get ffprobe for multiple inputs 2022-11-28 14:16:43 -07:00
Nick Mowen
aadc8a8d3d Add ffprobe endpoint 2022-11-28 14:16:43 -07:00
Nicolas Mowen
68248cc274
Clean http password, clean path in debug config as well (#4519)
* Clean ffmpeg paths

* Clean http passwords too

* Make check optional
2022-11-26 19:18:33 -06:00
Blake Blackshear
047c2408d2
fix support for yuv models (#4523) 2022-11-26 19:15:47 -06:00
Nicolas Mowen
91982c4f7e
Remove topic prefix (#4515) 2022-11-25 20:10:09 -06:00
Nicolas Mowen
4e5512e35d
Fix stats prefix (#4505) 2022-11-24 20:12:43 -06:00
Blake Blackshear
1f4ce6ff1e
fix image build (#4503) 2022-11-24 11:42:25 -06:00
Blake Blackshear
c497e83a54
Update python dependencies (#4500)
* low risk updatea

* revert scipy

* update flask
2022-11-24 10:47:45 -06:00
Blake Blackshear
93f94a7afb
update web deps (#4498) 2022-11-24 08:20:27 -06:00
Nicolas Mowen
6c0978498d
Abstract MQTT from communication and make mqtt optional (#4462)
* Add option for mqtt config

* Setup communication layer

* Have a dispatcher which is responsible for handling and sending messages

* Move mqtt to communication

* Separate ws communications module

* Make ws client conform to communicator

* Cleanup imports

* Migrate to new dispatcher

* Clean up

* Need to set topic prefix

* Remove references to mqtt in dispatcher

* Don't start mqtt until dispatcher is subscribed

* Cleanup

* Shorten package

* Formatting

* Remove unused

* Cleanup

* Rename mqtt to ws on web

* Fix ws mypy

* Fix mypy

* Reformat

* Cleanup if/else chain

* Catch bad set commands
2022-11-23 20:03:20 -06:00
Blake Blackshear
370276a7b6
Faster image builds with caching (#4491)
* fix makefile variable

* add branch for testing

* fix arm32 build

* use amd64 for web build

* install wheels in a separate layer for better parallel builds

* try build-push-action

* try using gh context

* use short sha

* cleanup
2022-11-23 20:00:45 -06:00
Felipe Santos
f4187d6b83
Reduce amount layers of the docker image (#4448)
* Reduce amount layers of the docker image

* Fix models file name
2022-11-21 19:31:39 -06:00
Felipe Santos
c4d442450b
Remove ffplay from docker image (#4449) 2022-11-20 20:46:31 -06:00
Blake Blackshear
82432a78b7
rename debug to system (#4447) 2022-11-20 08:56:48 -06:00
Nicolas Mowen
ebdf36e0b9
Refactor mqtt to handle reconnects and not cause frigate to stop. (#4440)
* Refactor mqtt client

* Protect callback method

* Use async to handle reconnects

* Set types and clenup

* Don't set connected until rc code is checked
2022-11-20 07:36:01 -06:00
Felipe Santos
65825040a3
Improve the devcontainer experience (#3492)
* Make it easier to run the devcontainer

* Some more improvements

* Tidy up few other things

* Better name stages

* Fix CI

* Setup everything with one click

* Allow to set IMAGE_OWNER

* Change IMAGE_OWNER to IMAGE_REPO

* Fix CI with IMAGE_REPO

* Fix nodejs installation

* Test devcontainer build as part of CI

* Build devcontainer in its own job

* Fix devcontainer cli installation

* Fix devcontainer build

* Fix devcontainer build in CI again

* Enable buildkit only

* Increase coverage of devcontainer test

* Fix devcontainer start in CI

* Ensure latest version of docker compose is used

* Fix install compose action

* Disable CI stuff which does not work until we fix them
2022-11-20 07:34:12 -06:00
Blake Blackshear
253061ee5f Merge remote-tracking branch 'origin/master' into dev 2022-11-19 07:29:39 -06:00