SIGSEGV terminating launch

Đã đóng
#6,041 5 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Một pull request liên quan đã được merge.

  • #6043 của @ReenigneArcher — đã merge

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
18/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
cpp, linux
Lĩnh vực
cli, desktop-dev

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
C++
Star
43k
Fork
2.4k
Merge trung bình
1 ngày 5 giờ
Pull request đã merge (30 ngày)
107

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của LizardByte/Sunshine

Tất cả issue của LizardByte/Sunshine

Issue tương tự

Thêm issue về C++

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.