View Issue Details

IDProjectCategoryView StatusLast Update
0004951Dwarf FortressTechnical -- Soundpublic2014-08-06 07:47
Reporterkrenshala Assigned Touser6 
PrioritynormalSeverityminorReproducibilitysometimes
Status resolvedResolutionunable to reproduce 
PlatformGentoo AMD64OSlinux OS Version2.6.39-gentoo-r3
Summary0004951: audio corruption after extended runtime
DescriptionFor the second time I have encountered audio corruption after having DF running for a number of hours (between 4 and 6 hours in this case) in one game. Everything appears to be working correctly until, suddenly, the sound appears to be taking a back seat to something highly processor intensive.

I completely forgot to check top before exiting DF, but if/when it happens again, or if there is other info requested about my system, I'll be happy to provide it.
Steps To Reproduce1) start DF
2) play for 5+ hours
Additional Information0.31.25, using Phoebus 31.25v23 download. No other changes from vanilla. I did have to argue with the system to get audio to load, but from what it was telling me that was merely DF not liking the 64bit libraries, and installing the 32bit versions (ALSA and SDL) appeared to fix the issues.

krenshala@hekate ~/Games/Dwarf_Fortress $ uname -a
Linux hekate 2.6.39-gentoo-r3 0000006 SMP Thu Sep 15 05:10:03 UTC 2011 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4800+ AuthenticAMD GNU/Linux

when i start the game:

krenshala@hekate ~/Games/Dwarf_Fortress $ ./df
Sound devices available:
ALSA Software
OSS Software
PortAudio Software
Picking ALSA Software. If your desired device was missing, make sure you have the appropriate 32-bit libraries installed. If you wanted a different device, configure ~/.openalrc appropriately.
Perfect OpenAL context attributes GET
Loading bindings from data/init/interface.txt
New window size: 1280x784
Font size: 16x16
Resizing grid to 80x49
Resizing font to 16x16

TagsNo tags attached.

Activities

krenshala

2011-11-13 19:06

reporter   ~0018979

I just had the problem again, only this time I had proper music when I gave the command to save the game. I did not exit the program. When I came back it was at the main menu with no apparent sound. I then selected "Continue Playing" and loaded the most recent save for my game, and as soon as I pressed "Continue Playing" at the main menu the screwed up audio began.

krenshala

2011-12-31 16:55

reporter   ~0019270

Last edited: 2011-12-31 16:58

Okay, I've finally had it happen /while/ playing.

ps -aux:
1001 7442 0.0 0.0 11012 1368 pts/1 S+ 2011 0:00 /bin/sh ./dwarf
1001 7444 24.3 19.6 673696 608324 pts/1 SLl+ 2011 91:04 ./libs/Dwarf_Fo

ps -ef:
1001 7442 7432 0 2011 pts/1 00:00:00 /bin/sh ./dwarf
1001 8120 5547 0 00:51 pts/0 00:00:00 grep --colour=auto dwarf

top:
  PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
 7444 krenshal 20 0 657m 594m 23m S 21 19.7 91:20.60 Dwarf_Fortress
 
(I was checking something and renamed df to dwarf; the shell script is unchanged, however.)

Nothing showed up in the terminal I started DF from, however. Here is the entire output from when i started it to when I saved and exited the program.

krenshala@hekate ~/Games/Dwarf_Fortress $ ./dwarf
Sound devices available:
ALSA Software
OSS Software
PortAudio Software
Picking ALSA Software. If your desired device was missing, make sure you have the appropriate 32-bit libraries installed. If you wanted a different device, configure ~/.openalrc appropriately.
Perfect OpenAL context attributes GET
Loading bindings from data/init/interface.txt
New window size: 1280x1008
Font size: 16x16
Resizing grid to 80x63
Resizing font to 16x16

Resetting textures
Resetting textures
New window size: 1680x1010
Font size: 16x16
Resizing grid to 105x63
Resizing font to 16x16

Resizing font to 19x19
Resizing font to 21x21
Resizing font to 21x21
Resizing font to 21x21
Resizing font to 21x21
Resizing font to 21x21
Resizing font to 19x19
Resizing font to 16x16
Resizing font to 13x13
Resizing font to 16x16
Resizing font to 19x19
Resizing font to 16x16
krenshala@hekate ~/Games/Dwarf_Fortress $

errorlog.txt was not updated (still shows a 12 Dec date, with a pathing error as the last entry).

krenshala

2012-03-17 19:57

reporter   ~0021542

34.05, showing 93 minutes 59 sec of run time and its happened again. Still have free memory, no swap use. Audio from other sources working properly at the same time (using ALSA).

user6

2014-08-06 07:47

  ~0028448

I'm unable to reproduce this on Ubuntu. Please reopen this or PM me on the forums if there's reason to believe it's not a system-specific issue.

Issue History

Date Modified Username Field Change
2011-11-06 19:19 krenshala New Issue
2011-11-13 19:06 krenshala Note Added: 0018979
2011-12-31 16:55 krenshala Note Added: 0019270
2011-12-31 16:56 krenshala Note Edited: 0019270
2011-12-31 16:58 krenshala Note Edited: 0019270
2012-03-17 19:57 krenshala Note Added: 0021542
2014-08-06 07:47 user6 Note Added: 0028448
2014-08-06 07:47 user6 Status new => resolved
2014-08-06 07:47 user6 Resolution open => unable to reproduce
2014-08-06 07:47 user6 Assigned To => user6