The Ur-Quan Masters Discussion Forum

The Ur-Quan Masters Re-Release => Technical Issues => Topic started by: AxAeo on December 09, 2007, 05:04:41 pm



Title: Sound issues causing crash on startup
Post by: AxAeo on December 09, 2007, 05:04:41 pm
This wasn't an issue before - I used to run this game all the time with sound. However, it's been a long time since then and my computer configuration changed a good deal, so I'm having a problem now... Every time I try to start the game up, I get a black window. Here is the output from the terminal...

Quote
Initializing SDL audio subsystem.
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'defaults.pcm.dmix.device'
ALSA lib conf.c:3510:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:3982:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2145:(snd_pcm_open_noupdate) Unknown PCM default
SDL audio subsystem initialized.
Opening SDL audio device.
Unable to open audio device: No available audio device
Sound driver initialization failed.

When I run it with --sound=none it works perfectly fine... Any advice?


Title: Re: Sound issues causing crash on startup
Post by: meep-eep on December 09, 2007, 05:26:57 pm
Sound card access is handled through the SDL library; this problem is not specific to UQM.
This link (http://forums.debian.net/viewtopic.php?p=115776&sid=aa8100650a1592deecc3f7489f10d3fe) suggests a possible solution: deleting ~/.asoundrc and ~/.asoundrc.asoundconf.


Title: Re: Sound issues causing crash on startup
Post by: AxAeo on December 09, 2007, 06:02:16 pm
Tada! Thanks man....