← Back to team overview

kernel-packages team mailing list archive

[Bug 1203520] Re: 10de:1040 snd_hda_codec_hdmi (via pavucontrol or applications playing sound) freezes Ubuntu 12.04 LTS

 

# Raymond (superquad-vortex2) wrote on 2013-09-24
> ftp://download.nvidia.com/XFree86/gpu-hdmi-audio-document/gpu-hdmi-audio.html#_verify_your_eld_is_valid
> do you have valid ELD ?

With a nod to the immortal ABBA: I do, I do; oh well - only 2: ;-)

$ cat /proc/asound/card1/eld#0.0
monitor_present		0
eld_valid		0

$ cat /proc/asound/card1/eld#0.1
monitor_present		1
eld_valid		1
monitor_name		SANYO Z4000
 
connection_type		HDMI
eld_version		[0x2] CEA-861D or below
edid_version		[0x3] CEA-861-B, C or D
manufacture_id		0x2e4c
product_id		0xba0c
port_id			0x20000
support_hdcp		0
support_ai		0
audio_sync_delay	0
speakers		[0xf] FL/FR LFE FC RL/RR
sad_count		4
sad0_coding_type	[0x1] LPCM
sad0_channels		2
sad0_rates		[0x6e0] 32000 44100 48000 88200 96000
sad0_bits		[0xe0000] 16 20 24
sad1_coding_type	[0x1] LPCM
sad1_channels		6
sad1_rates		[0x6e0] 32000 44100 48000 88200 96000
sad1_bits		[0xe0000] 16 20 24
sad2_coding_type	[0x2] AC-3
sad2_channels		6
sad2_rates		[0xe0] 32000 44100 48000
sad2_max_bitrate	640000
sad3_coding_type	[0x7] DTS
sad3_channels		6
sad3_rates		[0xe0] 32000 44100 48000
sad3_max_bitrate	1536000

For the record, this results from the combined EDID (as attached, per
/etc/X11/xorg.conf) of projector and 5.1 audio system through which the
HDMI to display is routed (i.e. the audio sink, forced permanently
detectable lest it crashes the machine in the middle of anything
important due to the snd_hda_codec_hdmi bug when turned on later while
that module is loaded):

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GT 520"
    Option         "ConnectedMonitor" "DFP-1"
    Option         "CustomEDID" "DFP-1:/etc/X11/SANYO_Z4000_thru_Samsung_HT-C5500.edid.bin"
EndSection

The other port is DVI.

** Attachment added: "/etc/X11/SANYO_Z4000_thru_Samsung_HT-C5500.edid.bin"
   https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1203520/+attachment/3848633/+files/SANYO_Z4000_thru_Samsung_HT-C5500.edid.bin

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

Title:
  10de:1040 snd_hda_codec_hdmi (via pavucontrol or applications playing
  sound) freezes Ubuntu 12.04 LTS

Status in “linux” package in Ubuntu:
  Incomplete

Bug description:
  Ubuntu 12.04 LTS Precise Pangolin freezes most of the time when trying
  to use HDMI audio (in particular from google-talkplugin, mplayer, vdr-
  sxfe, vlc, xine) up to and including the current Kernel 3.2.0-49
  without putting snd_hda_codec_hdmi on the /etc/modprobe.d/blacklist-
  oss.conf (thereby losing sound over the Nvidia outputs).

  Invoking pavucontrol with  snd_hda_codec_hdmi loaded almost always
  results in a crash that makes even Ctrl-Alt-SysRq inaccessible.

  Freezes also occurred with both hw and plughw devices of the Nvidia
  HDMIs under ALSA when pulseaudio had been uninstalled for testing.

  According to
  https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1173769 #3 there
  is "a kernel issue which most likely is to happen with Nvidia
  graphics", this is also not fixed by using https://code.launchpad.net
  /~ubuntu-audio-dev/+archive/alsa-daily/+files/oem-audio-hda-daily-
  dkms_0.201307180553%7Eprecise1_all.deb according to
  https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1169984 #16.

  New bug as identified by David Henningsson (diwic) to have different
  causes than https://bugs.launchpad.net/ubuntu-desktop-
  tests/+bug/1169984 at #119 et seq.

  Blacklisting is the supposed fix in https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1181616 and http://lists.debian.org/debian-kernel/2012/05/msg00110.html but not the solution if HDMI audio is needed.
  --- 
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
  ApportVersion: 2.0.1-0ubuntu17.3
  Architecture: i386
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  user       2378 F.... pulseaudio
   /dev/snd/controlC1:  user       2378 F.... pulseaudio
  CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 not found.
  Card0.Amixer.info:
   Card hw:0 'Intel'/'HDA Intel at 0xf3120000 irq 45'
     Mixer name	: 'Analog Devices AD1884'
     Components	: 'HDA:11d41884,103c2819,00100100'
     Controls      : 31
     Simple ctrls  : 19
  Card1.Amixer.info:
   Card hw:1 'SAA7134'/'saa7134[0] at 0xf3200000 irq 22'
     Mixer name	: 'SAA7134 Mixer'
     Components	: ''
     Controls      : 6
     Simple ctrls  : 3
  Card2.Amixer.info:
   Card hw:2 'NVidia'/'HDA NVidia at 0xf3000000 irq 17'
     Mixer name	: 'Nvidia ID 1c'
     Components	: 'HDA:10de001c,14628097,00100100'
     Controls      : 0
     Simple ctrls  : 0
  Card2.Amixer.values:
   
  DistroRelease: Ubuntu 12.04
  HibernationDevice: RESUME=UUID=b779581c-49c5-4cca-8cac-3d2b5243b6ee
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release i386 (20120423)
  IwConfig:
   lo        no wireless extensions.
   
   eth0      no wireless extensions.
  MachineType: Hewlett-Packard HP Compaq dc7800p Convertible Minitower
  MarkForUpload: True
  NonfreeKernelModules: nvidia
  Package: linux (not installed)
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcFB: 0 VESA VGA
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.2.0-48-generic-pae root=UUID=967f80d1-798e-4c04-bb4c-935f35d7397b ro quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 3.2.0-48.74-generic-pae 3.2.46
  RelatedPackageVersions:
   linux-restricted-modules-3.2.0-48-generic-pae N/A
   linux-backports-modules-3.2.0-48-generic-pae  N/A
   linux-firmware                                1.79.4
  RfKill:
   0: hci0: Bluetooth
   	Soft blocked: no
   	Hard blocked: no
  StagingDrivers: mei
  Tags:  precise staging
  Uname: Linux 3.2.0-48-generic-pae i686
  UnreportableReason: Your home partition has less than 3 MB of free space available, which leads to problems using applications and installing updates. Please free some space.
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
  dmi.bios.date: 07/18/2007
  dmi.bios.vendor: Hewlett-Packard
  dmi.bios.version: 786F1 v01.04
  dmi.board.asset.tag: CZC8277VRK
  dmi.board.name: 0AACh
  dmi.board.vendor: Hewlett-Packard
  dmi.chassis.asset.tag: CZC8277VRK
  dmi.chassis.type: 6
  dmi.chassis.vendor: Hewlett-Packard
  dmi.modalias: dmi:bvnHewlett-Packard:bvr786F1v01.04:bd07/18/2007:svnHewlett-Packard:pnHPCompaqdc7800pConvertibleMinitower:pvr:rvnHewlett-Packard:rn0AACh:rvr:cvnHewlett-Packard:ct6:cvr:
  dmi.product.name: HP Compaq dc7800p Convertible Minitower
  dmi.sys.vendor: Hewlett-Packard

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1203520/+subscriptions


References