Well, for the record, the problem is back in 13.04. I have just figured out 
what actually fixed this issue.
I have changed:
/usr/share/alsa/pcm/dsnoop.conf -> period_size -> default -> changed from 512 
to 1024
/usr/share/alsa/pcm/dmix.conf -> period_size -> default -> changed from 512 to 
2048

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to alsa-driver in Ubuntu.
https://bugs.launchpad.net/bugs/1029414

Title:
  Audio problems with ALSA

Status in “alsa-driver” package in Ubuntu:
  New

Bug description:
  Kubuntu 12.04 here.

  This system is built for heavy gaming and videos, it has a Zogis
  GeForce GTX 550 Ti which connected to my TV via HDMI.

  I'm using the sound card that's integrated into the GPU, I have made
  it my primary card in alsa by changing "/usr/share/alsa/alsa.conf":

  defaults.ctl.card 0
  defaults.pcm.card 0
  defaults.pcm.device 0

  became:

  defaults.ctl.card NVidia
  defaults.pcm.card Nvidia
  defaults.pcm.device 7

  I have never liked pulseaudio, and alsa does everything I need faster,
  so pulseaudio is usually the first thing I remove in my installation.

  sudo apt-get purge pulseaudio

  However those are the problems I have without pulseaudio:

  1) dolphin-emu produces some weird noises randomly.

  
  2) The 2 games I have developed which use SDL for sound have sound distorted 
and failing a lot.
  http://cmcgames.darkphear.com/2012/01/yagac.html
  http://iceroyds.darkphear.com/
  Other games that use SDL for sound seem to have the same behaviour.

  When I run it in the console I have a LOT of: ALSA lib
  pcm.c:7339snd_pcm_recover) underrun occurred

  
  3) MAME has serious latency in sound (about half a second). It uses SDL for 
sound too.

  
  4) MAME running old games such as twinbee have a terrible crackling sound 
that makes it unplayable.
  There are two lame workarounds for this; one is reducing sampling rate below 
22050 (argh!); other is using the alsa oss wrapper : "aoss mame twinbee 
-audiodriver dsp" which is a little better.

  
  I have tried removing the Ubuntu SDL packages and installing SDL from the 
official page, but it didn't change a thing. The problem seems to be deeper, 
maybe in libasound2 or in alsa itself.
  --- 
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
  ApportVersion: 2.0.1-0ubuntu8
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC1:  user-kubuntu   1836 F.... kded4
                        user-kubuntu   2202 F.... kmix
   /dev/snd/controlC0:  user-kubuntu   1836 F.... kded4
                        user-kubuntu   2202 F.... kmix
  Card0.Amixer.info:
   Card hw:0 'PCH'/'HDA Intel PCH at 0xf6420000 irq 56'
     Mixer name : 'Realtek ALC892'
     Components : 'HDA:10ec0892,80862007,00100302'
     Controls      : 38
     Simple ctrls  : 19
  Card1.Amixer.info:
   Card hw:1 'NVidia'/'HDA NVidia at 0xf6000000 irq 17'
     Mixer name : 'Nvidia GPU 15 HDMI/DP'
     Components : 'HDA:10de0015,10de0101,00100100'
     Controls      : 25
     Simple ctrls  : 5
  DistroRelease: Ubuntu 12.04
  InstallationMedia: Kubuntu 12.04 LTS "Precise Pangolin" - Release amd64 
(20120423)
  NonfreeKernelModules: nvidia
  Package: alsa-driver (not installed)
  ProcEnviron:
   LANGUAGE=pt_BR
   TERM=xterm
   LANG=pt_BR.UTF-8
   SHELL=/bin/bash
  ProcVersionSignature: Ubuntu 3.2.0-26.41-generic 3.2.19
  PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No 
PulseAudio daemon running, or not running as session daemon.
  Tags:  precise
  Uname: Linux 3.2.0-26-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
  dmi.bios.date: 04/20/2012
  dmi.bios.vendor: Intel Corp.
  dmi.bios.version: BGP6710J.86A.2185.2012.0420.0057
  dmi.board.asset.tag: Base Board Asset Tag
  dmi.board.name: DP67BG
  dmi.board.vendor: Intel Corporation
  dmi.board.version: AAG10491-306
  dmi.chassis.type: 3
  dmi.modalias: 
dmi:bvnIntelCorp.:bvrBGP6710J.86A.2185.2012.0420.0057:bd04/20/2012:svn:pn:pvr:rvnIntelCorporation:rnDP67BG:rvrAAG10491-306:cvn:ct3:cvr:
  --- 
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
  ApportVersion: 2.0.1-0ubuntu8
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC1:  user-kubuntu   1836 F.... kded4
                        user-kubuntu   2202 F.... kmix
   /dev/snd/controlC0:  user-kubuntu   1836 F.... kded4
                        user-kubuntu   2202 F.... kmix
  Card0.Amixer.info:
   Card hw:0 'PCH'/'HDA Intel PCH at 0xf6420000 irq 56'
     Mixer name : 'Realtek ALC892'
     Components : 'HDA:10ec0892,80862007,00100302'
     Controls      : 38
     Simple ctrls  : 19
  Card1.Amixer.info:
   Card hw:1 'NVidia'/'HDA NVidia at 0xf6000000 irq 17'
     Mixer name : 'Nvidia GPU 15 HDMI/DP'
     Components : 'HDA:10de0015,10de0101,00100100'
     Controls      : 25
     Simple ctrls  : 5
  DistroRelease: Ubuntu 12.04
  InstallationMedia: Kubuntu 12.04 LTS "Precise Pangolin" - Release amd64 
(20120423)
  NonfreeKernelModules: nvidia
  Package: alsa-driver (not installed)
  ProcEnviron:
   LANGUAGE=pt_BR
   TERM=xterm
   LANG=pt_BR.UTF-8
   SHELL=/bin/bash
  ProcVersionSignature: Ubuntu 3.2.0-26.41-generic 3.2.19
  PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No 
PulseAudio daemon running, or not running as session daemon.
  Tags:  precise
  Uname: Linux 3.2.0-26-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
  dmi.bios.date: 04/20/2012
  dmi.bios.vendor: Intel Corp.
  dmi.bios.version: BGP6710J.86A.2185.2012.0420.0057
  dmi.board.asset.tag: Base Board Asset Tag
  dmi.board.name: DP67BG
  dmi.board.vendor: Intel Corporation
  dmi.board.version: AAG10491-306
  dmi.chassis.type: 3
  dmi.modalias: 
dmi:bvnIntelCorp.:bvrBGP6710J.86A.2185.2012.0420.0057:bd04/20/2012:svn:pn:pvr:rvnIntelCorporation:rnDP67BG:rvrAAG10491-306:cvn:ct3:cvr:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1029414/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to