LizardByte / LizardByte/Sunshine
Sunshine SIGSEGV at boot on Ubuntu 24.04 LTS
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 41.4k
- Forks
- 2.1k
- Avg merge
- 23h 47m
- Merged PRs (30d)
- 124
Description
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?
I'm too lazy to test
Describe the Bug
I have sunshine boot on startup on my Ubuntu. When booting my pc, I always get an error, which I can just press "cancel" on, sunshine boots and works. When looking at the details of the error in the Ubuntu settings, I see:
executable path /usr/bin/sunshine
package sunshine 2026.516.143833
(...)
Title: sunshine crashed with SIGSEGV
(...)
SegvAnalysis: Failure: invalid literal for int() with base 16: 'Error:'
Signal: 11
Nothing major since sunshine does seem to continue to work, but bit annoying if I boot in my game and get alt-tabbed out to cancel the error.
Expected Behavior
No SIGSEV on startup, just being able to boot straight into the game.
Additional Context
No response
Host Operating System
Linux
Operating System Version
Ubuntu 24.04.3 LTS "Noble Numbat"
Architecture
amd64/x86_64
Package
Linux - deb
GPU Type
AMD
GPU Model
Radeon RX 7900 XT
GPU Driver/Mesa Version
amdgpu?
Capture Method
None
Apps
Log output
[2026-08-20 12:06:15.801]: Info: Sunshine version: 2026.516.143833 commit: 14ffa6fdaa53f7b51512be2b3d24f3939695403c
[2026-08-20 12:06:15.801]: Info: Package Publisher: LizardByte
[2026-08-20 12:06:15.801]: Info: Publisher Website: https://app.lizardbyte.dev
[2026-08-20 12:06:15.801]: Info: Get support: https://app.lizardbyte.dev/support
[2026-08-20 12:06:15.801]: Info: config: 'address_family' = both
[2026-08-20 12:06:15.801]: Info: config: 'global_prep_cmd' = [{"do":"/home/daniel/git/dotfiles/bin/sunshine-resolution-toggle.sh do","undo":"/home/daniel/git/dotfiles/bin/sunshine-resolution-toggle.sh undo"}]
[2026-08-20 12:06:15.804]: Error: Couldn't load cuda: -1
[2026-08-20 12:06:15.804]: Info: /dev/dri/card2 -> amdgpu
[2026-08-20 12:06:15.806]: Info: /dev/dri/card1 -> amdgpu
[2026-08-20 12:06:15.807]: Error: [wayland] Environment variable WAYLAND_DISPLAY has not been defined
[2026-08-20 12:06:15.807]: Info: Detecting displays
[2026-08-20 12:06:15.810]: Info: Detected display: DisplayPort-0 (id: 0)DisplayPort-0 connected: false
[2026-08-20 12:06:15.810]: Info: Detected display: DisplayPort-1 (id: 1)DisplayPort-1 connected: false
[2026-08-20 12:06:15.810]: Info: Detected display: DisplayPort-2 (id: 2)DisplayPort-2 connected: true
[2026-08-20 12:06:15.810]: Info: Detected display: HDMI-A-0 (id: 3)HDMI-A-0 connected: false
[2026-08-20 12:06:15.810]: Info: Detected display: HDMI-A-1-1 (id: 4)HDMI-A-1-1 connected: false
[2026-08-20 12:06:15.810]: Info: Detected display: DisplayPort-1-3 (id: 5)DisplayPort-1-3 connected: false
[2026-08-20 12:06:15.810]: Info: Detected display: DisplayPort-1-4 (id: 6)DisplayPort-1-4 connected: false
[2026-08-20 12:06:15.810]: Info: Detected display: DisplayPort-1-5 (id: 7)DisplayPort-1-5 connected: false
[2026-08-20 12:06:15.830]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2026-08-20 12:06:15.830]: Info: Trying encoder [nvenc]
[2026-08-20 12:06:15.830]: Info: Screencasting with KMS
[2026-08-20 12:06:15.830]: Info: /dev/dri/card2 -> amdgpu
[2026-08-20 12:06:15.831]: Info: /dev/dri/card1 -> amdgpu
[2026-08-20 12:06:15.831]: Error: Couldn't find monitor [0]
[2026-08-20 12:06:15.831]: Info: /dev/dri/card2 -> amdgpu
[2026-08-20 12:06:15.831]: Info: /dev/dri/card1 -> amdgpu
[2026-08-20 12:06:15.832]: Error: Couldn't find monitor [0]
[2026-08-20 12:06:16.032]: Info: Screencasting with KMS
[2026-08-20 12:06:16.032]: Info: /dev/dri/card2 -> amdgpu
[2026-08-20 12:06:16.033]: Info: /dev/dri/card1 -> amdgpu
[2026-08-20 12:06:16.034]: Error: Couldn't find monitor [0]
[2026-08-20 12:06:16.034]: Info: /dev/dri/card2 -> amdgpu
[2026-08-20 12:06:16.035]: Info: /dev/dri/card1 -> amdgpu
[2026-08-20 12:06:16.035]: Error: Couldn't find monitor [0]
[2026-08-20 12:06:16.235]: Info: Encoder [nvenc] failed
[2026-08-20 12:06:16.235]: Info: Trying encoder [vulkan]
[2026-08-20 12:06:16.235]: Info: Screencasting with KMS
[2026-08-20 12:06:16.235]: Info: /dev/dri/card2 -> amdgpu
[2026-08-20 12:06:16.236]: Info: /dev/dri/card1 -> amdgpu
[2026-08-20 12:06:16.237]: Info: Found monitor for DRM screencasting
[2026-08-20 12:06:16.237]: Info: Found connector ID [393]
[2026-08-20 12:06:16.237]: Info: Found cursor plane [361]
[2026-08-20 12:06:16.237]: Info: Creating encoder [h264_vulkan]
[2026-08-20 12:06:16.237]: Info: Color coding: SDR (Rec. 601)
[2026-08-20 12:06:16.237]: Info: Color depth: 8-bit
[2026-08-20 12:06:16.237]: Info: Color range: JPEG
[2026-08-20 12:06:16.365]: Info: Streaming bitrate is 1000000
[2026-08-20 12:06:16.368]: Info: Vulkan encode using GPU: AMD Radeon RX 7900 XT (RADV NAVI31)
[2026-08-20 12:06:16.381]: Info: Creating encoder [hevc_vulkan]
[2026-08-20 12:06:16.381]: Info: Color coding: SDR (Rec. 601)
[2026-08-20 12:06:16.381]: Info: Color depth: 8-bit
[2026-08-20 12:06:16.381]: Info: Color range: JPEG
[2026-08-20 12:06:16.415]: Info: Streaming bitrate is 1000000
[2026-08-20 12:06:16.418]: Info: Vulkan encode using GPU: AMD Radeon RX 7900 XT (RADV NAVI31)
[2026-08-20 12:06:16.429]: Info: Creating encoder [av1_vulkan]
[2026-08-20 12:06:16.429]: Info: Color coding: SDR (Rec. 601)
[2026-08-20 12:06:16.429]: Info: Color depth: 8-bit
[2026-08-20 12:06:16.429]: Info: Color range: JPEG
[2026-08-20 12:06:16.459]: Info: Streaming bitrate is 1000000
[2026-08-20 12:06:16.459]: Info: Vulkan encode using GPU: AMD Radeon RX 7900 XT (RADV NAVI31)
[2026-08-20 12:06:16.464]: Info: Screencasting with KMS
[2026-08-20 12:06:16.464]: Info: /dev/dri/card2 -> amdgpu
[2026-08-20 12:06:16.464]: Info: /dev/dri/card1 -> amdgpu
[2026-08-20 12:06:16.464]: Info: Found monitor for DRM screencasting
[2026-08-20 12:06:16.464]: Info: Found connector ID [393]
[2026-08-20 12:06:16.465]: Info: Found cursor plane [361]
[2026-08-20 12:06:16.465]: Info: Creating encoder [hevc_vulkan]
[2026-08-20 12:06:16.465]: Info: Color coding: SDR (Rec. 709)
[2026-08-20 12:06:16.465]: Info: Color depth: 10-bit
[2026-08-20 12:06:16.465]: Info: Color range: JPEG
[2026-08-20 12:06:16.495]: Info: Streaming bitrate is 1000000
[2026-08-20 12:06:16.498]: Info: Vulkan encode using GPU: AMD Radeon RX 7900 XT (RADV NAVI31)
[2026-08-20 12:06:16.511]: Info: Creating encoder [av1_vulkan]
[2026-08-20 12:06:16.511]: Info: Color coding: SDR (Rec. 709)
[2026-08-20 12:06:16.511]: Info: Color depth: 10-bit
[2026-08-20 12:06:16.511]: Info: Color range: JPEG
[2026-08-20 12:06:16.540]: Info: Streaming bitrate is 1000000
[2026-08-20 12:06:16.541]: Info: Vulkan encode using GPU: AMD Radeon RX 7900 XT (RADV NAVI31)
[2026-08-20 12:06:16.550]: Info:
[2026-08-20 12:06:16.550]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2026-08-20 12:06:16.550]: Info:
[2026-08-20 12:06:16.550]: Info: Found H.264 encoder: h264_vulkan [vulkan]
[2026-08-20 12:06:16.550]: Info: Found HEVC encoder: hevc_vulkan [vulkan]
[2026-08-20 12:06:16.550]: Info: Found AV1 encoder: av1_vulkan [vulkan]
[2026-08-20 12:06:16.551]: Info: Starting system tray
[2026-08-20 12:06:16.552]: Info: Adding avahi service KokPit-Ubuntu
[2026-08-20 12:06:16.554]: Info: Configuration UI available at [https://localhost:47990]
[2026-08-20 12:06:16.571]: Info: System tray created
[2026-08-20 12:06:16.571]: Info: Starting main loop
[2026-08-20 12:06:17.439]: Info: Avahi service KokPit-Ubuntu successfully established.
[2026-08-20 12:51:23.627]: Info: Web UI: [127.0.0.1] -- not authorized
Online logs
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with /usr/bin/sunshine and reproduce the Ubuntu 24.04 boot-time launch using the supplied log, focusing on the SIGSEGV and startup display/encoder initialization messages. Done means Sunshine starts without the Ubuntu crash dialog or SIGSEGV while streaming continues to work.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, ubuntu
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 38/100