Sunshine icon indicating copy to clipboard operation
Sunshine copied to clipboard

Desktop (apps) keeps flickering through game stream

Open MetalJacketNL opened this issue 1 year ago • 4 comments

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

When in a game, the desktop background (or whatever app is opened on the desktop for that matter) keeps flickering through the game stream. On the video I captured you can see the Rockstar Launcher, which is opened in the background flickering through Red Dead Redemption 2.

The flickering starts when you are past the loading screen and in the actual game. There is no flickering when starting the game, in the main menu or when the loading screen comes up. Right after loading is done and the loading screen is gone, the flickering starts.

Video: https://youtu.be/XdfZ0aDfmLk

Expected Behavior

No flickering and smooth streaming

Additional Context

I tried several versions of Sunshine, including a non pre-release.

Host Operating System

Linux

Operating System Version

Fedora 40

Architecture

64 bit

Sunshine commit or version

v2024.928.45639

Package

Linux - rpm

GPU Type

Nvidia

GPU Model

RTX 3080 Founders Edition

GPU Driver/Mesa Version

Driver Version: 555.58.02 CUDA Version: 12.5

Capture Method

None

Config

This file is empty??

Apps

No response

Relevant log output

[2024-09-28 16:15:01.930]: Info: Sunshine version: v2024.928.45639
[2024-09-28 16:15:01.930]: Info: Package Publisher: LizardByte
[2024-09-28 16:15:01.930]: Info: Publisher Website: https://app.lizardbyte.dev
[2024-09-28 16:15:01.930]: Info: Get support: https://app.lizardbyte.dev/support
[2024-09-28 16:15:01.932]: Info: Found display [wayland-0]
[2024-09-28 16:15:01.936]: Info: Found interface: zxdg_output_manager_v1(31) version 3
[2024-09-28 16:15:01.936]: Info: Found interface: wl_output(61) version 4
[2024-09-28 16:15:01.936]: Info: Found interface: wl_output(70) version 4
[2024-09-28 16:15:01.936]: Warning: Missing Wayland wire for wlr-export-dmabuf
[2024-09-28 16:15:01.936]: Info: /dev/dri/card1 -> nvidia-drm
[2024-09-28 16:15:01.937]: Info: Found display [wayland-0]
[2024-09-28 16:15:01.937]: Info: Found display [wayland-0]
[2024-09-28 16:15:01.937]: Info: Found interface: zxdg_output_manager_v1(31) version 3
[2024-09-28 16:15:01.937]: Info: Found interface: wl_output(61) version 4
[2024-09-28 16:15:01.937]: Info: Found interface: wl_output(70) version 4
[2024-09-28 16:15:01.937]: Info: Resolution: 2560x1440
[2024-09-28 16:15:01.937]: Info: Resolution: 2560x1440
[2024-09-28 16:15:01.937]: Info: Offset: 2560x0
[2024-09-28 16:15:01.937]: Info: Logical size: 2560x1440
[2024-09-28 16:15:01.937]: Info: Name: DP-3
[2024-09-28 16:15:01.937]: Info: Found monitor: Dell Inc. DELL G2724D/33LC4V3
[2024-09-28 16:15:01.937]: Info: Offset: 0x0
[2024-09-28 16:15:01.937]: Info: Logical size: 2560x1440
[2024-09-28 16:15:01.937]: Info: Name: DP-2
[2024-09-28 16:15:01.937]: Info: Found monitor: Dell Inc. DELL G2724D/33PB4V3
[2024-09-28 16:15:01.937]: Info: -------- Start of KMS monitor list --------
[2024-09-28 16:15:01.937]: Info: Monitor 0 is DP-3: Dell Inc. DELL G2724D/33LC4V3
[2024-09-28 16:15:01.937]: Info: Monitor 1 is DP-2: Dell Inc. DELL G2724D/33PB4V3
[2024-09-28 16:15:01.937]: Info: --------- End of KMS monitor list ---------
[2024-09-28 16:15:01.965]: Info: System tray created
[2024-09-28 16:15:02.062]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2024-09-28 16:15:02.062]: Info: Trying encoder [nvenc]
[2024-09-28 16:15:02.062]: Info: Screencasting with KMS
[2024-09-28 16:15:02.062]: Info: /dev/dri/card1 -> nvidia-drm
[2024-09-28 16:15:02.063]: Info: Found monitor for DRM screencasting
[2024-09-28 16:15:02.063]: Info: Found connector ID [100]
[2024-09-28 16:15:02.063]: Info: Found cursor plane [39]
[2024-09-28 16:15:02.063]: Warning: Attempting to use NVENC without CUDA support. Reverting back to GPU -> RAM -> GPU
[2024-09-28 16:15:02.063]: Info: /dev/dri/card1 -> nvidia-drm
[2024-09-28 16:15:02.063]: Info: Found monitor for DRM screencasting
[2024-09-28 16:15:02.063]: Info: Found connector ID [100]
[2024-09-28 16:15:02.063]: Info: Found cursor plane [39]
[2024-09-28 16:15:02.252]: Info: Creating encoder [h264_nvenc]
[2024-09-28 16:15:02.252]: Info: Color coding: SDR (Rec. 601)
[2024-09-28 16:15:02.252]: Info: Color depth: 8-bit
[2024-09-28 16:15:02.252]: Info: Color range: JPEG
[2024-09-28 16:15:02.736]: Info: Creating encoder [hevc_nvenc]
[2024-09-28 16:15:02.736]: Info: Color coding: SDR (Rec. 601)
[2024-09-28 16:15:02.736]: Info: Color depth: 8-bit
[2024-09-28 16:15:02.736]: Info: Color range: JPEG
[2024-09-28 16:15:03.162]: Info: Creating encoder [av1_nvenc]
[2024-09-28 16:15:03.162]: Info: Color coding: SDR (Rec. 601)
[2024-09-28 16:15:03.162]: Info: Color depth: 8-bit
[2024-09-28 16:15:03.162]: Info: Color range: JPEG
[2024-09-28 16:15:03.268]: Warning: [av1_nvenc @ 0x2eb8c780] Codec not supported
[2024-09-28 16:15:03.268]: Error: [av1_nvenc @ 0x2eb8c780] Provided device doesn't support required NVENC features
[2024-09-28 16:15:03.588]: Error: Could not open codec [av1_nvenc]: Function not implemented
[2024-09-28 16:15:03.589]: Info: Screencasting with KMS
[2024-09-28 16:15:03.589]: Info: /dev/dri/card1 -> nvidia-drm
[2024-09-28 16:15:03.589]: Info: Found monitor for DRM screencasting
[2024-09-28 16:15:03.589]: Info: Found connector ID [100]
[2024-09-28 16:15:03.589]: Info: Found cursor plane [39]
[2024-09-28 16:15:03.590]: Warning: Attempting to use NVENC without CUDA support. Reverting back to GPU -> RAM -> GPU
[2024-09-28 16:15:03.590]: Info: /dev/dri/card1 -> nvidia-drm
[2024-09-28 16:15:03.590]: Info: Found monitor for DRM screencasting
[2024-09-28 16:15:03.590]: Info: Found connector ID [100]
[2024-09-28 16:15:03.590]: Info: Found cursor plane [39]
[2024-09-28 16:15:03.592]: Info: Creating encoder [hevc_nvenc]
[2024-09-28 16:15:03.592]: Info: Color coding: SDR (Rec. 709)
[2024-09-28 16:15:03.592]: Info: Color depth: 10-bit
[2024-09-28 16:15:03.592]: Info: Color range: JPEG
[2024-09-28 16:15:04.017]: Info: 
[2024-09-28 16:15:04.017]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2024-09-28 16:15:04.017]: Info: 
[2024-09-28 16:15:04.017]: Info: Found H.264 encoder: h264_nvenc [nvenc]
[2024-09-28 16:15:04.017]: Info: Found HEVC encoder: hevc_nvenc [nvenc]
[2024-09-28 16:15:04.019]: Info: Adding avahi service fedora
[2024-09-28 16:15:04.019]: Info: Configuration UI available at [https://localhost:47990]
[2024-09-28 16:15:04.806]: Info: Avahi service fedora successfully established.
[2024-09-28 16:15:45.611]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2024-09-28 16:15:45.611]: Info: Trying encoder [nvenc]
[2024-09-28 16:15:45.611]: Info: Screencasting with KMS
[2024-09-28 16:15:45.611]: Info: /dev/dri/card1 -> nvidia-drm
[2024-09-28 16:15:45.611]: Info: Found monitor for DRM screencasting
[2024-09-28 16:15:45.611]: Info: Found connector ID [100]
[2024-09-28 16:15:45.612]: Info: Found cursor plane [39]
[2024-09-28 16:15:45.612]: Warning: Attempting to use NVENC without CUDA support. Reverting back to GPU -> RAM -> GPU
[2024-09-28 16:15:45.612]: Info: /dev/dri/card1 -> nvidia-drm
[2024-09-28 16:15:45.612]: Info: Found monitor for DRM screencasting
[2024-09-28 16:15:45.612]: Info: Found connector ID [100]
[2024-09-28 16:15:45.612]: Info: Found cursor plane [39]
[2024-09-28 16:15:45.701]: Info: Creating encoder [h264_nvenc]
[2024-09-28 16:15:45.701]: Info: Color coding: SDR (Rec. 601)
[2024-09-28 16:15:45.701]: Info: Color depth: 8-bit
[2024-09-28 16:15:45.701]: Info: Color range: JPEG
[2024-09-28 16:15:46.136]: Info: Creating encoder [hevc_nvenc]
[2024-09-28 16:15:46.136]: Info: Color coding: SDR (Rec. 601)
[2024-09-28 16:15:46.136]: Info: Color depth: 8-bit
[2024-09-28 16:15:46.136]: Info: Color range: JPEG
[2024-09-28 16:15:46.561]: Info: Creating encoder [av1_nvenc]
[2024-09-28 16:15:46.561]: Info: Color coding: SDR (Rec. 601)
[2024-09-28 16:15:46.561]: Info: Color depth: 8-bit
[2024-09-28 16:15:46.561]: Info: Color range: JPEG
[2024-09-28 16:15:46.666]: Warning: [av1_nvenc @ 0x7f14cc3ce940] Codec not supported
[2024-09-28 16:15:46.666]: Error: [av1_nvenc @ 0x7f14cc3ce940] Provided device doesn't support required NVENC features
[2024-09-28 16:15:46.983]: Error: Could not open codec [av1_nvenc]: Function not implemented
[2024-09-28 16:15:46.985]: Info: Screencasting with KMS
[2024-09-28 16:15:46.985]: Info: /dev/dri/card1 -> nvidia-drm
[2024-09-28 16:15:46.985]: Info: Found monitor for DRM screencasting
[2024-09-28 16:15:46.985]: Info: Found connector ID [100]
[2024-09-28 16:15:46.985]: Info: Found cursor plane [39]
[2024-09-28 16:15:46.985]: Warning: Attempting to use NVENC without CUDA support. Reverting back to GPU -> RAM -> GPU
[2024-09-28 16:15:46.985]: Info: /dev/dri/card1 -> nvidia-drm
[2024-09-28 16:15:46.985]: Info: Found monitor for DRM screencasting
[2024-09-28 16:15:46.985]: Info: Found connector ID [100]
[2024-09-28 16:15:46.985]: Info: Found cursor plane [39]
[2024-09-28 16:15:46.987]: Info: Creating encoder [hevc_nvenc]
[2024-09-28 16:15:46.987]: Info: Color coding: SDR (Rec. 709)
[2024-09-28 16:15:46.987]: Info: Color depth: 10-bit
[2024-09-28 16:15:46.987]: Info: Color range: JPEG
[2024-09-28 16:15:47.413]: Info: 
[2024-09-28 16:15:47.413]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2024-09-28 16:15:47.413]: Info: 
[2024-09-28 16:15:47.413]: Info: Found H.264 encoder: h264_nvenc [nvenc]
[2024-09-28 16:15:47.413]: Info: Found HEVC encoder: hevc_nvenc [nvenc]
[2024-09-28 16:15:47.415]: Info: Spawning [setsid steam steam://open/bigpicture] in ["/usr/bin"]
[2024-09-28 16:15:47.417]: Info: Executing [Desktop]
[2024-09-28 16:15:47.546]: Info: CLIENT CONNECTED
[2024-09-28 16:15:47.547]: Info: /dev/dri/card1 -> nvidia-drm
[2024-09-28 16:15:47.547]: Info: Found display [wayland-0]
[2024-09-28 16:15:47.547]: Info: Found interface: zxdg_output_manager_v1(31) version 3
[2024-09-28 16:15:47.547]: Info: Found interface: wl_output(61) version 4
[2024-09-28 16:15:47.547]: Info: Found interface: wl_output(70) version 4
[2024-09-28 16:15:47.548]: Info: Resolution: 2560x1440
[2024-09-28 16:15:47.548]: Info: Resolution: 2560x1440
[2024-09-28 16:15:47.548]: Info: Offset: 2560x0
[2024-09-28 16:15:47.548]: Info: Logical size: 2560x1440
[2024-09-28 16:15:47.548]: Info: Name: DP-3
[2024-09-28 16:15:47.548]: Info: Found monitor: Dell Inc. DELL G2724D/33LC4V3
[2024-09-28 16:15:47.548]: Info: Offset: 0x0
[2024-09-28 16:15:47.548]: Info: Logical size: 2560x1440
[2024-09-28 16:15:47.548]: Info: Name: DP-2
[2024-09-28 16:15:47.548]: Info: Found monitor: Dell Inc. DELL G2724D/33PB4V3
[2024-09-28 16:15:47.548]: Info: -------- Start of KMS monitor list --------
[2024-09-28 16:15:47.548]: Info: Monitor 0 is DP-3: Dell Inc. DELL G2724D/33LC4V3
[2024-09-28 16:15:47.548]: Info: Monitor 1 is DP-2: Dell Inc. DELL G2724D/33PB4V3
[2024-09-28 16:15:47.548]: Info: --------- End of KMS monitor list ---------
[2024-09-28 16:15:47.548]: Info: Screencasting with KMS
[2024-09-28 16:15:47.548]: Info: /dev/dri/card1 -> nvidia-drm
[2024-09-28 16:15:47.548]: Info: Found monitor for DRM screencasting
[2024-09-28 16:15:47.548]: Info: Found connector ID [100]
[2024-09-28 16:15:47.548]: Info: Found cursor plane [39]
[2024-09-28 16:15:47.548]: Warning: Attempting to use NVENC without CUDA support. Reverting back to GPU -> RAM -> GPU
[2024-09-28 16:15:47.548]: Info: /dev/dri/card1 -> nvidia-drm
[2024-09-28 16:15:47.548]: Info: Found monitor for DRM screencasting
[2024-09-28 16:15:47.548]: Info: Found connector ID [100]
[2024-09-28 16:15:47.548]: Info: Found cursor plane [39]
[2024-09-28 16:15:47.634]: Info: Creating encoder [hevc_nvenc]
[2024-09-28 16:15:47.634]: Info: Color coding: SDR (Rec. 601)
[2024-09-28 16:15:47.634]: Info: Color depth: 8-bit
[2024-09-28 16:15:47.634]: Info: Color range: MPEG
[2024-09-28 16:15:47.712]: Info: Gamepad 0 will be Xbox One controller (default)
[2024-09-28 16:15:48.008]: Info: Setting default sink to: [sink-sunshine-stereo]
[2024-09-28 16:15:48.008]: Info: Found default monitor by name: sink-sunshine-stereo.monitor
[2024-09-28 16:15:48.046]: Info: Opus initialized: 48 kHz, 2 channels, 512 kbps (total), LOWDELAY
[2024-09-28 16:18:35.925]: Info: CLIENT DISCONNECTED
[2024-09-28 16:18:35.925]: Info: Setting default sink to: [alsa_output.usb-SteelSeries_SteelSeries_Arctis_7-00.mono-chat]

MetalJacketNL avatar Sep 28 '24 14:09 MetalJacketNL

It seems this issue hasn't had any activity in the past 90 days. If it's still something you'd like addressed, please let us know by leaving a comment. Otherwise, to help keep our backlog tidy, we'll be closing this issue in 10 days. Thanks!

LizardByte-bot avatar Dec 28 '24 10:12 LizardByte-bot

Still relevant

MetalJacketNL avatar Dec 28 '24 10:12 MetalJacketNL

It seems this issue hasn't had any activity in the past 90 days. If it's still something you'd like addressed, please let us know by leaving a comment. Otherwise, to help keep our backlog tidy, we'll be closing this issue in 10 days. Thanks!

LizardByte-bot avatar Mar 29 '25 10:03 LizardByte-bot

Haven't used Sunshine for a while because of this issue. I will check if this issue is still relevant. I'll close this issue if it turns out it's no longer relevant.

MetalJacketNL avatar Mar 29 '25 13:03 MetalJacketNL

It seems this issue hasn't had any activity in the past 90 days. If it's still something you'd like addressed, please let us know by leaving a comment. Otherwise, to help keep our backlog tidy, we'll be closing this issue in 10 days. Thanks!

LizardByte-bot avatar Jun 29 '25 10:06 LizardByte-bot

This issue was closed because it has been stalled for 10 days with no activity.

LizardByte-bot avatar Jul 09 '25 10:07 LizardByte-bot