Skip to content

Segfault (SIGSEGV) during vaapi encoder probing on Intel Arc B580 (BMG G21) - regression from 2025.924.154138 #4966

@Jarrio

Description

@Jarrio

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?

None

Describe the Bug

Sunshine crashes with a segfault during encoder probing on startup. All three encoders fail in sequence — nvenc (no Nvidia GPU), vulkan (VK_KHR_video_encode_queue not supported), and then vaapi causes a SIGSEGV. This is a regression — 2025.924.154138 worked correctly on the same hardware.

To Reproduce

Install 2026.407.170539 on Ubuntu 24.04 / Linux Mint 22.3 with an Intel Arc B580
Run sunshine from the terminal
Sunshine crashes after reaching vaapi encoder probing

Expected Behavior

Sunshine starts successfully and serves the web UI, as it did on 2025.924.154138.
Sunshine version
2026.407.170539 (commit e61d9ba)
Operating System
Linux Mint 22.3 (Ubuntu 24.04 / noble base), kernel 6.19.4-061904-generic
GPU
Intel Arc B580 (BMG G21) — 03:00.0 VGA compatible controller: Intel Corporation Device e20b
Driver: xe
OpenGL renderer: Mesa Intel(R) Arc(tm) B580 Graphics (BMG G21)

Additional Context

VA-API
vainfo: VA-API version: 1.23 (libva 2.20.0)
vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 24.3.4 ()
Supported encoding entrypoints include H264, HEVC, AV1.
Packages
intel-media-va-driver-non-free:amd64 24.3.4-1018~24.04
libva2:amd64 2.20.0-2ubuntu0.1

2025.924.154138 worked on this exact hardware and OS without any issues
Core dumps show SIGSEGV consistently across multiple runs
The crash always occurs at the same point — immediately after Using VBR with single frame VBV size during vaapi probing
Running from X11 session (not Wayland), which explains the WAYLAND_DISPLAY warning — this was also the case on the working version

Host Operating System

Docker

Operating System Version

Linux Mint 22.3 (Ubuntu 24.04 / noble base), kernel 6.19.4-061904-generic

Architecture

amd64/x86_64

Package

Linux - AppImage

GPU Type

Intel

GPU Model

B580

GPU Driver/Mesa Version

23.3.5

Capture Method

X11 (Linux)

Apps

Log output

[2026-04-09 15:02:51.252]: Info: Sunshine version: 2026.407.170539 commit: e61d9ba4380c407dcbc4646c1decb021416ea022
Cannot load libcuda.so.1
[2026-04-09 15:02:51.253]: Error: Couldn't load cuda: -1
[2026-04-09 15:02:51.253]: Info: /dev/dri/card1 -> xe
[2026-04-09 15:02:51.253]: Error: [wayland] Environment variable WAYLAND_DISPLAY has not been defined
[2026-04-09 15:02:52.417]: Info: Detected display: DP-1 (id: 0) connected: false
[2026-04-09 15:02:52.420]: Info: Detected display: HDMI-2 (id: 3) connected: true
[2026-04-09 15:02:52.420]: Info: Detected display: HDMI-3 (id: 4) connected: true
[2026-04-09 15:02:52.481]: Info: Trying encoder [nvenc]
[2026-04-09 15:02:52.481]: Error: Couldn't find monitor [0]
[2026-04-09 15:02:52.871]: Info: Encoder [nvenc] failed
[2026-04-09 15:02:52.871]: Info: Trying encoder [vulkan]
[2026-04-09 15:02:52.881]: Info: Found monitor for DRM screencasting
[2026-04-09 15:02:52.918]: Error: [h264_vulkan] Device does not support the VK_KHR_video_encode_queue extension!
[2026-04-09 15:02:52.955]: Info: Encoder [vulkan] failed
[2026-04-09 15:02:52.955]: Info: Trying encoder [vaapi]
[2026-04-09 15:02:52.955]: Info: Found monitor for DRM screencasting
[2026-04-09 15:02:52.984]: Info: Creating encoder [h264_vaapi]
[2026-04-09 15:02:52.993]: Info: EGL: context priority set to HIGH
[2026-04-09 15:02:53.016]: Info: vaapi vendor: Intel iHD driver for Intel(R) Gen Graphics - 24.3.4 ()
[2026-04-09 15:02:53.017]: Info: Using VBR with single frame VBV size
Segmentation fault (core dumped)

Online logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions