Linux/NVIDIA: full-range 4:2:0 streams #FF0000 as green and #0000FF as dark green
Maintainer thường phản hồi trong vòng 1 ngày
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 77/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- cpp, linux
- Lĩnh vực
- backend, computer-graphics
Hướng nghiên cứu
Bắt đầu tại src/platform/linux/cuda.cu, ở vị trí lưu chroma RGBA_to_NV12 được xác định trong issue, và kiểm tra cách các giá trị toàn dải được chuyển đổi thành đầu ra 8-bit. Tái hiện vấn đề với Linux/NVIDIA, 4:2:0 và capture toàn dải bằng các bước cửa sổ màu được cung cấp. Hoàn tất khi màu đỏ và xanh lam thuần được truyền đúng, đồng thời các màu khác được liệt kê và hành vi dải giới hạn vẫn chính xác.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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?
This issue is present in the latest pre-release
Describe the Bug
When a client uses 4:2:0 at full color range, two colors are incorrect in the stream:
- Pure red (
#FF0000) shows as green. - Pure blue (
#0000FF) shows as dark green.
Colors one step below the maximum are correct. #FE0000 shows as red and #0000FE shows as blue. Green and white are also correct. The display on the host shows all colors correctly.
The problem does not occur in these configurations:
- Moonlight for macOS with YUV 4:4:4 on, at full range.
- Moonlight for macOS at limited range (
COLOR_RANGE_OVERRIDE=0). - Moonlight for iOS. It uses limited range (
Color range: MPEG).
I tested stable 2026.914.233613 and pre-release v2026.1017.185028. Both versions have the problem.
Steps to reproduce
-
Use a Linux host with an NVIDIA GPU and NVENC.
-
In Moonlight for macOS, set YUV 4:4:4 to off.
-
Connect to the host.
-
Make sure that the Sunshine log shows
Color range: JPEGfor this session. -
On the X display of the host, run this script. It opens six windows. Each window has one color and shows its color code.
show() { xterm -geometry 64x25+$4+$5 -fn 10x20 -bg "$1" -fg "$3" -title "$1" \ -e sh -c "printf '\033[?25l\n $1 $2\n'; sleep 60" & } show '#ff0000' 'pure red' white 0 0 show '#fe0000' 'red 254' white 640 0 show '#00ff00' 'pure green' black 1280 0 show '#0000ff' 'pure blue' white 0 540 show '#0000fe' 'blue 254' white 640 540 show '#ffffff' 'white' black 1280 540 wait -
Compare the Moonlight window with the display of the host.
Result: the #FF0000 window is green and the #0000FF window is dark green. The other four windows are correct.
Screenshots
- Moonlight for macOS, 4:2:0, full range.
#FF0000and#0000FFare incorrect.
- The TV (host display) and the Mac at the same time. The TV shows all six colors correctly. The Mac shows the same two incorrect colors.
- Moonlight for macOS, YUV 4:4:4, full range. All six colors are correct. Only the chroma format is different from image 1.
- Moonlight for macOS, 4:2:0, limited range. All six colors are correct. Only the color range is different from image 1.
Expected Behavior
At full range with 4:2:0, #FF0000 streams as red and #0000FF streams as blue. This is the same result as at limited range or with YUV 4:4:4.
Additional Context
Possible cause
The possible cause is the chroma store in RGBA_to_NV12 in src/platform/linux/cuda.cu (lines 205-213 in v2026.1017.185028). Shortened:
float2 uv_lt = calcUV(rgb_lt, color_matrix) * 256.0f; // same for rt, lb, rb
float2 uv = (uv_lt + uv_lb + uv_rt + uv_rb) * 0.25f;
dstUV[0] = uv.x;
dstUV[1] = uv.y;
- At full range, V is 1.0 for
#FF0000and U is 1.0 for#0000FF. - The kernel multiplies the value by 256. The result is 256.0.
- The kernel writes this result to a
uint8_twithout a clamp. Thus, the value overflows to 0. - A chroma value of 0 decodes to approximately (0, 0.47, 0) for red and (0, 0.19, 0) for blue. These colors agree with image 1.
- For
#FE0000and#0000FE, the result is 255.5. The kernel writes 255, and there is no overflow. - At limited range, the maximum is 240.
RGBA_to_YUV444multiplies by 255, not 256. Thus, these configurations do not overflow.
Why I do not think that this is a client problem
The problem occurs only on the Mac, but I think that the incorrect values are already in the stream from Sunshine. I have these reasons:
- The same Mac and the same Moonlight version decode full range correctly with YUV 4:4:4 (image 3). If the client decoded full range incorrectly, image 3 would also be incorrect.
- Only the maximum value is incorrect. #FE0000 is correct, but #FF0000 is incorrect. The client receives YUV values, not RGB values. For both colors, the correct V value is 255. If Sunshine sent 255 for both colors, the Mac would show almost the same red for both.
- The colors on the Mac agree with a chroma value of 0. The decoded values are (0, 0.47, 0) for red and (0, 0.19, 0) for blue. Thus, the client decodes correctly the values that it receives.
- Moonlight for iOS shows the correct colors because it uses limited range. At limited range, the maximum is 240, and there is no overflow.
I expect that all clients that use 4:2:0 at full range show the same problem with this host. I tested only Moonlight for macOS at full range.
Possible fix
A clamp before the store prevents the overflow:
dstUV[0] = fminf(fmaxf(uv.x, 0.0f), 255.0f);
dstUV[1] = fminf(fmaxf(uv.y, 0.0f), 255.0f);
Another possible fix is to multiply by 255, as RGBA_to_YUV444 does.
Scope
I tested only NvFBC capture on Linux with NVIDIA. cuda.cu also converts frames for X11 capture on NVIDIA. Windows uses Direct3D shaders, and VA-API uses OpenGL shaders. These write to 8-bit targets that clamp the values. Thus, it is possible that they do not have this problem. I did not test them.
Host Operating System
Linux
Operating System Version
Debian 13 (trixie) in an unprivileged LXC container, Proxmox VE pve-manager/9.2.4/5e5ae681198514d4 (running kernel: 7.0.14-5-pve)
Architecture
amd64/x86_64
Package
Linux - deb
GPU Type
NVIDIA
GPU Model
NVIDIA T400 4GB
GPU Driver/Mesa Version
610.43.02
Capture Method
NvFBC (Linux)
Apps
Log output
[2026-10-17 12:19:58.685]: Info: Sunshine version: 2026.1017.22144 commit: 1582fffb47eaf80c91dfa282d7346fb7cd6ceb09
[2026-10-17 12:19:58.686]: Info: Package Publisher: LizardByte
[2026-10-17 12:19:58.686]: Info: Publisher Website: https://app.lizardbyte.dev
[2026-10-17 12:19:58.686]: Info: Get support: https://app.lizardbyte.dev/support
[2026-10-17 12:19:58.686]: Info: config: 'back_button_timeout' = 1000
[2026-10-17 12:19:58.686]: Info: config: 'system_tray' = disabled
[2026-10-17 12:19:59.163]: Info: Found [1] outputs
[2026-10-17 12:19:59.163]: Info: Virtual Desktop: 1920x1080
[2026-10-17 12:19:59.163]: Info: XrandR: available
[2026-10-17 12:19:59.163]: Info: -- Output --
[2026-10-17 12:19:59.163]: Info: Resolution: 1920x1080
[2026-10-17 12:19:59.163]: Info: Offset: 0x0
[2026-10-17 12:19:59.206]: Error: Couldn't release NvFBC context from current thread:
[2026-10-17 12:19:59.207]: Info: Detecting displays
[2026-10-17 12:19:59.305]: Info: Detected display: DP-0 (id: 0)DP-0 connected: false
[2026-10-17 12:19:59.305]: Info: Detected display: DP-1 (id: 1)DP-1 connected: false
[2026-10-17 12:19:59.305]: Info: Detected display: DP-2 (id: 2)DP-2 connected: false
[2026-10-17 12:19:59.305]: Info: Detected display: DP-3 (id: 3)DP-3 connected: true
[2026-10-17 12:19:59.305]: Info: Detected display: DP-4 (id: 4)DP-4 connected: false
[2026-10-17 12:19:59.305]: Info: Detected display: DP-5 (id: 5)DP-5 connected: false
[2026-10-17 12:19:59.325]: Info: [libvirtualhid] initialized linux-uhid-uinput backend
[2026-10-17 12:19:59.325]: Info: [libvirtualhid] created mouse 2
[2026-10-17 12:19:59.325]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2026-10-17 12:19:59.325]: Info: Trying encoder [nvenc]
[2026-10-17 12:19:59.325]: Info: Screencasting with NvFBC
[2026-10-17 12:19:59.578]: Info: Creating encoder [h264_nvenc]
[2026-10-17 12:19:59.578]: Info: Color coding: SDR (Rec. 601)
[2026-10-17 12:19:59.578]: Info: Color depth: 8-bit
[2026-10-17 12:19:59.578]: Info: Color range: JPEG
[2026-10-17 12:19:59.677]: Info: Streaming bitrate is 1000000
[2026-10-17 12:19:59.684]: Warning: [h264_nvenc @ 0x64d0c57d4ac0] Multiple reference frames are not supported by the device
[2026-10-17 12:19:59.684]: Error: [h264_nvenc @ 0x64d0c57d4ac0] Provided device doesn't support required NVENC features
[2026-10-17 12:19:59.748]: Error: Could not open codec [h264_nvenc]: Function not implemented
[2026-10-17 12:19:59.748]: Info: Creating encoder [h264_nvenc]
[2026-10-17 12:19:59.748]: Info: Color coding: SDR (Rec. 601)
[2026-10-17 12:19:59.748]: Info: Color depth: 8-bit
[2026-10-17 12:19:59.748]: Info: Color range: JPEG
[2026-10-17 12:19:59.837]: Info: Streaming bitrate is 1000000
[2026-10-17 12:19:59.873]: Info: Creating encoder [hevc_nvenc]
[2026-10-17 12:19:59.873]: Info: Color coding: SDR (Rec. 601)
[2026-10-17 12:19:59.873]: Info: Color depth: 8-bit
[2026-10-17 12:19:59.873]: Info: Color range: JPEG
[2026-10-17 12:19:59.873]: Info: Streaming bitrate is 1000000
[2026-10-17 12:19:59.879]: Warning: [hevc_nvenc @ 0x64d0c57d4ac0] Multiple reference frames are not supported by the device
[2026-10-17 12:19:59.879]: Error: [hevc_nvenc @ 0x64d0c57d4ac0] Provided device doesn't support required NVENC features
[2026-10-17 12:19:59.880]: Error: Could not open codec [hevc_nvenc]: Function not implemented
[2026-10-17 12:19:59.880]: Info: Creating encoder [hevc_nvenc]
[2026-10-17 12:19:59.880]: Info: Color coding: SDR (Rec. 601)
[2026-10-17 12:19:59.880]: Info: Color depth: 8-bit
[2026-10-17 12:19:59.880]: Info: Color range: JPEG
[2026-10-17 12:19:59.880]: Info: Streaming bitrate is 1000000
[2026-10-17 12:19:59.912]: Info: Creating encoder [av1_nvenc]
[2026-10-17 12:19:59.912]: Info: Color coding: SDR (Rec. 601)
[2026-10-17 12:19:59.912]: Info: Color depth: 8-bit
[2026-10-17 12:19:59.912]: Info: Color range: JPEG
[2026-10-17 12:19:59.912]: Info: Streaming bitrate is 1000000
[2026-10-17 12:19:59.918]: Warning: [av1_nvenc @ 0x64d0c57d4ac0] Codec not supported
[2026-10-17 12:19:59.918]: Error: [av1_nvenc @ 0x64d0c57d4ac0] Provided device doesn't support required NVENC features
[2026-10-17 12:19:59.919]: Error: Could not open codec [av1_nvenc]: Function not implemented
[2026-10-17 12:19:59.919]: Info: Creating encoder [av1_nvenc]
[2026-10-17 12:19:59.919]: Info: Color coding: SDR (Rec. 601)
[2026-10-17 12:19:59.919]: Info: Color depth: 8-bit
[2026-10-17 12:19:59.919]: Info: Color range: JPEG
[2026-10-17 12:19:59.919]: Info: Streaming bitrate is 1000000
[2026-10-17 12:19:59.925]: Warning: [av1_nvenc @ 0x64d0c57d4ac0] Codec not supported
[2026-10-17 12:19:59.925]: Error: [av1_nvenc @ 0x64d0c57d4ac0] Provided device doesn't support required NVENC features
[2026-10-17 12:19:59.925]: Error: Could not open codec [av1_nvenc]: Function not implemented
[2026-10-17 12:19:59.951]: Error: Couldn't release NvFBC context from current thread:
[2026-10-17 12:19:59.951]: Info: Screencasting with NvFBC
[2026-10-17 12:20:00.202]: Info: Creating encoder [h264_nvenc]
[2026-10-17 12:20:00.202]: Info: Color coding: SDR (Rec. 601)
[2026-10-17 12:20:00.202]: Info: Color depth: 8-bit
[2026-10-17 12:20:00.202]: Info: Color range: JPEG
[2026-10-17 12:20:00.202]: Info: Streaming bitrate is 1000000
[2026-10-17 12:20:00.267]: Error: Couldn't release NvFBC context from current thread:
[2026-10-17 12:20:00.267]: Info: Screencasting with NvFBC
[2026-10-17 12:20:00.509]: Info: Creating encoder [hevc_nvenc]
[2026-10-17 12:20:00.509]: Info: Color coding: SDR (Rec. 601)
[2026-10-17 12:20:00.509]: Info: Color depth: 8-bit
[2026-10-17 12:20:00.509]: Info: Color range: JPEG
[2026-10-17 12:20:00.509]: Info: Streaming bitrate is 1000000
[2026-10-17 12:20:00.567]: Error: Couldn't release NvFBC context from current thread:
[2026-10-17 12:20:00.567]: Info: Screencasting with NvFBC
[2026-10-17 12:20:00.824]: Info: Creating encoder [hevc_nvenc]
[2026-10-17 12:20:00.824]: Info: Color coding: SDR (Rec. 709)
[2026-10-17 12:20:00.824]: Info: Color depth: 10-bit
[2026-10-17 12:20:00.824]: Info: Color range: JPEG
[2026-10-17 12:20:00.824]: Info: Streaming bitrate is 1000000
[2026-10-17 12:20:00.843]: Error: cuda::cuda_t doesn't support any format other than AV_PIX_FMT_NV12 and AV_PIX_FMT_YUV444P
[2026-10-17 12:20:00.884]: Error: Couldn't release NvFBC context from current thread:
[2026-10-17 12:20:00.884]: Info: Screencasting with NvFBC
[2026-10-17 12:20:01.126]: Info: Creating encoder [hevc_nvenc]
[2026-10-17 12:20:01.126]: Info: Color coding: SDR (Rec. 709)
[2026-10-17 12:20:01.126]: Info: Color depth: 10-bit
[2026-10-17 12:20:01.126]: Info: Color range: JPEG
[2026-10-17 12:20:01.126]: Info: Streaming bitrate is 1000000
[2026-10-17 12:20:01.148]: Error: cuda::cuda_t doesn't support any format other than AV_PIX_FMT_NV12 and AV_PIX_FMT_YUV444P
[2026-10-17 12:20:01.184]: Error: Couldn't release NvFBC context from current thread:
[2026-10-17 12:20:01.184]: Info: Screencasting with NvFBC
[2026-10-17 12:20:01.468]: Error: Couldn't release NvFBC context from current thread:
[2026-10-17 12:20:01.468]: Info: Screencasting with NvFBC
[2026-10-17 12:20:01.767]: Error: Couldn't release NvFBC context from current thread:
[2026-10-17 12:20:01.767]: Info: Screencasting with NvFBC
[2026-10-17 12:20:02.034]: Error: Couldn't release NvFBC context from current thread:
[2026-10-17 12:20:02.034]: Info:
[2026-10-17 12:20:02.034]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2026-10-17 12:20:02.034]: Info:
[2026-10-17 12:20:02.034]: Info: Found H.264 encoder: h264_nvenc [nvenc]
[2026-10-17 12:20:02.034]: Info: Found HEVC encoder: hevc_nvenc [nvenc]
[2026-10-17 12:20:02.035]: Info: No main thread features enabled, skipping event loop
[2026-10-17 12:20:02.036]: Error: Failed to create client: Daemon not running
[2026-10-17 12:20:02.036]: Info: Configuration UI available at [https://localhost:47990]
[2026-10-17 12:20:12.126]: Info: Display device configuration is disabled. Reverting any active display device configuration.
[2026-10-17 12:20:12.126]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2026-10-17 12:20:12.126]: Info: Trying encoder [nvenc]
[2026-10-17 12:20:12.126]: Info: Screencasting with NvFBC
[2026-10-17 12:20:12.543]: Info: Creating encoder [h264_nvenc]
[2026-10-17 12:20:12.543]: Info: Color coding: SDR (Rec. 601)
[2026-10-17 12:20:12.543]: Info: Color depth: 8-bit
[2026-10-17 12:20:12.543]: Info: Color range: JPEG
[2026-10-17 12:20:12.543]: Info: Streaming bitrate is 1000000
[2026-10-17 12:20:12.554]: Warning: [h264_nvenc @ 0x7d5548034000] Multiple reference frames are not supported by the device
[2026-10-17 12:20:12.554]: Error: [h264_nvenc @ 0x7d5548034000] Provided device doesn't support required NVENC features
[2026-10-17 12:20:12.555]: Error: Could not open codec [h264_nvenc]: Function not implemented
[2026-10-17 12:20:12.555]: Info: Creating encoder [h264_nvenc]
[2026-10-17 12:20:12.555]: Info: Color coding: SDR (Rec. 601)
[2026-10-17 12:20:12.555]: Info: Color depth: 8-bit
[2026-10-17 12:20:12.555]: Info: Color range: JPEG
[2026-10-17 12:20:12.555]: Info: Streaming bitrate is 1000000
[2026-10-17 12:20:12.599]: Info: Creating encoder [hevc_nvenc]
[2026-10-17 12:20:12.599]: Info: Color coding: SDR (Rec. 601)
[2026-10-17 12:20:12.599]: Info: Color depth: 8-bit
[2026-10-17 12:20:12.599]: Info: Color range: JPEG
[2026-10-17 12:20:12.600]: Info: Streaming bitrate is 1000000
[2026-10-17 12:20:12.606]: Warning: [hevc_nvenc @ 0x7d5548034000] Multiple reference frames are not supported by the device
[2026-10-17 12:20:12.606]: Error: [hevc_nvenc @ 0x7d5548034000] Provided device doesn't support required NVENC features
[2026-10-17 12:20:12.607]: Error: Could not open codec [hevc_nvenc]: Function not implemented
[2026-10-17 12:20:12.607]: Info: Creating encoder [hevc_nvenc]
[2026-10-17 12:20:12.607]: Info: Color coding: SDR (Rec. 601)
[2026-10-17 12:20:12.607]: Info: Color depth: 8-bit
[2026-10-17 12:20:12.607]: Info: Color range: JPEG
[2026-10-17 12:20:12.607]: Info: Streaming bitrate is 1000000
[2026-10-17 12:20:12.641]: Info: Creating encoder [av1_nvenc]
[2026-10-17 12:20:12.641]: Info: Color coding: SDR (Rec. 601)
[2026-10-17 12:20:12.641]: Info: Color depth: 8-bit
[2026-10-17 12:20:12.641]: Info: Color range: JPEG
[2026-10-17 12:20:12.641]: Info: Streaming bitrate is 1000000
[2026-10-17 12:20:12.647]: Warning: [av1_nvenc @ 0x7d5548034000] Codec not supported
[2026-10-17 12:20:12.647]: Error: [av1_nvenc @ 0x7d5548034000] Provided device doesn't support required NVENC features
[2026-10-17 12:20:12.649]: Error: Could not open codec [av1_nvenc]: Function not implemented
[2026-10-17 12:20:12.649]: Info: Creating encoder [av1_nvenc]
[2026-10-17 12:20:12.649]: Info: Color coding: SDR (Rec. 601)
[2026-10-17 12:20:12.649]: Info: Color depth: 8-bit
[2026-10-17 12:20:12.649]: Info: Color range: JPEG
[2026-10-17 12:20:12.649]: Info: Streaming bitrate is 1000000
[2026-10-17 12:20:12.655]: Warning: [av1_nvenc @ 0x7d5548034000] Codec not supported
[2026-10-17 12:20:12.655]: Error: [av1_nvenc @ 0x7d5548034000] Provided device doesn't support required NVENC features
[2026-10-17 12:20:12.656]: Error: Could not open codec [av1_nvenc]: Function not implemented
[2026-10-17 12:20:12.687]: Error: Couldn't release NvFBC context from current thread:
[2026-10-17 12:20:12.687]: Info: Screencasting with NvFBC
[2026-10-17 12:20:12.937]: Info: Creating encoder [h264_nvenc]
[2026-10-17 12:20:12.938]: Info: Color coding: SDR (Rec. 601)
[2026-10-17 12:20:12.938]: Info: Color depth: 8-bit
[2026-10-17 12:20:12.938]: Info: Color range: JPEG
[2026-10-17 12:20:12.938]: Info: Streaming bitrate is 1000000
[2026-10-17 12:20:13.000]: Error: Couldn't release NvFBC context from current thread:
[2026-10-17 12:20:13.000]: Info: Screencasting with NvFBC
[2026-10-17 12:20:13.259]: Info: Creating encoder [hevc_nvenc]
[2026-10-17 12:20:13.259]: Info: Color coding: SDR (Rec. 601)
[2026-10-17 12:20:13.259]: Info: Color depth: 8-bit
[2026-10-17 12:20:13.259]: Info: Color range: JPEG
[2026-10-17 12:20:13.259]: Info: Streaming bitrate is 1000000
[2026-10-17 12:20:13.317]: Error: Couldn't release NvFBC context from current thread:
[2026-10-17 12:20:13.318]: Info: Screencasting with NvFBC
[2026-10-17 12:20:13.558]: Info: Creating encoder [hevc_nvenc]
[2026-10-17 12:20:13.558]: Info: Color coding: SDR (Rec. 709)
[2026-10-17 12:20:13.558]: Info: Color depth: 10-bit
[2026-10-17 12:20:13.558]: Info: Color range: JPEG
[2026-10-17 12:20:13.558]: Info: Streaming bitrate is 1000000
[2026-10-17 12:20:13.578]: Error: cuda::cuda_t doesn't support any format other than AV_PIX_FMT_NV12 and AV_PIX_FMT_YUV444P
[2026-10-17 12:20:13.617]: Error: Couldn't release NvFBC context from current thread:
[2026-10-17 12:20:13.617]: Info: Screencasting with NvFBC
[2026-10-17 12:20:13.858]: Info: Creating encoder [hevc_nvenc]
[2026-10-17 12:20:13.858]: Info: Color coding: SDR (Rec. 709)
[2026-10-17 12:20:13.858]: Info: Color depth: 10-bit
[2026-10-17 12:20:13.858]: Info: Color range: JPEG
[2026-10-17 12:20:13.858]: Info: Streaming bitrate is 1000000
[2026-10-17 12:20:13.880]: Error: cuda::cuda_t doesn't support any format other than AV_PIX_FMT_NV12 and AV_PIX_FMT_YUV444P
[2026-10-17 12:20:13.917]: Error: Couldn't release NvFBC context from current thread:
[2026-10-17 12:20:13.917]: Info: Screencasting with NvFBC
[2026-10-17 12:20:14.217]: Error: Couldn't release NvFBC context from current thread:
[2026-10-17 12:20:14.217]: Info: Screencasting with NvFBC
[2026-10-17 12:20:14.467]: Error: Couldn't release NvFBC context from current thread:
[2026-10-17 12:20:14.468]: Info: Screencasting with NvFBC
[2026-10-17 12:20:14.751]: Error: Couldn't release NvFBC context from current thread:
[2026-10-17 12:20:14.751]: Info:
[2026-10-17 12:20:14.751]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2026-10-17 12:20:14.751]: Info:
[2026-10-17 12:20:14.751]: Info: Found H.264 encoder: h264_nvenc [nvenc]
[2026-10-17 12:20:14.751]: Info: Found HEVC encoder: hevc_nvenc [nvenc]
[2026-10-17 12:20:14.751]: Info: Executing [Desktop]
[2026-10-17 12:20:14.785]: Info: [libvirtualhid] initialized linux-uhid-uinput backend
[2026-10-17 12:20:14.817]: Info: New streaming session started [active sessions: 1]
[2026-10-17 12:20:14.821]: Warning: setpriority failed for nice -10: Permission denied
[2026-10-17 12:20:14.822]: Warning: setpriority failed for nice -10: Permission denied
[2026-10-17 12:20:14.822]: Warning: setpriority failed for nice -15: Permission denied
[2026-10-17 12:20:14.835]: Info: CLIENT CONNECTED
[2026-10-17 12:20:14.838]: Warning: setpriority failed for nice -10: Permission denied
[2026-10-17 12:20:15.091]: Info: Found [1] outputs
[2026-10-17 12:20:15.091]: Info: Virtual Desktop: 1920x1080
[2026-10-17 12:20:15.091]: Info: XrandR: available
[2026-10-17 12:20:15.091]: Info: -- Output --
[2026-10-17 12:20:15.091]: Info: Resolution: 1920x1080
[2026-10-17 12:20:15.091]: Info: Offset: 0x0
[2026-10-17 12:20:15.117]: Error: Couldn't release NvFBC context from current thread:
[2026-10-17 12:20:15.117]: Info: Screencasting with NvFBC
[2026-10-17 12:20:15.336]: Info: Setting default sink to: [sink-sunshine-stereo]
[2026-10-17 12:20:15.336]: Info: Found default monitor by name: sink-sunshine-stereo.monitor
[2026-10-17 12:20:15.353]: Warning: setpriority failed for nice -15: Permission denied
[2026-10-17 12:20:15.354]: Warning: setpriority failed for nice -10: Permission denied
[2026-10-17 12:20:15.355]: Info: Opus initialized: 48 kHz, 2 channels, 512 kbps (total), LOWDELAY
[2026-10-17 12:20:15.359]: Info: Creating encoder [hevc_nvenc]
[2026-10-17 12:20:15.359]: Info: Color coding: SDR (Rec. 709)
[2026-10-17 12:20:15.359]: Info: Color depth: 8-bit
[2026-10-17 12:20:15.359]: Info: Color range: JPEG
[2026-10-17 12:20:15.359]: Info: Streaming bitrate is 14988000
[2026-10-17 12:20:15.361]: Warning: setpriority failed for nice -15: Permission denied
[2026-10-17 12:20:15.574]: Info: Minimum FPS target set to ~30fps (33.3333ms)
[2026-10-17 12:20:17.081]: Info: [libvirtualhid] created mouse 5
[2026-10-17 12:20:26.175]: Info: CLIENT DISCONNECTED
[2026-10-17 12:20:26.177]: Info: Setting default sink to: [hdmi-tv]
[2026-10-17 12:20:26.313]: Error: Couldn't release NvFBC context from current thread:
[2026-10-17 12:20:26.313]: Error: Couldn't release NvFBC context from current thread:
[2026-10-17 12:20:34.372]: Info: Display device configuration is disabled. Reverting any active display device configuration.
[2026-10-17 12:20:34.396]: Info: [libvirtualhid] initialized linux-uhid-uinput backend
[2026-10-17 12:20:34.430]: Info: New streaming session started [active sessions: 1]
[2026-10-17 12:20:34.432]: Warning: setpriority failed for nice -10: Permission denied
[2026-10-17 12:20:34.434]: Warning: setpriority failed for nice -15: Permission denied
[2026-10-17 12:20:34.435]: Warning: setpriority failed for nice -10: Permission denied
[2026-10-17 12:20:34.447]: Info: CLIENT CONNECTED
[2026-10-17 12:20:34.450]: Warning: setpriority failed for nice -10: Permission denied
[2026-10-17 12:20:34.784]: Info: Found [1] outputs
[2026-10-17 12:20:34.784]: Info: Virtual Desktop: 1920x1080
[2026-10-17 12:20:34.784]: Info: XrandR: available
[2026-10-17 12:20:34.784]: Info: -- Output --
[2026-10-17 12:20:34.784]: Info: Resolution: 1920x1080
[2026-10-17 12:20:34.784]: Info: Offset: 0x0
[2026-10-17 12:20:34.826]: Error: Couldn't release NvFBC context from current thread:
[2026-10-17 12:20:34.826]: Info: Screencasting with NvFBC
[2026-10-17 12:20:34.943]: Info: Setting default sink to: [sink-sunshine-stereo]
[2026-10-17 12:20:34.944]: Info: Found default monitor by name: sink-sunshine-stereo.monitor
[2026-10-17 12:20:34.967]: Warning: setpriority failed for nice -15: Permission denied
[2026-10-17 12:20:34.969]: Warning: setpriority failed for nice -10: Permission denied
[2026-10-17 12:20:34.969]: Info: Opus initialized: 48 kHz, 2 channels, 512 kbps (total), LOWDELAY
[2026-10-17 12:20:35.086]: Info: Creating encoder [hevc_nvenc]
[2026-10-17 12:20:35.086]: Info: Color coding: SDR (Rec. 709)
[2026-10-17 12:20:35.086]: Info: Color depth: 8-bit
[2026-10-17 12:20:35.086]: Info: Color range: JPEG
[2026-10-17 12:20:35.087]: Info: Streaming bitrate is 30988000
[2026-10-17 12:20:35.089]: Warning: setpriority failed for nice -15: Permission denied
[2026-10-17 12:20:35.308]: Info: Minimum FPS target set to ~30fps (33.3333ms)
[2026-10-17 12:20:38.548]: Info: CLIENT DISCONNECTED
[2026-10-17 12:20:38.551]: Info: Setting default sink to: [hdmi-tv]
[2026-10-17 12:20:38.679]: Error: Couldn't release NvFBC context from current thread:
[2026-10-17 12:20:38.679]: Error: Couldn't release NvFBC context from current thread:
[2026-10-17 12:21:27.710]: Info: Display device configuration is disabled. Reverting any active display device configuration.
[2026-10-17 12:21:27.733]: Info: [libvirtualhid] initialized linux-uhid-uinput backend
[2026-10-17 12:21:27.765]: Info: New streaming session started [active sessions: 1]
[2026-10-17 12:21:27.767]: Warning: setpriority failed for nice -10: Permission denied
[2026-10-17 12:21:27.769]: Warning: setpriority failed for nice -10: Permission denied
[2026-10-17 12:21:27.770]: Warning: setpriority failed for nice -15: Permission denied
[2026-10-17 12:21:27.783]: Info: CLIENT CONNECTED
[2026-10-17 12:21:27.785]: Warning: setpriority failed for nice -10: Permission denied
[2026-10-17 12:21:28.118]: Info: Found [1] outputs
[2026-10-17 12:21:28.118]: Info: Virtual Desktop: 1920x1080
[2026-10-17 12:21:28.118]: Info: XrandR: available
[2026-10-17 12:21:28.118]: Info: -- Output --
[2026-10-17 12:21:28.118]: Info: Resolution: 1920x1080
[2026-10-17 12:21:28.118]: Info: Offset: 0x0
[2026-10-17 12:21:28.167]: Error: Couldn't release NvFBC context from current thread:
[2026-10-17 12:21:28.167]: Info: Screencasting with NvFBC
[2026-10-17 12:21:28.292]: Info: Setting default sink to: [sink-sunshine-stereo]
[2026-10-17 12:21:28.292]: Info: Found default monitor by name: sink-sunshine-stereo.monitor
[2026-10-17 12:21:28.307]: Warning: setpriority failed for nice -15: Permission denied
[2026-10-17 12:21:28.309]: Warning: setpriority failed for nice -10: Permission denied
[2026-10-17 12:21:28.309]: Info: Opus initialized: 48 kHz, 2 channels, 512 kbps (total), LOWDELAY
[2026-10-17 12:21:28.441]: Info: Creating encoder [hevc_nvenc]
[2026-10-17 12:21:28.441]: Info: Color coding: SDR (Rec. 709)
[2026-10-17 12:21:28.441]: Info: Color depth: 8-bit
[2026-10-17 12:21:28.441]: Info: Color range: JPEG
[2026-10-17 12:21:28.441]: Info: Streaming bitrate is 30988000
[2026-10-17 12:21:28.443]: Warning: setpriority failed for nice -15: Permission denied
[2026-10-17 12:21:28.665]: Info: Minimum FPS target set to ~30fps (33.3333ms)
[2026-10-17 12:21:43.149]: Info: CLIENT DISCONNECTED
[2026-10-17 12:21:43.151]: Info: Setting default sink to: [hdmi-tv]
[2026-10-17 12:21:43.279]: Error: Couldn't release NvFBC context from current thread:
[2026-10-17 12:21:43.279]: Error: Couldn't release NvFBC context from current thread:
[2026-10-17 12:21:51.512]: Info: Display device configuration is disabled. Reverting any active display device configuration.
[2026-10-17 12:21:51.546]: Info: [libvirtualhid] initialized linux-uhid-uinput backend
[2026-10-17 12:21:51.577]: Info: New streaming session started [active sessions: 1]
[2026-10-17 12:21:51.580]: Warning: setpriority failed for nice -10: Permission denied
[2026-10-17 12:21:51.581]: Warning: setpriority failed for nice -15: Permission denied
[2026-10-17 12:21:51.582]: Warning: setpriority failed for nice -10: Permission denied
[2026-10-17 12:21:51.595]: Info: CLIENT CONNECTED
[2026-10-17 12:21:51.597]: Warning: setpriority failed for nice -10: Permission denied
[2026-10-17 12:21:51.914]: Info: Found [1] outputs
[2026-10-17 12:21:51.914]: Info: Virtual Desktop: 1920x1080
[2026-10-17 12:21:51.914]: Info: XrandR: available
[2026-10-17 12:21:51.914]: Info: -- Output --
[2026-10-17 12:21:51.914]: Info: Resolution: 1920x1080
[2026-10-17 12:21:51.914]: Info: Offset: 0x0
[2026-10-17 12:21:51.955]: Error: Couldn't release NvFBC context from current thread:
[2026-10-17 12:21:51.955]: Info: Screencasting with NvFBC
[2026-10-17 12:21:52.093]: Info: Setting default sink to: [sink-sunshine-stereo]
[2026-10-17 12:21:52.093]: Info: Found default monitor by name: sink-sunshine-stereo.monitor
[2026-10-17 12:21:52.117]: Warning: setpriority failed for nice -15: Permission denied
[2026-10-17 12:21:52.118]: Warning: setpriority failed for nice -10: Permission denied
[2026-10-17 12:21:52.118]: Info: Opus initialized: 48 kHz, 2 channels, 512 kbps (total), LOWDELAY
[2026-10-17 12:21:52.215]: Info: Creating encoder [hevc_nvenc]
[2026-10-17 12:21:52.215]: Info: Color coding: SDR (Rec. 709)
[2026-10-17 12:21:52.215]: Info: Color depth: 8-bit
[2026-10-17 12:21:52.215]: Info: Color range: JPEG
[2026-10-17 12:21:52.215]: Info: Streaming bitrate is 14988000
[2026-10-17 12:21:52.217]: Warning: setpriority failed for nice -15: Permission denied
[2026-10-17 12:21:52.430]: Info: Minimum FPS target set to ~30fps (33.3333ms)
[2026-10-17 12:21:55.388]: Info: CLIENT DISCONNECTED
[2026-10-17 12:21:55.391]: Info: Setting default sink to: [hdmi-tv]
[2026-10-17 12:21:55.529]: Error: Couldn't release NvFBC context from current thread:
[2026-10-17 12:21:55.529]: Error: Couldn't release NvFBC context from current thread:
Online logs
No response
- Ngôn ngữ chính
- C++
- Star
- 43k
- Fork
- 2.4k
- Merge trung bình
- 1 ngày 7 giờ
- Pull request đã merge (30 ngày)
- 106
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của LizardByte/Sunshine
-
PIN pairing fails with "Missing CSRF token" - web UI never fetches/attaches the tokenCó thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
LizardByte/Sunshine#5467 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Cannot open web UI url through Firefox (MSIX/Microsoft store version)Có thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 52/100
LizardByte/Sunshine#6046 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
SIGSEGV terminating launchCó thể đã có người làm @ReenigneArcher đã nhận 1 ngày trước. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 18/100
LizardByte/Sunshine#6041 · 5 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
LizardByte/Sunshine#6035 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
KWin + VA-API: Black screen on RX 6700 XT with EGL_BAD_PARAMETER (0x300C); memory-buffer workaround causes high latencyCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
LizardByte/Sunshine#6009 · 1 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của LizardByte/Sunshine
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 65/100
-
[XLA] hlo/pass/README.md says passes implement Run; since the NVI change they implement RunImplĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 91/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
NVIDIA-RTX/NRI#312 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
permute_q_b_proj / permute_wv_proj accept scale factors from another deviceCó thể đã có người làm @0z5a đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
deepseek-ai/FlashMLA#247 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Linux npm packaging leaves workspace files that block subsequent CI checkoutCó thể đã có người làm @Spockkk0225 đã nhận hôm nay. Đang mởci
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 73/100
alibaba/neug#1195 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày