You are not logged in.

#1 2017-08-12 13:28:02

niezniszczalny
Member
Registered: 2015-12-11
Posts: 66

enemy-territory.sdl -> /dev/dsp: No such file or directory

I've read a lot of Internet about the sound issue in ET on Linux but the more I read the more I'm confused about it.

I've installed et-sdl-sound from AUR.
Then I ran enemy-territory.sdl and I got error:

------- sound initialization -------
/dev/dsp: No such file or directory
Could not open /dev/dsp

Then I went to http://http.kernwaffe.de/et/ET-Installer/et-sdl-sound and copied it's content to new file named "et-sdl-sound" and

a+x et-sdl-sound

Tried to run, got same error as before.

Then [edit1] installed alsa-oss:

modprobe snd-pcm-oss snd-mixer-oss snd-seq-oss

Restarted system. Still have the same error.

Could someone help me with this issue? I don't really know what else could I try.

[edit1] alsa-oss is installed

Last edited by niezniszczalny (2017-08-12 14:38:49)

Offline

#2 2017-08-12 14:07:41

ooo
Member
Registered: 2013-04-10
Posts: 1,638

Re: enemy-territory.sdl -> /dev/dsp: No such file or directory

niezniszczalny wrote:

Then:

modprobe snd-pcm-oss snd-mixer-oss snd-seq-oss

Restarted system. Still have the same error.

I believe you were on the right track here, however you should understand that when you modprobe a kernel module, it won't be loaded any more after you reboot.
You really should study the wiki page about kernel modules.

The actual issue is that ET uses OSS, not ALSA, for sound. So you need to set up ALSA-OSS compatibility layer. This explains how to do it.

Offline

#3 2017-08-12 14:37:46

niezniszczalny
Member
Registered: 2015-12-11
Posts: 66

Re: enemy-territory.sdl -> /dev/dsp: No such file or directory

Ok. I've created the file in /etc/modules-load.d/ and written there: snd-seq-oss snd-pcm-oss snd-mixer-oss
After reboot here's part of lsmod outpu:

snd_seq_dummy          16384  0
snd_seq_oss            36864  0
snd_seq_midi_event     16384  1 snd_seq_oss
snd_seq                57344  5 snd_seq_midi_event,snd_seq_dummy,snd_seq_oss
snd_seq_device         16384  2 snd_seq,snd_seq_oss
snd_pcm_oss            45056  0
snd_mixer_oss          24576  1 snd_pcm_oss
snd_pcm                86016  6 snd_pcm_oss,snd_hda_intel,snd_hda_codec,snd_hda_core,snd_hda_codec_hdmi
snd_timer              28672  2 snd_seq,snd_pcm
snd                    69632  24 snd_pcm_oss,snd_hda_intel,snd_hwdep,snd_mixer_oss,snd_seq,snd_hda_codec,snd_hda_codec_idt,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_seq_device,snd_seq_oss,snd_pcm

Still the same error about /dev/dsp.

Offline

#4 2017-08-12 14:48:21

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,922

Re: enemy-territory.sdl -> /dev/dsp: No such file or directory

The et-sdl-sound packages is intended to replace the oss part with sdl rountines, also-oss should not be needed.

Did you install ET itself using the aur enemy-territry package , the aur wolf package or some other way ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#5 2017-08-12 14:53:19

Psykorgasm
Member
Registered: 2011-11-24
Posts: 177

Re: enemy-territory.sdl -> /dev/dsp: No such file or directory

I cant help with this issue and don't like to jump in to offer alternatives but I feel worth mentioning for anyone that may end up coming across this that unless you really need the original et binaries for playing etpro, then etlegacy is a fully updated open source version that plays all other ET mods just fine and will not give you many of these issues from the 2006 binaries since all the bugs have been fixed.

https://aur.archlinux.org/packages/etlegacy/
https://github.com/etlegacy/etlegacy

Offline

#6 2017-08-12 14:57:51

niezniszczalny
Member
Registered: 2015-12-11
Posts: 66

Re: enemy-territory.sdl -> /dev/dsp: No such file or directory

I did

pacaur -S enemy-territory

then

pacaur -S et-sdl-sound


@Psykorgasm
I know about etlegacy but I really want to play etpro mod on good old et wink Moreover there are more bots than people playing etlegacy.

Offline

Board footer

Powered by FluxBB