![]() |
Re: [Announce] Lincity-ng (city building simulator) on extras-devel
Quote:
Quote:
|
Re: [Announce] Lincity-ng (city building simulator) on extras-devel
Quote:
|
Re: [Announce] Lincity-ng (city building simulator) on extras-devel
Quote:
I do not know what is currently wrong with dependencies of lincity, I will check it before next release. Quote:
I chose SDL to default, because it is more tested (at least by me). Quote:
|
Re: [Announce] Lincity-ng (city building simulator) on extras-devel
Quote:
Quote:
Quote:
Quote:
|
Re: [Announce] Lincity-ng (city building simulator) on extras-devel
AapoRantalainen, when we can expect OpenGLES version hitting repositories? @ 900 mhz, CPU still have much spare power (even when playing background music), so it shouldn't involve any slowdowns when processed on DSP, still providing *BIG* battery savings gain.
/Estel |
Re: [Announce] Lincity-ng (city building simulator) on extras-devel
Lincity-ng-2.0-2maemo8, changes since last version:
* GLES(1) support by Bartosz Miskiewicz - http://developer.berlios.de/bugs/?fu...&group_id=2929 * Icon for 'back' on load/save-menus - http://developer.berlios.de/bugs/?fu...&group_id=2929 * Windowed version possible (not crashing, but not playable) * Space=QueryTool * Fasten startup time. Not loading resume game automatically - http://developer.berlios.de/bugs/?fu...&group_id=2929 * Change "Start with empty board" to look more button (not text) - http://developer.berlios.de/bugs/?fu...&group_id=2929 * Fasten setup_land() - http://developer.berlios.de/bugs/?fu...&group_id=2929 * Scrollbars fixed (use up/down-buttons) - http://developer.berlios.de/bugs/?fu...&group_id=2929 * Reorder layout of NewGame-menu * Scaled background images manually * Bigger buttons on help-menu * Drop non-used datafiles (progressbar/progresswheel) SDL is default, you can enable GLES with a) options, b) commandline parameter, or c) via configure file. I'm interested in to hear some reproducible statistics about CPU/mem/battery when GLES is used. (Packaging) Game and data are not separated (yet) because datafiles are also changing from version to version (so both will be downloaded anyway). |
Re: [Announce] Lincity-ng (city building simulator) on extras-devel
Quote:
edit: background music finally works :D |
Re: [Announce] Lincity-ng (city building simulator) on extras-devel
Quote:
However, the worst offenders for PVR performance is alpha testing/blending, which I bet you cannot turn off easily, so performance will always be abysmal. |
Re: [Announce] Lincity-ng (city building simulator) on extras-devel
Quote:
https://gitorious.org/lincity-n900/l...6c626eb4f9059d *Added: Gles/SDL icons for options https://gitorious.org/lincity-n900/l...19a30cfb529cb1 (data/images/mainmenu/settings/gles_renderer.png) *Removed: Not install files images/mainmenu/progresswheel* (and progressbar*). They are not used. https://gitorious.org/lincity-n900/l...8580932b3d4dd2 Quote:
|
Re: [Announce] Lincity-ng (city building simulator) on extras-devel
Are You sure, that OpenGLES renderer is working at all, in current version? Trying to enable it via GUI options or config file (/home/user/lincity-ng/userconfig.xml), I see *exacty* same CPU usage/battery consumption as with SDL. Game speed is also unaffected (not worse or better in any way). Same goes for memory consumption. Isn't it too much for a coincidence?
Also, if I enable GLES render via GUI, game indeed "restart", yet, upon closing and opening again manually, it's still in SDL mode. If I edit mentioned config file (/home/user/.lincity-ng/userconfig.xml), changing approriate option to "yes", after running game and entering menu, GUI still states that SDL is used. As for 3th method, could You please write exact parameter? AFAIK lincity-ng is run through .sh wrapper. Should command be passed to wrapper, to executable itself, or the latter via wrapper insides? /Estel // Edit I don't remember, how it looked in older releases, but it's also quite memory hog - it uses roughly 80-100 REAL memory, and almost 200 virtual one at all. It's probably justified, so I point it out just for the records. |
Re: [Announce] Lincity-ng (city building simulator) on extras-devel
Quote:
This will start it in gles-mode: Code:
/opt/lincity/games/lincity-ng -g |
Re: [Announce] Lincity-ng (city building simulator) on extras-devel
Even if I've OpenGLES set in config file, upon starting from terminal, it says about using SDL. It seems, that OpenGL isn't used in any case.
/Estel // Edit Haven't tried method with running -g parameter from terminal, only GUI settings and config file editing. Will try 3th tomorrow (today, but after sleep, so it's tomorrow :p) // Edit I've checked running it with command line argument /opt/lincity/games/lincity-ng -g and terminal still says "SDL Mode" upon running. So, currently, none of 3 methods works + setting via GUI reverts back to SDL upon game restart + editing /home/user/.lincity-ng/userconfig.xml to use OpenGLES is also reverted back to "no" after game start&close. Seems, that OpenGLES is disabled totally as in previous versions. Maybe some code merge hickup occured? |
Re: [Announce] Lincity-ng (city building simulator) on extras-devel
Quote:
|
Re: [Announce] Lincity-ng (city building simulator) on extras-devel
I hope that You don't get it as complaining or demanding? I'm just trying my best to provide valuable feedback.
Maybe it's unnecessary disclaimer, but lately, many people on TMO started to react little exaggeratedly, to posts that are not sugar-coated enough. Maybe it's just moon phase or something ;) /Estel |
Re: [Announce] Lincity-ng (city building simulator) on extras-devel
Quote:
Quote:
Quote:
|
Re: [Announce] Lincity-ng (city building simulator) on extras-devel
I appreciate every bug report.
I appreciate GLES-port. I have big problems with GLES on autobuilder, and seems I can't solve it by myself. Currently in extras-devel there are version -maemo11. When started from terminal it says: version 2.0-maemo11 without GLES, which means GLES-support is not compiled in. inside scratchbox: Code:
apt-get source lincity-ng So there are some difference between my environment and autobuilder, which I can't track down. Log is here: https://garage.maemo.org/builder/fre...ild.log.OK.txt |
Re: [Announce] Lincity-ng (city building simulator) on extras-devel
The page http://maemo.org/packages/source/vie.../2.0-2maemo11/ looks somewhat different than other gles projects (for example: http://maemo.org/packages/source/vie...arty/0.5.91-2/ - libgles1-sgx-img-dev is fine here; http://maemo.org/packages/source/vie...ehegles/1.4.1/ - libsdlgles here fine; there were some other with red, but no bold+incompatible msg)
I mean this part saying incompatible when hovering over it: libgles1-sgx-img-dev ([arm armel]), libsdl-gles1.2-dev ([arm armel]) Maybe compare their source/build instructions? If not that problem with jam(+gles?) maybe? Building lincity on-device from 11v atm, will report how it goes |
Re: [Announce] Lincity-ng (city building simulator) on extras-devel
Finally finished compiling:
[3|user@Nokia-N900|~/dev/lincity]./lincity-ng Starting lincity-ng (version 2.0-maemo11 with GLES)... Couldn't add '/usr/local/share/lincity-ng' to physfs searchpath: File not found [/home/user/.lincity-ng] is in the search path. [/home/user/dev/lincity//data] is in the search path. [/home/user/.lincity-ng] is the write directory. Language is "en_GB". fast = 9 SDL Mode 800x480 ERROR of degree -1:Error. Can't find LINCITY_HOME With GLES it is indeed. Forgot to mention: works, music and all... |
Re: [Announce] Lincity-ng (city building simulator) on extras-devel
I think it is my fault, because patching jam config file was pain in the *** for me, you can even see in output log
Code:
checking for OpenGLES and SDL-GLES libraries... -lGLES_CM Code:
GL_LIBS ?= "-lGLES_CM -lSDL_gles -L/usr/lib -lSDL" ; Code:
MkDir1 ./build/arm-unknown-linux-gnueabi/optimize/src/gui/PainterGLES Code:
dpkg-shlibdeps: warning: dependency on libGLES_CM.so could be avoided if "debian/lincity-ng/opt/lincity/games/lincity-ng" were not uselessly linked against it (they use none of its symbols). edit2: are you guys using bash locally? it shouldn't make a difference when using "configure", but afaik autobuilder may use ash instead of bush, maybe it interprets something in other way than our computers do... or it's outdated versions of software are being stupid, who knows ;) I still bet it's my poor jam skills' fault. |
Re: [Announce] Lincity-ng (city building simulator) on extras-devel
Yup, bash here.
Been reading jam manfile and this part maybe is causing different build: Code:
The scanning for header file inclusions is not exact, but it is at least dynamic, so there is no need to run something like makedepend(GNU) to create a static dependency file. The scanning mechanism errs on the side of inclusion (i.e., it is more likely to return filenames that are not actually used by the compiler than to miss include files) because it can't tell if #include lines are inside #ifdefs or other conditional logic. In Jambase, HdrRule applies the NOCARE rule to each header file found during scanning so that if the file isn't present yet doesn't cause the compilation to fail, jam won't care. |
Re: [Announce] Lincity-ng (city building simulator) on extras-devel
Quote:
|
Re: [Announce] Lincity-ng (city building simulator) on extras-devel
Funny thing, but maemo14 version on SB gave me:
Starting lincity-ng (version 2.0-maemo13 without GLES)... Changelog does mention 14, still on desktop it went without GLES, or maybe will get the same with 14 on-device, worth checking |
Re: [Announce] Lincity-ng (city building simulator) on extras-devel
Quote:
|
Re: [Announce] Lincity-ng (city building simulator) on extras-devel
I'm lost a little - actually, current version in -devel still isn't supposed to work with OpenGLES, yep?
Do we know already how to fix it/have some ideas, or it's a "stuck" situation? /Estel |
Re: [Announce] Lincity-ng (city building simulator) on extras-devel
Quote:
|
Re: [Announce] Lincity-ng (city building simulator) on extras-devel
I created new virtualbox image and installed new scratchbox (fremantle-armel target).
Enabled extras-devel and nokia-binaries. apt-get source lincity-ng apt-get build-dep lincity-ng fakeroot dpkg-buildpackage -> game with working GLES. So it is not about missing libraries during compile time. |
Re: [Announce] Lincity-ng (city building simulator) on extras-devel
Quote:
|
Re: [Announce] Lincity-ng (city building simulator) on extras-devel
Quote:
As lincity-sources have 'configure.ac' and 'autogen.sh' error could be in hand tuned 'configure'. |
Re: [Announce] Lincity-ng (city building simulator) on extras-devel
Quote:
|
Re: [Announce] Lincity-ng (city building simulator) on extras-devel
AapoRantalainen, is there any progress on putting version with working OpenGLES to -devel?
If not, maybe, as temporal solution, you could upload pre-build .debs somewhere? AIUI, it works, but autobuilder manage to screw it, somehow. Normally, I wouldn't ask for link in TMO thread, when we have working repos, but it's already many months, since problem appeared... It's shame, that OpenGLES version lies only on Yours and misiak's devices :) Sorry for pestering, /Estel |
Re: [Announce] Lincity-ng (city building simulator) on extras-devel
+1 :P Didn't want to bother but I agree with Estel :)
Thank you in advance for you efforts :) |
Re: [Announce] Lincity-ng (city building simulator) on extras-devel
Locally built Lincity-ng with GLES support: http://cc.oulu.fi/~rantalai/maemo5/lincity
Code:
wget http://cc.oulu.fi/~rantalai/maemo5/lincity/lincity-ng_2.0-2maemo11_armel.deb |
Re: [Announce] Lincity-ng (city building simulator) on extras-devel
I've successfully installed OpenGLES-enabled lincity-ng, and tested it.
While CPU usage is awesome - around 10-15% - with bigger cities, game is completely unplayable. At first attempt (loading saved game, with city covering much map), it bring device to totally unresponsive state, leading to, finally, watchdog reboot. At second attempt, it was repeatedly displaying few frames of animations + playing one or two seconds of music, and hanging up, for ~10-15 seconds. all of this on DSP overclocked to 600 mhz. I wonder, is it only me, or other people are experiencing it too? (aapo, misiak?). Maybe it's related to low frequency of CPU? (DSP get higher frequency, when CPU is on higher frequency). Or is it just limitation of our DSP, and we must accept, that it will be playable only on CPU? No matter of answer, thanks for posting version, that give us choice :) /Estel |
Re: [Announce] Lincity-ng (city building simulator) on extras-devel
Update:
It's crashing the same way even on starter small village, or without any village at all (empty map). Just hit 2nd watchdog reboot, after 10 minutes of "going back to live" for 1-3 seconds, between 30 seconds of being paralyzed (in fact, this time, on empty map, it was even *worse* than with full city). Anyone able to confirm/deny such behavior with GLES? I could swear, that misiak reported playable performance, while testing? /Estel |
Re: [Announce] Lincity-ng (city building simulator) on extras-devel
Quote:
|
Re: [Announce] Lincity-ng (city building simulator) on extras-devel
In my case, it's not playable at all, even on small city on empty map - from the first second.
Could You re-check it? Maybe it's just me? Result similar to CPU performance would be good, as it would save power (off-loading work from CPU). /Estel |
Re: [Announce] Lincity-ng (city building simulator) on extras-devel
Quote:
|
Re: [Announce] Lincity-ng (city building simulator) on extras-devel
I made test for gles-game. Started new map, built something, let game running for 15 minutes, come back and built something more. Worked, no crashing or rebooting.
|
Re: [Announce] Lincity-ng (city building simulator) on extras-devel
Good job btw what are the perfomance issues currently:)
|
Re: [Announce] Lincity-ng (city building simulator) on extras-devel
Quote:
Seems upstream is alive again. There are commits in summer 2013: http://svn.berlios.de/viewvc/lincity-ng/ I'm not planning to merge these to the maemo-version until there are proper new release from upstream. Some of maemo-specific bugs have comments from upstream, some doesn't have: http://developer.berlios.de/bugs/?group_id=2929 |
All times are GMT. The time now is 02:04. |
vBulletin® Version 3.8.8