The Ur-Quan Masters Discussion Forum

The Ur-Quan Masters Re-Release => Technical Issues => Topic started by: Alvarin on November 07, 2010, 06:08:06 pm



Title: Linux build crushes.
Post by: Alvarin on November 07, 2010, 06:08:06 pm
Hello all!
I've been running UQM and the P6014 mod quite happilly on Ubuntu Karmic and later on on Maverick with ALSA setup I've configured long time ago. Last week I've got lots of positive reccomendations on the net and from friends runing Ubuntu as well, so I tried to install Pulseaudio. That worked, but UQM started crashing (as did HOMM3 onWine), so I tried to roll back. I've purged the Pulseaudio, but the game still crashes on startup, unless I run it with disabled sound.
Can anyone guide me through the audio related files to make it work again?


Title: Re: Linux build crushes.
Post by: Wolframm on November 07, 2010, 09:04:10 pm
I don't know, download openAL if you don't have it, it might solve the problem.
If no, i really have no idea.


Title: Re: Linux build crushes.
Post by: Alvarin on November 07, 2010, 09:16:12 pm
Thanks for the advice.
I've already reinstalled and then purged and reinstalled the OpenAL without any change.


Title: Re: Linux build crushes.
Post by: oldlaptop on November 08, 2010, 02:41:08 am
Could you try running it from a terminal, and post the output here? There's often some useful error message that shows up, which makes solving the problem far easier.


Title: Re: Linux build crushes.
Post by: Alvarin on November 08, 2010, 04:31:47 am
The relevant lines are these -
Quote
Opening SDL audio device.
Unable to open audio device: No available audio device
Sound driver initialization failed.
The thing is, I do have sound in most other aplications I run...


Title: Re: Linux build crashes.
Post by: Dragon on November 08, 2010, 12:46:07 pm
I was going to suggest uninstalling Pulseaudio (which is still not quite there yet) and re-installing ALSA in it's place but if you use aptitude/synaptic it'll take out the gnome-desktop too (which is bad).  Practically I have nothing valuable to add.   :'(


Title: Re: Linux build crushes.
Post by: Alvarin on November 08, 2010, 12:51:05 pm
I haven't fully uninstalled Alsa because that would remove huge chunk of other installed programs, but I've re-installed all the packages.
It looks like I'll have to sometime soon backup my things and format then clean install the whole system ... :(


Title: Re: Linux build crushes.
Post by: Novus on November 08, 2010, 01:16:49 pm
Reinstalling packages doesn't help much unless the program itself (or some of its data) is corrupt. The problem is probably that you have the wrong packages installed. In this case, SDL is probably set up to use PulseAudio. To simplify SDL configuration and minimise dependencies, Karmic has separate packages for each sound output and one big package with all the files. I recommend you install libsdl1.2debian-alsa instead of libsdl1.2debian-pulseaudio if you really don't want to use PulseAudio.


Title: Re: Linux build crushes.
Post by: Alvarin on November 08, 2010, 08:47:19 pm
Thank you very much, that did the trick!