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

Bad Connection no matter what I do. #72

Open
axlester opened this issue Mar 22, 2023 · 11 comments
Open

Bad Connection no matter what I do. #72

axlester opened this issue Mar 22, 2023 · 11 comments

Comments

@axlester
Copy link

As the title states I get a Bad Connection message and can't stream anything to my switch. The switch and my pc are on the same network I have decreased the bitrate to as low as it will go, I have been basically stood right on top of my router, I have the latest drivers and GFE, the only thing I cant confirm is that I have the latest atmosphere and my PC is running windows 10 with decent-ish spec (I got it 2 years ago and it should have been future proofed for a couple more years to come). I am at my wits end. I wanted to do this as I have moderate to severe back problems and cant sit at a PC for more than about an hour so I thought I have a hacked switch and wii u surely I can get this to work on either one of those systems as I cant afford to go out and buy a steam deck (which is about $1000 AUD) or even one of it's alternatives (albeit cheaper still expensive for me), turns out I was wrong so now if I want to play PC games I have play for an hour then take several hours "break". I have tried multiple solutions and none have worked thus far, I would be really appreciative if I can get this to work. Apologies for the emotional rant it's just getting too upsetting.

@henrique311
Copy link

Me too, always "Bad connection...", I've tried it on 2 different computers, I've tried downgrading the Nvidia driver, but it didn't work. It used to work for me, and considering you've had this problem since March, it must be something related to some version of Switch or Atmosphere.
16.0.1 firmware and AMS 1.5.2 here.

@lucassrz
Copy link

Same for me.
16.0.2 Firmware and AMS 1.5.2

@gimlou
Copy link

gimlou commented May 17, 2023

I've the same issue, for information here is the part of my log when disconnection appears (without any error code) :

2023-04-03 18:57:30 [INFO][MOONLIGHTSESSION] Starting: STAGE_PLATFORM_INIT
2023-04-03 18:57:30 [INFO][MOONLIGHTSESSION] Complete: STAGE_PLATFORM_INIT
2023-04-03 18:57:30 [INFO][MOONLIGHTSESSION] Starting: STAGE_NAME_RESOLUTION
2023-04-03 18:57:30 [INFO][MOONLIGHTSESSION] Complete: STAGE_NAME_RESOLUTION
2023-04-03 18:57:30 [INFO][MOONLIGHTSESSION] Starting: STAGE_RTSP_HANDSHAKE
2023-04-03 18:57:30 [INFO][MOONLIGHTSESSION] Complete: STAGE_RTSP_HANDSHAKE
2023-04-03 18:57:30 [INFO][MOONLIGHTSESSION] Starting: STAGE_CONTROL_STREAM_INIT
2023-04-03 18:57:30 [INFO][MOONLIGHTSESSION] Complete: STAGE_CONTROL_STREAM_INIT
2023-04-03 18:57:30 [INFO][MOONLIGHTSESSION] Starting: STAGE_VIDEO_STREAM_INIT
2023-04-03 18:57:30 [INFO][MOONLIGHTSESSION] Complete: STAGE_VIDEO_STREAM_INIT
2023-04-03 18:57:30 [INFO][MOONLIGHTSESSION] Starting: STAGE_AUDIO_STREAM_INIT
2023-04-03 18:57:30 [INFO][MOONLIGHTSESSION] Complete: STAGE_AUDIO_STREAM_INIT
2023-04-03 18:57:30 [INFO][MOONLIGHTSESSION] Starting: STAGE_INPUT_STREAM_INIT
2023-04-03 18:57:30 [INFO][MOONLIGHTSESSION] Complete: STAGE_INPUT_STREAM_INIT
2023-04-03 18:57:30 [INFO][MOONLIGHTSESSION] Starting: STAGE_CONTROL_STREAM_START
2023-04-03 18:57:30 [INFO][MOONLIGHTSESSION] Complete: STAGE_CONTROL_STREAM_START
2023-04-03 18:57:30 [INFO][MOONLIGHTSESSION] Starting: STAGE_VIDEO_STREAM_START
2023-04-03 18:57:30 [INFO][FFMPEG] Setup with format: H264, width: 1280, height: 720, fps: 30
2023-04-03 18:57:30 [INFO][FFMPEG] Setup done!
2023-04-03 18:57:30 [INFO][MOONLIGHTSESSION] Complete: STAGE_VIDEO_STREAM_START
2023-04-03 18:57:30 [INFO][MOONLIGHTSESSION] Starting: STAGE_AUDIO_STREAM_START
2023-04-03 18:57:30 [INFO][AUDREN] Init with channels: 2, sample rate: 48000
2023-04-03 18:57:30 [INFO][AUDREN] Init done!
2023-04-03 18:57:31 [INFO][MOONLIGHTSESSION] Complete: STAGE_AUDIO_STREAM_START
2023-04-03 18:57:31 [INFO][MOONLIGHTSESSION] Starting: STAGE_INPUT_STREAM_START
2023-04-03 18:57:31 [INFO][MOONLIGHTSESSION] Complete: STAGE_INPUT_STREAM_START
2023-04-03 18:57:31 [INFO][MOONLIGHTSESSION] Connection started
2023-04-03 18:57:41 [INFO][MOONLIGHTSESSION] Connection terminated...

2023-04-03 18:57:41 [INFO][AUDREN] Cleanup...
2023-04-03 18:57:41 [INFO][AUDREN] Cleanup done!
2023-04-03 18:57:41 [INFO][FFMPEG] Cleanup...
2023-04-03 18:57:41 [INFO][FFMPEG] Cleanup done!
2023-04-03 18:57:41 [INFO][GL] Cleanup...
2023-04-03 18:57:41 [INFO][GL] Cleanup done!

I try to find another method to retrieve better log but nope... If anyone know how to get better log !

16.0.2 Firmware and AMS 1.5.2 too

Edit : It works with Sunshine instead of GeForceExperience, perfectly btw.

@darkdragone
Copy link

Mine was doing the same thing until I connected via ethernet. Thought this was odd as it is on 5ghz wifi but I also noticed it doesn't seem to be changing the resolution on the host pc for the stream down to the 720. Ive used moonlight with sunshine on android an it changed the resolution on my pc when it was defaulted to 720.

@gimlou
Copy link

gimlou commented May 24, 2023

Mine was doing the same thing until I connected via ethernet. Thought this was odd as it is on 5ghz wifi but I also noticed it doesn't seem to be changing the resolution on the host pc for the stream down to the 720. Ive used moonlight with sunshine on android an it changed the resolution on my pc when it was defaulted to 720.

To auto change resolution I use ChangeScreenResolution.
In configuration > General, you can add Command Preparations, here's mine :
Do : "PATH/ChangeScreenResolution.exe" /w=1280 /h=720 /f=60 /d=0
Undo : "PATH/ChangeScreenResolution.exe" /w=3440 /h=1440 /f=165 /d=0
Option /d=0 is the monitor number.
In undo it's the original resolution and refresh rate of your screen.

Works like a charm.

@purekimwater
Copy link

purekimwater commented May 25, 2023

Same for me. I haven't found a solution.
5ghz, checked 'ignore unsupported resolution,' and Video Bitrate cranked all the way down even to 0.5Mbps.
unchecked 'Use Streaming Optimal Playable Settings.'
Still nothing.

@kevzz01
Copy link

kevzz01 commented May 28, 2023

I’m having the same problem with my OLED Switch and my PC is wired. I have another Switch V1 with android and moonlight works flawlessly without any problem

@DylanRJohnston-FZ
Copy link

Had the same problem using Nvidia Shield streaming but Sunshine works flawlessly

@DylanRJohnston-FZ
Copy link

Over clocking the CPU to 1362 and enabling logging lets me stream at 720p@60fps 15mbps bitrate without freezing or crashing.

It’s weird that logging seems to be key to stopping the freezing.

@kevzz01
Copy link

kevzz01 commented May 28, 2023

Overclocking the cpu actually helps! I can even play @ 1080p resolution.

@Lamcza
Copy link

Lamcza commented Sep 4, 2023

bump bad connection 16.1.0 1.5.5

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

9 participants