[Linux/Vulkan] Segfault when loading vulkan encoder
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 45/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- cpp, linux
- Área
- audio-video-rtc, backend
Línea de trabajo
The crash occurs while Sunshine creates the AV1 Vulkan encoder after H.264 and HEVC initialization succeeds. Start by tracing the Vulkan encoder initialization path for AV1 and compare it with the preceding codec setup; the issue does not name source files or tests. Done means Sunshine starts without a segmentation fault on the reported Debian 13, AMD RX 5700 setup.
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
error404@debian:~/.config/sunshine$ sunshine
[2026-11-29 10:11:09.638924] [0x00007fd6e0a1c000] [info] [misc] has_elevated_privileges found permitted cap:21
[2026-11-29 10:11:09.638972] [0x00007fd6e0a1c000] [info] [misc] drop_elevated_privileges succeeded in dropping capabilities
[2026-11-29 10:11:09.639024] [0x00007fd6e0a1c000] [info] [misc] has_elevated_privileges found permitted cap:23
[2026-11-29 10:11:09.639034] [0x00007fd6e0a1c000] [info] [misc] drop_elevated_privileges succeeded in dropping capabilities
[2026-11-29 10:11:09.639081] [0x00007fd6e0a1c000] [info] config: 'vaapi_quality' = balanced
[2026-11-29 10:11:09.639087] [0x00007fd6e0a1c000] [info] config: 'upnp' = enabled
[2026-11-29 10:11:09.639094] [0x00007fd6e0a1c000] [info] config: 'output_name' = Virtual-sunshine-vm
[2026-11-29 10:11:09.639100] [0x00007fd6e0a1c000] [info] config: 'global_prep_cmd' = [{"do":"/home/error404/.config/sunshine/hooks/stream-start.sh","elevated":"false","undo":"/home/error404/.config/sunshine/hooks/stream-end.sh"}]
[2026-11-29 10:11:09.639105] [0x00007fd6e0a1c000] [info] config: 'encoder' = vulkan
[2026-11-29 10:11:09.639109] [0x00007fd6e0a1c000] [info] config: 'capture' = kwin
[2026-11-29 10:11:09.639]: Info: Sunshine version: 2026.1114.155648 commit: 02246e670f5641d732ac2d6c957677b3edeab08c
[2026-11-29 10:11:09.639]: Info: Package Publisher: LizardByte
[2026-11-29 10:11:09.639]: Info: Publisher Website: https://app.lizardbyte.dev
[2026-11-29 10:11:09.639]: Info: Get support: https://app.lizardbyte.dev/support
[2026-11-29 10:11:09.639]: Info: config: 'capture' = kwin
[2026-11-29 10:11:09.639]: Info: config: 'encoder' = vulkan
[2026-11-29 10:11:09.639]: Info: config: 'global_prep_cmd' = [{"do":"/home/error404/.config/sunshine/hooks/stream-start.sh","elevated":"false","undo":"/home/error404/.config/sunshine/hooks/stream-end.sh"}]
[2026-11-29 10:11:09.639]: Info: config: 'output_name' = Virtual-sunshine-vm
[2026-11-29 10:11:09.639]: Info: config: 'upnp' = enabled
[2026-11-29 10:11:09.639]: Info: config: 'vaapi_quality' = balanced
[2026-11-29 10:11:09.641]: Info: [kwingrab] Found matching system KWin desktop permission file: /usr/share/applications/dev.lizardbyte.app.Sunshine.kwin.desktop
[2026-11-29 10:11:09.645]: Info: [kwingrab] Found output: DP-3 order: 0 position: 0x0 resolution: 2560x1440
[2026-11-29 10:11:09.674]: Info: [libvirtualhid] initialized linux-uhid-uinput backend
[2026-11-29 10:11:09.675]: Info: [libvirtualhid] created mouse 2
[2026-11-29 10:11:09.675]: Info: Trying encoder [vulkan]
[2026-11-29 10:11:09.675]: Info: [misc] drop_elevated_privileges succeeded in dropping capabilities
[2026-11-29 10:11:09.675]: Info: Screencasting with KWin ScreenCast
[2026-11-29 10:11:09.679]: Info: [pipewire] Requested variable frame rate (Sunshine pacing required: 16.6667ms)
[2026-11-29 10:11:09.679]: Info: [wayland] Found display [wayland-0]
[2026-11-29 10:11:09.708]: Info: [kwingrab] Pipewire stream created: node=80
[2026-11-29 10:11:09.708]: Info: [kwingrab] Screencasting output name DP-3 position 0x0 resolution 2560x1440
[2026-11-29 10:11:09.708]: Info: [pipewire] Streaming display 'Virtual-sunshine-vm' offset: 0x0 resolution: 2560x1440
[2026-11-29 10:11:09.708]: Info: [wayland] Found display [wayland-0]
[2026-11-29 10:11:09.711]: Info: [wayland] Found interface: wl_shm(9) version 1
[2026-11-29 10:11:09.711]: Info: [wayland] Found interface: zxdg_output_manager_v1(31) version 3
[2026-11-29 10:11:09.711]: Info: [wayland] Found interface: zwp_linux_dmabuf_v1(52) version 4
[2026-11-29 10:11:09.711]: Info: [wayland] Found interface: wl_output(80) version 4
[2026-11-29 10:11:09.711]: Info: [wayland] Resolution: 2560x1440
[2026-11-29 10:11:09.711]: Info: [wayland] Offset: 0x0
[2026-11-29 10:11:09.711]: Info: [wayland] Logical size: 2226x1252
[2026-11-29 10:11:09.711]: Info: [wayland] Name: DP-3
[2026-11-29 10:11:09.711]: Info: [wayland] Found monitor: Shenzhen KTC Technology Group H24T7
[2026-11-29 10:11:09.711]: Info: [pipewire] Using frame_timestamp (pts) metadata source: Sunshine
[2026-11-29 10:11:09.714]: Info: [pipewire] PipeWire stream state: unconnected -> connecting
[2026-11-29 10:11:09.715]: Info: [pipewire] Connected to pipewire version 1.4.2
[2026-11-29 10:11:09.715]: Info: [pipewire] PipeWire stream state: connecting -> paused
[2026-11-29 10:11:09.719]: Info: [pipewire] Video format: 12
[2026-11-29 10:11:09.719]: Info: [pipewire] Size: 2560x1440
[2026-11-29 10:11:09.719]: Info: [pipewire] Color primaries: 0
[2026-11-29 10:11:09.719]: Info: [pipewire] Transfer function: 0
[2026-11-29 10:11:09.719]: Info: [pipewire] Compositor negotiated frame rate: 0/1, max: 180/1
[2026-11-29 10:11:09.720]: Info: [pipewire] using DMA-BUF buffers
[2026-11-29 10:11:09.720]: Info: [pipewire] Video format: 12
[2026-11-29 10:11:09.720]: Info: [pipewire] Size: 2560x1440
[2026-11-29 10:11:09.720]: Info: [pipewire] Color primaries: 0
[2026-11-29 10:11:09.720]: Info: [pipewire] Transfer function: 0
[2026-11-29 10:11:09.720]: Info: [pipewire] Compositor negotiated frame rate: 0/1, max: 180/1
[2026-11-29 10:11:09.720]: Info: [pipewire] using DMA-BUF buffers
[2026-11-29 10:11:09.721]: Info: [pipewire] PipeWire stream state: paused -> streaming
[2026-11-29 10:11:09.724]: Info: Creating encoder [h264_vulkan]
[2026-11-29 10:11:09.724]: Info: Color coding: SDR (Rec. 601)
[2026-11-29 10:11:09.724]: Info: Color depth: 8-bit
[2026-11-29 10:11:09.724]: Info: Color range: JPEG
[2026-11-29 10:11:09.771]: Info: Streaming bitrate is 1000000
[2026-11-29 10:11:09.771]: Info: [vulkan] Encoder quality set to 0 (balanced), driver range: 0-1
[2026-11-29 10:11:09.772]: Info: Vulkan encode using GPU: AMD Radeon RX 5700 (RADV NAVI10)
[2026-11-29 10:11:09.786]: Info: Creating encoder [hevc_vulkan]
[2026-11-29 10:11:09.786]: Info: Color coding: SDR (Rec. 601)
[2026-11-29 10:11:09.786]: Info: Color depth: 8-bit
[2026-11-29 10:11:09.786]: Info: Color range: JPEG
[2026-11-29 10:11:09.809]: Info: Streaming bitrate is 1000000
[2026-11-29 10:11:09.809]: Info: [vulkan] Encoder quality set to 0 (balanced), driver range: 0-1
[2026-11-29 10:11:09.809]: Info: Vulkan encode using GPU: AMD Radeon RX 5700 (RADV NAVI10)
[2026-11-29 10:11:09.823]: Info: Creating encoder [av1_vulkan]
[2026-11-29 10:11:09.823]: Info: Color coding: SDR (Rec. 601)
[2026-11-29 10:11:09.823]: Info: Color depth: 8-bit
[2026-11-29 10:11:09.823]: Info: Color range: JPEG
段错误(核心已转储)
Expected Behavior
start normally
Additional Context
No response
Host Operating System
Linux
Operating System Version
Debian 13
Architecture
amd64/x86_64
Package
Linux - deb
GPU Type
AMD
GPU Model
AMD RX 5700
GPU Driver/Mesa Version
error404@debian:/.config/sunshine$ glxinfo -B name of display: :1 display: :1 screen: 0 direct rendering: Yes Extended renderer info (GLX_MESA_query_renderer): Vendor: AMD (0x1002) Device: AMD Radeon RX 5700 (radeonsi, navi10, LLVM 19.1.7, DRM 3.61, 6.12.118+deb13-amd64) (0x731f) Version: 25.0.7 Accelerated: yes Video memory: 8192MB Unified memory: no Preferred profile: core (0x1) Max core profile version: 4.6 Max compat profile version: 4.6 Max GLES1 profile version: 1.1 Max GLES[23] profile version: 3.2 Memory info (GL_ATI_meminfo): VBO free memory - total: 6770 MB, largest block: 6770 MB VBO free aux. memory - total: 7739 MB, largest block: 7739 MB Texture free memory - total: 6770 MB, largest block: 6770 MB Texture free aux. memory - total: 7739 MB, largest block: 7739 MB Renderbuffer free memory - total: 6770 MB, largest block: 6770 MB Renderbuffer free aux. memory - total: 7739 MB, largest block: 7739 MB Memory info (GL_NVX_gpu_memory_info): Dedicated video memory: 8192 MB Total available memory: 16153 MB Currently available dedicated video memory: 6770 MB OpenGL vendor string: AMD OpenGL renderer string: AMD Radeon RX 5700 (radeonsi, navi10, LLVM 19.1.7, DRM 3.61, 6.12.118+deb13-amd64) OpenGL core profile version string: 4.6 (Core Profile) Mesa 25.0.7-2+deb13u1 OpenGL core profile shading language version string: 4.60 OpenGL core profile context flags: (none) OpenGL core profile profile mask: core profile OpenGL version string: 4.6 (Compatibility Profile) Mesa 25.0.7-2+deb13u1 OpenGL shading language version string: 4.60 OpenGL context flags: (none) OpenGL profile mask: compatibility profile OpenGL ES profile version string: OpenGL ES 3.2 Mesa 25.0.7-2+deb13u1 OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20 error404@debian:/.config/sunshine$
Capture Method
None
Apps
Log output
Online logs
No response
- Lenguaje dominante
- C++
- Estrellas
- 43k
- Forks
- 2.4k
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin 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 LizardByte/Sunshine
-
Linux keyboard backend has no mapping for VK_ABNT_C1 (ABNT2 dedicated `/ ?` key) — key is silently droppedPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
LizardByte/Sunshine#6051 · 2 comentarios ·
-
PIN pairing fails with "Missing CSRF token" - web UI never fetches/attaches the tokenQuizá libre de nuevo Un pull request para esta issue se cerró sin fusionarse. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
LizardByte/Sunshine#5467 · 2 comentarios ·
-
Virtual HID Driver License notifications appearing even though Enable Gamepad Input is uncheckedAbierto
Dificultad 3/5 1-2 días Aptitud para principiantes 65/100
LizardByte/Sunshine#6222 · 1 comentario ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 47/100
LizardByte/Sunshine#6208 ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 43/100
LizardByte/Sunshine#6201 ·
Todos los issues de LizardByte/Sunshine
Issues similares
-
Bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 2 días
-
bot-triaged enhancement module: fft triaged
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 92/100
-
RTL-SDR: re-enumerating while streaming removes the in-use entry from the device selection dialogPosiblemente ocupada @dpc00 la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
Los mantenedores suelen responder en 3 días