← Back to team overview

kernel-packages team mailing list archive

[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

 

This bug was fixed in the package linux - 3.19.0-11.11

---------------
linux (3.19.0-11.11) vivid; urgency=low

  [ Andy Whitcroft ]

  * [Config] add nvme to linux-virtual as this is now used in GCE to expose
    disks
    - LP: #1415580
  * [Packaging] module-inclusion -- commonise copy code and simplify
  * [Packaging] module-inclusion -- add manual command entries
  * [Packaging] module blacklists -- add support for manual blacklists
  * [Config] re-enable OSS support and blacklist
    - LP: #1434842
  * [Config] exclude oss modules from linux-image
    - LP: #1434842
  * [Config] CONFIG_DEFAULT_MMAP_MIN_ADDR needs to match on armhf and arm64
    - LP: #1418140
  * rebase to v3.19.3

  [ Leann Ogasawara ]

  * Release Tracking Bug
    - LP: #1438852

  [ Paolo Pisati ]

  * [Config] armhf: JUMP_LABEL=y
  * [Config] armhf: ARM_KERNMEM_PERMS=y && DEBUG_RODATA=y

  [ Upstream Kernel Changes ]

  * powercap / RAPL: handle domains with different energy units
  * x86/platform, acpi: Bypass legacy PIC and PIT in ACPI hardware reduced
    mode
  * cpuidle: powernv: Read target_residency value of idle states from DT if
    available
    - LP: #1435951
  * cpuidle: powernv: Avoid endianness conversions while parsing DT
    - LP: #1435951
  * tick/broadcast-hrtimer : Fix suspicious RCU usage in idle loop
    - LP: #1435951
  * tick/hotplug: Handover time related duties before cpu offline
    - LP: #1435951
  * Input: synaptics - split synaptics_resolution(), query first
    - LP: #1414930
  * Input: synaptics - log queried and quirked dimension values
    - LP: #1414930
  * Input: synaptics - query min dimensions for fw v8.1
    - LP: #1414930
  * Input: synaptics - remove obsolete min/max quirk for X240
    - LP: #1414930
  * Input: synaptics - support min/max board id in min_max_pnpid_table
    - LP: #1414930
  * Input: synaptics - skip quirks when post-2013 dimensions
    - LP: #1414930
  * Input: synaptics - fix middle button on Lenovo 2015 products
    - LP: #1414930
  * Input: synaptics - handle spurious release of trackstick buttons
    - LP: #1414930
  * Input: synaptics - do not retrieve the board id on old firmwares
    - LP: #1414930
  * Input: synaptics - retrieve the extended capabilities in query $10
    - LP: #1414930
  * Input: synaptics - remove TOPBUTTONPAD property for Lenovos 2015
    - LP: #1414930
  * Input: synaptics - re-route tracksticks buttons on the Lenovo 2015
    series
    - LP: #1414930
  * Input: synaptics - remove X1 Carbon 3rd gen from the topbuttonpad list
    - LP: #1414930
  * Input: synaptics - remove X250 from the topbuttonpad list
    - LP: #1414930
  * ARM: 8311/1: Don't use is_module_addr in setting page attributes
  * kernel/module.c: Update debug alignment after symtable generation
  * arm64: Don't use is_module_addr in setting page attributes
  * rebase to v3.19.3
 -- Leann Ogasawara <leann.ogasawara@xxxxxxxxxxxxx>   Tue, 31 Mar 2015 11:48:41 -0700

** Changed in: linux (Ubuntu)
       Status: Fix Committed => Fix Released

-- 
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 Released

Bug description:
  I've had this issue since about 12.10 or whenever the oss modules with
  disable 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