Page 1 of 1

MapTool on Pi 4 (64 bit) success! But it's kinda slow

Posted: Wed Jul 22, 2020 3:42 pm
by TheDougMiester
It runs! I used the 64 bit Raspian O/S still in beta, openjdk 10 by Bellsoft, and the standard jfx11 install (supplemented by the jars from the gluon version).

But... it's pokey. It'll load the 5e overlay (2.5 version), but after that, it's too laggy to be useful.

My goal is to run it as a headless server, but (especially since I've never used MapTool before -- this is a project to help my son and his friends play online in a COVID world).

I'm open to ideas on how to speed it up.

Re: MapTool on Pi 4 (64 bit) success! But it's kinda slow

Posted: Fri Sep 11, 2020 12:41 am
by jfrazierjr
TheDougMiester wrote:
Wed Jul 22, 2020 3:42 pm
I'm open to ideas on how to speed it up.
Use an actual PC? Not trying to be an butt here, but most PI's just don't have enough ram in them. Consider that these devices are intended for light weight applications and a MapTool server is anything but a lightweight application.

With that said, are you testing with a default map? If so, you are likely out of luck. If on the other hand you are using an existing map, does it have VBL and is that VBL performant? There are "some" ways to optimize VBL depending on what you are trying to use.

Also, exactly what are the hardware specs on your PI? I know there are a vast array of models and if you are using one with anywhere less than 4gb IMHO you should not even bother. Also, 1.8 just released and thus supports Java 14 which should have all of the included stuff baked in(unless the ARM compilers decided to go against the spec intel compilers are using) AND it has at least a few performance improvements(probably not enough to make a difference in your case, but who knows).