Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Excessive consumption from encoding, even with desktop idle #2566

Open
3 tasks done
Sph1re opened this issue May 24, 2024 · 2 comments
Open
3 tasks done

Excessive consumption from encoding, even with desktop idle #2566

Sph1re opened this issue May 24, 2024 · 2 comments

Comments

@Sph1re
Copy link

Sph1re commented May 24, 2024

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

Hello, I would like to know if you have noticed the same thing on your installations. Desktop streaming from Windows Host represents 35% of the GPU's TDP... Consumption goes from 20W when idle to 90W with no application running that requires GPU performance. I reverted to the November Nvidia driver without success. I tried the beta and previous versions of Sunshine, same result... I also tried with another client, Moonlight, with the same result.

No streaming active (idle windows)
no stream

Streaming active (idle windows) : sunshine > moonlight
Capture d'écran 2024-05-24 233313

Expected Behavior

No response

Additional Context

No response

Host Operating System

Windows

Operating System Version

windows 11 Pro 23H2

Architecture

64 bit

Sunshine commit or version

0,23.1

Package

Windows - installer

GPU Type

Nvidia

GPU Model

RTX 3080 10Go

GPU Driver/Mesa Version

555.85

Capture Method (Linux Only)

No response

Config

locale = fr

Apps

No response

Relevant log output

[2024:05:24:23:14:46]: Info: Sunshine version: v0.23.1
[2024:05:24:23:14:46]: Info: nvprefs: No need to modify application profile settings
[2024:05:24:23:14:46]: Info: nvprefs: Changed OGL_CPL_PREFER_DXPRESENT to OGL_CPL_PREFER_DXPRESENT_PREFER_ENABLED for base profile
[2024:05:24:23:14:46]: Info: Compiling shaders...
[2024:05:24:23:14:46]: Info: Compiled shaders
[2024:05:24:23:27:09]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2024:05:24:23:27:09]: Info: Trying encoder [nvenc]
[2024:05:24:23:27:10]: Info: ddprobe.exe [1] [] returned: 0x00000000
[2024:05:24:23:27:10]: Info: Set GPU preference: 1
[2024:05:24:23:27:10]: Info: 
Device Description : NVIDIA GeForce RTX 3080
Device Vendor ID   : 0x000010DE
Device Device ID   : 0x00002206
Device Video Mem   : 10053 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 32687 MiB
Feature Level      : 0x0000B100
Capture size       : 2560x1440
Offset             : 0x0
Virtual Desktop    : 2560x1440
[2024:05:24:23:27:10]: Info: Active GPU has HAGS enabled
[2024:05:24:23:27:10]: Info: Using realtime GPU priority
[2024:05:24:23:27:10]: Info: Desktop resolution [2560x1440]
[2024:05:24:23:27:10]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2024:05:24:23:27:10]: Info: Display refresh rate [60Hz]
[2024:05:24:23:27:10]: Info: Requested frame rate [60fps]
[2024:05:24:23:27:10]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 8
Red Primary        : [0.620117,0.330078]
Green Primary      : [0.290039,0.589844]
Blue Primary       : [0.139648,0.110352]
White Point        : [0.299805,0.330078]
Min Luminance      : 0.5 nits
Max Luminance      : 270 nits
Max Full Luminance : 270 nits
[2024:05:24:23:27:10]: Info: SDR color coding [Rec. 601]
[2024:05:24:23:27:10]: Info: Color depth: 8-bit
[2024:05:24:23:27:10]: Info: Color range: [JPEG]
[2024:05:24:23:27:10]: Info: NvEnc: created encoder P1 two-pass rfi
[2024:05:24:23:27:10]: Info: SDR color coding [Rec. 601]
[2024:05:24:23:27:10]: Info: Color depth: 8-bit
[2024:05:24:23:27:10]: Info: Color range: [JPEG]
[2024:05:24:23:27:10]: Info: NvEnc: created encoder P1 two-pass rfi
[2024:05:24:23:27:10]: Info: SDR color coding [Rec. 601]
[2024:05:24:23:27:10]: Info: Color depth: 8-bit
[2024:05:24:23:27:10]: Info: Color range: [JPEG]
[2024:05:24:23:27:10]: Error: NvEnc: encoding format is not supported by the gpu
[2024:05:24:23:27:10]: Info: 
Device Description : NVIDIA GeForce RTX 3080
Device Vendor ID   : 0x000010DE
Device Device ID   : 0x00002206
Device Video Mem   : 10053 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 32687 MiB
Feature Level      : 0x0000B100
Capture size       : 2560x1440
Offset             : 0x0
Virtual Desktop    : 2560x1440
[2024:05:24:23:27:10]: Info: Active GPU has HAGS enabled
[2024:05:24:23:27:10]: Info: Using realtime GPU priority
[2024:05:24:23:27:10]: Info: Desktop resolution [2560x1440]
[2024:05:24:23:27:10]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2024:05:24:23:27:10]: Info: Display refresh rate [60Hz]
[2024:05:24:23:27:10]: Info: Requested frame rate [60fps]
[2024:05:24:23:27:10]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 8
Red Primary        : [0.620117,0.330078]
Green Primary      : [0.290039,0.589844]
Blue Primary       : [0.139648,0.110352]
White Point        : [0.299805,0.330078]
Min Luminance      : 0.5 nits
Max Luminance      : 270 nits
Max Full Luminance : 270 nits
[2024:05:24:23:27:10]: Info: SDR color coding [Rec. 709]
[2024:05:24:23:27:10]: Info: Color depth: 10-bit
[2024:05:24:23:27:10]: Info: Color range: [JPEG]
[2024:05:24:23:27:10]: Info: NvEnc: created encoder P1 10-bit two-pass rfi
[2024:05:24:23:27:10]: Info: 
[2024:05:24:23:27:10]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2024:05:24:23:27:10]: Info: 
[2024:05:24:23:27:10]: Info: Found H.264 encoder: h264_nvenc [nvenc]
[2024:05:24:23:27:10]: Info: Found HEVC encoder: hevc_nvenc [nvenc]
[2024:05:24:23:27:10]: Info: Configuration UI available at [https://localhost:47990]
[2024:05:24:23:27:11]: Info: Registered Sunshine mDNS service
[2024:05:24:23:27:12]: Info: System tray created
[2024:05:24:23:27:58]: Info: Opening UI from system tray
[2024:05:24:23:27:58]: Info: Resolved user-provided command 'https://localhost:47990' to '"C:\Program Files\Google\Chrome\Application\chrome.exe" --single-argument https://localhost:47990'
[2024:05:24:23:27:58]: Info: https://localhost:47990 running with PID 4380
[2024:05:24:23:27:58]: Info: Opened url [https://localhost:47990]
[2024:05:24:23:27:59]: Info: Web UI: [127.0.0.1] -- not authorized
@cgutman
Copy link
Contributor

cgutman commented May 27, 2024

On the NVENC tab, you can disable the option to prefer lower latency to lower power consumption.

@Pointyguide
Copy link

On the NVENC tab, you can disable the option to prefer lower latency to lower power consumption.

I think this should be by default disabled. I found no degradation in my experience with it off. plus it saves a massive amount of power while your stream is idle.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants