mariotaku / moonlight-tv

Lightweight NVIDIA GameStream Client, for LG webOS TV and embedded devices like Raspberry Pi
GNU General Public License v3.0
880 stars 31 forks source link

[BUG] Network Error Happened #224

Open farika opened 1 year ago

farika commented 1 year ago

Describe the bug

Connection to computer ok When select desktop : Unstable connection in upper right And after error : Network error hapenned Nothing on the screen (black) Only fail on LG moonlight client , work on other Moonlight app on other devices.

Basic information

Sunshine log : [2023:05:29:12:37:57]: Info: Executing [Desktop] [2023:05:29:12:37:57]: Info: CLIENT CONNECTED

Device Description : NVIDIA GeForce RTX 3080 Device Vendor ID : 0x000010DE Device Device ID : 0x00002206 Device Video Mem : 10067 MiB Device Sys Mem : 0 MiB Share Sys Mem : 16347 MiB Feature Level : 0x0000B100 Capture size : 2560x1440 Offset : 0x0 Virtual Desktop : 2560x1440 2023:05:29:12:37:58: Info: Desktop resolution 2560x1440: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]

Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709 Bits Per Color : 8 Red Primary : [0.639648,0.330078] Green Primary : [0.299805,0.599609] Blue Primary : [0.149414,0.0595703] White Point : [0.3125,0.329102] Min Luminance : 0.5 nits Max Luminance : 270 nits Max Full Luminance : 270 nits 2023:05:29:12:37:58: Info: Capture format DXGI_FORMAT_B8G8R8A8_UNORM: Info: SDR color coding Rec. 709: Info: Color range: [MPEG] [2023:05:29:12:38:06]: Info: CLIENT DISCONNECTED

Test with another moonlight client from an android phone on the same sunshine host: OK.

mariotaku commented 1 year ago

How do you connect the TV and the computer?

farika commented 1 year ago

Hi, For TV and computer Ethernet with a switch in the middle. Ping is ok between them , and host adding went well. On computer the PC host sunshine detects the connection. But that's all black screen and the network error.

For phone and computer (working), phone connected on wifi on my router and after switch and computer by ethernet.

Sunshine version: 0.19.1.d70d084f9fbb4e0150977a89d94937418a3ccf9c

mariotaku commented 1 year ago

Thanks for the info. There are a few options or configurations to change, to see if that's the root cause.

farika commented 1 year ago

We advance .

In 720p 1080p : i have a image but the image is stuck. Above : nothing and network error happened.

farika commented 1 year ago

Seems an issue with NDL. Working on 720p /1080p but image stuck. Working when switching to SMP in 4K 60 fps.

But not good for me as i need audio... :(

mariotaku commented 1 year ago

So only 4K with SMP works?

720p 1080p 1440p 2160p
NDL - - - -
SMP - - - OK

What do you mean by "stuck", is it a completely freezing frame, or lagging?

farika commented 1 year ago

Two case : TV behind the same switch of the computer : Working at 720p. Upper : Unstable connection and network error happened. But it's a 1gbps switch, so I don't understand why it doesn't work. Could it be a multicast problem, or that even though it's on the same switch, the packets are going up to the router and coming back, which reduces the bandwidth?

Then the problem in NDL is with wifi TV. But in this case it's a duplicate of the following bug: https://github.com/mariotaku/moonlight-tv/issues/183

exoss commented 1 year ago

same problem happened to me too i am looking for a solution, do you have any suggestion?

mariotaku commented 1 year ago

same problem happened to me too i am looking for a solution, do you have any suggestion?

You should take a look at the conversations in similar issues. The questions or suggested solutions may apply to your case too.

omax20005 commented 1 year ago

The same error happened after i used 1gb usb ethernet adapter Black screen and unstable connection to the upper right Works like a charm using my lg ethernet, but its only 100mb ethernet

Tv and other apps works great on the new 1gb adapter

UrbanNuke commented 11 months ago

I have 1gb connection too and have lags with unstable connection as well :(