Public bug reported:

Right after my system finishes booting, when it plays the welcome sound,
I get this in dmesg:

hda-intel: IRQ timing workaround is activated for card #1. Suggest a
bigger bdl_pos_adj


This gives me a few bad side effects:

1) Sound latency is way too high with pulseaudio, and it's even higher
with alsa dmix.

2) Bad sound quality in most of the games I've tried (sound interrupts,
distortion, lots of buffer underruns).

3) Crackling noise in MAME (specially with older games).


Adding the following line to "/etc/modprobe.d/alsa-base.conf" seems to solve my 
problems:
     options snd-hda-intel enable_msi=1 bdl_pos_adj=-1,64

After that, I don't get the error in dmesg anymore, sound latency is
much better, and the buffer underruns / crackling are gone.

So I suggest a bigger "bdl_pos_adj" should be made default for NVIDIA
HDMI sound cards. I'm not saying it should be 64, because this value is
guessed.

-1, 1, 32 will give me the error in dmesg and all related problems

48 gives me mixed results, no error in dmesg, but I still get buffer
underruns sometimes

64 gives me bigger latency than 48, but I didn't get any buffer
underruns with this value so far.

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: alsa-base 1.0.25+dfsg-0ubuntu4
Uname: Linux 3.9.0-030900-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.9.2-0ubuntu8
Architecture: amd64
Date: Sun May 19 07:50:55 2013
MarkForUpload: True
PackageArchitecture: all
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No 
PulseAudio daemon running, or not running as session daemon.
SourcePackage: alsa-driver
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 07/17/2012
dmi.bios.vendor: Intel Corp.
dmi.bios.version: BGP6710J.86A.2209.2012.0717.2302
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.2209.2012.0717.2302:bd07/17/2012:svn:pn:pvr:rvnIntelCorporation:rnDP67BG:rvrAAG10491-306:cvn:ct3:cvr:

** Affects: alsa-driver (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: alsa amd64 apport-bug audio hdmi nvidia raring sound

-- 
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/1181721

Title:
  NVIDIA HDMI audio needs a bigger bdl_pos_adj

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

Bug description:
  Right after my system finishes booting, when it plays the welcome
  sound, I get this in dmesg:

  hda-intel: IRQ timing workaround is activated for card #1. Suggest a
  bigger bdl_pos_adj

  
  This gives me a few bad side effects:

  1) Sound latency is way too high with pulseaudio, and it's even higher
  with alsa dmix.

  2) Bad sound quality in most of the games I've tried (sound
  interrupts, distortion, lots of buffer underruns).

  3) Crackling noise in MAME (specially with older games).

  
  Adding the following line to "/etc/modprobe.d/alsa-base.conf" seems to solve 
my problems:
       options snd-hda-intel enable_msi=1 bdl_pos_adj=-1,64

  After that, I don't get the error in dmesg anymore, sound latency is
  much better, and the buffer underruns / crackling are gone.

  So I suggest a bigger "bdl_pos_adj" should be made default for NVIDIA
  HDMI sound cards. I'm not saying it should be 64, because this value
  is guessed.

  -1, 1, 32 will give me the error in dmesg and all related problems

  48 gives me mixed results, no error in dmesg, but I still get buffer
  underruns sometimes

  64 gives me bigger latency than 48, but I didn't get any buffer
  underruns with this value so far.

  ProblemType: Bug
  DistroRelease: Ubuntu 13.04
  Package: alsa-base 1.0.25+dfsg-0ubuntu4
  Uname: Linux 3.9.0-030900-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.9.2-0ubuntu8
  Architecture: amd64
  Date: Sun May 19 07:50:55 2013
  MarkForUpload: True
  PackageArchitecture: all
  PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No 
PulseAudio daemon running, or not running as session daemon.
  SourcePackage: alsa-driver
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 07/17/2012
  dmi.bios.vendor: Intel Corp.
  dmi.bios.version: BGP6710J.86A.2209.2012.0717.2302
  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.2209.2012.0717.2302:bd07/17/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/1181721/+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