Sometimes no audio, output changed to S/PDIF

Bug #1299786 reported by Thomas Novin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pulseaudio (Ubuntu)
New
Undecided
Unassigned

Bug Description

Sometimes in 14.04 I don't have any audible sound. Checking volume applet > Sound Settings I can see that output is set to S/PDIF. Even though the audio previously was through HDMI. Switching it back to HDMI makes the sound audible again.

I have no speakers connected either through analog or S/PDIF. Only HDMI.

After initial install, it was set to HDMI.

Why does this happen automatically?

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: pulseaudio 1:4.0-0ubuntu10
ProcVersionSignature: Ubuntu 3.13.0-19.40-generic 3.13.6
Uname: Linux 3.13.0-19-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.13.3-0ubuntu1
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: thnov 1875 F.... pulseaudio
 /dev/snd/controlC0: thnov 1875 F.... pulseaudio
CurrentDesktop: Unity
Date: Sun Mar 30 16:50:57 2014
EcryptfsInUse: Yes
InstallationDate: Installed on 2014-03-28 (2 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Beta amd64 (20140326)
SourcePackage: pulseaudio
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 06/04/2013
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 1302
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: P8H77-M LE
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: Rev X.0x
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr1302:bd06/04/2013:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKCOMPUTERINC.:rnP8H77-MLE:rvrRevX.0x:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: System Product Name
dmi.product.version: System Version
dmi.sys.vendor: System manufacturer

Revision history for this message
Thomas Novin (thomasn80) wrote :
Revision history for this message
Raymond (superquad-vortex2) wrote :

did your graphic driver or HDMI monitor also went into s3 or s4 when your computer suspend an resume ?

[ 8603.304717] WARNING: CPU: 0 PID: 1174 at /build/buildd/linux-3.13.0/fs/sysfs/group.c:214 sysfs_remove_group+0xc6/0xd0()
[ 8603.304720] sysfs group ffffffff81cab340 not found for kobject 'hidraw0'
[ 8603.304721] Modules linked in: nfsv3 rpcsec_gss_krb5 nfsv4 nfsd auth_rpcgss nfs_acl nfs lockd sunrpc fscache nls_iso8859_1 snd_hda_codec_hdmi bnep rfcomm bluetooth nvidia(POF) joydev eeepc_wmi asus_wmi sparse_keymap wmi intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp snd_hda_codec_realtek kvm crct10dif_pclmul crc32_pclmul ghash_clmulni_intel aesni_intel aes_x86_64 snd_hda_intel lrw gf128mul snd_hda_codec glue_helper ablk_helper cryptd snd_hwdep snd_pcm snd_page_alloc snd_seq_midi snd_seq_midi_event psmouse snd_rawmidi serio_raw snd_seq lpc_ich snd_seq_device snd_timer snd mei_me mei soundcore mac_hid lp parport hid_logitech_dj usbhid hid r8169 usb_storage mii video
[ 8603.304777] CPU: 0 PID: 1174 Comm: upowerd Tainted: PF O 3.13.0-19-generic #40-Ubuntu
[ 8603.304779] Hardware name: System manufacturer System Product Name/P8H77-M LE, BIOS 1302 06/04/2013
[ 8603.304781] 0000000000000009 ffff8800d1e27d28 ffffffff81711075 ffff8800d1e27d70
[ 8603.304786] ffff8800d1e27d60 ffffffff810662cd 0000000000000000 ffffffff81cab340
[ 8603.304789] ffff88020e342010 ffff88020e10b8e8 ffff88020e3da2a0 ffff8800d1e27dc0
[ 8603.304793] Call Trace:
[ 8603.304800] [<ffffffff81711075>] dump_stack+0x45/0x56
[ 8603.304805] [<ffffffff810662cd>] warn_slowpath_common+0x7d/0xa0
[ 8603.304808] [<ffffffff8106633c>] warn_slowpath_fmt+0x4c/0x50
[ 8603.304814] [<ffffffff8122ff0e>] ? sysfs_get_dirent_ns+0x4e/0x70
[ 8603.304817] [<ffffffff812311f6>] sysfs_remove_group+0xc6/0xd0
[ 8603.304822] [<ffffffff81490b03>] dpm_sysfs_remove+0x43/0x50
[ 8603.304827] [<ffffffff81486535>] device_del+0x45/0x1c0
[ 8603.304830] [<ffffffff814866ce>] device_unregister+0x1e/0x60
[ 8603.304834] [<ffffffff8148678c>] device_destroy+0x3c/0x50
[ 8603.304843] [<ffffffffa00698e7>] drop_ref.part.2+0x57/0x70 [hid]
[ 8603.304851] [<ffffffffa006a231>] hidraw_release+0xa1/0xc0 [hid]
[ 8603.304855] [<ffffffff811ba434>] __fput+0xe4/0x260
[ 8603.304859] [<ffffffff811ba5fe>] ____fput+0xe/0x10
[ 8603.304865] [<ffffffff81086c97>] task_work_run+0xa7/0xe0
[ 8603.304871] [<ffffffff81013df7>] do_notify_resume+0x97/0xb0
[ 8603.304875] [<ffffffff81721d2a>] int_signal+0x12/0x17

Changed in pulseaudio (Ubuntu):
status: New → Incomplete
Revision history for this message
Thomas Novin (thomasn80) wrote :

I usually manually turn off the monitor/TV after I put the computer to suspend. Or if I don't do it manually, it will turn off automatically after a while. Exactly what state it's in, I have no idea.

From maybe 20 suspends I have seen this issue twice.

Changed in pulseaudio (Ubuntu):
status: Incomplete → New
Revision history for this message
Raymond (superquad-vortex2) wrote :

https://wiki.ubuntu.com/PulseAudio/Log

you need to provide pulseaudio log to find out why it switch from hdmi t spdif

Changed in pulseaudio (Ubuntu):
status: New → Incomplete
Revision history for this message
Thomas Novin (thomasn80) wrote :

I followed the guide and could see in the log that analog was selected. Switched back to HDMI before killing pulseaudio. I'm not sure on which output was used before I killed pulseaudio the first time though and I'm not sure if that matters?

I have never selected anything else than HDMI manually though.

Revision history for this message
Thomas Novin (thomasn80) wrote :

Changing back to new.. and can also add that it still happens even after the wave of updates that has been coming since my original report. Fully up-to-date as of right now and after the reboot, the audio was at analog instead of HDMI.

Changed in pulseaudio (Ubuntu):
status: Incomplete → New
Revision history for this message
Raymond (superquad-vortex2) wrote :
Download full text (5.4 KiB)

( 1.067| 0.000) I: [pulseaudio] main.c: Daemon startup complete.
( 1.067| 0.000) D: [pulseaudio] bluetooth-util.c: dbus: interface=org.freedesktop.DBus, path=/org/freedesktop/DBus, member=NameAcquired
( 1.067| 0.000) D: [pulseaudio] module-device-restore.c: Database contains invalid data for key: sink:alsa_output.pci-0000_01_00.1.hdmi-stereo-extra1 (probably pre-v1.0 data)
( 1.067| 0.000) D: [pulseaudio] module-device-restore.c: Attempting to load legacy (pre-v1.0) data for key: sink:alsa_output.pci-0000_01_00.1.hdmi-stereo-extra1
( 1.067| 0.000) D: [pulseaudio] module-device-restore.c: Size does not match.
( 1.067| 0.000) D: [pulseaudio] module-device-restore.c: Unable to load legacy (pre-v1.0) data for key: sink:alsa_output.pci-0000_01_00.1.hdmi-stereo-extra1. Ignoring.
( 1.067| 0.000) D: [pulseaudio] module-device-restore.c: Database contains invalid data for key: sink:alsa_output.pci-0000_01_00.1.hdmi-stereo-extra1:null
( 1.067| 0.000) I: [pulseaudio] module-device-restore.c: Storing port for device sink:alsa_output.pci-0000_01_00.1.hdmi-stereo-extra1.
( 1.067| 0.000) I: [pulseaudio] module-device-restore.c: Storing volume/mute for device+port sink:alsa_output.pci-0000_01_00.1.hdmi-stereo-extra1:hdmi-output-1.
( 1.067| 0.000) D: [pulseaudio] module-device-restore.c: Database contains invalid data for key: source:alsa_output.pci-0000_01_00.1.hdmi-stereo-extra1.monitor (probably pre-v1.0 data)
( 1.067| 0.000) D: [pulseaudio] module-device-restore.c: Attempting to load legacy (pre-v1.0) data for key: source:alsa_output.pci-0000_01_00.1.hdmi-stereo-extra1.monitor
( 1.067| 0.000) D: [pulseaudio] module-device-restore.c: Size does not match.
( 1.067| 0.000) D: [pulseaudio] module-device-restore.c: Unable to load legacy (pre-v1.0) data for key: source:alsa_output.pci-0000_01_00.1.hdmi-stereo-extra1.monitor. Ignoring.
( 1.067| 0.000) D: [pulseaudio] module-device-restore.c: Database contains invalid data for key: source:alsa_output.pci-0000_01_00.1.hdmi-stereo-extra1.monitor:null
( 1.067| 0.000) I: [pulseaudio] module-device-restore.c: Storing port for device source:alsa_output.pci-0000_01_00.1.hdmi-stereo-extra1.monitor.
( 1.067| 0.000) I: [pulseaudio] module-device-restore.c: Storing volume/mute for device+port source:alsa_output.pci-0000_01_00.1.hdmi-stereo-extra1.monitor:null.
( 1.067| 0.000) D: [pulseaudio] module-device-restore.c: Database contains invalid data for key: sink:alsa_output.pci-0000_00_1b.0.analog-stereo (probably pre-v1.0 data)
( 1.067| 0.000) D: [pulseaudio] module-device-restore.c: Attempting to load legacy (pre-v1.0) data for key: sink:alsa_output.pci-0000_00_1b.0.analog-stereo
( 1.067| 0.000) D: [pulseaudio] module-device-restore.c: Size does not match.
( 1.067| 0.000) D: [pulseaudio] module-device-restore.c: Unable to load legacy (pre-v1.0) data for key: sink:alsa_output.pci-0000_00_1b.0.analog-stereo. Ignoring.
( 1.067| 0.000) D: [pulseaudio] module-device-restore.c: Database contains invalid data for key: sink:alsa_output.pci-0000_00_1b.0.analog-stereo:null
( 1.067| 0.000) I: [pulseaudio] module-device-restore.c: Storing port for dev...

Read more...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.