kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #145202
[Bug 1434842] Re: Due to lack of OSS kernel modules, have to recompile the kernel to enable sound in old games - aoss/padsp do not work
** Changed in: linux (Ubuntu Wily)
Status: In Progress => Fix Committed
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1434842
Title:
Due to lack of OSS kernel modules, have to recompile the kernel to
enable sound in old games - aoss/padsp do not work
Status in linux package in Ubuntu:
Fix Committed
Status in linux source package in Vivid:
Fix Released
Status in linux source package in Wily:
Fix Committed
Status in linux source package in Xenial:
Fix Committed
Bug description:
I've had this issue since about 12.10 or whenever the oss modules were
disabled in the kernel.
i.e
CONFIG_SND_MIXER_OSS
CONFIG_SND_PCM_OSS
CONFIG_SND_PCM_OSS_PLUGINS
Ubuntu is one of the few distros to take out these module from their
kernel builds.
On Debian, Fedora, Arch and Opensuse the modules are in the kernel
(you usually have to manually load them (i.e they are present by
default wbut disabled - with ubuntu the modules are actually removed.)
There is one game in particular I play, it in an old obscure game
called paintball2 - http://digitalpaint.org/
It uses OSS by default - it does have an SDL option too (which works
in ubuntu) - but the SDL plugin is buggy.
With all other distros I can just manually load the OSS modules, with
Ubuntu I have to recompile the kernel in order to have OSS sound.
Could we not change the policy and include the modules (the size
difference will be basically none.) so at least people have the option
to use them without the hassle to recompiling the kernel - its a PITA
having to do it again each time there is an update.
I know of aoss and padsp - these tools do not work (at least with this
game), they never have in multiple machines (all have had intel HDA
cards)
i.e
-------------------------------------
aoss ./paintball2
LoadLibrary("./snd_oss.so")
/dev/dsp: Invalid argument
SNDDMA_Init: Could not mmap /dev/dsp.
-------------------------------------
--> no sound
-------------------------------------
padsp ./paintball2
Paintball 2 -- Version 2.0
execing configs/config.cfg
Console initialized.
------- sound initialization -------
LoadLibrary("./snd_oss.so")
SNDDMA_Init: Sorry, but your soundcard doesn't support trigger or mmap. (00005100)
-------------------------------------
--> no sound.
As soon as i recompile the kernel and add the modules it works fine.
How can I get the modules re-added - there is no harm having them in
the kernel but disabled on startup...
ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: linux-generic 3.16.0.31.32
ProcVersionSignature: Ubuntu 3.16.0-31.43-generic 3.16.7-ckt5
Uname: Linux 3.16.0-31-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.14.7-0ubuntu8.2
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC1: morgan 2477 F.... pulseaudio
/dev/snd/controlC0: morgan 2477 F.... pulseaudio
CurrentDesktop: KDE
Date: Sat Mar 21 15:24:46 2015
HibernationDevice: RESUME=UUID=c5ec1412-eab8-4557-a6e8-cb6856e167d8
InstallationDate: Installed on 2015-02-11 (37 days ago)
InstallationMedia: Kubuntu 14.10 "Utopic Unicorn" - Release amd64 (20141022.1)
IwConfig:
eth0 no wireless extensions.
lo no wireless extensions.
MachineType: MSI MS-7758
ProcFB: 0 EFI VGA
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.16.0-31-generic root=UUID=79c952bd-d3f3-4bf7-9039-5260c0217d02 ro
RelatedPackageVersions:
linux-restricted-modules-3.16.0-31-generic N/A
linux-backports-modules-3.16.0-31-generic N/A
linux-firmware 1.138.1
RfKill:
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
WifiSyslog: Mar 21 14:28:15 morgan-MS-7758 kernel: [ 8449.255485] perf interrupt took too long (2507 > 2500), lowering kernel.perf_event_max_sample_rate to 50000
dmi.bios.date: 03/07/2014
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: V2.13
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: Z77A-G43 (MS-7758)
dmi.board.vendor: MSI
dmi.board.version: 1.0
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: MSI
dmi.chassis.version: 1.0
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrV2.13:bd03/07/2014:svnMSI:pnMS-7758:pvr1.0:rvnMSI:rnZ77A-G43(MS-7758):rvr1.0:cvnMSI:ct3:cvr1.0:
dmi.product.name: MS-7758
dmi.product.version: 1.0
dmi.sys.vendor: MSI
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1434842/+subscriptions
References