OSS emulation with ALSA

I faced out with this problem when tried to play Postal 2 on my debian PC. There was no sound and in the console I could see such error:

open /dev/[sound/]dsp: No such file or directory

Google said that aoss from alsa-oss package could help me ... but not on 64 bit system, because Postal 2 is 32 bit app. Ok, 32 bit app should work with 32 bit aoss. And as practice has shown it works. Go to packages.debian.org and download alsa-oss package for i386, then install it with

dpkg -i --force-architecture alsa-oss_VERSION_i386.deb

Now you can start the game with

aoss postal2

Notice: this is ugly hack, good practice says that you should make new amd64 package with 32 bit contents with name different from alsa-oss to avoid conflicts with original alsa-oss package.

Comments (1)

Anonymous says:
Tue, 28 Oct 2014
A better way is just to replace the aged openal library that comes with postal 2 with one that properly supports modern sound systems.

Asuming you have the fudge pack, the old openal library should be at (fudge pack installation dir)/postal2game/System/openal.so.

Just rename that to something like openal.so.bak, then copy a newer version over from /usr/lib/libopenal.so and rename it to openal.so

Obviously, if you have a 64-bit installation, you'll want to install ia32-libs (or equivalent package containing the 32-bit openal lib) and copy it from /usr/lib32/libopenal.so instead.

No messing around with aoss, padsp or whatever and getting bad sound quality, it just works.

Add comment

Fields marked * are required.
This form has a bot protection mechanism, that requires Cookies.
Please, don't disable them.



Gravatar-friendly




Paragraphs are created automatically. Available tags: [quote], [code].