drc-sim-client icon indicating copy to clipboard operation
drc-sim-client copied to clipboard

Waiting for data - Couldn't load pixmap from image data

Open sh4444dow opened this issue 8 years ago • 13 comments

Hi,

My drc-sim-client is stucked on "Waiting for data" with two exceptions in logs.

image

drc-sim-server OS : debian 8 - 3.16.0-4 Wii U firmware : 3.1.0 (??) drc-sim : Windows 10 Wi-Fi dongle : Ralink WDN-3200 N600

Can you help me with these exceptions ?

Best regards

@sh4444dow

sh4444dow avatar Oct 11 '17 20:10 sh4444dow

Please see drc-sim#42 for a debug client that will log data/frames the server sends it. I cannot reproduce the issue on my end and no one experiencing the issue has provided me with a data dump as of yet.

opencma avatar Oct 12 '17 02:10 opencma

The frames seems to be completely empty (NUL character) :/

frames.zip

Do you think this could be caused by an old Wii U firmware 3.1.0 ? I'm actually trying to find a way to update my Wii U but I do not have a functionnal gamepad to do that. That is the reason I'm trying to use drc-sim.

sh4444dow avatar Oct 12 '17 06:10 sh4444dow

Do you think this could be caused by an old Wii U firmware 3.1.0 ?

I cannot say for certain, but it could be the case. However, in drc-sim#42 the same issue arose in what appears to be a Wii U with firmware version 5.5.2.

I would suggest starting DRC Sim Server in verbose logging mode to see if the packets from the Wii U are being handled.

opencma avatar Oct 12 '17 08:10 opencma

@rolandoislas, thanks for your quick and efficient response. Are you available for a live session of debugging directly on my machine tonight ?

It will be faster for you and me to do like so, yup ?

Regards

@sh4444dow

sh4444dow avatar Oct 12 '17 08:10 sh4444dow

I would like to see if the server is getting data first. It could be an issue with the Wii U expecting a reponse that is not implemented and would be a simple fix. If not, a data dump of packets from the Wii U might be needed.

opencma avatar Oct 12 '17 13:10 opencma

Hi,

You will find my log folder. I basically did a simple start / connected / stop of drc-sim-server.

log.tar.gz

Regards

@sh4444dow

sh4444dow avatar Oct 12 '17 21:10 sh4444dow

I am not sure what is wrong. There is a successful connection, but the backend does not appear to be getting any data on the expected ports.

A script to dump the packets from the Wii U is available here, although, I do not believe it will receive a different result. It should be executed after launching the backend without its server running. drc-sim-backend --disable-server python3 dump_packets.py

Edit: The dump_packets script will output to a folder named "dump" in the current working directory.

Also, if there is a connection to a gateway assigning IPs in the "192.168.1.x" format, it could cause issues. See Connecting#network-addresses.

opencma avatar Oct 13 '17 07:10 opencma

I am also having this issue running 16.04.3 LTS, drc-sim-server 2.0 and drc-sim-client 2.0. Is there anything in the works to get a fix?

Thanks for the awesome work

mlschoeneman avatar Jan 04 '18 06:01 mlschoeneman

@mlschoeneman I tried to reproduce the error with a Linksys AE1000 and was not successful. Are you using the same type of wireless interface as @sh4444dow (Ralink WDN-3200 N600)?

opencma avatar Jan 05 '18 10:01 opencma

@rolandoislas No I am not, and brushed over that before commenting, my apologies. I am using a Qualcom Atheros QCA61x4. Built-in Lenovo Yoga 3 14.

mlschoeneman avatar Jan 08 '18 00:01 mlschoeneman

@mlschoeneman The only thing I can recommend is to use a tested device from the wiki.

opencma avatar Jan 13 '18 21:01 opencma

I have it working good and reliable with an ASUS USB-N53 Wlan-Dongle. Before I got that adapter, I tried it with another internal card based on an atheros chipset, capable of 5Ghz and AP, but that didn't work well.

The server runs in 14.04 ubuntu on an i3-4310, but I had it running well in 16.04 KDE-Neon ubuntu on a Core2Duo Laptop , too.

You need quite a strong computer for the server part, or the imagedata from the server will be corrupted. My old X41 Thinkpad on 16.04 was not up to that task.

good luck

glitterkitty avatar Jan 15 '18 17:01 glitterkitty

@rolandoislas I ordered an AE1000 off eBay and connected right away! Thanks for attempting to help with the built in wifi card. Simple $3 AE1000 was well worth it. kudos!

mlschoeneman avatar Jan 18 '18 21:01 mlschoeneman