View Issue Details

IDProjectCategoryView StatusLast Update
0002184Spring engineGeneralpublic2011-06-10 16:10
ReporterBeherith Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionno change required 
Product Version0.82.5 
Summary0002184: Audio stutters in 82.6.1 when affinity is set in singlethreated spring
DescriptionAudio randomly stutters very badly during the game.
Win7 x64, nvidia 8800gt, intel cpu.

Can provide audio sample on request.

Reproducibility is very strange: I first noticed it after manually setting spring cpu affinity to 1 core, because it usually smears itself over all 4.
If spring is set to 1 core, it stutters, if more, it doesnt.
TagsNo tags attached.
Checked infolog.txt for Errors

Relationships

related to 0002368 resolvedabma (master) sound stuttering/choppy in current spring master 

Activities

Beherith

2010-10-23 13:05

reporter   ~0005791

None of my drivers or any system parameters changed from 82.5 to 82.6.1. This bug was not present in previous versions (for me).

hoijui

2010-10-25 14:33

reporter   ~0005793

There were no sound related changes between 0.82.5.1 and 0.82.6.1. :/

monohouse

2010-10-30 21:31

reporter   ~0005800

Last edited: 2010-11-01 16:16

I have the same problem as he, but I have xp32, stutter when affinity is set, but for me it was also in 82.5. when using multithreaded spring bug disappears when MultiThreadSim=0, also in multithreaded spring the bug can also be seen when looking at Merl (actually all missile launching units) missile's exhaust, it stutters much like the sound.

the best way to make the bug is do give all with team 0 and give all with team 1 on top of it in single player

abma

2011-01-08 03:05

administrator   ~0006221

maybe this helps: http://springrts.com/wiki/FAQ:trouble#Sound (helped at least someone in the forum)

abma

2011-01-08 03:06

administrator   ~0006222

does the problem persists in 82.7.1 / did the hints in the faq help, if so, which one?

monohouse

2011-01-25 00:39

reporter   ~0006305

Last edited: 2011-01-25 00:45

same thing in 82.7.1, the FAQ has no effect on my system, I think cause it happens only in spring and only when affinity is set to it

abma

2011-02-20 09:28

administrator   ~0006404

just an other idea: does it help to lower "Maximum simultaeouns sounds"?

(SpringSettings -> Mode->Advanced, ->Audio)

zerver

2011-02-20 17:29

reporter   ~0006409

One side note: If the sound thread isn't getting CPU time frequently enough, it will stutter fore sure, and there is nothing else to do about it than to raise the priority of the sound thread, or reconfigure the audio buffer sizes in the sound driver. Typically higher end sound card use a very short buffer to give near instantaneous response. Some cards even stutter when you play a WAV file with windows media player (mine does).

Beherith

2011-06-01 10:48

reporter   ~0006691

Since this seems to not be the fault of the engine, I think this bug can be closed.

Issue History

Date Modified Username Field Change
2010-10-22 00:56 Beherith New Issue
2010-10-23 13:05 Beherith Note Added: 0005791
2010-10-25 14:33 hoijui Note Added: 0005793
2010-10-30 21:31 monohouse Note Added: 0005800
2010-10-30 21:32 monohouse Note Edited: 0005800
2010-11-01 16:00 monohouse Note Edited: 0005800
2010-11-01 16:16 monohouse Note Edited: 0005800
2011-01-08 03:05 abma Note Added: 0006221
2011-01-08 03:06 abma Note Added: 0006222
2011-01-08 03:06 abma Status new => feedback
2011-01-25 00:39 monohouse Note Added: 0006305
2011-01-25 00:45 monohouse Note Edited: 0006305
2011-02-20 09:28 abma Note Added: 0006404
2011-02-20 09:28 abma Summary Audio stutters in 82.6.1 => Audio stutters in 82.6.1 when affinity is set
2011-02-20 09:29 abma Summary Audio stutters in 82.6.1 when affinity is set => Audio stutters in 82.6.1 when affinity is set in singlethreated spring
2011-02-20 17:29 zerver Note Added: 0006409
2011-02-26 20:06 abma Relationship added related to 0002368
2011-06-01 10:48 Beherith Note Added: 0006691
2011-06-10 16:10 hoijui Status feedback => closed
2011-06-10 16:10 hoijui Resolution open => no change required