No sound after rebooting from Windows (ALC1150)

Bug #1357723 reported by Laca
66
This bug affects 12 people
Affects Status Importance Assigned to Milestone
Linux
Unknown
Unknown
linux (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

I get no sound from line-out (green) plug after rebooting from Windos.
I found out, that sound channels are just swapped, so the line-out is now assigned to the "black" jack.
If i stop the machine, and do a cold-boot right into GNU/Linux, then it is "green" again.
I couldn't reorder it with hda-jack-retask either.

I found at least one person affected by this problem:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1321421/comments/35

MOBO: Gigabyte GA-H97-D3H
codec: ALC1150 (HDA-intel)
sys: Ubuntu-14.04 / Linux-mint 17 default installs
kernel: Ubuntu 3.13.0-34.60-generic (64 bit)

dmesg: (no difference on cold boot, and reboot from windows)

[ 3.813038] snd_hda_intel 0000:00:1b.0: irq 48 for MSI/MSI-X
[ 3.828489] hda_codec: ALC1150: SKU not ready 0x00000000
[ 3.828906] autoconfig: line_outs=4 (0x14/0x15/0x16/0x17/0x0) type:line
[ 3.828907] speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[ 3.828907] hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
[ 3.828908] mono: mono_out=0x0
[ 3.828908] dig-out=0x11/0x0
[ 3.828909] inputs:
[ 3.828910] Front Mic=0x19
[ 3.828911] Rear Mic=0x18
[ 3.828911] Line=0x1a
[ 3.828912] realtek: No valid SSID, checking pincfg 0x00000000 for NID 0x1d
[ 3.828912] realtek: Enable default setup for auto mode as fallback
[ 3.842157] input: HDA Intel PCH Front Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input16
[ 3.842238] input: HDA Intel PCH Line Out Side as /devices/pci0000:00/0000:00:1b.0/sound/card0/input15
[ 3.842268] input: HDA Intel PCH Line Out CLFE as /devices/pci0000:00/0000:00:1b.0/sound/card0/input14
[ 3.842415] input: HDA Intel PCH Line Out Surround as /devices/pci0000:00/0000:00:1b.0/sound/card0/input13
[ 3.843987] input: HDA Intel PCH Line Out Front as /devices/pci0000:00/0000:00:1b.0/sound/card0/input12
[ 3.845304] input: HDA Intel PCH Line as /devices/pci0000:00/0000:00:1b.0/sound/card0/input11
[ 3.846477] input: HDA Intel PCH Rear Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input10
[ 3.846592] input: HDA Intel PCH Front Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input9
---
ApportVersion: 2.14.1-0ubuntu3.3
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: laca 1827 F.... pulseaudio
 /dev/snd/controlC0: laca 1827 F.... pulseaudio
 /dev/snd/pcmC0D0p: laca 1827 F...m pulseaudio
DistroRelease: Ubuntu 14.04
IwConfig:
 eth0 no wireless extensions.

 lo no wireless extensions.
MachineType: Gigabyte Technology Co., Ltd. H97-D3H
NonfreeKernelModules: fglrx
Package: linux (not installed)
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=hu_HU.UTF-8
 SHELL=/bin/bash
ProcFB:

ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-34-generic root=UUID=23864803-a370-4772-b8cb-77f2f9bf3e2d ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 3.13.0-34.60-generic 3.13.11.4
RelatedPackageVersions:
 linux-restricted-modules-3.13.0-34-generic N/A
 linux-backports-modules-3.13.0-34-generic N/A
 linux-firmware 1.127.4
RfKill:

Tags: qiana
Uname: Linux 3.13.0-34-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo wireshark
_MarkForUpload: True
dmi.bios.date: 06/26/2014
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: F5
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: H97-D3H-CF
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.board.version: x.x
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrF5:bd06/26/2014:svnGigabyteTechnologyCo.,Ltd.:pnH97-D3H:pvrTobefilledbyO.E.M.:rvnGigabyteTechnologyCo.,Ltd.:rnH97-D3H-CF:rvrx.x:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvrToBeFilledByO.E.M.:
dmi.product.name: H97-D3H
dmi.product.version: To be filled by O.E.M.
dmi.sys.vendor: Gigabyte Technology Co., Ltd.

Revision history for this message
Laca (lacirta3) wrote :
Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1357723

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
Revision history for this message
Laca (lacirta3) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected qiana
description: updated
Revision history for this message
Laca (lacirta3) wrote : BootDmesg.txt

apport information

Revision history for this message
Laca (lacirta3) wrote : CRDA.txt

apport information

Revision history for this message
Laca (lacirta3) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Laca (lacirta3) wrote : Lspci.txt

apport information

Revision history for this message
Laca (lacirta3) wrote : Lsusb.txt

apport information

Revision history for this message
Laca (lacirta3) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Laca (lacirta3) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Laca (lacirta3) wrote : ProcModules.txt

apport information

Revision history for this message
Laca (lacirta3) wrote : PulseList.txt

apport information

Revision history for this message
Laca (lacirta3) wrote : UdevDb.txt

apport information

Revision history for this message
Laca (lacirta3) wrote : UdevLog.txt

apport information

Revision history for this message
Laca (lacirta3) wrote : WifiSyslog.txt

apport information

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v3.17 kernel[0].

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream'.
Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.17-rc1-utopic/

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Incomplete
Revision history for this message
Laca (lacirta3) wrote :

I installed the latest kernel (v.3.17-rc1-utopic).
Bugs still present; no sound after rebooting from windos.

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
description: updated
tags: added: kernel-bug-exists-upstream
Revision history for this message
ozone (alex80k1) wrote :

I have this bug , very annoying .
the only way to get sound to work is unplug power cord from PC for ~20 seconds and restart Ubuntu 14.04.
After entering Windows sound in Ubuntu distorted again.

(motherboard GA-Z97X-SLI , dual boot Windows 8.1 and Ubuntu 14.04 gnome)

Revision history for this message
Meklon (meklon) wrote :

I confirm. Very strange bug. I've opened the issue then found your description. What should I do?
https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1388436

Revision history for this message
Meklon (meklon) wrote :
Download full text (15.9 KiB)

Bug description: No sound in Linux after rebooting from Windows 7 Pro. Sound in Windows works normally.
Affected OS: confirmed on Ubuntu 14.04, 14.10, kernels up to 3.17
Affected hardware: Gigabyte GA-Z97-D3H motherboard. Possibly all the motherboards with Realtek ALC1150 sound.
Desired result: normal sound in Linux after rebooting from Windows
Conditions of bug:
At least Windows 7 must be installed. After rebooting/shutdown from Windows sound in any Linux distribution would fail. This also affects Live-CD images. After physical detachment from power source the sound works in Linux till the first startup of Windows.
Possible reasons: Windows do the wrong initialization of hardware, which is stored by controller after reboot. DMI-function also affects the bug: after enabling/disabling it in BIOS menu the sound appears till firs Windows startup.
Additional data:
lspci -vvv:
00:1b.0 Audio device: Intel Corporation 9 Series Chipset Family HD Audio Controller
        Subsystem: Gigabyte Technology Co., Ltd Device a182
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 49
        Region 0: Memory at f7f30000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: snd_hda_intel
HEX-dump of PCI-E registry from Linux and Windows, using the lspci utility.
Windows:
C:\Users\Meklon\Downloads\pciutils-3.2.1>lspci.exe -xxxx -d 8086:8ca0
00:1b.0 Audio device: Intel Corporation Device 8ca0
00: 86 80 a0 8c 06 00 10 00 00 00 03 04 10 00 00 00
10: 04 00 f3 f7 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 58 14 82 a1
30: 00 00 00 00 50 00 00 00 00 00 00 00 16 01 00 00
40: 03 00 00 17 00 00 00 00 00 00 00 00 00 80 00 00
50: 01 60 42 c8 00 00 00 00 00 00 00 00 00 00 00 00
60: 05 70 80 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 10 00 91 00 00 00 00 10 00 00 10 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 04 02 01 00 60 00 00 00 0c 85 82 10 00 33 02
d0: 00 0c 85 02 10 00 33 02 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 b1 0f 00 08 00 00 00 00
Linux (identical in working and broken status):
sudo lspci -xxxx -d 8086:8ca0
00:1b.0 Audio device: Intel Corporation 9 Series Chipset Family HD Audio Controller
00: 86 80 a0 8c 06 04 10 00 00 00 03 04 10 00 00 00
10: 04 00 f3 f7 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 58 14 82 a1
30: 00 00 00 00 50 00 00 00 00 00 00 00 0a 01 00 00
40: 03 00 00 17 00 00 00 00 00 00 00 00 00 80 00 00
50: 01 60 42 c8 00 00 00 00 00 00 00 00 00 00 00 00
60: 05 70 81 00 f8 03 e0 fe 00 00 00 00 00 00 00 00
70: 10 00 91 00 00 00 00 10 00 00 10 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 0...

Revision history for this message
Meklon (meklon) wrote :

I've reported the bug at kernel bugtracker. The fix would be included in 3.18-rc5. You can also use workaround like this:
apt-get install alsa-tools
root@meklon-desktop:/home/meklon# hda-verb /dev/snd/hwC0D2 0x20 SET_COEF_INDEX 0x07
nid = 0x20, verb = 0x500, param = 0x7
value = 0x0
root@meklon-desktop:/home/meklon# hda-verb /dev/snd/hwC0D2 0x20 SET_PROC_COEF 0x7cb0
nid = 0x20, verb = 0x400, param = 0x7cb0
value = 0x0

More information at https://bugzilla.kernel.org/show_bug.cgi?id=87771

Please change the bug status to fixed or mark it in any way.

Laca (lacirta3)
Changed in linux (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
ozone (alex80k1) wrote :

Kernel 3.18 has fixed this bug.

Revision history for this message
jspike397 (jspike397) wrote :

sorry, i apparently do not know what i'm doing.

Fixed on 3.18

no longer affects: linux (Debian)
information type: Public → Public Security
information type: Public Security → Private Security
information type: Private Security → Public
Po-Hsu Lin (cypressyew)
Changed in linux (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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