$ cat /proc/asound/card1/eld#1.0
monitor_present         1
eld_valid               1
monitor_name            LG TV

connection_type         HDMI                                                    
                                                                           
eld_version             [0x2] CEA-861D or below                                 
                                                                           
edid_version            [0x3] CEA-861-B, C or D                                 
                                                                           
manufacture_id          0x6d1e                                                  
                                                                           
product_id              0x1                                                     
                                                                           
port_id                 0x20000                                                 
                                                                           
support_hdcp            0                                                       
                                                                           
support_ai              0                                                       
                                                                           
audio_sync_delay        0                                                       
                                                                           
speakers                [0xffff] FL/FR LFE FC RL/RR RC FLC/FRC RLC/RRC FLW/FRW 
FLH/FRH TC FCH                                                              
sad_count               2                                                       
                                                                           
sad0_coding_type        [0x2] AC-3                                              
                                                                           
sad0_channels           6                                                       
                                                                           
sad0_rates              [0xe0] 32000 44100 48000                                
                                                                           
sad0_max_bitrate        640000                                                  
                                                                           
sad1_coding_type        [0x1] LPCM                                              
                                                                           
sad1_channels           2                                                       
                                                                           
sad1_rates              [0x14e0] 32000 44100 48000 96000 192000                 
                                                                           
sad1_bits               [0xe0000] 16 20 24             


$ cat /proc/asound/card1/pcm7p/sub0/hw_params 
access: MMAP_INTERLEAVED
format: S32_LE
subformat: STD
channels: 2
rate: 48000 (48000/1)
period_size: 1024
buffer_size: 8192

-- 
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:
  Confirmed

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     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to