zoid Posted August 1, 2011 Report Share Posted August 1, 2011 First of all, Hi, this is my first post and the first time I try 0 AD. Also, English it's not my native language, so please excuse my grammar/spelling errors. I just compiled 0 AD r09786, the game runs very slow, disabling reflections and shadows doesn't seem to help. The slowness it's noticeable even on the movement of the mouse cursor.My specs are:CPU: AMD 64 X2 Dual Core Processor 4400+RAM: 2Gb DDR2GPU: GeForce 7300 GTUsing Debian 6, nvidia propietary driver v96.43.18. This is the console output of running the game for a minute or so:./system/pyrogenesis_dbg Cache: 500 (total: 2012) MiBTIMER| InitVfs: 990.593 msTIMER| InitScripting: 1.11429 sTIMER| CONFIG_Init: 48.0739 msTIMER| RunHardwareDetection: 87.9895 msTIMER| write_sys_info: 544.6 usTIMER| InitRenderer: 55.7965 msTIMER| ps_console: 28.1106 msTIMER| ps_lang_hotkeys: 3.19636 msTIMER| common/setup.xml: 16.3688 msTIMER| common/styles.xml: 1.95468 msTIMER| common/sprite1.xml: 8.84856 msTIMER| common/init.xml: 11.5324 msTIMER| pregame/sprites.xml: 2.7704 msTIMER| pregame/styles.xml: 202.44 usTIMER| pregame/mainmenu.xml: 48.36 msTIMER| common/global.xml: 1.83892 msSND| alc_init: success, using PulseAudio SoftwareTIMER| common/setup.xml: 3.01472 msTIMER| common/styles.xml: 1.00404 msTIMER| common/sprite1.xml: 7.99096 msTIMER| gamesetup/setup.xml: 11.4822 msTIMER| gamesetup/sprites.xml: 152.92 usTIMER| gamesetup/styles.xml: 202.96 usTIMER| gamesetup/gamesetup.xml: 72.5349 msTIMER| common/setup.xml: 3.31988 msTIMER| common/styles.xml: 1.09116 msTIMER| common/sprite1.xml: 7.96288 msTIMER| common/init.xml: 9.77124 msTIMER| loading/styles.xml: 407.4 usTIMER| loading/sprites.xml: 3.1296 msTIMER| loading/loading.xml: 8.588 msTIMER| common/global.xml: 1.48868 msTIMER| common/setup.xml: 3.27088 msTIMER| common/styles.xml: 1.09024 msTIMER| common/sprite1.xml: 7.93272 msTIMER| common/icon_sprites.xml: 15.0922 msTIMER| session/sprites.xml: 16.337 msTIMER| session/styles.xml: 1.11736 msTIMER| session/session.xml: 185.966 msTIMER| common/global.xml: 2.88224 msGAME STARTED, ALL INIT COMPLETETIMER| common/setup.xml: 3.27648 msTIMER| common/styles.xml: 1.08752 msTIMER| common/sprite1.xml: 8.4854 msTIMER| common/icon_sprites.xml: 15.1031 msTIMER| common/init.xml: 9.73416 msTIMER| summary/summary.xml: 57.692 msTIMER| summary/sprites.xml: 441.4 usTIMER| common/global.xml: 2.07124 msTIMER| common/setup.xml: 3.1158 msTIMER| common/styles.xml: 1.09384 msTIMER| common/sprite1.xml: 8.12092 msTIMER| common/init.xml: 9.57192 msTIMER| pregame/sprites.xml: 1.93536 msTIMER| pregame/styles.xml: 111.92 usTIMER| pregame/mainmenu.xml: 39.0518 msTIMER| common/global.xml: 1.65588 msTIMER| common/setup.xml: 3.01508 msTIMER| common/styles.xml: 1.07772 msTIMER| common/sprite1.xml: 8.4446 msTIMER| msgbox/msgbox.xml: 3.88992 msTIMER| shutdown actor stuff: 12.2 usTIMER| shutdown TexMan: 7.04 usTIMER| shutdown Renderer: 26.8642 msTIMER| shutdown SDL: 110.896 msTIMER| shutdown UserReporter: 16.1422 msTIMER| shutdown ScriptingHost: 64.773 msTIMER| shutdown ConfigDB: 2.16 usTIMER| resource modules: 174.899 msTIMER TOTALS (9 clients)----------------------------------------------------- xml_validation: 206.388 Mc (125x) tc_ShaderValidation: 59.7733 Mc (26x) tc_pool_alloc: 882.047 Mc (2098236x) tc_linkProgram: 42.3319 Mc (1x) tc_compileShader: 250.212 Mc (2x) tc_png_decode: 62.7008 Mc (30x) tc_dds_transform: 5934.86 kc (914x) tc_transform: 9576.85 kc (306x) tc_plain_transform: 2412.09 kc (306x)-----------------------------------------------------TIMER| shutdown misc: 1.00376 msIs my hardware too small to run the game?If not, what additional info can I submit in order to debug this?Thanks! Quote Link to comment Share on other sites More sharing options...
chaosislife Posted August 1, 2011 Report Share Posted August 1, 2011 It's not the hardware, it seems the game has a hard time on linux alot. You could probably try different drivers. Tho i wonder what would happen if you tried using the Windows version thru wine or thru an actual emulator. Quote Link to comment Share on other sites More sharing options...
Ykkrosh Posted August 1, 2011 Report Share Posted August 1, 2011 ./system/pyrogenesis_dbgYou're running the unoptimised debug version, which is intentionally slow . Compile the optimised version with "make CONFIG=Release" and run pyrogenesis (not _dbg), and it should be faster. Quote Link to comment Share on other sites More sharing options...
zoid Posted August 1, 2011 Author Report Share Posted August 1, 2011 You're running the unoptimised debug version, which is intentionally slow . Compile the optimised version with "make CONFIG=Release" and run pyrogenesis (not _dbg), and it should be faster.That's right!Compiling with the Release config produces a much faster binary.Thanks! Quote Link to comment Share on other sites More sharing options...
chaosislife Posted August 2, 2011 Report Share Posted August 2, 2011 Eh, I didn't even notice that. Hope that's it then. Quote Link to comment Share on other sites More sharing options...
domurc Posted August 18, 2011 Report Share Posted August 18, 2011 (edited) hi, firstly love the game, i am having perfermance problems it gets quite slow after a while Vista 32 bit home premiumTT7700 2.40 ghz 2.40 2 gb ddr3nvidia 8600 gtmis it my hardware or is it a setting problem, i dont understand the graphic settings as there all in short so not sure if they should be true or false Edited August 18, 2011 by domurc Quote Link to comment Share on other sites More sharing options...
Moooartin Posted August 19, 2011 Report Share Posted August 19, 2011 Hello everybody!Hum, It's my first message on this forum and I don't know if I should start my own thread. Cause my problem is exactly the same as Zold, and I've done exactly what Ykkrosh said to fix it. But still, My game is very slow. As soon as start ( leaving the main menu for single player menu for example) the cursor is acting weird, slow I mean. And is still slow during the game.Ok so I'm on a laptopOS : Ubuntu 11.04CPU: Intel i5 4 coreMEM: 4 GBGraphic Chipset: Intel HD Graphics (integrated VGA compatible Controller) I've download the 0ad-r09786-alpha tar.gz (both data and build) and unzipped them, then in a terminalcd 0ad-r09786-alpha/build/workspaces./update-workspaces.sh -j4 cd gcc make CONFIG=Release -j4I tested it, Was OK!here is what console gave me after Test and Runing the Game for almost a minute:martus@martus-laptop:~/Games/0ad-r09786-alpha$ binaries/system/testRunning 251 tests...........................................................................................................................................................................................................................................................OK!martus@martus-laptop:~/Games/0ad-r09786-alpha$ binaries/system/pyrogenesis Cache: 200 (total: 3440) MiBTIMER| InitVfs: 130.615 msTIMER| InitScripting: 1.77332 msTIMER| CONFIG_Init: 2.50079 msATTENTION: default value of option force_s3tc_enable overridden by environment.TIMER| RunHardwareDetection: 23.6051 msTIMER| write_sys_info: 433.277 usTIMER| InitRenderer: 864.066 usTIMER| ps_console: 1.73829 msTIMER| ps_lang_hotkeys: 818.199 usTIMER| common/setup.xml: 974.206 usTIMER| common/styles.xml: 302.556 usTIMER| common/sprite1.xml: 2.0185 msTIMER| common/init.xml: 1.78746 msTIMER| pregame/sprites.xml: 507.251 usTIMER| pregame/styles.xml: 48.868 usTIMER| pregame/mainmenu.xml: 13.6027 msTIMER| common/global.xml: 499.516 usSND| alc_init: success, using PulseAudio SoftwareTIMER| common/setup.xml: 2.32808 msTIMER| common/styles.xml: 248.354 usTIMER| common/sprite1.xml: 1.87943 msTIMER| gamesetup/setup.xml: 87.504 usTIMER| gamesetup/sprites.xml: 38.429 usTIMER| gamesetup/styles.xml: 58.172 usTIMER| gamesetup/gamesetup.xml: 13.6084 msTIMER| common/setup.xml: 1.17675 msTIMER| common/styles.xml: 256.595 usTIMER| common/sprite1.xml: 1.86264 msTIMER| common/init.xml: 1.49381 msTIMER| loading/styles.xml: 109.554 usTIMER| loading/sprites.xml: 622.259 usTIMER| loading/loading.xml: 1.4709 msTIMER| common/global.xml: 332.446 usTIMER| common/setup.xml: 863.52 usTIMER| common/styles.xml: 271.788 usTIMER| common/sprite1.xml: 1.79836 msTIMER| common/icon_sprites.xml: 3.36395 msTIMER| session/sprites.xml: 3.24129 msTIMER| session/styles.xml: 220.987 usTIMER| session/session.xml: 44.5761 msTIMER| common/global.xml: 883.16 usGAME STARTED, ALL INIT COMPLETETIMER| common/setup.xml: 983.426 usTIMER| common/styles.xml: 309.621 usTIMER| common/sprite1.xml: 2.15174 msTIMER| common/icon_sprites.xml: 3.56522 msTIMER| common/init.xml: 1.50954 msTIMER| summary/summary.xml: 17.1254 msTIMER| summary/sprites.xml: 114.993 usTIMER| common/global.xml: 634.956 usTIMER| common/setup.xml: 3.24344 msTIMER| common/styles.xml: 413.625 usTIMER| common/sprite1.xml: 1.81356 msTIMER| common/init.xml: 1.48766 msTIMER| pregame/sprites.xml: 518.772 usTIMER| pregame/styles.xml: 32.456 usTIMER| pregame/mainmenu.xml: 11.3319 msTIMER| common/global.xml: 474.61 usTIMER| common/setup.xml: 2.56077 msTIMER| common/styles.xml: 789.514 usTIMER| common/sprite1.xml: 6.20066 msTIMER| msgbox/msgbox.xml: 1.16989 msTIMER| shutdown actor stuff: 22.982 usTIMER| shutdown TexMan: 1.934 usTIMER| shutdown Renderer: 11.1882 msTIMER| shutdown SDL: 64.4712 msTIMER| shutdown UserReporter: 197.982 usTIMER| shutdown ScriptingHost: 21.672 msTIMER| shutdown ConfigDB: 0.648 usTIMER| resource modules: 37.7528 msTIMER TOTALS (9 clients)----------------------------------------------------- xml_validation: 48.9328 Mc (116x) tc_ShaderValidation: 5060.23 kc (17x) tc_pool_alloc: 614.093 Mc (6130819x) tc_linkProgram: 20.7069 Mc (1x) tc_compileShader: 57.0619 Mc (2x) tc_png_decode: 37.5948 Mc (30x) tc_transform: 1439.55 kc (303x) tc_plain_transform: 534.326 kc (303x) tc_dds_transform: 700.57 kc (905x)-----------------------------------------------------TIMER| shutdown misc: 3.4205 msHow do I fix it?Thanks for your futur reply, and Excuse my french Moooartin Quote Link to comment Share on other sites More sharing options...
historic_bruno Posted August 20, 2011 Report Share Posted August 20, 2011 Hello everybody!Hum, It's my first message on this forum and I don't know if I should start my own thread. Cause my problem is exactly the same as Zold, and I've done exactly what Ykkrosh said to fix it. But still, My game is very slow. As soon as start ( leaving the main menu for single player menu for example) the cursor is acting weird, slow I mean. And is still slow during the game.Hmm, I think this is worth looking into as I'm seeing more reports of mouse lag and general slowness on Linux. By the way, that was just standard debug output you saw, nothing abnormal there Quote Link to comment Share on other sites More sharing options...
Moooartin Posted August 20, 2011 Report Share Posted August 20, 2011 Hum... so nothing wrong with my config?I'll start a new topic then. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.