WiPiNetbooter icon indicating copy to clipboard operation
WiPiNetbooter copied to clipboard

Game transfer stuck on 0%

Open Hercules187 opened this issue 2 years ago • 8 comments

Hi,

I have a PI model 3a+ now I know not strictly supported but if I try with an external USB it detects the eth device ok says the Chihiro net dimms are online if I try to send a game it just hangs on 0% and does nothing. So, I tried connecting via wifi only with the Chihiro netdimms on the that network. again it says they are online ok but same thing happens it hangs on 0% and the Chihiro still says looking for network. Using the windows transfer game executable everything works ok. I had a look at the logs but they are all empty? is there anywhere I can look of manually send using the piforce tools? I'm not sure of syntax or location......

Thanks

Steve

Hercules187 avatar Apr 21 '22 13:04 Hercules187

What version of WiPi are you running? the logs should appear in /var/log - open the netdimm_send.log file and post the contents please

chunksin avatar Apr 21 '22 16:04 chunksin

Version 6.1-7......I think I spot whats going on here....this is the contents of netdimm log: 2022-04-22 15:00:31,134 Game requested is 2022-04-22 15:00:31,135

2022-04-22 15:00:31,136 /boot/roms/ch-outrun2specialtours_512_SBJE.bin.gz 2022-04-22 15:00:31,136

2022-04-22 15:00:31,137 Netdimm IP is 2022-04-22 15:00:31,137

2022-04-22 15:00:31,137 192.168.1.102 2022-04-22 15:00:31,138

2022-04-22 15:00:31,138 Sending... 2022-04-22 15:00:31,139

and dmesg shows:

[Fri Apr 22 15:01:13 2022] oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=/,mems_allowed=0,global_oom,task_memcg=/,task=python3,pid=698,uid=0 [Fri Apr 22 15:01:13 2022] Out of memory: Killed process 698 (python3) total-vm:377700kB, anon-rss:350184kB, file-rss:8kB, shmem-rss:0kB, UID:0 pgtables:368kB oom_score_adj:0

So looks like maybe the 512mb memory on the model 3a+ isnt enough?

Thanks

Steve

Hercules187 avatar Apr 22 '22 14:04 Hercules187

You can try adjusting the GPU memory settings in config txt, gpu_mem=64 might work?

chunksin avatar Apr 22 '22 17:04 chunksin

Thanks I think its default of 64mb on 512gb systems anyway, I tried the lowest permissible 16mb its still the same problem, its a shame the tools seem to spool the rom into memory.

Hercules187 avatar Apr 25 '22 10:04 Hercules187

You could use a larger SD card, extend the rootfs and add a swap file? or better, use an external USB pen drive for a swap? space is really tight in the rootfs, only around 330MB free

chunksin avatar Apr 25 '22 10:04 chunksin

It is actually on a larger SD card I will try that to be fair I did toy with the idea of creating a scratch to see if it worked as I reckon would probably only need 200mb or so...

Hercules187 avatar Apr 25 '22 16:04 Hercules187

Did you have any luck getting this to work?

chunksin avatar May 04 '22 10:05 chunksin

I haven't had a chance to have a crack it yet real life responsibilities get in the way :( but when I do I will let you know.

Hercules187 avatar May 06 '22 18:05 Hercules187