SIGSEGV terminating launch

Chiusa
#6,041 5 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Una pull request collegata è già stata integrata.

  • #6043 di @ReenigneArcher — integrata

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
18/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
cpp, linux
Ambito
cli, desktop-dev

Direzione di ricerca

The log shows Sunshine crashing with SIGSEGV right after selecting the vulkan encoder for KMS capture, on an Intel i915 GPU with a vkms card0 present. Start from the log lines around 'Creating encoder [h264_vulkan]' and the KMS monitor and encoder selection code in the capture path. Reproducing needs the same Intel Wayland KMS setup, so a newcomer would first need to confirm the crash locally. Done means the process no longer crashes when the vulkan encoder initializes on this hardware.

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

Whenever I try to launch Sunshine, it just doesn't launch.

This is from the CachyOS repo build of Sunshine, but I tried it with the pre-release and it threw the same thing at the same point.

Obviously I couldn't get logs from the web-ui, so I hope my terminal output will do.

Expected Behavior

No response

Additional Context

No response

Host Operating System

Linux

Operating System Version

7.3.1-1-cachyos

Architecture

amd64/x86_64

Package

other (fork of this repo)

GPU Type

Intel

GPU Model

Intel Corporation TigerLake-LP GT2 [Iris Xe Graphics] (rev 01)

GPU Driver/Mesa Version

26.3.5

Capture Method

KMS (Linux)

Apps

Log output
[2026-11-03 12:11:52.757355] [0x00007f8321fac000] [info]    [misc] has_elevated_privileges found permitted cap:21
[2026-11-03 12:11:52.757393] [0x00007f8321fac000] [info]    [misc] drop_elevated_privileges succeeded in dropping capabilities
[2026-11-03 12:11:52.757426] [0x00007f8321fac000] [info]    [misc] has_elevated_privileges found permitted cap:23
[2026-11-03 12:11:52.757434] [0x00007f8321fac000] [info]    [misc] drop_elevated_privileges succeeded in dropping capabilities
[2026-11-03 12:11:52.757470] [0x00007f8321fac000] [info]    config: 'upnp' = enabled
[2026-11-03 12:11:52.757475] [0x00007f8321fac000] [info]    config: 'address_family' = both
[2026-11-03 12:11:52.757]: Info: Sunshine version: 2026.1102.15728 commit: 019b1ba661d829e334706557a3e2bdc3d2374591
[2026-11-03 12:11:52.758]: Info: Package Publisher: LizardByte
[2026-11-03 12:11:52.758]: Info: Publisher Website: https://app.lizardbyte.dev
[2026-11-03 12:11:52.758]: Info: Get support: https://app.lizardbyte.dev/support
[2026-11-03 12:11:52.758]: Info: config: 'address_family' = both
[2026-11-03 12:11:52.758]: Info: config: 'upnp' = enabled
Cannot load libcuda.so.1
[2026-11-03 12:11:52.759]: Error: Couldn't load cuda: -1
[2026-11-03 12:11:52.759]: Info: [wayland] Found display [wayland-1]
[2026-11-03 12:11:52.759]: Info: [wayland] Found interface: wl_shm(10) version 2
[2026-11-03 12:11:52.759]: Info: [wayland] Found interface: zxdg_output_manager_v1(32) version 3
[2026-11-03 12:11:52.759]: Info: [wayland] Found interface: zwp_linux_dmabuf_v1(58) version 6
[2026-11-03 12:11:52.759]: Info: [wayland] Found interface: wl_output(63) version 4
[2026-11-03 12:11:52.759]: Warning: [wlgrab] Missing Wayland wire for wlr-export-dmabuf
[2026-11-03 12:11:52.760]: Info: /dev/dri/card0 -> vkms
[2026-11-03 12:11:52.760]: Warning: No render device name for: /dev/dri/card0
[2026-11-03 12:11:52.760]: Info: /dev/dri/card1 -> i915
[2026-11-03 12:11:52.760]: Info: [wayland] Found display [wayland-1]
[2026-11-03 12:11:52.761]: Info: [wayland] Found display [wayland-1]
[2026-11-03 12:11:52.761]: Info: [wayland] Found interface: wl_shm(10) version 2
[2026-11-03 12:11:52.761]: Info: [wayland] Found interface: zxdg_output_manager_v1(32) version 3
[2026-11-03 12:11:52.761]: Info: [wayland] Found interface: zwp_linux_dmabuf_v1(58) version 6
[2026-11-03 12:11:52.761]: Info: [wayland] Found interface: wl_output(63) version 4
[2026-11-03 12:11:52.761]: Info: [wayland] Resolution: 1920x1080
[2026-11-03 12:11:52.761]: Info: [wayland] Offset: 0x0
[2026-11-03 12:11:52.761]: Info: [wayland] Logical size: 1920x1080
[2026-11-03 12:11:52.761]: Info: [wayland] Name: eDP-1
[2026-11-03 12:11:52.761]: Info: [wayland] Found monitor: Built-in Screen
[2026-11-03 12:11:52.761]: Info: -------- Start of KMS monitor list --------
[2026-11-03 12:11:52.761]: Info: Monitor 1 is eDP-1: Built-in Screen
[2026-11-03 12:11:52.761]: Info: --------- End of KMS monitor list ---------
[2026-11-03 12:11:52.787]: Info: [libvirtualhid] initialized linux-uhid-uinput backend
[2026-11-03 12:11:52.787]: Info: [libvirtualhid] created mouse 2
[2026-11-03 12:11:52.787]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2026-11-03 12:11:52.787]: Info: Trying encoder [nvenc]
[2026-11-03 12:11:52.787]: Info: Screencasting with KMS
[2026-11-03 12:11:52.788]: Info: /dev/dri/card0 -> vkms
[2026-11-03 12:11:52.788]: Warning: No render device name for: /dev/dri/card0
[2026-11-03 12:11:52.788]: Info: /dev/dri/card1 -> i915
[2026-11-03 12:11:52.788]: Error: Couldn't find monitor [0]
[2026-11-03 12:11:52.788]: Info: /dev/dri/card0 -> vkms
[2026-11-03 12:11:52.788]: Warning: No render device name for: /dev/dri/card0
[2026-11-03 12:11:52.788]: Info: /dev/dri/card1 -> i915
[2026-11-03 12:11:52.788]: Error: Couldn't find monitor [0]
[2026-11-03 12:11:52.988]: Info: Screencasting with KMS
[2026-11-03 12:11:52.988]: Info: /dev/dri/card0 -> vkms
[2026-11-03 12:11:52.988]: Warning: No render device name for: /dev/dri/card0
[2026-11-03 12:11:52.989]: Info: /dev/dri/card1 -> i915
[2026-11-03 12:11:52.989]: Error: Couldn't find monitor [0]
[2026-11-03 12:11:52.990]: Info: /dev/dri/card0 -> vkms
[2026-11-03 12:11:52.990]: Warning: No render device name for: /dev/dri/card0
[2026-11-03 12:11:52.990]: Info: /dev/dri/card1 -> i915
[2026-11-03 12:11:52.990]: Error: Couldn't find monitor [0]
[2026-11-03 12:11:53.190]: Info: Encoder [nvenc] failed
[2026-11-03 12:11:53.190]: Info: Trying encoder [vulkan]
[2026-11-03 12:11:53.190]: Info: Screencasting with KMS
[2026-11-03 12:11:53.190]: Info: /dev/dri/card0 -> vkms
[2026-11-03 12:11:53.190]: Warning: No render device name for: /dev/dri/card0
[2026-11-03 12:11:53.190]: Info: Found monitor for DRM screencasting
[2026-11-03 12:11:53.190]: Info: Found connector ID [54]
[2026-11-03 12:11:53.190]: Info: Found cursor plane [41]
[2026-11-03 12:11:53.190]: Info: Creating encoder [h264_vulkan]
[2026-11-03 12:11:53.190]: Info: Color coding: SDR (Rec. 601)
[2026-11-03 12:11:53.190]: Info: Color depth: 8-bit
[2026-11-03 12:11:53.190]: Info: Color range: JPEG
fish: Job 1, 'sunshine' terminated by signal SIGSEGV (Address boundary error)
Online logs

No response

Lingua principale
C++
Stelle
43k
Fork
2.4k
Merge medio
1g 5h
PR unite (30g)
107

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di LizardByte/Sunshine

Tutte le issue di LizardByte/Sunshine

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.