Author Topic: Restarting audio source because of buffer underrun.  (Read 5207 times)

tolland

  • Guest
Restarting audio source because of buffer underrun.
« on: 17 February 2008, 20:59:30 »
Hi,

I am running the linux binary version on fedora 8, with a ati radeon 9600 graphics card and glest.ini is showing openAL for factorysound.

During the game starting a building causes the game to pause and jump, and there associated entries on the console log;
Code: [Select]
Restarting audio source because of buffer underrun.
Restarting audio source because of buffer underrun.
Restarting audio source because of buffer underrun.

lspci shows;
Code: [Select]
Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 03)
as the audio controller.

Any ideas what might be going wrong here?

Thanks,

Tom
« Last Edit: 1 January 1970, 00:00:00 by tolland »

vendion

  • Guest
(No subject)
« Reply #1 on: 21 February 2008, 03:23:52 »
I have this same problem, running openSUSE 10.3, running an ATI Radeon Xpress 1100.
« Last Edit: 1 January 1970, 00:00:00 by vendion »

shayanlinux

  • Guest
(No subject)
« Reply #2 on: 24 February 2008, 07:45:21 »
I have the same problem on Ubuntu Gutsy, self compiled Glest. Please let me know if you need more information in order to solve the issue.

Thanks for the great Glest.  :)
« Last Edit: 1 January 1970, 00:00:00 by shayanlinux »

Icebreaker

  • Guest
(No subject)
« Reply #3 on: 30 March 2008, 18:26:42 »
Guys, make sure to set in your /etc/openalrc, SDL as the "output" device and it should fix the sound problems. ( recompiling OpenAL didn't helped )

Replace the line

(define devices '(alsa))

with

(define devices '(sdl))

It worked for me, but at the same time i found a possible answer to this http://http://www.glest.org/glest_board/viewtopic.php?t=3306 thread.

With the device set to alsa the game exists fully, but if you set it to SDL it exists, but still "waits", probably some "threads" get hooked up inside OpenAL, because the game reaches the final "return". I'm telling this because I played around the source code and put logs :D

Anyway you can kill it after exit, if it happens.
« Last Edit: 1 January 1970, 00:00:00 by Icebreaker »

ttsmj

  • Guest
(No subject)
« Reply #4 on: 13 April 2008, 18:19:28 »
well, these messages are not problem:

Code: [Select]
Restarting audio source because of buffer underrun.

 they are just telling you that your computer sucks :)
« Last Edit: 1 January 1970, 00:00:00 by ttsmj »