SIGSEGV terminating launch

クローズ
#6,041 コメント 5 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

関連するプルリクエストがすでにマージされています。

  • #6043 @ReenigneArcher による — マージ済み

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
18/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
cpp, linux
領域
cli, desktop-dev

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
C++
スター
43k
フォーク
2.4k
平均マージ
1日 5時間
マージ済み PR(30日)
107

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

LizardByte/Sunshine のほかの issue

LizardByte/Sunshine の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。