GaryOderNichts / moonlight-wiiu

Moonlight Wii U port
GNU General Public License v3.0
121 stars 13 forks source link

"Connection has been terminated gracefully" a few seconds after opening game #49

Open one-and-only opened 6 months ago

one-and-only commented 6 months ago

For some reason, when I start streaming on the Wii U it tells me the "Connection has been terminated gracefully" a few seconds after I start the stream, even though the game hasn't stopped running. I am running the latest version of Sunshine server and the latest version of Moonlight Wii U. More information is available upon request. I would appreciate help on this matter. Thank you very much in advance.

jaff80 commented 4 months ago

I am having this issue, too, I was hoping that v1.6 would have fixed it. This didn't always happen to me, but I've been dealing with this bug for a few months now. I haven't tested if this bug occurs while using Tiramisu. I also only tested on Windows 10.

Device information: Wii U Version 5.5.6 U Moonlight version v1.6 Using Aroma Beta-16 My moonlight.conf file (with IP-address removed and renamed to moonlight.txt): moonlight.txt

PC Windows 10 Version 22H2 (OS Build 19045.4291) Processor Intel(R) Core(TM) i7-10700 CPU @ 2.90GHz 2.90 GHz Installed RAM 16.0 GB (15.7 GB usable) System type 64-bit operating system, x64-based processor Pen and touch No pen or touch input is available for this display Nvidia GeForce RTX 2060 GeForce Game Ready Driver Version: 552.22

Both are using a wired connection.

Describe the bug: A few seconds or minutes after connecting and streaming to the PC, the message "Connection has been terminated gracefully." pops up. You can reconnect to resume, but this will cause the startup app to open. In the older version of Moonlight Wii U, a few seconds after the second reconnect, this would cause the app to freeze. I guess the freezing part was fixed, but not the repeated dropped connections bug.

Steps to reproduce:

  1. Set up NVIDIA GameStream on your PC.
  2. Set up Moonlight Wii U on your Wii U.
  3. Launch Moonlight Wii U on your Wii U.
  4. Wait for a few seconds or minutes.
  5. The message "Connection has been terminated gracefully." should appear.

Video of the bug (happens at 5:33 & 11:12): https://youtu.be/YRSztZD0yNE

GaryOderNichts commented 4 months ago

I recommend using 720p@30fps with a 5000 bitrate. Also using Sunshine instead of the recent GameStream versions tends to be a lot more stable.

jaff80 commented 4 months ago

I used 30 FPS and installed Sunshine; the difference is night and day! I played well over 15 minutes and had no dropped connections or stream quality issues! The stream quality is even better than NVIDIA GameStream! This issue is closed for me, but @one-and-only should also test this. EDIT: I realize they are already using Sunshine; I apologize for the unnecessary ping.