Adeeb Shihadeh
9f2088e2c3
make loggerd rotation test more reliable
4 years ago
Adeeb Shihadeh
810ed30cab
more tici tests in jenkins ( #19908 )
...
* run loggerd tests on tici
* boardd loopback
* fix up seg length
* this doesn't add more coverage
4 years ago
Adeeb Shihadeh
1ed77847fe
loggerd: remove vipc arg from encode frame
4 years ago
Adeeb Shihadeh
d4489fbf91
OMX encoder stability ( #19758 )
...
* cleanup test first
* wait for other encoder threads
* fixes initial crash
* no print
* unused
* fix up tests
* need that
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Dean Lee
a5be02c2c7
OmxEncoder: set s->of to nullptr after close ( #19814 )
4 years ago
Adeeb Shihadeh
2e64049ea4
fix loggerd after bootlog split ( #19840 )
...
* fix loggerd after bootlog split
* logger handles that
* unused
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Dean Lee
f973c56a36
loggerd: split bootlog to a separate program ( #19831 )
...
* bootlog
* blank lines
* move file_exists to util.h
* src = ['loggerd.cc']
* log_init_data
* Revert "src = ['loggerd.cc']"
This reverts commit 18a587023d
.
* add bootlog to .gitignore
* use s->has_qlog instead of true
* add blank lines & remove extern C
4 years ago
Willem Melching
f3db94a0c4
Linux tombstones: add stacktrace and upload ( #19737 )
...
* Add stacktrace to tombstones
* make sentry output prettier
* Refactor
* Generate upload filename
* Actually move file
* Fix spaces
* copy and upload
* dont delete just yet
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Dean Lee
d085adb9ec
loggerd: make sure to print one statistics every 1000 times ( #19803 )
4 years ago
Dean Lee
e04cecd169
OmxEncoder: use std::vector to keep buffer ( #19807 )
4 years ago
Dean Lee
caf87c25dd
loggerd: do not LOGW twice when logger.part == 0 ( #19795 )
...
* fix LOGW
* space
4 years ago
Dean Lee
0592c326ed
OmxEncoder: use macro to check error ( #19785 )
4 years ago
Willem Melching
10790304c9
RecordFront remove ifdef ( #19773 )
4 years ago
Adeeb Shihadeh
5221450f2d
loggerd: another rotation test ( #19742 )
...
* another rotation test
* make encoder test fast
* fix pc
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Adeeb Shihadeh
92e4f04873
Loggerd for PC ( #19730 )
4 years ago
Adeeb Shihadeh
a1c7f19fe4
Video Encoder abstraction ( #19729 )
4 years ago
Adeeb Shihadeh
87e8ef1fca
loggerd: fix double encoder open ( #19703 )
...
* fix double encoder open/close
* simplify rotation
* clean up
* cleanup
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Dean Lee
72bb55247c
replace std::this_thread::sleep_for with util::sleep_fo ( #19717 )
4 years ago
Dean Lee
595830135b
merge utilpp.h into util.h ( #19710 )
4 years ago
Adeeb Shihadeh
6b0890f128
loggerd: fix use after free and memory leaks ( #19695 )
...
* fix use after free and memory leaks
* cleanup
* fix typo
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Willem Melching
fb496c692a
VisionIPC 2.0 ( #19641 )
...
* Squashed vipc
* Update release files
* Remove else
* add visionipc to release files
* use poller in vipc receive
* opencl framework instead of lib on macos
* Fix camera webcam
* Fix opencl on mac in ui
* more webcam fixes
* typo in ui sconsfile
* Use cur_yuv_buf
* visionbuf c++ class
* Camera qcom was still using visionbuf_allocate
* Turn loggerd back on
* fix snapshot
* No build needed
* update test camerad
* no more release callback
* make encoder c++
* Revert "no more release callback"
This reverts commit e5707b07002fee665d0483d90713154efc2d70d4.
* fix exit handlers
* No need to check errno
* move release callback call
* s/VIPCBufExtra/VisionIpcBufExtra/g
* use non blocking connect
* ui use non blocking connect
* Lower condition variable wait time
* Snapshot cleanup
* bump cereal
* bump cereal
4 years ago
Adeeb Shihadeh
206d072bb4
loggerd cleanup ( #19668 )
4 years ago
Adeeb Shihadeh
af81190cfc
loggerd tests ( #19671 )
4 years ago
Adeeb Shihadeh
e3d2f0c88c
fix race condition with encoder thread
4 years ago
Dean Lee
86fe2d1697
common exit handler ( #19661 )
...
* common signal handle
* fix typo
* rename to ExitHandler
* remove include signal.h
* remove include csignal
* rename variable exit to v
* rebase master
4 years ago
Adeeb Shihadeh
54679cea58
tici loggerd fixes ( #19622 )
...
* fix encoder exit when encoder is uninitialized
* cleanup
* more cleanup
* more cleanup
* little more
* ptr
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Dean Lee
c1cf0882bd
Replace usleep with util::sleep_for ( #19643 )
...
* replace usleep with sleep_for
* sleep microseconds
* sleep nanoseconds
* Trigger Build
4 years ago
Dean Lee
041fbbf725
refactor qlog_counter ( #19626 )
4 years ago
Adeeb Shihadeh
59d7c5e64a
move to github container registry + CI speedup ( #19621 )
4 years ago
Adeeb Shihadeh
ffa7e0cbdb
manager tests + make all processes exit cleanly ( #19595 )
...
* manager tests
* logcatd exits cleanly
* sigint
* boardd
* multiple dbus connections hangs for some reason
* clocksd proclogd
* network type from thermal
* fix tests
* fix android logcatd
* fix mac
* fix mac proclogd
* move on device athena tests
* build first
* build first
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Adeeb Shihadeh
8674b023ba
HW abstraction layer ( #19530 )
...
* start hw refactor
* move that
* pins
* put that back
4 years ago
Adeeb Shihadeh
a2c6fdd14c
Revert "Handle python-dbus not installed"
...
This reverts commit 25054cdc05
.
4 years ago
ZwX1616
1c21fc100d
qcom2 init hevc tier correctly ( #19496 )
...
* qcom2 init tier correctly
* need to cast
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Willem Melching
25054cdc05
Handle python-dbus not installed
4 years ago
Comma Device
44bedaa73b
add LOGW
4 years ago
HoverB_SN_11
c6d68d5552
Revert "simplify"
...
cannot simplify.
4 years ago
ZwX1616
d25cc6f624
Fix random encoder lockups ( #2707 )
...
* gbk
* surrrely not
* finalize
* such nuance, such nuisance
* this is done automatically
* add back
* give back 0
* simplify
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Adeeb Shihadeh
56146d84ce
remove raw logger ( #2719 )
...
* remove raw logger
* no raw_clips
* only remove raw clips
* cleanup
4 years ago
Willem Melching
e7c182b0da
Set correct HW type in initData ( #2685 )
...
* set hw types
* dont use c++ filesystem
4 years ago
ZwX1616
8d986c82d8
fix loggerd unittest
5 years ago
George Hotz
917eff8c30
New settings for governors, +30% memory bandwidth ( #2590 )
...
* new settings for governors, +30% memory bandwidth
* CPU waste is better
* warm up frame_drop
* optional CORE arg for rtshield
* back off priorities of processes not critical to driving
* if it doesn't drive, it's not realtime
* err, resource. this should have been included
* reverse order to not spike
Co-authored-by: Comma Device <device@comma.ai>
5 years ago
ZwX1616
f244b7c7e1
tici front/wide encodeIdx msgs ( #2564 )
...
* different msgs
* also add timestamps
* keep impatient log, remove the other
* meaningless
5 years ago
ZwX1616
e113a12702
remove duplicate enc_idx logging ( #2562 )
5 years ago
ZwX1616
cf21720e1a
stop pc from spamming logs ( #2544 )
5 years ago
Adeeb Shihadeh
d5a8444d6c
only qcom
5 years ago
Adeeb Shihadeh
e88775a224
remove old loggerd priority
5 years ago
Adeeb Shihadeh
8f44e69583
give loggerd min rt priority
5 years ago
Adeeb Shihadeh
6b4957cba1
Log last 1000 lines of tmux output in bootlog ( #2149 )
...
* log last 1000 lines of tmux output in bootlog
* add to bootlog
* fix tmux capture
5 years ago
Willem Melching
339d1967cb
--std=c++17 ( #2330 )
...
* switch to c++17
* more 17
* 1z
* use std::clamp
* Fix types in clamp
* bump submodules
* bump laika
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
5 years ago
Comma Device
4e2f9d915f
fix encoder build
5 years ago