jhead / phantom

Use your own Minecraft server with your Xbox or PS4 and play with friends!
MIT License
613 stars 76 forks source link

Resource packs download slowly from server #90

Open flplv opened 4 years ago

flplv commented 4 years ago

I have tested in the same server with 0.4.0 and 0.5.1, the difference is very big.

jhead commented 4 years ago

Using this thread @counterfitninja @Jim-Kroovy to discuss the resource pack issue.

https://github.com/jhead/phantom/issues/96#issuecomment-650552582

jhead commented 4 years ago

I loaded a few packs onto a remote Bedrock server (~500kb in size), including the Truly Bedrock pack and the attached Acceptable.zip pack, and set the server to force them. I connected via Xbox One X to phantom and it prompted me to download the packs automatically, which it completely almost instantly.

I'm really having trouble narrowing down what the issue might be to reproduce this. I do have pretty good wifi between my laptop running phantom and my Xbox is connected via ethernet cable, so maybe it comes down to the quality of the connection? Can you think of any other way I might be able to reproduce this?

jhead commented 4 years ago

See v0.5.2 for a new -workers flag that you could try using to improve performance. Depending on the device you're running phantom on, I'd suggest using somewhere between 4 - 16 workers.

flplv commented 4 years ago

The tests I performed was in a PS4, I will run tests again and will report the results.

flplv commented 4 years ago

Tested in a PS4 with 1.16.1, remote server at 1.16.1.2 in phantom-linux 0.5.2 and could not reproduce. One difference, though, is that my pack was 90KiB this time, and when I had issues I had 10MiB of download. In the future I plan to re-enable the bigger packs then I will redo the tests again. Right now I will stick to the 0.5.2 and let you know if I find issues.

counterfitninja commented 4 years ago

I think I have narrowed down the pack that is causing the crash. I'll do a little digging today on the latest release copy and if it still fails I'll send over the pack. This does not seem to be size related but pack related, at least in my case

jhead commented 4 years ago

bumping this once more, just want to make sure there's no bug I should be looking into on my end 🙂