Failed to switch active bucket" error on NZXT Kraken Elite 2024 LCD update
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 48/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- python
- Área
- cli, embedded-iot
Línea de trabajo
Start in kraken3.py at the _send_data function and reproduce the repeated LCD uploads from the reported script while collecting the --debug output. Trace the active-bucket switch and data-transfer setup around the reported errors. Done means repeated updates no longer produce these errors and the LCD does not briefly go black.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Describe the bug
I am using a custom script that generates a 640x640 image for the LCD display of my NZXT Kraken Elite 2024 (v2) and uploads it via liquidctl. The image is an infographic showing temperatures. Therefore it runs in a loop that refreshes the image every n seconds.
From time to time 2 errors occur:
-
failed to switch active bucket:
The initial monitoring of the octopus is displayed for a short time (liquid temperature) -
failed to setup bucket for data transfer:
The entire LCD display of the octopus goes black for a short time until it is replaced by the new image at the next period.
The errors are from the kraken3.py file, more precisely from the _send_data function.
Commands executed
This is the code i am executing:
def set_kraken_screen(image_path):
result = subprocess.run([
"/home/user/liquidctl-venv/bin/liquidctl",
"--match", "Kraken",
"set", "lcd", "screen",
"static", image_path
], capture_output=True, text=True)
print(result)
def main():
script_dir = os.path.dirname(os.path.abspath(__file__))
image_path = os.path.join(script_dir, "infograph_custom.png")
while True:
cpu_usage = psutil.cpu_percent(interval=1.0)
cpu_temp = get_cpu_temp()
gpu_temp, gpu_usage = get_nvidia_stats()
img = create_custom_layout(gpu_temp, cpu_temp, cpu_usage)
img.save(image_path)
try:
set_kraken_screen(image_path)
except Exception as e:
print(">> Kraken failed to update")
print(e)
time.sleep(5)
Output of all relevant commands with --debug flag
I started the script by executing this command:
sudo /home/user/liquidctl-venv/bin/python ~/monitoring/main.py
The logs looks like this:
[INFO] Starting data transfer on bucket index 3
...
[ERROR] Failed to switch active bucket
...
[ERROR] Failed to setup bucket for data transfer
### Affected device
NZXT Kraken Elite 2024
### Does your version of liquidctl support the device in question?
Yes, my version supports it
### Operating system and version
Ubuntu 24.04.2 LTS
### Installation method
Installation via GitHub Repository
### Version of liquidctl
liquidctl v1.15.0.dev16+ge1d0b60 (Linux-6.11.0-19-generic-x86_64-with-glibc2.39)
- Lenguaje dominante
- Python
- Estrellas
- 2.7k
- Forks
- 297
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de liquidctl/liquidctl
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100
-
find_liquidctl_devices() crashes with ValueError when a device without string descriptors is on the bus (e.g. NZXT bootloader 1e71:3011)Posiblemente ocupada @c-tonneslan la tomó hace 92 días. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
-
bug
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
-
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
-
Aquacomputer D5 Next / High Flow Next RGB protocol documented (reference for lighting support)Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
Todos los issues de liquidctl/liquidctl
Issues similares
-
request-theme
Dificultad 2/5 Menos de una hora Aptitud para principiantes 70/100
LizardByte/ThemerrDB#8877 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
area/install-update comp/gateway P0 sweeper:risk-compatibility type/bug
Dificultad 2/5 Menos de una hora Aptitud para principiantes 72/100
NousResearch/hermes-agent#135997 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
deepset-ai/haystack#13199 ·
Los mantenedores suelen responder en 1 día
-
[BUG] JSONLoader rejects valid UTF-8 BOM filesPosiblemente ocupada @zouyonghe la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
anthropics/knowledge-work-plugins#1298 ·
Los mantenedores suelen responder en 1 día