[Solved] 1.74.2: Oolite disables sound on ubuntu

For discussion of ports to POSIX based systems, especially using GNUStep.

Moderators: winston, another_commander, Getafix

Post Reply
User avatar
Corny
---- E L I T E ----
---- E L I T E ----
Posts: 363
Joined: Sun Dec 20, 2009 11:50 am
Location: (northern) Germany

[Solved] 1.74.2: Oolite disables sound on ubuntu

Post by Corny » Tue Dec 28, 2010 1:36 pm

I wanted to play Oolite on a computer with Ubuntu since it has a better GPU than I have.
However, as soon as I start Oolite, the sound is somehow disabled, system-wide. It's not set to mute in the settings or anything, it just stops working immediately. Also, it takes a while until the sound works again after I quit Oolite.
Nothing in the syslog or user.log (other places where I should check?), nothing unusual in the Oolite latest.log.

I remember playing Oolite on that computer - WITH sounds - but I think that was 1.74.1.

Edit: Problem solved. I reinstalled pulseaudio and Oolite, then followed the steps for the speech synthesis workaround. Now not only the speech synthesis works (even if I don't like it on Linux and promptly deactivated it), but all the sound works again.
Last edited by Corny on Fri Feb 11, 2011 5:36 pm, edited 2 times in total.

User avatar
Smivs
Retired Assassin
Retired Assassin
Posts: 8408
Joined: Tue Feb 09, 2010 11:31 am
Location: Disunited Kingdom
Contact:

Post by Smivs » Tue Dec 28, 2010 1:48 pm

Are you using pulseaudio? I am running v1.74.2 and use ALSA and have removed pulseaudio completely as it seems to cause a few problems, not just with Oolite.
This thread might be worth a read.
Commander Smivs, the friendliest Gourd this side of Riedquat.

User avatar
Corny
---- E L I T E ----
---- E L I T E ----
Posts: 363
Joined: Sun Dec 20, 2009 11:50 am
Location: (northern) Germany

Post by Corny » Tue Dec 28, 2010 5:54 pm

I don't know. If it's standard (which I assume), then yes. I don't want to mess with it yet (or even remove it) since Oolite is the only application which is affected :?
http://aegidian.org/bb/viewtopic.php?p=115006 seems to be only connected to the speech feature.
http://aegidian.org/bb/viewtopic.php?t=8150 doesn't seem to give me good ideas. Removing pulseaudio didn't help, or do I get it wrong?

User avatar
Smivs
Retired Assassin
Retired Assassin
Posts: 8408
Joined: Tue Feb 09, 2010 11:31 am
Location: Disunited Kingdom
Contact:

Post by Smivs » Tue Dec 28, 2010 6:09 pm

Yes, pulseaudio seems to come as standard in Ubuntu, and you do need to be careful removing it.
Might be best to wait for Getafix or one of our other Linux experts to come along...I use Ubuntu but don't claim to be an expert. I'm sure someone here can help you though.
Commander Smivs, the friendliest Gourd this side of Riedquat.

User avatar
Getafix
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 960
Joined: Tue Apr 01, 2008 12:55 pm
Location: A small ice asteroid, orbiting Oresrati in Galaxy 8 (a.k.a. northwest Armorica).
Contact:

Re: 1.74.2: Oolite disables sound on ubuntu

Post by Getafix » Mon Jan 10, 2011 11:28 am

Hi Corny,

I remember having this case with Ubuntu 8.04LTS following an upgrade, thus,
pointing to O/S audio re-configuration. Have I understood right that you have
removed PulseAudio? (If you haven't yet... then don't).
"Any sufficiently advanced information is indistinguishable from noise." [Newman, Lachmann, Moore]

mcarans
---- E L I T E ----
---- E L I T E ----
Posts: 320
Joined: Sun Jun 20, 2010 6:00 pm

Re: 1.74.2: Oolite disables sound on ubuntu

Post by mcarans » Tue Jan 11, 2011 9:31 pm

I am running Ubuntu 10.04 LTS with Pulseaudio and 1.74.2 works fine for me, whether using Dolby Digital encoding or stereo output. Try disabling speech in the game to see if it's related to that.

User avatar
Corny
---- E L I T E ----
---- E L I T E ----
Posts: 363
Joined: Sun Dec 20, 2009 11:50 am
Location: (northern) Germany

Re: 1.74.2: Oolite disables sound on ubuntu

Post by Corny » Fri Feb 11, 2011 11:13 am

Spoken messages were (and are) off, but I still get no sound.

I removed pulseaudio following the instructions here: http://ubuntuforums.org/showpost.php?s= ... tcount=183 .
It didn't solve the problem at all, though. When I start Oolite, the sound is deactivated system-wide with no option to revert it - except quitting Oolite and then restarting all applications I want to hear the sound from.
(Sorry Getafix, forgot about your advice earlier :( )

Post Reply