LizardByte / LizardByte/Sunshine

Invisible system tray with weird popover behaviour

Open
#5,276 19 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?

This issue is present in the latest pre-release

### Describe the Bug

Updated to the latest Sunshine version (pre-release, `2026.608.233907-1`). After rebooting, the system icon for Sunshine is no longer visible. When right clicking the system tray icon, instead of a popover, a window in the middle of the screen appears. Here's a video reproducing the issue:

https://github.com/user-attachments/assets/74c65d1b-f03a-4f24-a046-9d69888e63ee

### Expected Behavior

The tray icon should be visible, and when right-clicking, a popover should appear right next to the tray icon.

### Additional Context

Probably has something to do with #4907

### Host Operating System

Linux

### Operating System Version

OpenSUSE Tumbleweed

### Architecture

amd64/x86_64

### Package

Linux - Fedora Copr

### GPU Type

NVIDIA

### GPU Model

Nvidia RTX 4060

### GPU Driver/Mesa Version

595.80

### Capture Method

KMS (Linux)

### Apps

```json

```

### Log output

```shell
[2026-06-09 09:39:43.157]: Info: Sunshine version: 2026.608.233907 commit: 6bc2701160ed181e2cd01969bf2c8cd9e77957d3
[2026-06-09 09:39:43.157]: Info: Package Publisher: LizardByte
[2026-06-09 09:39:43.157]: Info: Publisher Website: https://app.lizardbyte.dev
[2026-06-09 09:39:43.157]: Info: Get support: https://app.lizardbyte.dev/support
[2026-06-09 09:39:43.157]: Info: config: 'origin_web_ui_allowed' = pc
[2026-06-09 09:39:43.157]: Info: config: 'sunshine_name' = Daniel-Linux
[2026-06-09 09:39:43.157]: Info: config: 'wan_encryption_mode' = 1
[2026-06-09 09:39:43.234]: Error: Failed to create session:
[2026-06-09 09:39:43.234]: Info: [wayland] Found display [wayland-0]
[2026-06-09 09:39:43.234]: Info: [wayland] Found interface: zxdg_output_manager_v1(31) version 3
[2026-06-09 09:39:43.234]: Info: [wayland] Found interface: zwp_linux_dmabuf_v1(57) version 5
[2026-06-09 09:39:43.235]: Info: [wayland] Found interface: wl_output(65) version 4
[2026-06-09 09:39:43.235]: Info: [wayland] Found interface: wl_output(66) version 4
[2026-06-09 09:39:43.235]: Warning: [wlgrab] Missing Wayland wire for wlr-export-dmabuf
[2026-06-09 09:39:43.235]: Info: /dev/dri/card2 -> nvidia-drm
[2026-06-09 09:39:43.235]: Info: /dev/dri/card1 -> i915
[2026-06-09 09:39:43.247]: Info: [wayland] Found display [wayland-0]
[2026-06-09 09:39:43.247]: Info: [wayland] Found display [wayland-0]
[2026-06-09 09:39:43.247]: Info: [wayland] Found interface: zxdg_output_manager_v1(31) version 3
[2026-06-09 09:39:43.247]: Info: [wayland] Found interface: zwp_linux_dmabuf_v1(57) version 5
[2026-06-09 09:39:43.247]: Info: [wayland] Found interface: wl_output(65) version 4
[2026-06-09 09:39:43.247]: Info: [wayland] Found interface: wl_output(66) version 4
[2026-06-09 09:39:43.247]: Info: [wayland] Resolution: 1920x1080
[2026-06-09 09:39:43.247]: Info: [wayland] Resolution: 1920x1080
[2026-06-09 09:39:43.247]: Info: [wayland] Offset: 0x0
[2026-06-09 09:39:43.247]: Info: [wayland] Logical size: 1920x1080
[2026-06-09 09:39:43.247]: Info: [wayland] Name: DP-2
[2026-06-09 09:39:43.247]: Info: [wayland] Found monitor: Acer Technologies KG251Q
[2026-06-09 09:39:43.247]: Info: [wayland] Offset: 1920x0
[2026-06-09 09:39:43.247]: Info: [wayland] Logical size: 1920x1080
[2026-06-09 09:39:43.247]: Info: [wayland] Name: DP-3
[2026-06-09 09:39:43.247]: Info: [wayland] Found monitor: Acer Technologies KG251Q
[2026-06-09 09:39:43.247]: Info: -------- Start of KMS monitor list --------
[2026-06-09 09:39:43.247]: Info: Monitor 1 is DP-2: Acer Technologies KG251Q
[2026-06-09 09:39:43.247]: Info: --------- End of KMS monitor list ---------
[2026-06-09 09:39:43.247]: Info: [portalgrab] Loaded portal restore token from disk
[2026-06-09 09:39:43.272]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2026-06-09 09:39:43.272]: Info: Trying encoder [nvenc]
[2026-06-09 09:39:43.272]: Info: Screencasting with KMS
[2026-06-09 09:39:43.272]: Info: /dev/dri/card2 -> nvidia-drm
[2026-06-09 09:39:43.272]: Info: Found monitor for DRM screencasting
[2026-06-09 09:39:43.272]: Info: Found connector ID [128]
[2026-06-09 09:39:43.272]: Info: Found cursor plane [56]
[2026-06-09 09:39:43.272]: Info: Creating encoder [h264_nvenc]
[2026-06-09 09:39:43.272]: Info: Color coding: SDR (Rec. 601)
[2026-06-09 09:39:43.272]: Info: Color depth: 8-bit
[2026-06-09 09:39:43.272]: Info: Color range: JPEG
[2026-06-09 09:39:43.285]: Info: EGL: context priority set to HIGH
[2026-06-09 09:39:43.389]: Info: Streaming bitrate is 1000000
[2026-06-09 09:39:43.443]: Info: Creating encoder [hevc_nvenc]
[2026-06-09 09:39:43.443]: Info: Color coding: SDR (Rec. 601)
[2026-06-09 09:39:43.443]: Info: Color depth: 8-bit
[2026-06-09 09:39:43.443]: Info: Color range: JPEG
[2026-06-09 09:39:43.444]: Info: EGL: context priority set to HIGH
[2026-06-09 09:39:43.445]: Info: Streaming bitrate is 1000000
[2026-06-09 09:39:43.470]: Info: Creating encoder [av1_nvenc]
[2026-06-09 09:39:43.470]: Info: Color coding: SDR (Rec. 601)
[2026-06-09 09:39:43.470]: Info: Color depth: 8-bit
[2026-06-09 09:39:43.470]: Info: Color range: JPEG
[2026-06-09 09:39:43.471]: Info: EGL: context priority set to HIGH
[2026-06-09 09:39:43.473]: Info: Streaming bitrate is 1000000
[2026-06-09 09:39:43.498]: Info: Screencasting with KMS
[2026-06-09 09:39:43.498]: Info: /dev/dri/card2 -> nvidia-drm
[2026-06-09 09:39:43.498]: Info: Found monitor for DRM screencasting
[2026-06-09 09:39:43.499]: Info: Found connector ID [128]
[2026-06-09 09:39:43.499]: Info: Found cursor plane [56]
[2026-06-09 09:39:43.499]: Info: Creating encoder [hevc_nvenc]
[2026-06-09 09:39:43.499]: Info: Color coding: SDR (Rec. 709)
[2026-06-09 09:39:43.499]: Info: Color depth: 10-bit
[2026-06-09 09:39:43.499]: Info: Color range: JPEG
[2026-06-09 09:39:43.499]: Info: EGL: context priority set to HIGH
[2026-06-09 09:39:43.501]: Info: Streaming bitrate is 1000000
[2026-06-09 09:39:43.528]: Info: Creating encoder [av1_nvenc]
[2026-06-09 09:39:43.528]: Info: Color coding: SDR (Rec. 709)
[2026-06-09 09:39:43.528]: Info: Color depth: 10-bit
[2026-06-09 09:39:43.528]: Info: Color range: JPEG
[2026-06-09 09:39:43.528]: Info: EGL: context priority set to HIGH
[2026-06-09 09:39:43.530]: Info: Streaming bitrate is 1000000
[2026-06-09 09:39:43.558]: Info:
[2026-06-09 09:39:43.558]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2026-06-09 09:39:43.558]: Info:
[2026-06-09 09:39:43.558]: Info: Found H.264 encoder: h264_nvenc [nvenc]
[2026-06-09 09:39:43.558]: Info: Found HEVC encoder: hevc_nvenc [nvenc]
[2026-06-09 09:39:43.558]: Info: Found AV1 encoder: av1_nvenc [nvenc]
[2026-06-09 09:39:43.558]: Info: Starting system tray
[2026-06-09 09:39:43.559]: Info: Adding avahi service localhost
[2026-06-09 09:39:43.598]: Info: Configuration UI available at [https://localhost:47990]
[2026-06-09 09:39:43.622]: Info: System tray created
[2026-06-09 09:39:43.622]: Info: Starting main loop
[2026-06-09 09:39:44.425]: Info: Avahi service localhost successfully established.
[2026-06-09 09:40:07.204]: Info: Web UI: [127.0.0.1] -- not authorized
[2026-06-09 09:40:08.604]: Info: Web UI: [127.0.0.1] -- not authorized
[2026-06-09 09:44:51.911]: Info: Opening UI from system tray
[2026-06-09 09:44:51.943]: Info: Opened url [https://localhost:47990]
[2026-06-09 09:44:52.300]: Info: Web UI: [127.0.0.1] -- not authorized
```

### 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

Start by reproducing the issue after reboot on Linux/Wayland, using the system tray initialization shown in the log and comparing the behavior with #4907. Check why the tray icon is invisible and why right-click opens a centered window instead of a nearby popover. Done means the icon is visible and the popover appears beside it.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, linux
Domain
desktop, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.