Commit Graph

2650 Commits

Author SHA1 Message Date
George Hotz
55df5b0ddf More governance work, fix thneed (#2610)
* more governance work

* fix thneed on qcom2

* waste doesn't OOM

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: a14ce090184af790d7e677b1f0a1107c7ade8a34
2020-11-23 17:52:28 -08:00
George Hotz
7ce6b3e65e Prerotate dmonitoringmodeld input (#2606)
* not tested, but something like this

* more like this

* dl and ur may still be flipped

* they were flipped

* Revert "they were flipped"

This reverts commit fbd477bb4407c9e051fad7d6a3f0825ca3d23c11.

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 327aa123f4265f782fac0e8b29927b8d098a7c39
2020-11-23 17:42:01 -08:00
Adeeb Shihadeh
679c162db1 move mdss irq to core 1
old-commit-hash: 238751e78487f40430cc7fd593ab03e89ebd4013
2020-11-23 14:44:55 -08:00
grekiki
f2d7e497f8 Make next and prev buttons (#2598)
* Make next and prev buttons

* cleanup

* reduce diff

* Revert previous commit

* change scaling
old-commit-hash: f6ed146e8f027e83a7a99e6e89e909cc680f730a
2020-11-23 22:56:56 +01:00
Adeeb Shihadeh
d2710f2fcf model lag warning (#2608)
old-commit-hash: 2d7a194f9fd5e5b26b55e3aa9e33efc95c97be6e
2020-11-23 13:42:18 -08:00
Erich Moraga
aa790c3395 Add missing EPS f/w for CAR.COROLLA_TSS2 (#2609)
blinkums#7171 2021 Corolla LE (ICE) DongleID/route 8cf22cabbda6230e|2020-11-23--15-26-57	
https://discord.com/channels/469524606043160576/524327905937850394/780537654348873790
old-commit-hash: ec55dcc2455a4d6c71a1778723ab1b214ae1f62f
2020-11-23 13:39:41 -08:00
Willem Melching
215918c7d4 put hash in version (#2607)
old-commit-hash: 6c49c6a9f17cc2ee11607417bb3c17b8b9cdea3c
2020-11-23 21:32:16 +01:00
Adeeb Shihadeh
c9fbb134e0 remove g80 from non tested cars list
old-commit-hash: 33faf6b447691d55229e5a8de33af3e6ef81780e
2020-11-22 17:01:35 -08:00
Comma Device
262db4245e show os version in qt settings
old-commit-hash: eadead80d82c325946905caa0eb87446a6f0ce9a
2020-11-22 23:57:33 +00:00
ZwX1616
165be65c7c fix loggerd unittest
old-commit-hash: 8d986c82d801ccdd78641a584ed54c638cb136e3
2020-11-22 15:40:51 -08:00
Adeeb Shihadeh
e7284172ac Qt setup improvements (#2591)
old-commit-hash: 770ec8ad20155f1083ec97da425b2bb682922e81
2020-11-22 15:37:13 -08:00
Adeeb Shihadeh
00b759eaf0 genesis g80 test route
old-commit-hash: 9a4d4adf4a9cf49355c8517a1723823704f61523
2020-11-22 15:33:58 -08:00
Tyler O'Neill
d973bc1ef4 Add Genesis G80 to special panda safety mode (#2602)
Co-authored-by: Tyler O'Neill <tjoneill1995@gmail.com>
old-commit-hash: 9c93612a55decc5d66337c51d52ce37c7643f171
2020-11-22 15:32:47 -08:00
grekiki
7d0eb0f3e7 new wifi strength icon (#2601)
* make wifi usable in apartments with lots of access points

* remove unused thing I added a few days ago...

* use a different image

* simpl. and correct scaling
old-commit-hash: b147d91afc185fc2a3d86be06cc3697524e04c0a
2020-11-22 22:46:04 +01:00
Adeeb Shihadeh
27aaaa82e6 Revert "don't need this anymore", need to fix cereal first
This reverts commit 4f090d1ddfe39885a8b76b7e6fbd15483a7572d5.

old-commit-hash: 0d62f05b79d627e5c0ec6d7bc34b0faa4d0a1247
2020-11-22 00:36:40 -08:00
Adeeb Shihadeh
1e2f1451f5 don't need this anymore
old-commit-hash: c1a62c6be9f992e985d2803994fbb67f1cc89e72
2020-11-22 00:21:20 -08:00
grekiki
4603a9b9d3 Fix Wifi UI not working on PC (#2597)
old-commit-hash: 3a7fcc62fb5bdadab0122625114d5b5e99a3e47e
2020-11-22 00:10:00 +01:00
Adeeb Shihadeh
4be6d905dc update frame drop filter (#2592)
old-commit-hash: d92f923d70712e541de59bf76f23a494dd0c46b4
2020-11-21 14:50:53 -08:00
Adeeb Shihadeh
470966fdf5 no spinner if not main
old-commit-hash: cb9bf8df23aa537e40ae3b85d5a34c16bfda2dce
2020-11-21 00:33:01 -08:00
Adeeb Shihadeh
bf9a64ecad Qt wifi cleanup (#2594)
* cleanup wifi

* spacing

* cleanup

* little more

* wifi manager

* typo
old-commit-hash: 45eccc842a65944d6fb2267b93cf03dc36694e27
2020-11-20 22:24:07 -08:00
Adeeb Shihadeh
a2ee407c2b fix small terms (#2593)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 9725128331cbb35b784c0e2828f1a228201329b6
2020-11-20 22:03:01 -08:00
George Hotz
6b32f79ae6 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>
old-commit-hash: 917eff8c30895e85943ec0a8c735e91088dbda85
2020-11-20 19:25:12 -08:00
Comma Device
fc8b7c6c6c do the average correctly in waste
old-commit-hash: 98f891a259db0fbf12a5df86917d30e62e5f8219
2020-11-20 23:05:03 +00:00
Comma Device
5aa898ef30 waste prints memory bandwidth
old-commit-hash: d341fe0240f3acae2904a922a092790c767dd78b
2020-11-20 22:54:05 +00:00
Adeeb Shihadeh
66aba30092 should be seconds
old-commit-hash: 85c9a71bc9fc26c89b5dd3f684fc65c2a44bbe72
2020-11-20 14:32:22 -08:00
Adeeb Shihadeh
a4f809eca7 fix lexus is fw fingerprinting
old-commit-hash: 27fefb9f608fa43bf6278be2b2bef1c34f1289be
2020-11-20 14:29:54 -08:00
Comma Device
cdb2650b18 waste can become memory bound
old-commit-hash: 7bfaf4cc4e64e7e24119ac6c2ef457c173f967be
2020-11-20 22:26:32 +00:00
Adeeb Shihadeh
1a99d77746 log DM model execution time (#2589)
old-commit-hash: 580589b2507bf344cd692a47b52edf85fa7bd784
2020-11-20 13:38:31 -08:00
grekiki
5d6c00b64e Improve on-screen keyboard (#2587)
old-commit-hash: 119cb1e0ff8b3ad74fd6a11c456d4291dd2dccc3
2020-11-20 13:29:22 -08:00
Comma Device
51711af7ff fix some lack of cache awareness in yuvframe2tensor
old-commit-hash: 826c21b045b09d6e28b313b3c57cd62800febb16
2020-11-20 18:03:06 +00:00
Comma Device
8de3c8cf75 simpler repro for dmon lag issue
old-commit-hash: 06f6f245ffbfed49d6bf691d821c044a4371024d
2020-11-20 17:30:31 +00:00
George Hotz
599ee894cd other includes to build repro on pc
old-commit-hash: 6fc7c0c0052ae10614c70768dcfe67a5be89d3cf
2020-11-20 09:09:43 -08:00
Comma Device
04e6e04bb4 simpler repro, no vector required
old-commit-hash: b9a8e7b209b92d18b795f3c4e12252f7b7212eea
2020-11-20 17:03:49 +00:00
Comma Device
6d764d4ade repros better with cache clears
old-commit-hash: 97b716512a75e2f73b8f3623fd909952ee7059bf
2020-11-20 16:50:25 +00:00
Comma Device
67d4a60288 reproduce dmon lag
old-commit-hash: 52673f0532ce13ac29ef1f90cbcfe20b9c8bd762
2020-11-20 16:39:12 +00:00
grekiki
1795bb236d Qt keyboard (#2381)
* add keyboard

* put widget in settings

* port a keyboard

* forgot git add

* reduce diff

* submodules

* fix macOS and reduce diff

* cleanup

* little more cleanup

* test input

* not working yet

* compiles now

* add stuff

* add keyboard on panel 3

* works now

* small layout improvements

* cleanup

* styling

* cleanup

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 7478b21e2e0ba8ea1764ae6194c82505667a00b9
2020-11-20 16:29:29 +01:00
Willem Melching
d7ab2ec365 Qt ui: turn off screen after inactivity (#2583)
* qt ui: turn off screen after inactivity

* handle touch events globally

* whitespace
old-commit-hash: 7f3bf2093f8a1766743a37782bb5c0105e70e2f9
2020-11-20 13:21:18 +01:00
Willem Melching
2d2ff5733b use HARDWARE.reboot() when unkillable process doesnt stop
old-commit-hash: 3289de0aa389615dfbb73de1c921ae665088eee6
2020-11-20 13:18:33 +01:00
Willem Melching
67249ef8aa Stricter check on date for RTC time sync (#2582)
* More strict check on time

* Also update thermald
old-commit-hash: ff65dc1401681ca71f6449c5e059eb7a2fb2256c
2020-11-20 11:47:39 +01:00
HaraldSchafer
7c8ea30532 fix frame drop percentage (#2578)
* correct, I think

* add model execution time

* remove unused

* token is a file

* this is gonna change

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 7378bc42845a094bbb22fb76154cb40ecb098aaf
2020-11-19 21:05:29 -08:00
Adeeb Shihadeh
597759d16c model replay improvements (#2580)
old-commit-hash: 67382242824d7dafcd5e450f6279673cc28f0513
2020-11-19 16:47:14 -08:00
ZwX1616
deab0f86aa tici front/wide encodeIdx msgs (#2564)
* different msgs

* also add timestamps

* keep impatient log, remove the other

* meaningless
old-commit-hash: f244b7c7e156cd109be13a68ba1096dc2d25f3d0
2020-11-19 16:12:02 -08:00
Harald Schafer
a20839abff bump cereal
old-commit-hash: c68e8ec3fcc362d79e60b91e5c3a77aa2d668e41
2020-11-19 15:17:12 -08:00
HaraldSchafer
c4d50c0bf0 preinit locationd filter (#2569)
* preinit

* update ref commit
old-commit-hash: 9f5dfb74f97cc8cdd1e0d25055ebc98ca9f5ee79
2020-11-19 15:14:35 -08:00
doktorsleepelss
444080d1b6 Upgrade pip in ubuntu setup (#2573)
old-commit-hash: e1bda99acbf7f471ec94d76fb6b12f9d488e99bf
2020-11-19 14:54:26 -08:00
Willem Melching
ba77d62542 Qt ui: only stop repeat sounds (#2577)
old-commit-hash: 1e48b2458e2799bcfeded9e42996da605b66561f
2020-11-19 21:04:14 +01:00
Willem Melching
d6531eee62 Tombstoned check crashlog permissions (#2576)
* check permission on apport crashes

* check permission bits
old-commit-hash: 7d9fa1f85edfb62054f9afa3049affdba6518ceb
2020-11-19 17:08:46 +01:00
Willem Melching
aadc6815eb QT UI: Wifi chooser (#2062)
* qt wifi

Squashed commit of the following:

commit bec029c7b906c1df5324a8dbb0a58b8980c313ab
Author: grekiki <gregor1234567890@gmail.com>
Date:   Mon Nov 2 19:31:30 2020 +0100

    try to collect security type

commit e1e4d97f48a293392d33fe607936bbe94415c846
Author: grekiki <gregor1234567890@gmail.com>
Date:   Mon Nov 2 16:06:55 2020 +0100

    add a function for refresh

commit 52bd7d0937040bd1d5c582f324fdb60f33677014
Author: grekiki <gregor1234567890@gmail.com>
Date:   Fri Oct 30 11:14:23 2020 +0100

    allow compilation

commit 1b91e1057cca564d6b021a579d97940a8f2b9328
Author: Gregor Kikelj <gregor1234567890@gmail.com>
Date:   Wed Oct 21 14:12:05 2020 +0200

    dont build keyboard

commit cc8bad2ddd668d1397a9003a518699c3f706cca8
Author: Gregor Kikelj <gregor1234567890@gmail.com>
Date:   Tue Oct 20 18:22:07 2020 +0200

    kind of works

commit ce3a9b6d96a1985ba5b9a2f17c15530cb8f93ca8
Author: Willem Melching <willem.melching@gmail.com>
Date:   Mon Oct 19 11:22:55 2020 +0200

    remove button and text field

commit 2db3d11bdb8e69098c34c04a1341ea707ce1ed6a
Author: Willem Melching <willem.melching@gmail.com>
Date:   Mon Aug 24 15:31:26 2020 +0200

    try lineedit

commit d045c302dcec612c8d2ff14ba256af06c7df9ebb
Author: Willem Melching <willem.melching@gmail.com>
Date:   Mon Aug 24 15:01:18 2020 +0200

    add dialog test button

commit 21fa63e33b12b0bcdad441e778b2cf6c42b113e4
Author: Willem Melching <willem.melching@gmail.com>
Date:   Mon Aug 24 12:36:10 2020 +0200

    Only show one if both 2.4 and 5 Ghz found

commit dfb9ca4173adc05264663a3658298899eea2c619
Author: Willem Melching <willem.melching@gmail.com>
Date:   Mon Aug 24 12:24:16 2020 +0200

    Sort networks by strength

commit e57fe68f7972f955fc4da7054af676df8581b003
Author: Willem Melching <willem.melching@gmail.com>
Date:   Sun Aug 23 13:59:39 2020 +0200

    Handle currently connected AP

commit a5e80e122176f39a9bccfb8056b0886d210fdf24
Author: Willem Melching <willem.melching@gmail.com>
Date:   Sun Aug 23 13:38:18 2020 +0200

    Add todo

commit 98a1bc6e7a1f38b0ff7cb810b7d63a133552dfcc
Author: Willem Melching <willem.melching@gmail.com>
Date:   Sun Aug 23 13:37:35 2020 +0200

    Implement scan method

commit 9a774a509b1665371d9fd51b40550ad2388d58bc
Author: Willem Melching <willem.melching@gmail.com>
Date:   Sun Aug 23 13:29:03 2020 +0200

    show list of wifi networks

* add to settings

* no wifi on pc

* refactor get_property

* refactor WiFi, split between UI and network manager stuff

* renaming

* refresh works

* refactor

* forgot to git add

* connecting works again

* print connection error on weird networks

* extract adapter path

* found networks

* Deleting existing connections to SSID we are trying to connect to

* have paths of active connections

* mvp

* fix review

* qt wifi

Squashed commit of the following:

commit bec029c7b906c1df5324a8dbb0a58b8980c313ab
Author: grekiki <gregor1234567890@gmail.com>
Date:   Mon Nov 2 19:31:30 2020 +0100

    try to collect security type

commit e1e4d97f48a293392d33fe607936bbe94415c846
Author: grekiki <gregor1234567890@gmail.com>
Date:   Mon Nov 2 16:06:55 2020 +0100

    add a function for refresh

commit 52bd7d0937040bd1d5c582f324fdb60f33677014
Author: grekiki <gregor1234567890@gmail.com>
Date:   Fri Oct 30 11:14:23 2020 +0100

    allow compilation

commit 1b91e1057cca564d6b021a579d97940a8f2b9328
Author: Gregor Kikelj <gregor1234567890@gmail.com>
Date:   Wed Oct 21 14:12:05 2020 +0200

    dont build keyboard

commit cc8bad2ddd668d1397a9003a518699c3f706cca8
Author: Gregor Kikelj <gregor1234567890@gmail.com>
Date:   Tue Oct 20 18:22:07 2020 +0200

    kind of works

commit ce3a9b6d96a1985ba5b9a2f17c15530cb8f93ca8
Author: Willem Melching <willem.melching@gmail.com>
Date:   Mon Oct 19 11:22:55 2020 +0200

    remove button and text field

commit 2db3d11bdb8e69098c34c04a1341ea707ce1ed6a
Author: Willem Melching <willem.melching@gmail.com>
Date:   Mon Aug 24 15:31:26 2020 +0200

    try lineedit

commit d045c302dcec612c8d2ff14ba256af06c7df9ebb
Author: Willem Melching <willem.melching@gmail.com>
Date:   Mon Aug 24 15:01:18 2020 +0200

    add dialog test button

commit 21fa63e33b12b0bcdad441e778b2cf6c42b113e4
Author: Willem Melching <willem.melching@gmail.com>
Date:   Mon Aug 24 12:36:10 2020 +0200

    Only show one if both 2.4 and 5 Ghz found

commit dfb9ca4173adc05264663a3658298899eea2c619
Author: Willem Melching <willem.melching@gmail.com>
Date:   Mon Aug 24 12:24:16 2020 +0200

    Sort networks by strength

commit e57fe68f7972f955fc4da7054af676df8581b003
Author: Willem Melching <willem.melching@gmail.com>
Date:   Sun Aug 23 13:59:39 2020 +0200

    Handle currently connected AP

commit a5e80e122176f39a9bccfb8056b0886d210fdf24
Author: Willem Melching <willem.melching@gmail.com>
Date:   Sun Aug 23 13:38:18 2020 +0200

    Add todo

commit 98a1bc6e7a1f38b0ff7cb810b7d63a133552dfcc
Author: Willem Melching <willem.melching@gmail.com>
Date:   Sun Aug 23 13:37:35 2020 +0200

    Implement scan method

commit 9a774a509b1665371d9fd51b40550ad2388d58bc
Author: Willem Melching <willem.melching@gmail.com>
Date:   Sun Aug 23 13:29:03 2020 +0200

    show list of wifi networks

* add to settings

* no wifi on pc

* refactor get_property

* refactor WiFi, split between UI and network manager stuff

* renaming

* refresh works

* refactor

* forgot to git add

* connecting works again

* print connection error on weird networks

* extract adapter path

* found networks

* Deleting existing connections to SSID we are trying to connect to

* have paths of active connections

* mvp

* fix review

* fix bugs

* fix text color

* colors

* wider button

* show connected network first

* fix sorting

* remove hack

* sorting

* auto refresh

* only refresh when widget is visible

* scan once on startup

* dont open dialog on qcom2

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: grekiki <gregor1234567890@gmail.com>
old-commit-hash: f93bca98ae8470ff61c98a11fdcaba8d549a964f
2020-11-19 16:51:48 +01:00
Willem Melching
73cda87984 replay assume segment number
old-commit-hash: 5ebc0dd85b49e33b261a533352c2c1dc2fb11951
2020-11-19 12:56:26 +01:00
Comma Device
64b450b43d underflew
old-commit-hash: b9b6ed2d5258b9ac442005b8caa7904c5873ca88
2020-11-19 04:03:16 +00:00