Bug 205863 - Sometimes no sound at cold boot using Sound Blaster Recon3D / Z-Series
Summary: Sometimes no sound at cold boot using Sound Blaster Recon3D / Z-Series
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: Sound(ALSA) (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Jaroslav Kysela
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-15 14:59 UTC by nvaert1986
Modified: 2020-01-14 17:55 UTC (History)
0 users

See Also:
Kernel Version: 5.4.8
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description nvaert1986 2019-12-15 14:59:28 UTC
For some odd reason sometimes I don't have sound at all when performing a cold boot. Rebooting does not resolve the issue, only shutting down the system completely, waiting a few seconds and booting it up again resolves the issue. This happens roughly 1 out of 4 to 1 out of 5 boots.

Things I've tried:
- Checked whether everything in alsamixer was unmuted
- Upgrading firmware of the motherboard (to exclude any possible related issues)
- Testing the soundcard in Microsoft Windows 10 system for over a week (the issue didn't occur a single time; to exclude some sort of hardware failure). This soundcard was also in this system on Microsoft Windows 10 for over a year and always worked
- I've tried both the speaker output and headphone jack (connected using a HDA connector) and both do not output any sound
- I've tried various kernel versions and the problem persists. 
- Whenever I plug-in my AudioQuest DragonFly Red and plug in my headphone into it, sound starts playing immediately
- I've used the alsa speaker-test utility to exclude potentional problems caused by pulseaudio
- I'm loading the correct firmware from the tree
- The device always gets detected when booting and always loads the driver
- The dmesg output is the same in both instances
- Using rmmod -f snd-hda-intel or the like and running modprobe after does not resolve the issue.

There's just basically no way to get the sound up and running, until another cold boot has been performed.

lspci -kv output:

23:00.0 Audio device: Creative Labs Sound Core3D [Sound Blaster Recon3D / Z-Series] (rev 01)
        Subsystem: Creative Labs Sound Core3D [Sound Blaster Recon3D / Z-Series]
        Flags: bus master, fast devsel, latency 0, IRQ 32
        Memory at f7504000 (64-bit, non-prefetchable) [size=16K]
        Memory at f7500000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [40] Power Management version 3
        Capabilities: [50] MSI: Enable- Count=1/1 Maskable+ 64bit+
        Capabilities: [70] Express Endpoint, MSI 00
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [140] Virtual Channel
        Capabilities: [170] Device Serial Number 00-00-00-00-00-00-00-00
        Capabilities: [180] Power Budgeting <?>
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel


Some dmesg snippets regarding snd_hda_intel

[    3.155450] snd_hda_intel 0000:23:00.0: enabling device (0000 -> 0002)
[    3.155490] snd_hda_intel 0000:23:00.0: Disabling MSI
[    3.155491] snd_hda_intel 0000:23:00.0: Force to non-snoop mode
[    3.155548] snd_hda_intel 0000:26:00.1: enabling device (0000 -> 0002)
[    3.155582] snd_hda_intel 0000:26:00.1: Disabling MSI

[    3.165769] snd_hda_codec_ca0132 hdaudioC0D1: autoconfig for Recon3D: line_outs=3 (0xb/0x11/0x10/0x0/0x0) type:line
[    3.165771] snd_hda_codec_ca0132 hdaudioC0D1:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    3.165772] snd_hda_codec_ca0132 hdaudioC0D1:    hp_outs=1 (0xf/0x0/0x0/0x0/0x0)
[    3.165772] snd_hda_codec_ca0132 hdaudioC0D1:    mono: mono_out=0x0
[    3.165773] snd_hda_codec_ca0132 hdaudioC0D1:    dig-out=0xc/0xd
[    3.165773] snd_hda_codec_ca0132 hdaudioC0D1:    inputs:
[    3.165774] snd_hda_codec_ca0132 hdaudioC0D1:      Mic=0x12
[    3.165775] snd_hda_codec_ca0132 hdaudioC0D1:      Line=0x13
[    3.165776] snd_hda_codec_ca0132 hdaudioC0D1:    dig-in=0xe


[    4.682453] snd_hda_codec_ca0132 hdaudioC0D1: ca0132 DSP downloaded and running
[    5.156329] input: HDA Creative Mic as /devices/pci0000:00/0000:00:01.3/0000:03:00.2/0000:20:02.0/0000:23:00.0/sound/card0/input25
[    5.156382] input: HDA Creative Line Out Surround as /devices/pci0000:00/0000:00:01.3/0000:03:00.2/0000:20:02.0/0000:23:00.0/sound/card0/input26
[    5.156427] input: HDA Creative Line Out CLFE as /devices/pci0000:00/0000:00:01.3/0000:03:00.2/0000:20:02.0/0000:23:00.0/sound/card0/input27
[    5.156474] input: HDA Creative Front Headphone as /devices/pci0000:00/0000:00:01.3/0000:03:00.2/0000:20:02.0/0000:23:00.0/sound/card0/input28

If there's any more information and details you need, then please let me know.
Comment 1 nvaert1986 2020-01-10 15:38:53 UTC
Might have been fixed in 1 of the commits below since kernel 5.4.7 as I'm currently running kernel 5.4.8 and the issue hasn't occurred since a week. Still keeping the bug open for monitoring.
- 	d14d3ad6ba2010d1c7bfdb6d26ac6ea0cdb5be4a
- 	6598721676c376fbdea5a1433ea31f791cf1f4f1
-       d14d3ad6ba2010d1c7bfdb6d26ac6ea0cdb5be4a
Comment 2 nvaert1986 2020-01-11 16:49:23 UTC
Unfortunately the issue occured again, so the issue is not resolved. It does seem to be less frequent though.
Comment 3 nvaert1986 2020-01-13 18:59:16 UTC
The issue occured again. This time I had to cold boot even twice to resolve the issue. I've tried to run speaker-test using the various output, but there's only silence.

Tried another USB media and it's working instantly again. Also verified my default sound card at boot and both times it was set to my Creative card.
Comment 4 nvaert1986 2020-01-14 17:55:35 UTC
Today the issue occured again. Today I also enabled my onboard Realtek HD Audio Card on the motherboard, to see if it's perhaps PCI-E related? But it's the same result. The Creative card doesn't provide any sound and the onboard sound works flawlessly aftee compiling realtek support into the HD Audio driver.

Note You need to log in before you can comment on or make changes to this bug.