do you mean HDMI audio work ? control.8 { iface CARD name 'HDMI/DP,pcm=7 Jack' value true comment { access read type BOOLEAN count 1 } }
do your video driver pass ELD to audio controller ? cat /proc/asound/card1/eld#1.0 what are the period size and buffer size for HDMI audio ? cat /proc/asound/card1/pcm1p/sub0/hw_params Codec: Nvidia GPU 15 HDMI/DP Address: 1 AFG Function Id: 0x1 (unsol 0) Vendor Id: 0x10de0015 Subsystem Id: 0x10de0101 Revision Id: 0x100100 No Modem Function Group found Default PCM: rates [0x0]: bits [0x0]: formats [0x0]: Default Amp-In caps: N/A Default Amp-Out caps: N/A State of AFG node 0x01: Power states: D0 D1 D2 D3 Power: setting=D0, actual=D0 GPIO: io=0, o=0, i=0, unsolicited=0, wake=0 Node 0x04 [Audio Output] wcaps 0x72b1: 8-Channels Digital Stripe CP Device: name="HDMI 0", type="HDMI", device=7 Converter: stream=6, channel=0 Digital: Enabled Digital category: 0x0 IEC Coding Type: 0x0 PCM: rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000 bits [0xe]: 16 20 24 formats [0x5]: PCM AC3 Unsolicited: tag=00, enabled=0 Node 0x05 [Pin Complex] wcaps 0x407381: 8-Channels Digital CP Control: name="HDMI/DP,pcm=7 Jack", index=0, device=0 Control: name="IEC958 Playback Con Mask", index=1, device=0 Control: name="IEC958 Playback Pro Mask", index=1, device=0 Control: name="IEC958 Playback Default", index=1, device=0 Control: name="IEC958 Playback Switch", index=1, device=0 Control: name="ELD", index=0, device=7 Pincap 0x09000094: OUT Detect HBR HDMI DP Pin Default 0x18560010: [Jack] Digital Out at Int HDMI Conn = Digital, Color = Unknown DefAssociation = 0x1, Sequence = 0x0 Pin-ctls: 0x40: OUT Unsolicited: tag=01, enabled=1 Connection: 1 0x04 -- 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 : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp