Joined: 02 Jan 2007, 16:18 Location: Bremen, Germany
Many of you had the same performance issues I had with my IceUI.. Trepan calls it "jerkiness" and he claims that updating Lua to version 5.1.2 reduced the jerkiness quite a bit..
I can't really test this since my new laptop doesn't really show that jerkiness.. So it would be really cool if some of you who noticed a periodical FPS drop could try it with the latest SVN build of Spring and report any changes in performance..
There font rendering may also be the source of a general slowdown.
The 'jerkiness' is periodic, and is caused by lua's garbage collection
routine. Lua 5.1 added an incremental tunable garbage collector, and
so it performs better. You can tune the parameters using the DoLine
widget:
/luaui run collectgarbage(opt [, arg]) -- see the lua manual for more info
15 fps as a number is useless regardless.
Are you running at 16 fps or 300 fps without
LuaUI?
If you haven't already done so, edit LuaUI/ctrlpanel.txt
to disable outlineFont (use a value of 0). This will help
reduce the slowdown due to fonts (for which there is
already a real solution in the pipe).
Joined: 10 Mar 2006, 10:24 Location: waiting in line for The Expendables 2
I have 45 fps standard, and this does not change significantly when I use LUA ui and various little widgets like factroy gaurd, idle cons.
When I use this GUI change I lost 10-15fps.
This loss of fps is caused by the resource bar from what I can see, as I dled the toolbar, box to show allied resources, and unit groups seperately and they didnt have much effect..
sorry if thats not helpul
Joined: 02 Jan 2007, 16:18 Location: Bremen, Germany
My former widgets (Tooltip, Player Info and Resource Bar) don't have a lot of code in common with the new IceUI so that doesn't really mean anything if you compare those..
And yes: there's a lot of stuff to optimize and I will try to do that.. Though I will probably stick to lots of tables because it allows some nice flexibility.. If Spring becomes unplayable though, I have to change that core-stuff, too..
Anyway, what trepan did was reducing the "periodic slowdown" caused by the garbage collection and not the "general slowdown" caused by my sloppy programming .. So that's what should be tested if you want to help (as I said, this only refers to the latest SVN builds)..
Joined: 02 Jan 2007, 16:18 Location: Bremen, Germany
I released my current version of IceUI today. As I said there won't be any new versions for Spring 0.74b3 so this release will only work with current SVN builds of Spring. For details please see the description on UF.
Note that it's not hard to use the development builds of Spring. You don't have to compile anything. See this sticky for details.
I will have a stable and a development branch when the new stable Spring version gets released but I switched to SVN too late to make it possible with the current version of IceUI..
Itd be nice if you had a supcom style command button window with the list of things being built and numbers signifying how many so you can see exactly whats going to be built next and how many then so on....
Users browsing this forum: No registered users and 1 guest
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum