loki-47-6F-64 / sunshine

Host for Moonlight Streaming Client
GNU General Public License v3.0
1.78k stars 152 forks source link

Getting a Ping Timeout when trying to connect to Moonlight User. #226

Open DiamondDust132 opened 3 years ago

DiamondDust132 commented 3 years ago

Hello. I've set up Sunshine and it seems to work fine at least on my network. I've opened ports so users outside of the network can also see, but I've got an issue with Sunshine crashing with a Ping Time out and Segmentation fault when a user tries to connect. This particular user is pretty far from me, I believe, so I wonder if that's the issue. Like I said, Sunshine works just fine if it's on my own network and with my own phone. Would really like to know what's going on here.

Ubuntu 21.04 Radeon RX 570

[resolutions] -- [[ 352x240, 480x360, 858x480, 1280x720, 1920x1080, 2560x1080, 3440x1440, 1920x1200, 3860x2160, 3840x1600 ]] [origin_pin_allowed] -- [pc] [nv_coder] -- [auto] [fps] -- [[10,30,60,90,120]] [gamepad] -- [x360] [nv_preset] -- [default] [upnp] -- [disabled] [output_name] -- [0] [min_log_level] -- [2] [key_rightalt_to_key_win] -- [disabled] [origin_web_ui_allowed] -- [lan] [external_ip] -- [24.125.252.190] [amd_quality] -- [default] [amd_rc] -- [auto] [hevc_mode] -- [0] [nv_rc] -- [auto] [sunshine_name] -- DiamondDust132: Info: Detecting connected monitors 2021:09:25:08:00:34: Info: Using X11 for screencasting 2021:09:25:08:00:34: Info: ////////////////////////////////////////////////////////////////// 2021:09:25:08:00:34: Info: // // 2021:09:25:08:00:34: Info: // Testing for available encoders, this may generate errors. // 2021:09:25:08:00:34: Info: // You can safely ignore those errors. // 2021:09:25:08:00:34: Info: // // 2021:09:25:08:00:34: Info: ////////////////////////////////////////////////////////////////// 2021:09:25:08:00:34: Info: Trying encoder nvenc: Info: Configuring selected monitor (0) to stream 2021:09:25:08:00:34: Info: Streaming display: DisplayPort-1 with res 1920x1080 offset by 0x0 2021:09:25:08:00:34: Info: Color coding Rec. 601: Info: Color range: JPEG: Error: Failed to create a CUDA device: Unknown error occurred 2021:09:25:08:00:34: Info: Configuring selected monitor (0) to stream 2021:09:25:08:00:34: Info: Streaming display: DisplayPort-1 with res 1920x1080 offset by 0x0 2021:09:25:08:00:34: Info: Color coding Rec. 601: Info: Color range: JPEG: Error: Failed to create a CUDA device: Unknown error occurred 2021:09:25:08:00:34: Info: Configuring selected monitor (0) to stream 2021:09:25:08:00:34: Info: Streaming display: DisplayPort-1 with res 1920x1080 offset by 0x0 2021:09:25:08:00:34: Info: Color coding Rec. 601: Info: Color range: JPEG: Error: Failed to create a CUDA device: Unknown error occurred 2021:09:25:08:00:34: Info: Configuring selected monitor (0) to stream 2021:09:25:08:00:34: Info: Streaming display: DisplayPort-1 with res 1920x1080 offset by 0x0 2021:09:25:08:00:34: Info: Color coding Rec. 601: Info: Color range: JPEG: Error: Failed to create a CUDA device: Unknown error occurred 2021:09:25:08:00:34: Info: Encoder [nvenc] failed 2021:09:25:08:00:34: Info: Trying encoder vaapi: Info: Configuring selected monitor (0) to stream 2021:09:25:08:00:34: Info: Streaming display: DisplayPort-1 with res 1920x1080 offset by 0x0 2021:09:25:08:00:34: Info: Color coding Rec. 601: Info: Color range: [JPEG] libva info: VA-API version 1.10.0 libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so libva info: Found init function vaDriverInit_1_7 libva info: va_openDriver() returns 0 mesa: for the --simplifycfg-sink-common option: may only occur zero or one times! mesa: for the --global-isel-abort option: may only occur zero or one times! mesa: for the --amdgpu-atomic-optimizations option: may only occur zero or one times! mesa: for the --structurizecfg-skip-uniform-regions option: may only occur zero or one times! 2021:09:25:08:00:34: Info: Configuring selected monitor (0) to stream 2021:09:25:08:00:34: Info: Streaming display: DisplayPort-1 with res 1920x1080 offset by 0x0 libva info: VA-API version 1.10.0 2021:09:25:08:00:34: Info: Color coding Rec. 601: Info: Color range: [JPEG] libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so libva info: Found init function vaDriverInit_1_7 libva info: va_openDriver() returns 0 2021:09:25:08:00:34: Info: Configuring selected monitor (0) to stream 2021:09:25:08:00:34: Info: Streaming display: DisplayPort-1 with res 1920x1080 offset by 0x0 libva info: VA-API version 1.10.0 2021:09:25:08:00:34: Info: Color coding [Rec. 601] libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so 2021:09:25:08:00:34: Info: Color range: [JPEG] libva info: Found init function vaDriverInit_1_7 libva info: va_openDriver() returns 0 2021:09:25:08:00:34: Info: Configuring selected monitor (0) to stream 2021:09:25:08:00:34: Info: Streaming display: DisplayPort-1 with res 1920x1080 offset by 0x0 libva info: VA-API version 1.10.0 2021:09:25:08:00:34: Info: Color coding Rec. 601: Info: Color range: [JPEG] libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so libva info: Found init function vaDriverInit_1_7 libva info: va_openDriver() returns 0 2021:09:25:08:00:34: Info: Configuring selected monitor (0) to stream 2021:09:25:08:00:34: Info: Streaming display: DisplayPort-1 with res 1920x1080 offset by 0x0 libva info: VA-API version 1.10.0 2021:09:25:08:00:34: Info: Color coding Rec. 601: Info: Color range: [JPEG] libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so libva info: Found init function vaDriverInit_1_7 libva info: va_openDriver() returns 0 2021:09:25:08:00:34: Info: Configuring selected monitor (0) to stream 2021:09:25:08:00:34: Info: Streaming display: DisplayPort-1 with res 1920x1080 offset by 0x0 libva info: VA-API version 1.10.0 libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so libva info: Found init function vaDriverInit_1_7 2021:09:25:08:00:34: Info: Color coding Rec. 709: Info: Color range: [JPEG] libva info: va_openDriver() returns 0 2021:09:25:08:00:34: Info: Configuring selected monitor (0) to stream 2021:09:25:08:00:34: Info: Streaming display: DisplayPort-1 with res 1920x1080 offset by 0x0 libva info: VA-API version 1.10.0 2021:09:25:08:00:34: Info: Color coding Rec. 709: Info: Color range: [JPEG] libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so libva info: Found init function __vaDriverInit_1_7 libva info: va_openDriver() returns 0 2021:09:25:08:00:34: Warning: vaapi: h264 missing sps->vui parameters 2021:09:25:08:00:34: Warning: vaapi: hevc missing sps->vui parameters 2021:09:25:08:00:34: Warning: vaapi: hevc: replacing nalu prefix data

2021:09:25:08:00:34: Info: ////////////////////////////////////////////////////////////// 2021:09:25:08:00:34: Info: // // 2021:09:25:08:00:34: Info: // Ignore any errors mentioned above, they are not relevant // 2021:09:25:08:00:34: Info: // // 2021:09:25:08:00:34: Info: //////////////////////////////////////////////////////////////

2021:09:25:08:00:34: Info: Found encoder vaapi: h264_vaapi, hevc_vaapi: Info: Configuration UI available at https://localhost:47990: Info: Adding avahi service Sunshine [2021:09:25:08:00:35]: Info: Avahi service Sunshine successfully established. [2021:09:25:08:00:42]: Error: Couldn't discover any UPNP devices [2021:09:25:08:03:48]: Info: /CN=NVIDIA GameStream Client -- verfied [2021:09:25:08:03:50]: Info: /CN=NVIDIA GameStream Client -- verfied [2021:09:25:08:03:51]: Info: /CN=NVIDIA GameStream Client -- verfied [2021:09:25:08:03:53]: Info: /CN=NVIDIA GameStream Client -- verfied [2021:09:25:08:03:55]: Info: /CN=NVIDIA GameStream Client -- verfied [2021:09:25:08:03:56]: Info: /CN=NVIDIA GameStream Client -- verfied [2021:09:25:08:03:58]: Info: /CN=NVIDIA GameStream Client -- verfied [2021:09:25:08:04:07]: Info: /CN=NVIDIA GameStream Client -- verfied [2021:09:25:08:04:09]: Info: /CN=NVIDIA GameStream Client -- verfied [2021:09:25:08:04:11]: Info: /CN=NVIDIA GameStream Client -- verfied [2021:09:25:08:04:12]: Info: /CN=NVIDIA GameStream Client -- verfied [2021:09:25:08:04:13]: Info: /CN=NVIDIA GameStream Client -- verfied [2021:09:25:08:04:13]: Info: /CN=NVIDIA GameStream Client -- verfied [2021:09:25:08:04:15]: Info: /CN=NVIDIA GameStream Client -- verfied [2021:09:25:08:04:15]: Info: /CN=NVIDIA GameStream Client -- verfied [2021:09:25:08:04:15]: Info: CLIENT CONNECTED [2021:09:25:08:04:15]: Info: Detecting connected monitors [2021:09:25:08:04:15]: Info: Configuring selected monitor (0) to stream [2021:09:25:08:04:15]: Info: Streaming display: DisplayPort-1 with res 1920x1080 offset by 0x0 [2021:09:25:08:04:15]: Info: Color coding [Rec. 601] [2021:09:25:08:04:15]: Info: Color range: [MPEG] libva info: VA-API version 1.10.0 libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so libva info: Found init function __vaDriverInit_1_7 libva info: va_openDriver() returns 0 [2021:09:25:08:04:25]: Info: /CN=NVIDIA GameStream Client -- verfied [2021:09:25:08:04:25]: Info: /CN=NVIDIA GameStream Client -- verfied [2021:09:25:08:04:25]: Info: CLIENT DISCONNECTED [2021:09:25:08:04:26]: Info: /CN=NVIDIA GameStream Client -- verfied [2021:09:25:08:05:17]: Info: /CN=NVIDIA GameStream Client -- verfied [2021:09:25:08:05:18]: Info: /CN=NVIDIA GameStream Client -- verfied [2021:09:25:08:05:20]: Info: /CN=NVIDIA GameStream Client -- verfied [2021:09:25:08:05:21]: Info: /CN=NVIDIA GameStream Client -- verfied [2021:09:25:08:05:21]: Info: Executing: [xrandr --output HDMI-1 --mode 1920x1080] [2021:09:25:08:05:36]: Error: Initial Ping Timeout [2021:09:25:08:05:36]: Error: Initial Ping Timeout Segmentation fault (core dumped)

loki-47-6F-64 commented 3 years ago

Could you set the log level to debug and pass the logs from:

[2021:09:25:08:04:15]: Info: CLIENT CONNECTED

to the end?