KMS capture throws EGL_BAD_MATCH 00003009 and continuously loops creating encoders

Abierto
#6,000 2 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
42/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
cpp, linux

Línea de trabajo

Start by comparing the provided cannot_stream.log and can_stream.log files in the linked Gist, focusing on the KMS capture errors and repeated encoder creation. Reproduce the failure on a Wayland session with the reported AMD GPU and Mesa setup, then trace the failing capture path. Done means streaming starts normally without the EGL_BAD_MATCH loop.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Is there an existing issue for this?
  • I have searched the existing issues
Is your issue described in the documentation?
  • I have read the documentation
Is your issue present in the latest beta/pre-release?

This issue is present in the latest pre-release

Describe the Bug

Here are the reproduction steps.
Step 1: Run sudo mkinitcpio -P in the terminal to regenerate the initramfs.
Step 2: Reboot the computer and log into a Wayland session.
Step 3: Start the Sunshine application.
Step 4: Connect using a Moonlight client.
Step 5: The connection times out and disconnects; Moonlight does not receive any video stream.
Note: If I skip Step 1 and just reboot the computer directly, this disconnect issue still occurs with a probability of about 1 in 20.
For the specific error logs and the infinite loop behavior, please refer to the online logs provided below.

Expected Behavior

Sunshine should stream video normally.

Additional Context

The provided Gist contains two files.
cannot_stream.log is the Sunshine log captured when streaming fails.
can_stream.log is the kernel log captured when streaming works normally.

Host Operating System

Linux

Operating System Version

CachyOS (Arch-based), kernel 7.3.0-4-cachyos

Architecture

amd64/x86_64

Package

other (not listed)

GPU Type

AMD

GPU Model

Radeon RX 590 GME (Polaris 10)

GPU Driver/Mesa Version

Mesa 26.2.5-arch3.1, LLVM 23.1.4-2

Capture Method

KMS (Linux)

Apps

Log output

Online logs

https://gist.github.com/aningQwQ/808e441eb7b7d743c465d0c211e48208

Lenguaje dominante
C++
Estrellas
43k
Forks
2.4k
Merge medio
1 d 15 h
PR fusionados (30 d)
105

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de LizardByte/Sunshine

Todos los issues de LizardByte/Sunshine

Issues similares

Más issues de C++

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.