ca0132 audio in Ubuntu 19.04 only after Windows 10 started

Bug #1833470 reported by Alan GIvati
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Motherboard: Gigabyte GA-Z170X-Gaming GT (rev. 1.0)
Description: Ubuntu 19.04
Release: 19.04

Expected behavior: Audio playback via headphones
Actual behavior: No audio playback heard

If I start Ubuntu 19.04 directly after booting my PC, there is no sound from the front or rear outputs. Everything seems configured correctly in Alsamixer, etc.
If I boot into Windows 10, then restart and enter Ubuntu, the sound works as expected.
I suspect something is being set properly by the Windows driver that is missed in the native Linux driver. The fact that it survives a (soft) reboot is interesting.

I know this is at the ALSA level or below, because if I stop pulseaudio, `aplay music.wav` produces no output before starting Windows, and works after starting Windows.

output of `lspci | grep -i audio`
00:1f.3 Audio device: Intel Corporation 100 Series/C230 Series Chipset Family HD Audio Controller (rev 31)
02:00.1 Audio device: NVIDIA Corporation GP104 High Definition Audio Controller (rev a1)

output of `aplay -lL`
default
    Playback/recording through the PulseAudio sound server
null
    Discard all samples (playback) or generate zero samples (capture)
jack
    JACK Audio Connection Kit
pulse
    PulseAudio Sound Server
sysdefault:CARD=PCH
    HDA Intel PCH, CA0132 Analog
    Default Audio Device
front:CARD=PCH,DEV=0
    HDA Intel PCH, CA0132 Analog
    Front speakers
surround21:CARD=PCH,DEV=0
    HDA Intel PCH, CA0132 Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
    HDA Intel PCH, CA0132 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
    HDA Intel PCH, CA0132 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
    HDA Intel PCH, CA0132 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
    HDA Intel PCH, CA0132 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
    HDA Intel PCH, CA0132 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=PCH,DEV=0
    HDA Intel PCH, CA0132 Digital
    IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=PCH,DEV=0
    HDA Intel PCH, CA0132 Analog
    Direct sample mixing device
dmix:CARD=PCH,DEV=1
    HDA Intel PCH, CA0132 Digital
    Direct sample mixing device
dsnoop:CARD=PCH,DEV=0
    HDA Intel PCH, CA0132 Analog
    Direct sample snooping device
dsnoop:CARD=PCH,DEV=1
    HDA Intel PCH, CA0132 Digital
    Direct sample snooping device
hw:CARD=PCH,DEV=0
    HDA Intel PCH, CA0132 Analog
    Direct hardware device without any conversions
hw:CARD=PCH,DEV=1
    HDA Intel PCH, CA0132 Digital
    Direct hardware device without any conversions
plughw:CARD=PCH,DEV=0
    HDA Intel PCH, CA0132 Analog
    Hardware device with all software conversions
plughw:CARD=PCH,DEV=1
    HDA Intel PCH, CA0132 Digital
    Hardware device with all software conversions
usbstream:CARD=PCH
    HDA Intel PCH
    USB Stream Output
hdmi:CARD=NVidia,DEV=0
    HDA NVidia, HDMI 0
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=1
    HDA NVidia, HDMI 1
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=2
    HDA NVidia, HDMI 2
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 3
    HDMI Audio Output
dmix:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 0
    Direct sample mixing device
dmix:CARD=NVidia,DEV=7
    HDA NVidia, HDMI 1
    Direct sample mixing device
dmix:CARD=NVidia,DEV=8
    HDA NVidia, HDMI 2
    Direct sample mixing device
dmix:CARD=NVidia,DEV=9
    HDA NVidia, HDMI 3
    Direct sample mixing device
dsnoop:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 0
    Direct sample snooping device
dsnoop:CARD=NVidia,DEV=7
    HDA NVidia, HDMI 1
    Direct sample snooping device
dsnoop:CARD=NVidia,DEV=8
    HDA NVidia, HDMI 2
    Direct sample snooping device
dsnoop:CARD=NVidia,DEV=9
    HDA NVidia, HDMI 3
    Direct sample snooping device
hw:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 0
    Direct hardware device without any conversions
hw:CARD=NVidia,DEV=7
    HDA NVidia, HDMI 1
    Direct hardware device without any conversions
hw:CARD=NVidia,DEV=8
    HDA NVidia, HDMI 2
    Direct hardware device without any conversions
hw:CARD=NVidia,DEV=9
    HDA NVidia, HDMI 3
    Direct hardware device without any conversions
plughw:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 0
    Hardware device with all software conversions
plughw:CARD=NVidia,DEV=7
    HDA NVidia, HDMI 1
    Hardware device with all software conversions
plughw:CARD=NVidia,DEV=8
    HDA NVidia, HDMI 2
    Hardware device with all software conversions
plughw:CARD=NVidia,DEV=9
    HDA NVidia, HDMI 3
    Hardware device with all software conversions
usbstream:CARD=NVidia
    HDA NVidia
    USB Stream Output
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: CA0132 Analog [CA0132 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: CA0132 Digital [CA0132 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

output of `apt list | grep alsa` with i386 and other unrelated packages removed
alsa-base/disco,disco,now 1.0.25+dfsg-0ubuntu5 all [installed,automatic]
alsa-firmware-loaders/disco 1.1.7-1 amd64
alsa-oss/disco 1.1.8-1 amd64
alsa-source/disco,disco 1.0.25+dfsg-0ubuntu5 all
alsa-tools-gui/disco,now 1.1.7-1 amd64 [installed]
alsa-tools/disco 1.1.7-1 amd64
alsa-utils/disco,now 1.1.8-1ubuntu1 amd64 [installed,automatic]
alsamixergui/disco 0.9.0rc2-1-10 amd64
alsaplayer-alsa/disco 0.99.81-2 amd64
alsaplayer-common/disco 0.99.81-2 amd64
alsaplayer-daemon/disco 0.99.81-2 amd64
alsaplayer-gtk/disco 0.99.81-2 amd64
alsaplayer-jack/disco 0.99.81-2 amd64
alsaplayer-nas/disco 0.99.81-2 amd64
alsaplayer-oss/disco 0.99.81-2 amd64
alsaplayer-text/disco 0.99.81-2 amd64
alsaplayer-xosd/disco 0.99.81-2 amd64
cairo-dock-alsamixer-plug-in/disco 3.4.1-4build1 amd64
gstreamer1.0-alsa/disco,now 1.15.90-1 amd64 [installed,automatic]
libalsa-ocaml-dev/disco 0.2.3-1ubuntu2 amd64
libalsa-ocaml/disco 0.2.3-1ubuntu2 amd64
libalsaplayer-dev/disco 0.99.81-2 amd64
libalsaplayer0/disco 0.99.81-2 amd64
libclalsadrv-dev/disco,disco 2.0.0-3 all
libclalsadrv2/disco 2.0.0-3 amd64
libdssialsacompat-dev/disco 1.0.8a-1 amd64
libdssialsacompat0/disco 1.0.8a-1 amd64
libghc-alsa-core-dev/disco 0.5.0.1-5 amd64
libghc-alsa-core-doc/disco,disco 0.5.0.1-5 all
libghc-alsa-core-prof/disco 0.5.0.1-5 amd64
libghc-alsa-mixer-dev/disco 0.2.0.3-3 amd64
libghc-alsa-mixer-doc/disco,disco 0.2.0.3-3 all
libghc-alsa-mixer-prof/disco 0.2.0.3-3 amd64
libomxil-bellagio0-components-alsa/disco 0.1-2 amd64
liboss4-salsa-asound2/disco 4.2-build2010-5ubuntu3 amd64
liboss4-salsa2/disco 4.2-build2010-5ubuntu3 amd64
libsnack-alsa/disco 2.2.10.20090623-dfsg-8 amd64
libsox-fmt-alsa/disco 14.4.2-3 amd64
libzita-alsa-pcmi-dev/disco 0.2.0-4ubuntu2 amd64
libzita-alsa-pcmi0/disco 0.2.0-4ubuntu2 amd64
mkchromecast-alsa/disco,disco 0.3.8.1-1 all
mopidy-alsamixer/disco,disco 1.1.1-1 all
osspd-alsa/disco 1.3.2-11 amd64
python-alsaaudio/disco 0.8.4-1 amd64
python-pyalsa/disco 1.1.6-1build2 amd64
python3-alsaaudio/disco 0.8.4-1 amd64
python3-pyalsa/disco 1.1.6-1build2 amd64
volumeicon-alsa/disco 0.5.1+git20170117-1 amd64
xmms2-plugin-alsa/disco 0.8+dfsg-18.2 amd64
zita-alsa-pcmi-utils/disco 0.2.0-4ubuntu2 amd64
---
ProblemType: Bug
ApportVersion: 2.20.10-0ubuntu27
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: alan 2862 F.... pulseaudio
 /dev/snd/pcmC0D0p: alan 2862 F...m pulseaudio
 /dev/snd/controlC1: alan 2862 F.... pulseaudio
CurrentDesktop: ubuntu:GNOME
DistroRelease: Ubuntu 19.04
InstallationDate: Installed on 2019-04-27 (55 days ago)
InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Release amd64 (20190416)
MachineType: Gigabyte Technology Co., Ltd. Z170X-Gaming GT
NonfreeKernelModules: nvidia_modeset nvidia
Package: linux (not installed)
ProcFB: 0 EFI VGA
ProcKernelCmdLine: \\boot\vmlinuz-5.0.0-16-generic root=UUID=9eae875c-0dca-43d7-9eae-fa4f52d49895 ro splash vt.handoff=1 initrd=boot\initrd.img-5.0.0-16-generic
ProcVersionSignature: Ubuntu 5.0.0-16.17-generic 5.0.8
RelatedPackageVersions:
 linux-restricted-modules-5.0.0-16-generic N/A
 linux-backports-modules-5.0.0-16-generic N/A
 linux-firmware 1.178.1
Tags: disco
Uname: Linux 5.0.0-16-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm audio cdrom dialout dip libvirt lpadmin plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 03/09/2018
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: F22f
dmi.board.asset.tag: Default string
dmi.board.name: Z170X-Gaming GT
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.board.version: x.x
dmi.chassis.asset.tag: Default string
dmi.chassis.type: 3
dmi.chassis.vendor: Default string
dmi.chassis.version: Default string
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrF22f:bd03/09/2018:svnGigabyteTechnologyCo.,Ltd.:pnZ170X-GamingGT:pvrDefaultstring:rvnGigabyteTechnologyCo.,Ltd.:rnZ170X-GamingGT:rvrx.x:cvnDefaultstring:ct3:cvrDefaultstring:
dmi.product.family: Default string
dmi.product.name: Z170X-Gaming GT
dmi.product.sku: Default string
dmi.product.version: Default string
dmi.sys.vendor: Gigabyte Technology Co., Ltd.

affects: alsa-driver (Ubuntu) → linux (Ubuntu)
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1833470

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
tags: added: disco
Revision history for this message
Alan GIvati (alangiv) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
Alan GIvati (alangiv) wrote : CRDA.txt

apport information

Revision history for this message
Alan GIvati (alangiv) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Alan GIvati (alangiv) wrote : IwConfig.txt

apport information

Revision history for this message
Alan GIvati (alangiv) wrote : Lspci.txt

apport information

Revision history for this message
Alan GIvati (alangiv) wrote : Lsusb.txt

apport information

Revision history for this message
Alan GIvati (alangiv) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Alan GIvati (alangiv) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Alan GIvati (alangiv) wrote : ProcEnviron.txt

apport information

Revision history for this message
Alan GIvati (alangiv) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Alan GIvati (alangiv) wrote : ProcModules.txt

apport information

Revision history for this message
Alan GIvati (alangiv) wrote : PulseList.txt

apport information

Revision history for this message
Alan GIvati (alangiv) wrote : RfKill.txt

apport information

Revision history for this message
Alan GIvati (alangiv) wrote : UdevDb.txt

apport information

Revision history for this message
Alan GIvati (alangiv) wrote : WifiSyslog.txt

apport information

Revision history for this message
Alan GIvati (alangiv) wrote :

I deleted the WifiSyslog attachment. That info really should not be public - maybe sanitized, but not as-is. ESSIDs etc are not needed to solve a bug like this.

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

Probably because of this:
[ 3.768667] snd_hda_intel 0000:00:1f.3: Direct firmware load for ctefx-r3di.bin failed with error -2

I've raised the issue to the developer, stay tuned.

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :
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.