Lixie-Labs / Emotiscope

Let your eyes enjoy the music too ✨ Extremely low-latency audio processing lets LEDs perfectly synchronize to your music's notation and tempo.
https://emotiscope.rocks/
GNU General Public License v3.0
31 stars 6 forks source link

WDT crashes before noise cal is finished. WTF: #23

Closed github-actions[bot] closed 7 months ago

github-actions[bot] commented 7 months ago

New problem in IDF 5.1.2, maybe from increasing the GPU thread priority to 99, lol

Starting noise cal...

E (9925070) task_wdt: Task watchdog got triggered. The following tasks/users did not reset the watchdog in time:

E (9925070) task_wdt: - IDLE0 (CPU 0)

E (9925070) task_wdt: Tasks currently running:

E (9925070) task_wdt: CPU 0: loop_gpu

E (9925070) task_wdt: CPU 1: IDLE1

E (9925070) task_wdt: Aborting.

https://github.com/connornishijima/Emotiscope/blob/d13da3ba912bca0b4aea9cb4f7978f1dfbc77c0a/src/goertzel.h#L295


    }, __func__ );
}

// TODO: WDT crashes before noise cal is finished. WTF:
// New problem in IDF 5.1.2, maybe from increasing the GPU thread priority to 99, lol
// 
// Starting noise cal...
// E (9925070) task_wdt: Task watchdog got triggered. The following tasks/users did not reset the watchdog in time:
// E (9925070) task_wdt:  - IDLE0 (CPU 0)
// E (9925070) task_wdt: Tasks currently running:
// E (9925070) task_wdt: CPU 0: loop_gpu
// E (9925070) task_wdt: CPU 1: IDLE1
// E (9925070) task_wdt: Aborting.
void start_noise_calibration() {
    Serial.println("Starting noise cal...");
    memset(noise_spectrum, 0, sizeof(float) * NUM_FREQS);
github-actions[bot] commented 7 months ago

Closed in 226c4a17a8f5c1c203c4c9b9f2d2be89edbccb63