bugBattle for Wesnoth - Bugs: bug #21937, sound and music lags/screech...

 
 
Show feedback again

bug #21937: sound and music lags/screech sometimes if a lot of sound acitivity is produced

Submitted by:  LAZA <laza>
Submitted on:  Sat 19 Apr 2014 04:19:32 PM UTC  
 
Category: BugSeverity: 2 - Minor
Priority: 5 - NormalItem Group: Sound and music
Status: NonePrivacy: Public
Assigned to: NoneOpen/Closed: Open
Release: 1.11.12Operating System: Windows 8.1

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 21 Jun 2014 07:40:01 AM UTC, comment #5:

Okay, i could solve this problem thanks to the ubuntuusers forum:

Changing the Audio - Audio Driver from PulseAudio to ALSA the lag is gone and works smooth with music and all!

Tested with 1.11.15

LAZA <laza>
Mon 16 Jun 2014 02:26:22 AM UTC, comment #4:

Since I tend to get noise and lag (under 0.3 seconds) in sounds played by any application running under a Windows guest in VirtualBox, and you mentioned that the guest display resolution has an impact, I'm more inclined to suspect this is a problem with VirtualBox itself and not Wesnoth.

Nevertheless, if it isn't much trouble for you (i.e. if you don't mind the big download), is there any chance you could try Wesnoth 1.11.11 and compare the results? There was a minor change to our mixer setup in 1.11.12:

Ignacio R. Morelle <shadowmaster>
Project Administrator
Sun 25 May 2014 02:06:59 PM UTC, comment #3:

Okay, to verify the bug, i created a new VM:

VirtualBox 4.3.12 (repo in Trusty 64 bit)
Windows 8.1 Update 1 - 32 Bit (straight installed and updated)
BfW 1.11.13

The lag at a attack is as worse as described, just about a second, so the first attack is soundless, the second gets the sound from the first and so on... at least there is an attack sound even it is finished.

LAZA <laza>
Mon 21 Apr 2014 09:54:12 AM UTC, comment #2:

I is 4096 - but i can't remember, that i changed it.
Is this the new standard?

I made a new VM to test/verify this bug and did not touch anything but the resolution and sound + music volume.
--> now, i changed GPU to 256 MB max.
maybe i have today a bit time to do some more tests...

If i can do something to hunt this bug down let me know.

LAZA <laza>
Mon 21 Apr 2014 01:18:00 AM UTC, comment #1:

What happens if you increase the length of the sound buffer to say 4096 in the advanced are of sound preferences?

David Mikos <coffee>
Project Member
Sat 19 Apr 2014 04:19:32 PM UTC, original submission:

i play in an VM with Windows 8.1 Update 1, 4 GB RAM, 2 CPU cores, 2D and 3D video acceleration, 196 MB GPU

to reproduce this bug, change the resolution to maximum my LCD can handle: 1920x1200

- play a bit
- if an unit attacks three times, the attacking sound lags and is only two times created(?)
- if a lot of units heal/cure the sound screechs and seldom the music breaks
- sometimes the music breaks

maybe this is a problem of the VM and not for BfW, but i tested a bit and if i change the game speed to 0,5 the sound and is correct and no abnormal behavior.
also the resolution has an impact cause it got much worse if i change the resolution to the maximum.

Host: Xubuntu 14.04
VirtualBox 4.3.10
Guest: Windows 8.1 Update 1

LAZA <laza>

 

(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by shadowmaster (Posted a comment)
  • -unavailable- added by coffee (Posted a comment)
  • -unavailable- added by laza (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup