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

Failed to start RTSP handshake error message on Windows 10 host computer #811

Closed
3 tasks done
dnet890 opened this issue Jan 22, 2023 · 12 comments
Closed
3 tasks done
Labels
os:Windows OS is Windows stale

Comments

@dnet890
Copy link

dnet890 commented Jan 22, 2023

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 nightly release?

  • This issue is present in the nightly release

Describe the Bug

the command log looks good. But, I cannot connect to Windows 10 host computer with Android,iOS and another windows 10 PC with Moonlight app.

Expected Behavior

it should connect

Additional Context

Screenshot_20230122-220154
Screenshot_20230122-220142
This one is for Android

signal-2023-01-22-215242_002
the third one is different windows PC.

signal-2023-01-22-220938_002

the last one is iOS

BTW, I already disabled windows firewall and allow exceptions. But, it does not worked.

Host Operating System

Windows

Operating System Version

Windows 10 22h2

Architecture

64 bit

Sunshine commit or version

0.17

Package

Windows - installer

GPU Type

Nvidia

GPU Model

RTX 3070

GPU Driver/Mesa Version

526.47

Capture Method (Linux Only)

No response

Relevant log output

[2023:01:22:21:57:05]: Info: Compiling shaders...
[2023:01:22:21:57:05]: Info: Compiled shaders
[2023:01:22:21:57:05]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2023:01:22:21:57:05]: Info: Trying encoder [nvenc]
[2023:01:22:21:57:05]: Info: 
Device Description : NVIDIA GeForce RTX 3070 Laptop GPU
Device Vendor ID   : 0x000010DE
Device Device ID   : 0x0000249D
Device Video Mem   : 8033 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 32446 MiB
Feature Level      : 0x0000B100
Capture size       : 1920x1080
Offset             : 0x0
Virtual Desktop    : 5760x1080
[2023:01:22:21:57:05]: Warning: Failed to set realtime GPU priority. Please run application as administrator for optimal performance.
[2023:01:22:21:57:05]: Info: Desktop resolution [1920x1080]
[2023:01:22:21:57:05]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2023:01:22:21:57:05]: Info: Color coding [Rec. 601]
[2023:01:22:21:57:05]: Info: Color range: [JPEG]
[2023:01:22:21:57:05]: Info: 
Device Description : NVIDIA GeForce RTX 3070 Laptop GPU
Device Vendor ID   : 0x000010DE
Device Device ID   : 0x0000249D
Device Video Mem   : 8033 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 32446 MiB
Feature Level      : 0x0000B100
Capture size       : 1920x1080
Offset             : 0x0
Virtual Desktop    : 5760x1080
[2023:01:22:21:57:05]: Warning: Failed to set realtime GPU priority. Please run application as administrator for optimal performance.
[2023:01:22:21:57:05]: Info: Desktop resolution [1920x1080]
[2023:01:22:21:57:05]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2023:01:22:21:57:05]: Info: Color coding [Rec. 601]
[2023:01:22:21:57:05]: Info: Color range: [JPEG]
[2023:01:22:21:57:05]: Info: 
Device Description : NVIDIA GeForce RTX 3070 Laptop GPU
Device Vendor ID   : 0x000010DE
Device Device ID   : 0x0000249D
Device Video Mem   : 8033 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 32446 MiB
Feature Level      : 0x0000B100
Capture size       : 1920x1080
Offset             : 0x0
Virtual Desktop    : 5760x1080
[2023:01:22:21:57:05]: Warning: Failed to set realtime GPU priority. Please run application as administrator for optimal performance.
[2023:01:22:21:57:05]: Info: Desktop resolution [1920x1080]
[2023:01:22:21:57:05]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2023:01:22:21:57:05]: Info: Color coding [Rec. 601]
[2023:01:22:21:57:05]: Info: Color range: [JPEG]
[2023:01:22:21:57:05]: Info: 
Device Description : NVIDIA GeForce RTX 3070 Laptop GPU
Device Vendor ID   : 0x000010DE
Device Device ID   : 0x0000249D
Device Video Mem   : 8033 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 32446 MiB
Feature Level      : 0x0000B100
Capture size       : 1920x1080
Offset             : 0x0
Virtual Desktop    : 5760x1080
[2023:01:22:21:57:05]: Warning: Failed to set realtime GPU priority. Please run application as administrator for optimal performance.
[2023:01:22:21:57:05]: Info: Desktop resolution [1920x1080]
[2023:01:22:21:57:05]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2023:01:22:21:57:05]: Info: Color coding [Rec. 601]
[2023:01:22:21:57:05]: Info: Color range: [JPEG]
[2023:01:22:21:57:05]: Info: 
Device Description : NVIDIA GeForce RTX 3070 Laptop GPU
Device Vendor ID   : 0x000010DE
Device Device ID   : 0x0000249D
Device Video Mem   : 8033 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 32446 MiB
Feature Level      : 0x0000B100
Capture size       : 1920x1080
Offset             : 0x0
Virtual Desktop    : 5760x1080
[2023:01:22:21:57:05]: Warning: Failed to set realtime GPU priority. Please run application as administrator for optimal performance.
[2023:01:22:21:57:05]: Info: Desktop resolution [1920x1080]
[2023:01:22:21:57:05]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2023:01:22:21:57:05]: Info: Color coding [Rec. 601]
[2023:01:22:21:57:05]: Info: Color range: [JPEG]
[2023:01:22:21:57:06]: Info: 
Device Description : NVIDIA GeForce RTX 3070 Laptop GPU
Device Vendor ID   : 0x000010DE
Device Device ID   : 0x0000249D
Device Video Mem   : 8033 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 32446 MiB
Feature Level      : 0x0000B100
Capture size       : 1920x1080
Offset             : 0x0
Virtual Desktop    : 5760x1080
[2023:01:22:21:57:06]: Warning: Failed to set realtime GPU priority. Please run application as administrator for optimal performance.
[2023:01:22:21:57:06]: Info: Desktop resolution [1920x1080]
[2023:01:22:21:57:06]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2023:01:22:21:57:06]: Info: Color coding [Rec. 709]
[2023:01:22:21:57:06]: Info: Color range: [JPEG]
[2023:01:22:21:57:06]: Error: Could not open codec [h264_nvenc]: Function not implemented
[2023:01:22:21:57:06]: Info: 
Device Description : NVIDIA GeForce RTX 3070 Laptop GPU
Device Vendor ID   : 0x000010DE
Device Device ID   : 0x0000249D
Device Video Mem   : 8033 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 32446 MiB
Feature Level      : 0x0000B100
Capture size       : 1920x1080
Offset             : 0x0
Virtual Desktop    : 5760x1080
[2023:01:22:21:57:06]: Warning: Failed to set realtime GPU priority. Please run application as administrator for optimal performance.
[2023:01:22:21:57:06]: Info: Desktop resolution [1920x1080]
[2023:01:22:21:57:06]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2023:01:22:21:57:06]: Info: Color coding [Rec. 709]
[2023:01:22:21:57:06]: Info: Color range: [JPEG]
[2023:01:22:21:57:06]: Info: 
Device Description : NVIDIA GeForce RTX 3070 Laptop GPU
Device Vendor ID   : 0x000010DE
Device Device ID   : 0x0000249D
Device Video Mem   : 8033 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 32446 MiB
Feature Level      : 0x0000B100
Capture size       : 1920x1080
Offset             : 0x0
Virtual Desktop    : 5760x1080
[2023:01:22:21:57:06]: Warning: Failed to set realtime GPU priority. Please run application as administrator for optimal performance.
[2023:01:22:21:57:06]: Info: Desktop resolution [1920x1080]
[2023:01:22:21:57:06]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2023:01:22:21:57:06]: Info: Color coding [Rec. 601]
[2023:01:22:21:57:06]: Info: Color range: [JPEG]
[2023:01:22:21:57:06]: Info: 
Device Description : NVIDIA GeForce RTX 3070 Laptop GPU
Device Vendor ID   : 0x000010DE
Device Device ID   : 0x0000249D
Device Video Mem   : 8033 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 32446 MiB
Feature Level      : 0x0000B100
Capture size       : 1920x1080
Offset             : 0x0
Virtual Desktop    : 5760x1080
[2023:01:22:21:57:06]: Warning: Failed to set realtime GPU priority. Please run application as administrator for optimal performance.
[2023:01:22:21:57:06]: Info: Desktop resolution [1920x1080]
[2023:01:22:21:57:06]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2023:01:22:21:57:06]: Info: Color coding [Rec. 601]
[2023:01:22:21:57:06]: Info: Color range: [JPEG]
[2023:01:22:21:57:06]: Warning: nvenc: hevc: replacing nalu prefix data
[2023:01:22:21:57:06]: Info: 
[2023:01:22:21:57:06]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2023:01:22:21:57:06]: Info: 
[2023:01:22:21:57:06]: Info: Found encoder nvenc: [h264_nvenc, hevc_nvenc]
[2023:01:22:21:57:06]: Error: register_cb(): The RPC server is unavailable.
[2023:01:22:21:57:06]: Info: Configuration UI available at [https://localhost:47990]
[2023:01:22:21:57:10]: Info: /CN=NVIDIA GameStream Client -- verified
[2023:01:22:21:57:10]: Info: /CN=NVIDIA GameStream Client -- verified
[2023:01:22:21:57:11]: Info: /CN=NVIDIA GameStream Client -- verified
[2023:01:22:21:57:11]: Info: /CN=NVIDIA GameStream Client -- verified
[2023:01:22:21:57:11]: Info: /CN=NVIDIA GameStream Client -- verified
[2023:01:22:21:57:13]: Info: /CN=NVIDIA GameStream Client -- verified
[2023:01:22:21:57:13]: Info: /CN=NVIDIA GameStream Client -- verified
[2023:01:22:21:57:13]: Info: Executing [Desktop]
[2023:01:22:21:57:14]: Error: Couldn't discover any UPNP devices
[2023:01:22:21:59:05]: Info: /CN=NVIDIA GameStream Client -- verified
[2023:01:22:21:59:05]: Info: /CN=NVIDIA GameStream Client -- verified
[2023:01:22:21:59:07]: Info: /CN=NVIDIA GameStream Client -- verified
[2023:01:22:21:59:07]: Info: /CN=NVIDIA GameStream Client -- verified
[2023:01:22:21:59:08]: Info: /CN=NVIDIA GameStream Client -- verified
[2023:01:22:21:59:08]: Info: /CN=NVIDIA GameStream Client -- verified
@ReenigneArcher
Copy link
Member

Correct me if I'm wrong, but it looks like you are trying to "resume" an existing session?

@dnet890
Copy link
Author

dnet890 commented Jan 22, 2023

resume and start session. throw same error message (Failed to start RTSP handshake).

@Clovis-krz
Copy link

You should manually open ports on your router

@ReenigneArcher
Copy link
Member

You should manually open ports on your router

Not if this issue also occurs on LAN

@kitsuniru
Copy link

Same problem here, trying in local network

@samusaran
Copy link

samusaran commented Feb 10, 2023

It sometimes happens to me too. In my case it was related to the handling of commands.

Basically:

  • from moonlight, open an App that launches a detatched command
  • the first time, everything works and the command opens an app (Playnite in my case. this is important because playnite only allows 1 instance)
  • disconnect and launch that App again. in this case the command gets executed but closes instantly, because an instance is already running
  • the command fails, and Failed to start RTSP handshake gets returned

I guess the error is just a false positive because the command closes before stream initialization.
The best thing should be detect this issue and just return a more precise error.

Solved by not having playnite start with windows, and by using command instead of detatched command. That way, sunshine is in command of playnite lifetime.

@LizardByte-bot
Copy link
Member

This issue is stale because it has been open for 90 days with no activity. Comment or remove the stale label, otherwise this will be closed in 10 days.

@dnet890
Copy link
Author

dnet890 commented May 12, 2023

keep it open

@LizardByte-bot
Copy link
Member

This issue is stale because it has been open for 90 days with no activity. Comment or remove the stale label, otherwise this will be closed in 10 days.

@dnet890
Copy link
Author

dnet890 commented Aug 11, 2023

keep it open

@LizardByte-bot
Copy link
Member

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!

@dnet890
Copy link
Author

dnet890 commented Nov 10, 2023

keep it open

@ReenigneArcher ReenigneArcher closed this as not planned Won't fix, can't repro, duplicate, stale Nov 10, 2023
@ReenigneArcher ReenigneArcher added os:Windows OS is Windows and removed os:Windows:10 labels Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
os:Windows OS is Windows stale
Projects
None yet
Development

No branches or pull requests

6 participants