[Linux/Vulkan] Segfault when loading vulkan encoder
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 45/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- cpp, linux
- Ambito
- audio-video-rtc, backend
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- C++
- Stelle
- 43k
- Fork
- 2.4k
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di LizardByte/Sunshine
-
Linux keyboard backend has no mapping for VK_ABNT_C1 (ABNT2 dedicated `/ ?` key) — key is silently droppedForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
LizardByte/Sunshine#6051 · 2 commenti ·
-
PIN pairing fails with "Missing CSRF token" - web UI never fetches/attaches the tokenForse di nuovo libera Una pull request per questa issue è stata chiusa senza essere unita. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
LizardByte/Sunshine#5467 · 2 commenti ·
-
Virtual HID Driver License notifications appearing even though Enable Gamepad Input is uncheckedAperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 65/100
LizardByte/Sunshine#6222 · 1 commento ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 47/100
LizardByte/Sunshine#6208 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 43/100
LizardByte/Sunshine#6201 ·
Tutte le issue di LizardByte/Sunshine
Issue simili
-
Bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 2 giorni
-
bot-triaged enhancement module: fft triaged
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100
-
RTL-SDR: re-enumerating while streaming removes the in-use entry from the device selection dialogForse già presa @dpc00 l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
I maintainer di solito rispondono entro 3 giorni