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

[Bug] LDN MITM not working for 2+ people on some games #6766

Open
big-lip-bob opened this issue May 2, 2024 · 3 comments
Open

[Bug] LDN MITM not working for 2+ people on some games #6766

big-lip-bob opened this issue May 2, 2024 · 3 comments
Assignees
Labels
bug Something isn't working service:ldn Related to the ldn module (Ryujinx.HLE.HOS.Services.Ldn)

Comments

@big-lip-bob
Copy link

Description of the issue

As the title says, I and other members of the Ryujinx discord have encountered several games where the local wireless multiplayer capability through LDN MITM is not working properly for more than two players.
The games reported were:

  • Super Mario 3D World (Tested myself with 1.1.0)
  • Mario Party Superstars
  • Tetris 99

Merely having another client list the lobbies already breaks something, making all other players unable to see or connect to the newly created lobby.
It looks like it pairs two clients pretty much forever, not letting anybody else in, recreating the lobby still only allows the same initial client to see and connect to it.

While creating individual lobbies and joining, every pair of players can connect to each other fine.

The LDN Build does work but it has its own issues, including latency.

Reproduction steps

Get one of the mentioned games, start a local wireless lobby (LDN).
Let one client list the lobbies and locate the target lobby.
Now any other clients will not be able to find the very same lobby.

Log file

Later, would have to gather them from the three players and label them host, client & unable

OS

Arch Linux & Windows

Ryujinx version

1.1.1296 & 1.1.0-LDN3.1.3

Game version

No response

CPU

No response

GPU

No response

RAM

No response

List of applied mods

No response

Additional context?

No response

@big-lip-bob big-lip-bob added the bug Something isn't working label May 2, 2024
@piplup55 piplup55 added the service:ldn Related to the ldn module (Ryujinx.HLE.HOS.Services.Ldn) label May 2, 2024
@TSRBerry
Copy link
Member

TSRBerry commented May 2, 2024

If you are able to get the log files that would help a lot!
But I also understand if that's too much work, thank you for reporting this.

@SosaXIII
Copy link

SosaXIII commented May 5, 2024

I was able to confirm all 3 mentioned games dont work for 3 or more players with the main ryujinx build.
Meanwhile if i pick ldn mitm on the LDN build, all 3 games work flawless.

Logs didnt show anything useful. Both the client that is able connect and the one that cant find the lobby will just show the following:

00:00:31.637 |I| HLE.OsThread.13 ServiceLdn : Initializing with multiplayer mode: LdnMitm
00:00:31.683 |I| HLE.OsThread.13 ServiceLdn : Initialize LanDiscovery using IP: 192.168.178.22

@big-lip-bob
Copy link
Author

Whenever I get the chance, I will try to obtain a proper WireShark Capture, this should shed some light on the situation but even in that case, it does not seem like anything in terms of broadcast packets, are lost, and I'm sure that we the three clients, can ping each other at all times, so we are P2P as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working service:ldn Related to the ldn module (Ryujinx.HLE.HOS.Services.Ldn)
Projects
None yet
Development

No branches or pull requests

4 participants