You are not logged in.

#1 2010-07-16 18:47:10

zuargo
Member
From: Concepción, Chile
Registered: 2009-08-20
Posts: 116

No sound in Shadowgrounds (maybe OSS related)

Hello

I got a copy of Shadowgrounds (a native GNU/Linux game).

http://www.linuxgamepublishing.com/info.php?id=41&

I had no any problem installing the game, but I don't have sound sad

The official FAQ of the game says:

Sound
I get no sound, and messages about (snd_ctl_open_noupdate) Invalid CTL hw:0

This is usually because of the new PulseAudio system that makes sound difficult to use on Linux.

To fix this problem, you need to do one of the following (in order of ease)

run the game using pasuspender

pasuspender gamename

run the game using padsp

padsp gamename

Finally if these fail, or give poor results, you need to install the OSS layer for ALSA and ensure it is loaded into the kernel. This will vary for each Linux distribution, and you should consult your Linux distribution documentation for instructions on how to do this.

Source: http://www.linuxgamepublishing.com/faq. … 1&#faq_5_1

Well I don't have the message about snd_ctl_open_noupdate, neither I have installed pulseaudio, So I guess, I must install the OSS layer for ALSA (I have installed ALSA)

Then I installed the package alsa-oss and I tried load the correspondent modules in the kernel.

I ran:

$ lsmod|grep '^snd' | column -t
snd_hda_codec_analog  52624  1
snd_seq_dummy         1071   0
snd_seq_oss           25016  0
snd_seq_midi_event    4488   1   snd_seq_oss
snd_seq               41656  5   snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device        4353   3   snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss           33474  0
snd_hda_intel         18769  7
snd_hda_codec         66623  2   snd_hda_codec_analog,snd_hda_intel
snd_hwdep             4756   1   snd_hda_codec
snd_pcm               58460  6   snd_pcm_oss,snd_hda_intel,snd_hda_codec
snd_mixer_oss         14328  1   snd_pcm_oss
snd_timer             15601  5   snd_seq,snd_pcm
snd                   42602  19  snd_hda_codec_analog,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_mixer_oss,snd_timer
snd_page_alloc        5941   2   snd_hda_intel,snd_pcm

I loaded all modules that contain oss in their name:

$ sudo modprobe snd_pcm_oss snd_mixer_oss snd_seq_oss

I got all this information from here:

http://wiki.archlinux.org/index.php/ALSA

But, after all this, still I don't have sound in the game.

Maybe I am making something wrong, or this problem is not related to OSS

Please any idea, I will be very grateful

Offline

#2 2010-07-17 18:52:55

zuargo
Member
From: Concepción, Chile
Registered: 2009-08-20
Posts: 116

Re: No sound in Shadowgrounds (maybe OSS related)

I found the solution:

Install the package alsa-oss and launch the game with aoss:

$ aoss ./shadowgrounds-bin

smile

Offline

#3 2010-07-17 23:29:16

heftig
Developer
From: Germany
Registered: 2010-04-19
Posts: 159

Re: No sound in Shadowgrounds (maybe OSS related)

ossp might also be worth a try.

Offline

Board footer

Powered by FluxBB