0.79.1 performance and sound: way worse than 0.78 ?
Moderator: Moderators
- MrPresident
- Posts: 28
- Joined: 08 Aug 2007, 23:57
0.79.1 performance and sound: way worse than 0.78 ?
Hi
Now i have played some 0.79.1 games and all them finished the same way: my computer almost hang with CPU in red.
I older games (0.78) my computer could manage similar quantities of units like I have been experiencing on this games, and now it is near impossible to play. Is 0.79 worse in terms of performance?
Also, i find sound now is quite more impressive with the new pitch effects but in large battles, with 30 units or so, all the sounds seem to get broken. They seem to start and not to finish properly.
Anyone had similar experiences? Its a problem of my system or is a common one.
I'm running Spring 0.79.1 in Ubuntu 8.04 (from my own build packages, not in repositories yet).
Thanks in advance
Now i have played some 0.79.1 games and all them finished the same way: my computer almost hang with CPU in red.
I older games (0.78) my computer could manage similar quantities of units like I have been experiencing on this games, and now it is near impossible to play. Is 0.79 worse in terms of performance?
Also, i find sound now is quite more impressive with the new pitch effects but in large battles, with 30 units or so, all the sounds seem to get broken. They seem to start and not to finish properly.
Anyone had similar experiences? Its a problem of my system or is a common one.
I'm running Spring 0.79.1 in Ubuntu 8.04 (from my own build packages, not in repositories yet).
Thanks in advance
- thesleepless
- Posts: 417
- Joined: 24 Oct 2007, 04:49
Re: 0.79.1 performance and sound: way worse than 0.78 ?
yep, i found this too, performance wise. sound is fine for me.
and .78 and .79 are both way slower than .77
and .78 and .79 are both way slower than .77
Re: 0.79.1 performance and sound: way worse than 0.78 ?
How are you building them? Maybe you're doing something wrong.
- thesleepless
- Posts: 417
- Joined: 24 Oct 2007, 04:49
Re: 0.79.1 performance and sound: way worse than 0.78 ?
cmake . && make && sudo make install
nothing fancy.
nothing fancy.
- MrPresident
- Posts: 28
- Joined: 08 Aug 2007, 23:57
Re: 0.79.1 performance and sound: way worse than 0.78 ?
thesleepless wrote:cmake . && make && sudo make install
nothing fancy.
I have to backport (installing 8.10 libboost libraries into 8.04) to build, so there is something fancy in the build.
- thesleepless
- Posts: 417
- Joined: 24 Oct 2007, 04:49
Re: 0.79.1 performance and sound: way worse than 0.78 ?
hmm is there a specific version of boost that should be used for compiling spring?
- MrPresident
- Posts: 28
- Joined: 08 Aug 2007, 23:57
Re: 0.79.1 performance and sound: way worse than 0.78 ?
YokoZar wrote:How are you building them? Maybe you're doing something wrong.
I detailed the steps I followed in this other topic.
When i did that i had both libboost 1.34 (not dev) and 1.35 (both user and dev) libraries on my system, now i removed the 1.34 packages and i'm rebuilding.
Code: Select all
dpkg -l | grep libboost
ii libboost-date-time1.35-dev 1.35.0-5 set of date-time libraries based on generic
ii libboost-date-time1.35.0 1.35.0-5 set of date-time libraries based on generic
ii libboost-filesystem1.35-dev 1.35.0-5 filesystem operations (portable paths, itera
ii libboost-filesystem1.35.0 1.35.0-5 filesystem operations (portable paths, itera
ii libboost-graph1.35-dev 1.35.0-5 generic graph components and algorithms in C
ii libboost-graph1.35.0 1.35.0-5 generic graph components and algorithms in C
ii libboost-iostreams1.35-dev 1.35.0-5 Boost.Iostreams Library development files
ii libboost-iostreams1.35.0 1.35.0-5 Boost.Iostreams Library
ii libboost-program-options1.35-dev 1.35.0-5 program options library for C++
ii libboost-program-options1.35.0 1.35.0-5 program options library for C++
ii libboost-regex1.35-dev 1.35.0-5 regular expression library for C++
ii libboost-regex1.35.0 1.35.0-5 regular expression library for C++
ii libboost-serialization1.35-dev 1.35.0-5 serialization library for C++
ii libboost-serialization1.35.0 1.35.0-5 serialization library for C++
ii libboost-signals1.35-dev 1.35.0-5 managed signals and slots library for C++
ii libboost-signals1.35.0 1.35.0-5 managed signals and slots library for C++
ii libboost-system1.35-dev 1.35.0-5 Operating system (e.g. diagnostics support)
ii libboost-system1.35.0 1.35.0-5 Operating system (e.g. diagnostics support)
ii libboost-test1.35-dev 1.35.0-5 components for writing and executing test su
ii libboost-test1.35.0 1.35.0-5 components for writing and executing test su
ii libboost-thread1.35-dev 1.35.0-5 portable C++ multi-threading
ii libboost-thread1.35.0 1.35.0-5 portable C++ multi-threading
ii libboost-wave1.35-dev 1.35.0-5 C99/C++ preprocessor library
ii libboost-wave1.35.0 1.35.0-5 C99/C++ preprocessor library
ii libboost1.35-dev 1.35.0-5 Boost C++ Libraries development files
ii libboost1.35-doc 1.35.0-5 Boost.org libraries documentation
Code: Select all
dpkg -l | grep -i openal
ii libalut0 1.1.0-1 OpenAL Utility Toolkit
ii libopenal-dev 1:0.0.8-7 OpenAL is a portable library for 3D spatiali
ii libopenal0a 1:0.0.8-7 OpenAL is a portable library for 3D spatiali
So maybe i have not the right versions, but Spring has been packaged for Ubuntu 8.04 for 1 year and I have the last OpenAL version. I'm confused.Spring needs at least OpenAL Soft with version 1.6
On the other side, it could be a problem of MY system with this new version and the new sound API I read about in the changelog. I have an old SB Live! soundcard on my system and i never had any problems with it.
Any ideas?
Re: 0.79.1 performance and sound: way worse than 0.78 ?
i had problems with sounds too:
some sounds dont work (i think should be fixed with modupdate) and when i zoom out, i hear nothing of the battles, when i zoom in i hear the sounds (but in this case you loose the overview --> not good to play)
some sounds dont work (i think should be fixed with modupdate) and when i zoom out, i hear nothing of the battles, when i zoom in i hear the sounds (but in this case you loose the overview --> not good to play)
- MrPresident
- Posts: 28
- Joined: 08 Aug 2007, 23:57
Re: 0.79.1 performance and sound: way worse than 0.78 ?
I rebuilt the packages but nothing changed about the sound.
Is there any way to disable the new doppler and pitch effects ( /DisablePitchEffects or similar command?) ?
Please help!
Is there any way to disable the new doppler and pitch effects ( /DisablePitchEffects or similar command?) ?
Please help!
Re: 0.79.1 performance and sound: way worse than 0.78 ?
Have you tried the settings file?
- MrPresident
- Posts: 28
- Joined: 08 Aug 2007, 23:57
Re: 0.79.1 performance and sound: way worse than 0.78 ?
Do you mean the .springrc file located at my homedir?lurker wrote:Have you tried the settings file?
Yes, I found the var "PitchAdjust=1" into it, but according to the changelog:
I dont think changing it to 0 will solve anything, but i'll try next time.allow soundpitch to be adjusted according to game speed (default off, turn on with PitchAdjust=1)
Edit:
I searched for "doppler" into the changelog and i found this:
This returns me another strange thing I found: the "sounds.lua" file exists into the spring source code, but it does not into my own build of the package so i cannt change it.sound: added dopplerscale -var to sounds.lua definition (1.0 is default, 0 is no doppler, >1.0 exagerates the effect)
Do any of you who use a .deb package of spring (downloaded from the repositories) have a "sounds.lua" file somewhere in your system?
-
- Spring Developer
- Posts: 1254
- Joined: 24 Jun 2007, 08:34
Re: 0.79.1 performance and sound: way worse than 0.78 ?
Its in spingcontent.sdz, changing it will desync you (ignoring the fact that some mods overwrite this file anyway). Except from on the mod side, there is no way of disabling doppler effect.
You should just update your openal to a non-broken version. (See https://bugs.launchpad.net/ubuntu/+sour ... bug/194919).
Apart from that, I also have a SB Live!, and do not have any problems with sound.
You should just update your openal to a non-broken version. (See https://bugs.launchpad.net/ubuntu/+sour ... bug/194919).
Apart from that, I also have a SB Live!, and do not have any problems with sound.