rolandoislas / drc-sim

Wii U Gamepad Simulator Backend
Other
167 stars 32 forks source link

Waiting for Data not working? #42

Open xDarksin opened 7 years ago

xDarksin commented 7 years ago

Hello, This concept is truly amazing, i almost got it to work but i feel like maybe i might have missed something? After launching both the server and client files, connecting and syncing to the Wii U, everything works right and it seems to connect properly. My only issue is that once the client screen opens, it gets stuck on Connecting to Backend. Waiting for Data. Now it seems there is an issue inside the client log, which is telling me that the drcsim video and audio are disconnecting. It's also telling me that drcsim is recieving incompatible large data from the server. I don't understand what ive done wrong to produce such an error. Ive followed all of the instructions. I'm thinking i might just be missing a file or something that is necessary to run. Thank you for your time, and hopefully you can show me whats wrong, hopefully it is an easy fix. Maybe i am just overlooking something? EDIT: I noticed that I can still use the program, per say if i click on the grary screen my mouse is still sending signal outputs to my Wii U, i just cant hear any audio, nor see any video. It is stuck on the Connecting to Backend screen. (The error is from the right side of the screenshot) screenshot from 2017-08-26 00-52-36

rolandoislas commented 7 years ago

Launching the client with the --finer flag will enable stack traces in the log, that will help to identify the cause of the error. Launching the server with the finer flag will also prove useful, as I am unsure if the new update for the Wii U has changed the packet structure.

Also, if you do not mind, the version of Ubuntu, DRC Sim Server (judging by the client, I assume 2.0), and the Wii U will be helpful.

xDarksin commented 7 years ago

Hey, thank you for responding so quickly. Also thank you for the command, I used the finer flag this time, This is my first time using Ubuntu or any Linux distro in general so i'm kinda new at this lol. Anyway, My DRC Sim Server is 2.0, My Wii U should be recent update 5.5.2, im not able to tell exactly because currently my gamepad cannot sync (it's been cracked and the touchpad no longer works now) so i cant go into the system settings anymore. I am using the 16.04 LTS (Xenial Xerus) version of Ubuntu. It seems the error says it cant load a pixmap, and that the decoder init is failing to stream. Not sure what this means. screenshot from 2017-08-26 03-28-39

rolandoislas commented 7 years ago

Testing with a Wii U version 5.5.2 did not produce the bug. Is the system underpowered? Do the logs from the server show many packets being skipped?

xDarksin commented 7 years ago

EDIT: This is also a FRESH install, and during installation I did not check the box for third party software, although i did get the updates. Is there a way i could be missing some files needed to run this program properly? first First when i launch everything and open the server log. 2nd Pairing to the Wii U Success. 3rd Interface works fine when starting server. 4th Server connects fast and it says packet is received. final Still the same bug persists.

rolandoislas commented 7 years ago

I have included a frame logging feature in the client. Use -store-frames 5 as an argument to enable it. The frames should be saved as images if they are not, I would be interested in seeing the contents, as that would mean the bug is on the server.

drc-sim-client-desktop.zip

Edit: The data will be stored in ~/.drc-sim/log/frames/.

Aimolik commented 6 years ago

Edit: Nevermind. i have realized my mistake

I have the same issue. I used the store frames tag but cannot find the logging folder? Help would be so appreciated, and thank you for everything

milo1924 commented 5 years ago

I have the same issue, did you find a way to solve it?

Roet-Ivar commented 4 years ago

"Edit: Nevermind. i have realized my mistake" @Malecent Can you share what you did, what did you realize

nsto2335 commented 2 years ago

Is this conversation still dead? i need help on this aswell

herebyhello commented 7 months ago

I came across the same problem with an ubuntu1604 virtualbox VM. This bug may have some connections with low CPU or IO efficiency (guess low efficiency causes the graphic frames unsynced? Anyway the Wii U version is not the cause ). At last I found a way to slove this problem:1. Using a physical machine with better CPU (3GHz+); 2. client and server running on the same machine. (the client needs oracle JDK)