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

Resolution Mismatch on Specific Client #3584

Open
2 tasks done
kuroderuta opened this issue Jan 23, 2025 · 6 comments
Open
2 tasks done

Resolution Mismatch on Specific Client #3584

kuroderuta opened this issue Jan 23, 2025 · 6 comments

Comments

@kuroderuta
Copy link

kuroderuta commented Jan 23, 2025

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 streaming using Sunshine (host) and Moonlight (client), trying to connect with one specific laptop, the host fails to match the client resolution of 2520x1680@90Hz SDR, while all of my other devices correctly adapt the host to their respective client resolutions. This is the only client I'm connecting that is not 120Hz & HDR which matches my main display which is 3840x2160@120Hz 10bit HDR.

  • Moonlight version: 6.1.0
  • Client OS: Windows 11 24H2 (26100.2894)
  • "Optimize game settings for streaming" option: Enabled in Moonlight

Expected Behavior

The host stream should automatically adjust to match the client native resolution of 2520x1680 at 90 FPS SDR

Additional Context

  • The issue is isolated to one specific laptop
  • All other client devices successfully match their native resolutions when streaming
  • The problem persists despite having the optimization settings enabled in Moonlight

Host Operating System

Windows

Operating System Version

Windows 11 23H2 (22631.4751)

Architecture

amd64/x86_64

Sunshine commit or version

v2025.122.141614

Package

Windows - installer (recommended)

GPU Type

NVIDIA

GPU Model

RTX 4090

GPU Driver/Mesa Version

566.36

Capture Method

None

Config

upnp = enabled
global_prep_cmd = [{"do":"cmd /c \"C:\\Program Files\\LGTV Companion\\LGTV Companion.exe\" -screenoff Device1","undo":"cmd /c \"C:\\Program Files\\LGTV Companion\\LGTV Companion.exe\" -screenoff Device1","elevated":true}]
port = 47990

Apps

{
    "env": {
        "PATH": "$(PATH);$(ProgramFiles(x86))\\Steam"
    },
    "apps": [
        {
            "name": "Desktop",
            "image-path": "desktop.png",
            "exclude-global-prep-cmd": "false",
            "elevated": "true",
            "auto-detach": "false",
            "prep-cmd": [
                {
                    "do": "cmd \/c C:\\SetDpi.exe 1 300",
                    "undo": "cmd \/c C:\\SetDpi.exe 1 125",
                    "elevated": "true"
                }
            ],
            "wait-all": "false",
            "exit-timeout": "5"
        },
        {
            "name": "Laptop",
            "output": "",
            "cmd": "",
            "exclude-global-prep-cmd": "false",
            "elevated": "true",
            "auto-detach": "false",
            "prep-cmd": [
                {
                    "do": "cmd \/c C:\\SetDpi.exe 1 150",
                    "undo": "cmd \/c C:\\SetDpi.exe 1 125",
                    "elevated": "true"
                }
            ],
            "image-path": "",
            "wait-all": "false",
            "exit-timeout": "5"
        },
        {
            "name": "Phone",
            "output": "",
            "cmd": "",
            "exclude-global-prep-cmd": "false",
            "elevated": "true",
            "auto-detach": "true",
            "image-path": "",
            "prep-cmd": [
                {
                    "do": "cmd \/c C:\\SetDpi.exe 1 300",
                    "undo": "cmd \/c C:\\SetDpi.exe 1 125",
                    "elevated": "true"
                }
            ],
            "wait-all": "true",
            "exit-timeout": "5"
        },
        {
            "name": "iPad",
            "output": "",
            "cmd": "",
            "exclude-global-prep-cmd": "false",
            "elevated": "true",
            "auto-detach": "false",
            "prep-cmd": [
                {
                    "do": "cmd \/c C:\\SetDpi.exe 1 200",
                    "undo": "cmd \/c C:\\SetDpi.exe 1 150",
                    "elevated": "true"
                }
            ],
            "image-path": "",
            "wait-all": "false",
            "exit-timeout": "5"
        }
    ]
}

Relevant log output

[2025-01-23 12:01:31.460]: Info: Sunshine version: v2025.122.141614
[2025-01-23 12:01:31.460]: Info: Package Publisher: LizardByte
[2025-01-23 12:01:31.460]: Info: Publisher Website: https://app.lizardbyte.dev
[2025-01-23 12:01:31.460]: Info: Get support: https://app.lizardbyte.dev/support
[2025-01-23 12:01:31.460]: Info: Provided workaround settings for SettingsManager:
{
  "hdr_blank_delay": null
}
[2025-01-23 12:01:31.465]: Info: Currently available display devices:
[
  {
    "device_id": "{39d12e5a-0c25-55e7-b0d8-fd59aea85946}",
    "display_name": "\\\\.\\DISPLAY2",
    "friendly_name": "SAMSUNG",
    "info": {
      "hdr_state": "Disabled",
      "origin_point": {
        "x": -3840,
        "y": 0
      },
      "primary": false,
      "refresh_rate": {
        "type": "rational",
        "value": {
          "denominator": 1,
          "numerator": 60
        }
      },
      "resolution": {
        "height": 2160,
        "width": 3840
      },
      "resolution_scale": {
        "type": "rational",
        "value": {
          "denominator": 100,
          "numerator": 300
        }
      }
    }
  },
  {
    "device_id": "{731ecc8e-ea37-5016-8ce6-3ba61b1f81d8}",
    "display_name": "\\\\.\\DISPLAY3",
    "friendly_name": "",
    "info": {
      "hdr_state": "Enabled",
      "origin_point": {
        "x": 0,
        "y": 0
      },
      "primary": true,
      "refresh_rate": {
        "type": "rational",
        "value": {
          "denominator": 1,
          "numerator": 120
        }
      },
      "resolution": {
        "height": 2160,
        "width": 3840
      },
      "resolution_scale": {
        "type": "rational",
        "value": {
          "denominator": 100,
          "numerator": 125
        }
      }
    }
  },
  {
    "device_id": "{b66f741a-82ea-5bd1-baca-d4d263c8effa}",
    "display_name": "\\\\.\\DISPLAY1",
    "friendly_name": "DELL P2314H",
    "info": {
      "hdr_state": null,
      "origin_point": {
        "x": 3840,
        "y": 231
      },
      "primary": false,
      "refresh_rate": {
        "type": "rational",
        "value": {
          "denominator": 1,
          "numerator": 60
        }
      },
      "resolution": {
        "height": 1080,
        "width": 1920
      },
      "resolution_scale": {
        "type": "rational",
        "value": {
          "denominator": 100,
          "numerator": 222
        }
      }
    }
  }
]
[2025-01-23 12:01:31.576]: Info: nvprefs: No need to modify application profile settings
[2025-01-23 12:01:31.576]: Info: nvprefs: Changed OGL_CPL_PREFER_DXPRESENT to OGL_CPL_PREFER_DXPRESENT_PREFER_ENABLED for base profile
[2025-01-23 12:01:31.621]: Info: Compiling shaders...
[2025-01-23 12:01:31.641]: Info: System tray created
[2025-01-23 12:01:31.796]: Info: Compiled shaders
[2025-01-23 12:01:31.801]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2025-01-23 12:01:31.801]: Info: Trying encoder [nvenc]
[2025-01-23 12:01:32.009]: Info: 
Device Description : NVIDIA GeForce RTX 4090
Device Vendor ID   : 0x000010DE
Device Device ID   : 0x00002684
Device Video Mem   : 24142 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 32692 MiB
Feature Level      : 0x0000B100
Capture size       : 3840x2160
Offset             : 3840x0
Virtual Desktop    : 8760x2160
[2025-01-23 12:01:32.010]: Info: Active GPU has HAGS enabled
[2025-01-23 12:01:32.010]: Info: Using realtime GPU priority
[2025-01-23 12:01:32.010]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G2084_NONE_P2020
Bits Per Color     : 10
Red Primary        : [0.639646,0.330079]
Green Primary      : [0.299805,0.59961]
Blue Primary       : [0.150393,0.0595684]
White Point        : [0.3125,0.329098]
Min Luminance      : 0 nits
Max Luminance      : 800 nits
Max Full Luminance : 800 nits
[2025-01-23 12:01:32.010]: Info: Desktop resolution [3840x2160]
[2025-01-23 12:01:32.011]: Info: Desktop format [DXGI_FORMAT_R16G16B16A16_FLOAT]
[2025-01-23 12:01:32.011]: Info: Display refresh rate [120Hz]
[2025-01-23 12:01:32.011]: Info: Requested frame rate [60fps]
[2025-01-23 12:01:32.011]: Info: Creating encoder [h264_nvenc]
[2025-01-23 12:01:32.011]: Info: Color coding: SDR (Rec. 601)
[2025-01-23 12:01:32.011]: Info: Color depth: 8-bit
[2025-01-23 12:01:32.011]: Info: Color range: JPEG
[2025-01-23 12:01:32.048]: Info: NvEnc: created encoder H.264 P1 two-pass rfi
[2025-01-23 12:01:32.072]: Info: Creating encoder [hevc_nvenc]
[2025-01-23 12:01:32.072]: Info: Color coding: SDR (Rec. 601)
[2025-01-23 12:01:32.072]: Info: Color depth: 8-bit
[2025-01-23 12:01:32.072]: Info: Color range: JPEG
[2025-01-23 12:01:32.106]: Info: NvEnc: created encoder HEVC P1 two-pass rfi
[2025-01-23 12:01:32.129]: Info: Creating encoder [av1_nvenc]
[2025-01-23 12:01:32.129]: Info: Color coding: SDR (Rec. 601)
[2025-01-23 12:01:32.129]: Info: Color depth: 8-bit
[2025-01-23 12:01:32.129]: Info: Color range: JPEG
[2025-01-23 12:01:32.165]: Info: NvEnc: created encoder AV1 P1 two-pass rfi
[2025-01-23 12:01:32.188]: Info: Creating encoder [h264_nvenc]
[2025-01-23 12:01:32.188]: Info: Color coding: SDR (Rec. 601)
[2025-01-23 12:01:32.188]: Info: Color depth: 8-bit
[2025-01-23 12:01:32.188]: Info: Color range: JPEG
[2025-01-23 12:01:32.226]: Info: NvEnc: created encoder H.264 P1 yuv444 two-pass rfi
[2025-01-23 12:01:32.358]: Info: 
Device Description : NVIDIA GeForce RTX 4090
Device Vendor ID   : 0x000010DE
Device Device ID   : 0x00002684
Device Video Mem   : 24142 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 32692 MiB
Feature Level      : 0x0000B100
Capture size       : 3840x2160
Offset             : 3840x0
Virtual Desktop    : 8760x2160
[2025-01-23 12:01:32.358]: Info: Active GPU has HAGS enabled
[2025-01-23 12:01:32.358]: Info: Using realtime GPU priority
[2025-01-23 12:01:32.358]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G2084_NONE_P2020
Bits Per Color     : 10
Red Primary        : [0.639646,0.330079]
Green Primary      : [0.299805,0.59961]
Blue Primary       : [0.150393,0.0595684]
White Point        : [0.3125,0.329098]
Min Luminance      : 0 nits
Max Luminance      : 800 nits
Max Full Luminance : 800 nits
[2025-01-23 12:01:32.359]: Info: Desktop resolution [3840x2160]
[2025-01-23 12:01:32.359]: Info: Desktop format [DXGI_FORMAT_R16G16B16A16_FLOAT]
[2025-01-23 12:01:32.359]: Info: Display refresh rate [120Hz]
[2025-01-23 12:01:32.359]: Info: Requested frame rate [60fps]
[2025-01-23 12:01:32.359]: Info: Creating encoder [hevc_nvenc]
[2025-01-23 12:01:32.360]: Info: Color coding: HDR (Rec. 2020 + SMPTE 2084 PQ)
[2025-01-23 12:01:32.360]: Info: Color depth: 10-bit
[2025-01-23 12:01:32.360]: Info: Color range: JPEG
[2025-01-23 12:01:32.478]: Info: NvEnc: created encoder HEVC P1 yuv444 10-bit two-pass rfi
[2025-01-23 12:01:32.514]: Info: Creating encoder [av1_nvenc]
[2025-01-23 12:01:32.514]: Info: Color coding: HDR (Rec. 2020 + SMPTE 2084 PQ)
[2025-01-23 12:01:32.514]: Info: Color depth: 10-bit
[2025-01-23 12:01:32.514]: Info: Color range: JPEG
[2025-01-23 12:01:32.602]: Error: NvEnc: gpu doesn't support YUV444 encode
[2025-01-23 12:01:32.621]: Info: Creating encoder [av1_nvenc]
[2025-01-23 12:01:32.621]: Info: Color coding: HDR (Rec. 2020 + SMPTE 2084 PQ)
[2025-01-23 12:01:32.621]: Info: Color depth: 10-bit
[2025-01-23 12:01:32.621]: Info: Color range: JPEG
[2025-01-23 12:01:32.675]: Info: NvEnc: created encoder AV1 P1 10-bit two-pass rfi
[2025-01-23 12:01:32.705]: Info: 
[2025-01-23 12:01:32.705]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2025-01-23 12:01:32.705]: Info: 
[2025-01-23 12:01:32.705]: Info: Found H.264 encoder: h264_nvenc [nvenc]
[2025-01-23 12:01:32.705]: Info: Found HEVC encoder: hevc_nvenc [nvenc]
[2025-01-23 12:01:32.705]: Info: Found AV1 encoder: av1_nvenc [nvenc]
[2025-01-23 12:01:32.716]: Info: Configuration UI available at [https://localhost:47991]
[2025-01-23 12:01:33.460]: Info: Registered Sunshine mDNS service
[2025-01-23 12:01:34.778]: Warning: UPnP conflict detected with: 192.168.50.2
[2025-01-23 12:01:34.784]: Error: Unable to delete conflicting UPnP port mapping: 606
[2025-01-23 12:01:34.804]: Error: Failed to map UDP 48000: 718
[2025-01-23 12:01:34.822]: Info: Completed UPnP port mappings to 192.168.50.3 via http://192.168.50.1:45606/rootDesc.xml
[2025-01-23 12:02:07.128]: Info: Opening UI from system tray
[2025-01-23 12:02:07.139]: Info: Resolved user-provided command 'https://localhost:47991' to '"C:\Users\kamil\AppData\Local\BraveSoftware\Brave-Browser\Application\brave.exe" --single-argument https://localhost:47991'
[2025-01-23 12:02:07.143]: Info: https://localhost:47991 running with PID 14796
[2025-01-23 12:02:07.143]: Info: Opened url [https://localhost:47991]
[2025-01-23 12:02:07.803]: Info: Web UI: [127.0.0.1] -- not authorized
[2025-01-23 12:02:24.437]: Info: Trying to apply display device settings. API is available: true
[2025-01-23 12:02:24.437]: Info: Using the following configuration:
{
  "device_id": "",
  "device_prep": "VerifyOnly",
  "hdr_state": "Disabled",
  "refresh_rate": {
    "type": "rational",
    "value": {
      "denominator": 1,
      "numerator": 90
    }
  },
  "resolution": {
    "height": 1680,
    "width": 2520
  }
}
[2025-01-23 12:02:24.438]: Info: Active topology before any changes:
[
  [
    "{b66f741a-82ea-5bd1-baca-d4d263c8effa}"
  ],
  [
    "{39d12e5a-0c25-55e7-b0d8-fd59aea85946}"
  ],
  [
    "{731ecc8e-ea37-5016-8ce6-3ba61b1f81d8}"
  ]
]
[2025-01-23 12:02:24.441]: Info: Currently available devices:
[
  {
    "device_id": "{39d12e5a-0c25-55e7-b0d8-fd59aea85946}",
    "display_name": "\\\\.\\DISPLAY2",
    "friendly_name": "SAMSUNG",
    "info": {
      "hdr_state": "Disabled",
      "origin_point": {
        "x": -3840,
        "y": 0
      },
      "primary": false,
      "refresh_rate": {
        "type": "rational",
        "value": {
          "denominator": 1,
          "numerator": 60
        }
      },
      "resolution": {
        "height": 2160,
        "width": 3840
      },
      "resolution_scale": {
        "type": "rational",
        "value": {
          "denominator": 100,
          "numerator": 125
        }
      }
    }
  },
  {
    "device_id": "{731ecc8e-ea37-5016-8ce6-3ba61b1f81d8}",
    "display_name": "\\\\.\\DISPLAY3",
    "friendly_name": "",
    "info": {
      "hdr_state": "Enabled",
      "origin_point": {
        "x": 0,
        "y": 0
      },
      "primary": true,
      "refresh_rate": {
        "type": "rational",
        "value": {
          "denominator": 1,
          "numerator": 120
        }
      },
      "resolution": {
        "height": 2160,
        "width": 3840
      },
      "resolution_scale": {
        "type": "rational",
        "value": {
          "denominator": 100,
          "numerator": 125
        }
      }
    }
  },
  {
    "device_id": "{b66f741a-82ea-5bd1-baca-d4d263c8effa}",
    "display_name": "\\\\.\\DISPLAY1",
    "friendly_name": "DELL P2314H",
    "info": {
      "hdr_state": null,
      "origin_point": {
        "x": 3840,
        "y": 231
      },
      "primary": false,
      "refresh_rate": {
        "type": "rational",
        "value": {
          "denominator": 1,
          "numerator": 60
        }
      },
      "resolution": {
        "height": 1080,
        "width": 1920
      },
      "resolution_scale": {
        "type": "rational",
        "value": {
          "denominator": 100,
          "numerator": 222
        }
      }
    }
  }
]
[2025-01-23 12:02:24.441]: Info: Will compute new display device topology from the following input:
  - initial topology: [["{b66f741a-82ea-5bd1-baca-d4d263c8effa}"],["{39d12e5a-0c25-55e7-b0d8-fd59aea85946}"],["{731ecc8e-ea37-5016-8ce6-3ba61b1f81d8}"]]
  - initial primary devices: ["{731ecc8e-ea37-5016-8ce6-3ba61b1f81d8}"]
  - configuring unspecified device: true
  - device to configure: "{731ecc8e-ea37-5016-8ce6-3ba61b1f81d8}"
  - additional devices to configure: []
[2025-01-23 12:02:24.441]: Info: Newly computed display device topology data:
  - topology: [["{b66f741a-82ea-5bd1-baca-d4d263c8effa}"],["{39d12e5a-0c25-55e7-b0d8-fd59aea85946}"],["{731ecc8e-ea37-5016-8ce6-3ba61b1f81d8}"]]
  - change is needed: false
  - additional devices to configure: []
[2025-01-23 12:02:24.443]: Info: Changing display modes to:
{
  "{39d12e5a-0c25-55e7-b0d8-fd59aea85946}": {
    "refresh_rate": {
      "denominator": 1,
      "numerator": 60
    },
    "resolution": {
      "height": 2160,
      "width": 3840
    }
  },
  "{731ecc8e-ea37-5016-8ce6-3ba61b1f81d8}": {
    "refresh_rate": {
      "denominator": 1,
      "numerator": 90
    },
    "resolution": {
      "height": 1680,
      "width": 2520
    }
  },
  "{b66f741a-82ea-5bd1-baca-d4d263c8effa}": {
    "refresh_rate": {
      "denominator": 1,
      "numerator": 60
    },
    "resolution": {
      "height": 1080,
      "width": 1920
    }
  }
}
[2025-01-23 12:02:24.990]: Info: Failed to change display modes using Windows recommended modes, trying to set modes more strictly!
[2025-01-23 12:02:25.641]: Error: [code: 1610, message: The configuration data for this product is corrupt. Contact your support personnel] failed to set display mode!
[2025-01-23 12:02:26.257]: Error: Failed to set display mode(-s) completely!
[2025-01-23 12:02:26.257]: Error: Failed to apply new configuration, because new display modes could not be set!
[2025-01-23 12:02:26.261]: Info: Encoder reenumeration is required
[2025-01-23 12:02:26.261]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2025-01-23 12:02:26.261]: Info: Trying encoder [nvenc]
[2025-01-23 12:02:26.653]: Info: 
Device Description : NVIDIA GeForce RTX 4090
Device Vendor ID   : 0x000010DE
Device Device ID   : 0x00002684
Device Video Mem   : 24142 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 32692 MiB
Feature Level      : 0x0000B100
Capture size       : 3840x2160
Offset             : 3840x0
Virtual Desktop    : 8760x2160
[2025-01-23 12:02:26.653]: Info: Active GPU has HAGS enabled
[2025-01-23 12:02:26.653]: Info: Using realtime GPU priority
[2025-01-23 12:02:26.653]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G2084_NONE_P2020
Bits Per Color     : 10
Red Primary        : [0.639646,0.330079]
Green Primary      : [0.299805,0.59961]
Blue Primary       : [0.150393,0.0595684]
White Point        : [0.3125,0.329098]
Min Luminance      : 0 nits
Max Luminance      : 800 nits
Max Full Luminance : 800 nits
[2025-01-23 12:02:26.655]: Info: Desktop resolution [3840x2160]
[2025-01-23 12:02:26.655]: Info: Desktop format [DXGI_FORMAT_R16G16B16A16_FLOAT]
[2025-01-23 12:02:26.655]: Info: Display refresh rate [120Hz]
[2025-01-23 12:02:26.655]: Info: Requested frame rate [60fps]
[2025-01-23 12:02:26.656]: Info: Creating encoder [h264_nvenc]
[2025-01-23 12:02:26.656]: Info: Color coding: SDR (Rec. 601)
[2025-01-23 12:02:26.656]: Info: Color depth: 8-bit
[2025-01-23 12:02:26.656]: Info: Color range: JPEG
[2025-01-23 12:02:26.701]: Info: NvEnc: created encoder H.264 P1 two-pass rfi
[2025-01-23 12:02:26.729]: Info: Creating encoder [hevc_nvenc]
[2025-01-23 12:02:26.729]: Info: Color coding: SDR (Rec. 601)
[2025-01-23 12:02:26.729]: Info: Color depth: 8-bit
[2025-01-23 12:02:26.729]: Info: Color range: JPEG
[2025-01-23 12:02:26.770]: Info: NvEnc: created encoder HEVC P1 two-pass rfi
[2025-01-23 12:02:26.798]: Info: Creating encoder [av1_nvenc]
[2025-01-23 12:02:26.798]: Info: Color coding: SDR (Rec. 601)
[2025-01-23 12:02:26.798]: Info: Color depth: 8-bit
[2025-01-23 12:02:26.798]: Info: Color range: JPEG
[2025-01-23 12:02:26.843]: Info: NvEnc: created encoder AV1 P1 two-pass rfi
[2025-01-23 12:02:26.871]: Info: Creating encoder [h264_nvenc]
[2025-01-23 12:02:26.871]: Info: Color coding: SDR (Rec. 601)
[2025-01-23 12:02:26.871]: Info: Color depth: 8-bit
[2025-01-23 12:02:26.871]: Info: Color range: JPEG
[2025-01-23 12:02:26.912]: Info: NvEnc: created encoder H.264 P1 yuv444 two-pass rfi
[2025-01-23 12:02:27.177]: Info: 
Device Description : NVIDIA GeForce RTX 4090
Device Vendor ID   : 0x000010DE
Device Device ID   : 0x00002684
Device Video Mem   : 24142 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 32692 MiB
Feature Level      : 0x0000B100
Capture size       : 3840x2160
Offset             : 3840x0
Virtual Desktop    : 8760x2160
[2025-01-23 12:02:27.177]: Info: Active GPU has HAGS enabled
[2025-01-23 12:02:27.177]: Info: Using realtime GPU priority
[2025-01-23 12:02:27.177]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G2084_NONE_P2020
Bits Per Color     : 10
Red Primary        : [0.639646,0.330079]
Green Primary      : [0.299805,0.59961]
Blue Primary       : [0.150393,0.0595684]
White Point        : [0.3125,0.329098]
Min Luminance      : 0 nits
Max Luminance      : 800 nits
Max Full Luminance : 800 nits
[2025-01-23 12:02:27.178]: Info: Desktop resolution [3840x2160]
[2025-01-23 12:02:27.178]: Info: Desktop format [DXGI_FORMAT_R16G16B16A16_FLOAT]
[2025-01-23 12:02:27.178]: Info: Display refresh rate [120Hz]
[2025-01-23 12:02:27.178]: Info: Requested frame rate [60fps]
[2025-01-23 12:02:27.178]: Info: Creating encoder [hevc_nvenc]
[2025-01-23 12:02:27.178]: Info: Color coding: HDR (Rec. 2020 + SMPTE 2084 PQ)
[2025-01-23 12:02:27.179]: Info: Color depth: 10-bit
[2025-01-23 12:02:27.179]: Info: Color range: JPEG
[2025-01-23 12:02:27.334]: Info: NvEnc: created encoder HEVC P1 yuv444 10-bit two-pass rfi
[2025-01-23 12:02:27.370]: Info: Creating encoder [av1_nvenc]
[2025-01-23 12:02:27.370]: Info: Color coding: HDR (Rec. 2020 + SMPTE 2084 PQ)
[2025-01-23 12:02:27.370]: Info: Color depth: 10-bit
[2025-01-23 12:02:27.370]: Info: Color range: JPEG
[2025-01-23 12:02:27.470]: Error: NvEnc: gpu doesn't support YUV444 encode
[2025-01-23 12:02:27.487]: Info: Creating encoder [av1_nvenc]
[2025-01-23 12:02:27.487]: Info: Color coding: HDR (Rec. 2020 + SMPTE 2084 PQ)
[2025-01-23 12:02:27.487]: Info: Color depth: 10-bit
[2025-01-23 12:02:27.487]: Info: Color range: JPEG
[2025-01-23 12:02:27.560]: Info: NvEnc: created encoder AV1 P1 10-bit two-pass rfi
[2025-01-23 12:02:27.593]: Info: 
[2025-01-23 12:02:27.593]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2025-01-23 12:02:27.593]: Info: 
[2025-01-23 12:02:27.593]: Info: Found H.264 encoder: h264_nvenc [nvenc]
[2025-01-23 12:02:27.593]: Info: Found HEVC encoder: hevc_nvenc [nvenc]
[2025-01-23 12:02:27.593]: Info: Found AV1 encoder: av1_nvenc [nvenc]
[2025-01-23 12:02:27.604]: Info: Executing Do Cmd: [cmd /c "C:\Program Files\LGTV Companion\LGTV Companion.exe" -screenoff Device1]
[2025-01-23 12:02:27.609]: Info: cmd /c "C:\Program Files\LGTV Companion\LGTV Companion.exe" -screenoff Device1 running with PID 3120
[2025-01-23 12:02:27.808]: Info: Executing Do Cmd: [cmd /c C:\SetDpi.exe 1 150]
[2025-01-23 12:02:27.815]: Info: cmd /c C:\SetDpi.exe 1 150 running with PID 9668
[2025-01-23 12:02:28.015]: Info: Executing [Desktop]
[2025-01-23 12:02:28.078]: Info: New streaming session started [active sessions: 1]
[2025-01-23 12:02:28.263]: Info: nvprefs: No need to modify application profile settings
[2025-01-23 12:02:28.263]: Info: nvprefs: No need to modify global profile settings
[2025-01-23 12:02:28.352]: Info: CLIENT CONNECTED
[2025-01-23 12:02:28.588]: Info: Audio capture format is [F32 48000 2.0]
[2025-01-23 12:02:28.589]: Info: Opus initialized: 48 kHz, 2 channels, 512 kbps (total), LOWDELAY
[2025-01-23 12:02:28.651]: Info: 
Device Description : NVIDIA GeForce RTX 4090
Device Vendor ID   : 0x000010DE
Device Device ID   : 0x00002684
Device Video Mem   : 24142 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 32692 MiB
Feature Level      : 0x0000B100
Capture size       : 3840x2160
Offset             : 3840x0
Virtual Desktop    : 8760x2160
[2025-01-23 12:02:28.651]: Info: Active GPU has HAGS enabled
[2025-01-23 12:02:28.651]: Info: Using realtime GPU priority
[2025-01-23 12:02:28.651]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G2084_NONE_P2020
Bits Per Color     : 10
Red Primary        : [0.639646,0.330079]
Green Primary      : [0.299805,0.59961]
Blue Primary       : [0.150393,0.0595684]
White Point        : [0.3125,0.329098]
Min Luminance      : 0 nits
Max Luminance      : 800 nits
Max Full Luminance : 800 nits
[2025-01-23 12:02:28.699]: Info: Desktop resolution [3840x2160]
[2025-01-23 12:02:28.699]: Info: Desktop format [DXGI_FORMAT_R16G16B16A16_FLOAT]
[2025-01-23 12:02:28.699]: Info: Display refresh rate [120Hz]
[2025-01-23 12:02:28.700]: Info: Requested frame rate [90fps]
[2025-01-23 12:02:28.700]: Info: Creating encoder [hevc_nvenc]
[2025-01-23 12:02:28.700]: Info: Color coding: SDR (Rec. 601)
[2025-01-23 12:02:28.700]: Info: Color depth: 8-bit
[2025-01-23 12:02:28.700]: Info: Color range: MPEG
[2025-01-23 12:02:28.713]: Info: Capture format [DXGI_FORMAT_R16G16B16A16_FLOAT]
[2025-01-23 12:02:28.757]: Info: NvEnc: created encoder HEVC P1 two-pass rfi
[2025-01-23 12:03:36.898]: Warning: UPnP conflict detected with: 192.168.50.2
[2025-01-23 12:03:36.899]: Error: Unable to delete conflicting UPnP port mapping: 606
[2025-01-23 12:03:36.910]: Error: Failed to map UDP 48000: 718
[2025-01-23 12:04:16.293]: Info: CLIENT DISCONNECTED
[2025-01-23 12:04:19.188]: Info: Executing Undo Cmd: [cmd /c C:\SetDpi.exe 1 125]
[2025-01-23 12:04:19.197]: Info: cmd /c C:\SetDpi.exe 1 125 running with PID 35292
[2025-01-23 12:04:19.334]: Info: Executing Undo Cmd: [cmd /c "C:\Program Files\LGTV Companion\LGTV Companion.exe" -screenoff Device1]
[2025-01-23 12:04:19.338]: Info: cmd /c "C:\Program Files\LGTV Companion\LGTV Companion.exe" -screenoff Device1 running with PID 26680
[2025-01-23 12:05:38.990]: Warning: UPnP conflict detected with: 192.168.50.2
[2025-01-23 12:05:38.992]: Error: Unable to delete conflicting UPnP port mapping: 606
[2025-01-23 12:05:39.003]: Error: Failed to map UDP 48000: 718
[2025-01-23 12:07:41.085]: Warning: UPnP conflict detected with: 192.168.50.2
[2025-01-23 12:07:41.085]: Error: Unable to delete conflicting UPnP port mapping: 606
[2025-01-23 12:07:41.097]: Error: Failed to map UDP 48000: 718
@ReenigneArcher
Copy link
Member

I don't think your host supports the aspect ratio of the client...

@kuroderuta
Copy link
Author

I don't think your host supports the aspect ratio of the client...

Is there something that can be done about that?

@ReenigneArcher
Copy link
Member

@kuroderuta
Copy link
Author

I tried to set that exact resolution and refresh rate on my host and the display handles it just fine.

@20191864231
Copy link

20191864231 commented Jan 25, 2025

Regarding the automatic resolution feature, can I choose to turn off the automatic resolution feature because it makes my virtual monitor run at the wrong resolution and refresh rate every time the stream starts?

@FrogTheFrog
Copy link
Collaborator

I tried to set that exact resolution and refresh rate on my host and the display handles it just fine.

Please enable verbose logging, repeat the same steps again and post the log. Afterwards please set the resolution and refresh rate manually, restart Sunshine and post another log.

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

4 participants