Skip to content

Linux NVENC: Red and Blue inverted #4018

Open
@antgame11

Description

@antgame11

Is there an existing issue for this?

  • Yes, but it was closed

Is your issue described in the documentation?

  • 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

Title
Image

Expected Behavior

Colors are normal

Additional Context

Happens on lower resolutions only, no issue with 1920x1080

Host Operating System

Linux

Operating System Version

Xubuntu 24.04 LTS

Architecture

amd64/x86_64

Sunshine commit or version

v2025.627.172934

Package

Linux - AppImage

GPU Type

NVIDIA

GPU Model

Quadro P620

GPU Driver/Mesa Version

570.133.07

Capture Method

X11 (Linux)

Config

capture = x11
encoder = nvenc

Apps

all

Relevant log output

[2025-06-27 18:40:02.426050] [0x000077e7c0fbd000] [info]    config: 'encoder' = nvenc
[2025-06-27 18:40:02.426089] [0x000077e7c0fbd000] [info]    config: 'capture' = x11
[2025-06-27 18:40:02.427]: Info: Sunshine version: v2025.627.172934
[2025-06-27 18:40:02.427]: Info: Package Publisher: LizardByte
[2025-06-27 18:40:02.427]: Info: Publisher Website: https://app.lizardbyte.dev
[2025-06-27 18:40:02.427]: Info: Get support: https://app.lizardbyte.dev/support
[2025-06-27 18:40:02.427]: Info: config: 'capture' = x11
[2025-06-27 18:40:02.427]: Info: config: 'encoder' = nvenc
[2025-06-27 18:40:02.436]: Info: Detecting displays
[2025-06-27 18:40:02.619]: Info: Detected display: DP-0 (id: 0)DP-0 connected: false
[2025-06-27 18:40:02.619]: Info: Detected display: DP-1 (id: 1)DP-1 connected: true
[2025-06-27 18:40:02.619]: Info: Detected display: DP-2 (id: 2)DP-2 connected: false
[2025-06-27 18:40:02.619]: Info: Detected display: DP-3 (id: 3)DP-3 connected: false
[2025-06-27 18:40:02.619]: Info: Detected display: DP-4 (id: 4)DP-4 connected: false
[2025-06-27 18:40:02.619]: Info: Detected display: DP-5 (id: 5)DP-5 connected: false
[2025-06-27 18:40:02.619]: Info: Detected display: DP-6 (id: 6)DP-6 connected: false
[2025-06-27 18:40:02.619]: Info: Detected display: DP-7 (id: 7)DP-7 connected: false
[2025-06-27 18:40:02.619]: Info: Detected display: HDMI-A-1-0 (id: 8)HDMI-A-1-0 connected: false
[2025-06-27 18:40:02.619]: Info: Detected display: DisplayPort-1-0 (id: 9)DisplayPort-1-0 connected: false
/usr/lib/x86_64-linux-gnu/gvfs/libgvfscommon.so: undefined symbol: g_task_set_static_name
Failed to load module: /usr/lib/x86_64-linux-gnu/gio/modules/libgvfsdbus.so
[2025-06-27 18:40:02.727]: Info: Trying encoder [nvenc]
[2025-06-27 18:40:02.727]: Info: Screencasting with X11
[2025-06-27 18:40:02.738]: Info: Creating encoder [h264_nvenc]
[2025-06-27 18:40:02.738]: Info: Color coding: SDR (Rec. 601)
[2025-06-27 18:40:02.738]: Info: Color depth: 8-bit
[2025-06-27 18:40:02.738]: Info: Color range: JPEG
[2025-06-27 18:40:02.744]: Info: System tray created
[2025-06-27 18:40:02.848]: Info: Streaming bitrate is 1000000
[2025-06-27 18:40:02.853]: Warning: [h264_nvenc @ 0x639658189280] Multiple reference frames are not supported by the device
[2025-06-27 18:40:02.853]: Error: [h264_nvenc @ 0x639658189280] Provided device doesn't support required NVENC features
[2025-06-27 18:40:03.136]: Error: Could not open codec [h264_nvenc]: Function not implemented
[2025-06-27 18:40:03.136]: Info: Creating encoder [h264_nvenc]
[2025-06-27 18:40:03.136]: Info: Color coding: SDR (Rec. 601)
[2025-06-27 18:40:03.136]: Info: Color depth: 8-bit
[2025-06-27 18:40:03.136]: Info: Color range: JPEG
[2025-06-27 18:40:03.202]: Info: Streaming bitrate is 1000000
[2025-06-27 18:40:03.459]: Info: Creating encoder [hevc_nvenc]
[2025-06-27 18:40:03.459]: Info: Color coding: SDR (Rec. 601)
[2025-06-27 18:40:03.459]: Info: Color depth: 8-bit
[2025-06-27 18:40:03.459]: Info: Color range: JPEG
[2025-06-27 18:40:03.459]: Info: Streaming bitrate is 1000000
[2025-06-27 18:40:03.462]: Warning: [hevc_nvenc @ 0x639658189280] Multiple reference frames are not supported by the device
[2025-06-27 18:40:03.462]: Error: [hevc_nvenc @ 0x639658189280] Provided device doesn't support required NVENC features
[2025-06-27 18:40:03.714]: Error: Could not open codec [hevc_nvenc]: Function not implemented
[2025-06-27 18:40:03.714]: Info: Creating encoder [hevc_nvenc]
[2025-06-27 18:40:03.714]: Info: Color coding: SDR (Rec. 601)
[2025-06-27 18:40:03.714]: Info: Color depth: 8-bit
[2025-06-27 18:40:03.714]: Info: Color range: JPEG
[2025-06-27 18:40:03.714]: Info: Streaming bitrate is 1000000
[2025-06-27 18:40:03.973]: Info: Creating encoder [av1_nvenc]
[2025-06-27 18:40:03.973]: Info: Color coding: SDR (Rec. 601)
[2025-06-27 18:40:03.973]: Info: Color depth: 8-bit
[2025-06-27 18:40:03.973]: Info: Color range: JPEG
[2025-06-27 18:40:03.973]: Info: Streaming bitrate is 1000000
[2025-06-27 18:40:03.976]: Warning: [av1_nvenc @ 0x639658189280] Codec not supported
[2025-06-27 18:40:03.976]: Error: [av1_nvenc @ 0x639658189280] Provided device doesn't support required NVENC features
[2025-06-27 18:40:04.228]: Error: Could not open codec [av1_nvenc]: Function not implemented
[2025-06-27 18:40:04.228]: Info: Creating encoder [av1_nvenc]
[2025-06-27 18:40:04.228]: Info: Color coding: SDR (Rec. 601)
[2025-06-27 18:40:04.228]: Info: Color depth: 8-bit
[2025-06-27 18:40:04.228]: Info: Color range: JPEG
[2025-06-27 18:40:04.228]: Info: Streaming bitrate is 1000000
[2025-06-27 18:40:04.231]: Warning: [av1_nvenc @ 0x639658189280] Codec not supported
[2025-06-27 18:40:04.231]: Error: [av1_nvenc @ 0x639658189280] Provided device doesn't support required NVENC features
[2025-06-27 18:40:04.483]: Error: Could not open codec [av1_nvenc]: Function not implemented
[2025-06-27 18:40:04.484]: Info: Screencasting with X11
[2025-06-27 18:40:04.486]: Info: Creating encoder [hevc_nvenc]
[2025-06-27 18:40:04.486]: Info: Color coding: SDR (Rec. 709)
[2025-06-27 18:40:04.486]: Info: Color depth: 10-bit
[2025-06-27 18:40:04.486]: Info: Color range: JPEG
[2025-06-27 18:40:04.486]: Info: Streaming bitrate is 1000000
[2025-06-27 18:40:04.523]: Error: cuda::cuda_t doesn't support any format other than AV_PIX_FMT_NV12
[2025-06-27 18:40:04.744]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2025-06-27 18:40:04.744]: Info:
[2025-06-27 18:40:04.745]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2025-06-27 18:40:04.745]: Info:
[2025-06-27 18:40:04.745]: Info: Found H.264 encoder: h264_nvenc [nvenc]
[2025-06-27 18:40:04.745]: Info: Found HEVC encoder: hevc_nvenc [nvenc]
[2025-06-27 18:40:04.752]: Info: Adding avahi service lantern
[2025-06-27 18:40:04.763]: Info: Configuration UI available at [https://localhost:47990]
[2025-06-27 18:40:05.552]: Info: Avahi service lantern successfully established.

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