LizardByte / LizardByte/Sunshine

Sunshine cannot find init function in Mesa libgallium 26.1.6 after system update

Open
#5,474 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
41.3k
Forks
2.1k
Avg merge
23h 47m
Merged PRs (30d)
124

Description

### Is there an existing issue for this?

- [x] I have searched the existing issues

### Is your issue described in the documentation?

- [x] I have read the documentation

### Is your issue present in the latest beta/pre-release?

None

### Describe the Bug

After system update on Void Linux, sunshine (v2026.516.143833 latest release, AppImage version) cannot init vaapi encoder anymore, leaving me with only software x264 encoder, but i found temporary solution :

1. extract libgallium-26.1.5.so from mesa-libgallium-26.1.5_1.x86_64.tar.zst
2. place symlink at /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so pointing to libgallium-26.1.5.so
3. sunshine vaapi encoder finally works again, after that, no issues

answering question "Is your issue present in the latest beta/pre-release?" - If i use the pre release version, I only see the black screen when connected via moonlight

### Expected Behavior

1. Run ./sunshine.AppImage
2. Lines in log, like :

[2026-08-04 09:18:06.182]: Info: Found H.264 encoder: h264_vaapi [vaapi]
[2026-08-04 09:18:06.182]: Info: Found HEVC encoder: hevc_vaapi [vaapi]
[2026-08-04 09:18:06.182]: Info: Found AV1 encoder: av1_vaapi [vaapi]

and "libva info: Found init function __vaDriverInit_1_22" instead of "Info: /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so has no function __vaDriverInit_1_0"

3. Use

### Additional Context

_No response_

### Host Operating System

Linux

### Operating System Version

Void Linux, rolling release, latest updates

### Architecture

amd64/x86_64

### Package

Linux - AppImage

### GPU Type

AMD

### GPU Model

AMD Radeon RX 7800 XT (radeonsi, navi32, ACO, DRM 3.61)

### GPU Driver/Mesa Version

mesa-26.1.6

### Capture Method

wlroots (FreeBSD/Linux)

### Apps

```json

```

### Log output

```shell
[2026-08-04 09:03:59.668]: Info: Sunshine version: 2026.516.143833 commit: 14ffa6fdaa53f7b51512be2b3d24f3939695403c
[2026-08-04 09:03:59.668]: Info: Package Publisher: LizardByte
[2026-08-04 09:03:59.668]: Info: Publisher Website: https://app.lizardbyte.dev
[2026-08-04 09:03:59.668]: Info: Get support: https://app.lizardbyte.dev/support
[2026-08-04 09:03:59.668]: Info: config: 'adapter_name' = /dev/dri/renderD128
[2026-08-04 09:03:59.668]: Info: config: 'capture' = wlr
[2026-08-04 09:03:59.668]: Info: config: 'csrf_allowed_origins' = [redacted]
[2026-08-04 09:03:59.668]: Info: config: 'encoder' = vaapi
[2026-08-04 09:03:59.668]: Info: config: 'fec_percentage' = 0
[2026-08-04 09:03:59.668]: Info: config: 'min_threads' = 4
[2026-08-04 09:03:59.674]: Info: [wayland] Found display [wayland-0]
[2026-08-04 09:03:59.674]: Info: [wayland] Found interface: zwp_linux_dmabuf_v1(4) version 4
[2026-08-04 09:03:59.674]: Info: [wayland] Found interface: zxdg_output_manager_v1(9) version 3
[2026-08-04 09:03:59.674]: Info: [wayland] Found interface: zwlr_screencopy_manager_v1(30) version 3
[2026-08-04 09:03:59.674]: Info: [wayland] Found interface: wl_output(57) version 4
[2026-08-04 09:03:59.674]: Info: [wayland] Resolution: 1920x1200
[2026-08-04 09:03:59.674]: Info: [wayland] Name: DP-1
[2026-08-04 09:03:59.674]: Info: [wayland] Found monitor: (name of the monitor was removed for privacy reasons)
[2026-08-04 09:03:59.674]: Info: [wayland] Offset: 0x0
[2026-08-04 09:03:59.674]: Info: [wayland] Logical size: 1920x1200
[2026-08-04 09:03:59.674]: Info: [wlgrab] -------- Start of Wayland monitor list --------
[2026-08-04 09:03:59.674]: Info: [wlgrab] Monitor 0 is DP-1: (name of the monitor was removed for privacy reasons)
[2026-08-04 09:03:59.674]: Info: [wlgrab] --------- End of Wayland monitor list ---------
[2026-08-04 09:04:00.996]: Warning: Gamepad ds5 is disabled due to No such file or directory
[2026-08-04 09:04:00.996]: Info: Trying encoder [vaapi]
[2026-08-04 09:04:00.996]: Info: Screencasting with Wayland's protocol
[2026-08-04 09:04:00.996]: Info: [wlgrab] Requested frame rate [60/1, approx. 60 fps]
[2026-08-04 09:04:00.996]: Info: [wayland] Found display [wayland-0]
[2026-08-04 09:04:00.996]: Info: [wayland] Found interface: zwp_linux_dmabuf_v1(4) version 4
[2026-08-04 09:04:00.996]: Info: [wayland] Found interface: zxdg_output_manager_v1(9) version 3
[2026-08-04 09:04:00.996]: Info: [wayland] Found interface: zwlr_screencopy_manager_v1(30) version 3
[2026-08-04 09:04:00.996]: Info: [wayland] Found interface: wl_output(57) version 4
[2026-08-04 09:04:00.996]: Info: [wayland] Resolution: 1920x1200
[2026-08-04 09:04:00.996]: Info: [wayland] Name: DP-1
[2026-08-04 09:04:00.996]: Info: [wayland] Found monitor: (name of the monitor was removed for privacy reasons)
[2026-08-04 09:04:00.996]: Info: [wayland] Offset: 0x0
[2026-08-04 09:04:00.996]: Info: [wayland] Logical size: 1920x1200
[2026-08-04 09:04:00.996]: Info: [wlgrab] Selected monitor [(name of the monitor was removed for privacy reasons)] for streaming
[2026-08-04 09:04:00.996]: Info: Creating encoder [h264_vaapi]
[2026-08-04 09:04:00.996]: Info: Color coding: SDR (Rec. 601)
[2026-08-04 09:04:00.996]: Info: Color depth: 8-bit
[2026-08-04 09:04:00.996]: Info: Color range: JPEG
[2026-08-04 09:04:01.012]: Warning: EGL: context priority set to HIGH but CAP_SYS_NICE capability is missing
[2026-08-04 09:04:01.017]: Info: /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so has no function __vaDriverInit_1_0
[2026-08-04 09:04:01.017]: Error: Couldn't initialize va display: unknown libva error
[2026-08-04 09:04:01.019]: Info: Creating encoder [h264_vaapi]
[2026-08-04 09:04:01.019]: Info: Color coding: SDR (Rec. 601)
[2026-08-04 09:04:01.019]: Info: Color depth: 8-bit
[2026-08-04 09:04:01.019]: Info: Color range: JPEG
[2026-08-04 09:04:01.030]: Warning: EGL: context priority set to HIGH but CAP_SYS_NICE capability is missing
[2026-08-04 09:04:01.032]: Info: /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so has no function __vaDriverInit_1_0
[2026-08-04 09:04:01.032]: Error: Couldn't initialize va display: unknown libva error
[2026-08-04 09:04:01.033]: Info: Encoder [vaapi] failed
[2026-08-04 09:04:01.033]: Error: Couldn't find any working encoder matching [vaapi]
[2026-08-04 09:04:01.033]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2026-08-04 09:04:01.033]: Info: Trying encoder [nvenc]
[2026-08-04 09:04:01.033]: Info: Screencasting with Wayland's protocol
[2026-08-04 09:04:01.033]: Info: [wlgrab] Requested frame rate [60/1, approx. 60 fps]
[2026-08-04 09:04:01.033]: Info: [wayland] Found display [wayland-0]
[2026-08-04 09:04:01.033]: Info: [wayland] Found interface: zwp_linux_dmabuf_v1(4) version 4
[2026-08-04 09:04:01.033]: Info: [wayland] Found interface: zxdg_output_manager_v1(9) version 3
[2026-08-04 09:04:01.033]: Info: [wayland] Found interface: zwlr_screencopy_manager_v1(30) version 3
[2026-08-04 09:04:01.033]: Info: [wayland] Found interface: wl_output(57) version 4
[2026-08-04 09:04:01.033]: Info: [wayland] Resolution: 1920x1200
[2026-08-04 09:04:01.033]: Info: [wayland] Name: DP-1
[2026-08-04 09:04:01.033]: Info: [wayland] Found monitor: (name of the monitor was removed for privacy reasons)
[2026-08-04 09:04:01.033]: Info: [wayland] Offset: 0x0
[2026-08-04 09:04:01.033]: Info: [wayland] Logical size: 1920x1200
[2026-08-04 09:04:01.033]: Info: [wlgrab] Selected monitor [(name of the monitor was removed for privacy reasons)] for streaming
[2026-08-04 09:04:01.033]: Info: Creating encoder [h264_nvenc]
[2026-08-04 09:04:01.033]: Info: Color coding: SDR (Rec. 601)
[2026-08-04 09:04:01.033]: Info: Color depth: 8-bit
[2026-08-04 09:04:01.033]: Info: Color range: JPEG
[2026-08-04 09:04:01.033]: Error: Couldn't load cuda: -1
[2026-08-04 09:04:01.033]: Info: Creating encoder [h264_nvenc]
[2026-08-04 09:04:01.033]: Info: Color coding: SDR (Rec. 601)
[2026-08-04 09:04:01.033]: Info: Color depth: 8-bit
[2026-08-04 09:04:01.033]: Info: Color range: JPEG
[2026-08-04 09:04:01.033]: Error: Couldn't load cuda: -1
[2026-08-04 09:04:01.033]: Info: Encoder [nvenc] failed
[2026-08-04 09:04:01.033]: Info: Trying encoder [vulkan]
[2026-08-04 09:04:01.033]: Info: Screencasting with Wayland's protocol
[2026-08-04 09:04:01.033]: Error: [wlgrab] Could not initialize display with the given hw device type.
[2026-08-04 09:04:01.233]: Info: Screencasting with Wayland's protocol
[2026-08-04 09:04:01.233]: Error: [wlgrab] Could not initialize display with the given hw device type.
[2026-08-04 09:04:01.433]: Info: Encoder [vulkan] failed
[2026-08-04 09:04:01.434]: Info: Trying encoder [software]
[2026-08-04 09:04:01.434]: Info: Screencasting with Wayland's protocol
[2026-08-04 09:04:01.434]: Info: [wlgrab] Requested frame rate [60/1, approx. 60 fps]
[2026-08-04 09:04:01.434]: Info: [wayland] Found display [wayland-0]
[2026-08-04 09:04:01.434]: Info: [wayland] Found interface: zwp_linux_dmabuf_v1(4) version 4
[2026-08-04 09:04:01.434]: Info: [wayland] Found interface: zxdg_output_manager_v1(9) version 3
[2026-08-04 09:04:01.434]: Info: [wayland] Found interface: zwlr_screencopy_manager_v1(30) version 3
[2026-08-04 09:04:01.434]: Info: [wayland] Found interface: wl_output(57) version 4
[2026-08-04 09:04:01.434]: Info: [wayland] Resolution: 1920x1200
[2026-08-04 09:04:01.434]: Info: [wayland] Name: DP-1
[2026-08-04 09:04:01.434]: Info: [wayland] Found monitor: (name of the monitor was removed for privacy reasons)
[2026-08-04 09:04:01.434]: Info: [wayland] Offset: 0x0
[2026-08-04 09:04:01.434]: Info: [wayland] Logical size: 1920x1200
[2026-08-04 09:04:01.434]: Info: [wlgrab] Selected monitor [(name of the monitor was removed for privacy reasons)] for streaming
[2026-08-04 09:04:01.449]: Warning: EGL: context priority set to HIGH but CAP_SYS_NICE capability is missing
[2026-08-04 09:04:01.450]: Info: Creating encoder [libx264]
[2026-08-04 09:04:01.450]: Info: Color coding: SDR (Rec. 601)
[2026-08-04 09:04:01.450]: Info: Color depth: 8-bit
[2026-08-04 09:04:01.450]: Info: Color range: JPEG
[2026-08-04 09:04:01.451]: Info: Streaming bitrate is 1000000
[2026-08-04 09:04:01.454]: Info: [libx264 @ 0x5595637fd340] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[2026-08-04 09:04:01.455]: Info: [libx264 @ 0x5595637fd340] profile High, level 4.2, 4:2:0, 8-bit
[2026-08-04 09:04:01.481]: Info: [libx264 @ 0x5595637fd340] frame I:1 Avg QP:31.00 size: 1278
[2026-08-04 09:04:01.481]: Info: [libx264 @ 0x5595637fd340] mb I I16..4: 99.9% 0.1% 0.0%
[2026-08-04 09:04:01.481]: Info: [libx264 @ 0x5595637fd340] 8x8 transform intra:0.1%
[2026-08-04 09:04:01.481]: Info: [libx264 @ 0x5595637fd340] coded y,uvDC,uvAC intra: 0.0% 0.0% 0.0%
[2026-08-04 09:04:01.481]: Info: [libx264 @ 0x5595637fd340] i16 v,h,dc,p: 94% 0% 6% 0%
[2026-08-04 09:04:01.481]: Info: [libx264 @ 0x5595637fd340] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 0% 0% 75% 12% 0% 0% 0% 0% 12%
[2026-08-04 09:04:01.481]: Info: [libx264 @ 0x5595637fd340] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 0% 0% 100% 0% 0% 0% 0% 0% 0%
[2026-08-04 09:04:01.481]: Info: [libx264 @ 0x5595637fd340] i8c dc,h,v,p: 100% 0% 0% 0%
[2026-08-04 09:04:01.481]: Info: [libx264 @ 0x5595637fd340] kb/s:613.44
[2026-08-04 09:04:01.482]: Info: Creating encoder [libx264]
[2026-08-04 09:04:01.482]: Info: Color coding: SDR (Rec. 601)
[2026-08-04 09:04:01.482]: Info: Color depth: 8-bit
[2026-08-04 09:04:01.482]: Info: Color range: JPEG
[2026-08-04 09:04:01.482]: Info: Streaming bitrate is 1000000
[2026-08-04 09:04:01.483]: Info: [libx264 @ 0x5595637fd340] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[2026-08-04 09:04:01.483]: Info: [libx264 @ 0x5595637fd340] profile High 4:4:4 Predictive, level 4.2, 4:4:4, 8-bit
[2026-08-04 09:04:01.512]: Info: [libx264 @ 0x5595637fd340] frame I:1 Avg QP:31.00 size: 1447
[2026-08-04 09:04:01.512]: Info: [libx264 @ 0x5595637fd340] mb I I16..4: 99.9% 0.1% 0.0%
[2026-08-04 09:04:01.512]: Info: [libx264 @ 0x5595637fd340] 8x8 transform intra:0.1%
[2026-08-04 09:04:01.512]: Info: [libx264 @ 0x5595637fd340] coded y,u,v intra: 0.0% 0.0% 0.0%
[2026-08-04 09:04:01.512]: Info: [libx264 @ 0x5595637fd340] i16 v,h,dc,p: 94% 0% 6% 0%
[2026-08-04 09:04:01.512]: Info: [libx264 @ 0x5595637fd340] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 0% 0% 75% 12% 0% 0% 0% 0% 12%
[2026-08-04 09:04:01.512]: Info: [libx264 @ 0x5595637fd340] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 0% 0% 100% 0% 0% 0% 0% 0% 0%
[2026-08-04 09:04:01.512]: Info: [libx264 @ 0x5595637fd340] kb/s:694.56
[2026-08-04 09:04:01.514]: Info: Screencasting with Wayland's protocol
[2026-08-04 09:04:01.514]: Info: [wlgrab] Requested frame rate [60/1, approx. 60 fps]
[2026-08-04 09:04:01.514]: Info: [wayland] Found display [wayland-0]
[2026-08-04 09:04:01.514]: Info: [wayland] Found interface: zwp_linux_dmabuf_v1(4) version 4
[2026-08-04 09:04:01.514]: Info: [wayland] Found interface: zxdg_output_manager_v1(9) version 3
[2026-08-04 09:04:01.514]: Info: [wayland] Found interface: zwlr_screencopy_manager_v1(30) version 3
[2026-08-04 09:04:01.514]: Info: [wayland] Found interface: wl_output(57) version 4
[2026-08-04 09:04:01.514]: Info: [wayland] Resolution: 1920x1200
[2026-08-04 09:04:01.514]: Info: [wayland] Name: DP-1
[2026-08-04 09:04:01.514]: Info: [wayland] Found monitor: (name of the monitor was removed for privacy reasons)
[2026-08-04 09:04:01.514]: Info: [wayland] Offset: 0x0
[2026-08-04 09:04:01.514]: Info: [wayland] Logical size: 1920x1200
[2026-08-04 09:04:01.514]: Info: [wlgrab] Selected monitor [(name of the monitor was removed for privacy reasons)] for streaming
[2026-08-04 09:04:01.660]: Warning: EGL: context priority set to HIGH but CAP_SYS_NICE capability is missing
[2026-08-04 09:04:01.662]: Info:
[2026-08-04 09:04:01.662]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2026-08-04 09:04:01.662]: Info:
[2026-08-04 09:04:01.662]: Info: Found H.264 encoder: libx264 [software]
[2026-08-04 09:04:01.665]: Info: Starting system tray
[2026-08-04 09:04:01.665]: Error: Failed to create client: Daemon not running
[2026-08-04 09:04:01.672]: Info: Configuration UI available at [https://localhost:47990]
[2026-08-04 09:04:01.744]: Info: System tray created
[2026-08-04 09:04:01.744]: Info: Starting main loop
```

### Online logs

_No response_

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure with the Sunshine AppImage on Void Linux using Mesa 26.1.6, then inspect the VAAPI/libva initialization log showing the missing driver entry point. Compare it with Mesa 26.1.5, where VAAPI works, and consider the issue complete when the expected VAAPI encoders initialize without the radeonsi error.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, linux
Domain
audio-video-rtc, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.