No sound after first boot, working normal after reboot

Hi,

I have fully updated Manjaro with kernel 5.13.19-2 and maybe two weeks ago I noticed that on cold start I have no sound. The soundcard I use is Soundblaster Audigy.
After next reboot the sound works normal.
This is output of inxi -Fxxxza --no-host:

Device-1: Intel 100 Series/C230 Series Family HD Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel
           bus-ID: 00:1f.3 chip-ID: 8086:a170 class-ID: 0403
           Device-2: NVIDIA GP104 High Definition Audio vendor: Gigabyte driver: snd_hda_intel v: kernel bus-ID: 01:00.1
           chip-ID: 10de:10f0 class-ID: 0403
           Device-3: Creative Labs CA0108/CA10300 [Sound Blaster Audigy Series] driver: N/A alternate: snd_emu10k1
           bus-ID: 04:00.0 chip-ID: 1102:0008 class-ID: 0401
           Device-4: C-Media USB Audio Device type: USB driver: hid-generic,snd-usb-audio,usbhid bus-ID: 1-6.1.4:13
           chip-ID: 0d8c:0012 class-ID: 0300
           Sound Server-1: ALSA v: k5.13.19-2-MANJARO running: yes
           Sound Server-2: JACK v: 1.9.19 running: no
           Sound Server-3: PulseAudio v: 15.0 running: yes
           Sound Server-4: PipeWire v: 0.3.38 running: yes

I can see that there is no driver, but I’m unable to find out why and why only on first boot.
I first noticed this problem on kernel 5.14.10-1 and went back to 5.13, but it didn’t help.
What should I try next?

Thanks.

EDIT: After next boot the output is this:

 Device-3: Creative Labs CA0108/CA10300 [Sound Blaster Audigy Series] driver: snd_emu10k1 v: kernel bus-ID: 04:00.0
           chip-ID: 1102:0008 class-ID: 0401


Most likely it’s a hardware issue, i.e. the adapter is not found during a cold boot because it needs longer to get initialized. This may happen if the adapter ─ or another subsystem ─ is drawing too much power.

After a warm boot however, the power is already evenly distributed across the different power lines, and so the kernel will find the device and load a driver for it.

Thanks for response.
I’d agree with you if this behaviour would occur from the beginning.
But as I wrote, the installation has been working without a trouble for months and then it suddenly started misbehaving.

It could be a sign of a failing power supply then. :thinking:

Can you post some more hardware info ?
inxi -Fza

But no other problems detected, GeForce 1070 working fine.

I can, the whole output or is sound related enough?

           Device-1: Intel 100 Series/C230 Series Family HD Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel
           bus-ID: 00:1f.3 chip-ID: 8086:a170 class-ID: 0403
           Device-2: NVIDIA GP104 High Definition Audio vendor: Gigabyte driver: snd_hda_intel v: kernel bus-ID: 01:00.1
           chip-ID: 10de:10f0 class-ID: 0403
           Device-3: Creative Labs CA0108/CA10300 [Sound Blaster Audigy Series] driver: snd_emu10k1 v: kernel bus-ID: 04:00.0
           chip-ID: 1102:0008 class-ID: 0401
           Device-4: C-Media USB Audio Device type: USB driver: hid-generic,snd-usb-audio,usbhid bus-ID: 1-6.1.4:13
           chip-ID: 0d8c:0012 class-ID: 0300
           Sound Server-1: ALSA v: k5.13.19-2-MANJARO running: yes
           Sound Server-2: JACK v: 1.9.19 running: no
           Sound Server-3: PulseAudio v: 15.0 running: yes
           Sound Server-4: PipeWire v: 0.3.38 running: yes

That kernel is EOL you shoudld switch to an LTS one or latest stable 5.14.
Do you see the same behaviour when booting other kernels?

1 Like

Yes, the same behaviour with 5.14.10-1
I thought that latest LTS kernel is 5.10.70-1, atleast that is what my system is telling me :slight_smile:
Maybe I should try that one.

1 Like

The complete output.

1 Like

Thanks for your time, here you go:

System:    Kernel: 5.14.10-1-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0
           parameters: BOOT_IMAGE=/@/boot/vmlinuz-5.14-x86_64 root=UUID=fc1bddb2-b4f3-4e72-962d-e4bf086e35cd rw
           rootflags=subvol=@ quiet apparmor=1 security=apparmor resume=UUID=31917a26-25ad-4836-94f0-e74aa895f8c0
           udev.log_priority=3
           Desktop: KDE Plasma 5.22.5 tk: Qt 5.15.2 wm: kwin_x11 vt: 1 dm: SDDM Distro: Manjaro Linux base: Arch Linux
Machine:   Type: Desktop Mobo: ASUSTeK model: Z170 PRO GAMING v: Rev X.0x serial: <filter> UEFI: American Megatrends v: 1904
           date: 07/05/2016
CPU:       Info: Quad Core model: Intel Core i5-6600K bits: 64 type: MCP arch: Skylake-S family: 6 model-id: 5E (94)
           stepping: 3 microcode: EA cache: L2: 6 MiB
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 28009
           Speed: 2577 MHz min/max: 800/3900 MHz Core speeds (MHz): 1: 2577 2: 2566 3: 2590 4: 2918
           Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled
           Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT disabled
           Type: mds mitigation: Clear CPU buffers; SMT disabled
           Type: meltdown mitigation: PTI
           Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl and seccomp
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
           Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional, IBRS_FW, STIBP: disabled, RSB filling
           Type: srbds mitigation: Microcode
           Type: tsx_async_abort mitigation: TSX disabled
Graphics:  Device-1: NVIDIA GP104 [GeForce GTX 1070] vendor: Gigabyte driver: nvidia v: 470.63.01
           alternate: nouveau,nvidia_drm bus-ID: 01:00.0 chip-ID: 10de:1b81 class-ID: 0300
           Device-2: HTC (High Tech ) Vive type: USB driver: uvcvideo bus-ID: 1-6.1.2:11 chip-ID: 0bb4:2c87 class-ID: 0e02
           Display: x11 server: X.Org 1.20.13 compositor: kwin_x11 driver: loaded: nvidia display-ID: :0 screens: 1
           Screen-1: 0 s-res: 7680x2160 s-dpi: 101 s-size: 1931x543mm (76.0x21.4") s-diag: 2006mm (79")
           Monitor-1: DVI-D-0 res: 1920x1080 hz: 60 dpi: 102 size: 480x268mm (18.9x10.6") diag: 550mm (21.6")
           Monitor-2: DP-0 res: 1920x1080 hz: 60 dpi: 102 size: 477x268mm (18.8x10.6") diag: 547mm (21.5")
           Monitor-3: DP-2 res: 3840x2160 hz: 60 dpi: 161 size: 607x345mm (23.9x13.6") diag: 698mm (27.5")
           OpenGL: renderer: NVIDIA GeForce GTX 1070/PCIe/SSE2 v: 4.6.0 NVIDIA 470.63.01 direct render: Yes
Audio:     Device-1: Intel 100 Series/C230 Series Family HD Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel
           bus-ID: 00:1f.3 chip-ID: 8086:a170 class-ID: 0403
           Device-2: NVIDIA GP104 High Definition Audio vendor: Gigabyte driver: snd_hda_intel v: kernel bus-ID: 01:00.1
           chip-ID: 10de:10f0 class-ID: 0403
           Device-3: Creative Labs CA0108/CA10300 [Sound Blaster Audigy Series] driver: snd_emu10k1 v: kernel bus-ID: 04:00.0
           chip-ID: 1102:0008 class-ID: 0401
           Device-4: C-Media USB Audio Device type: USB driver: hid-generic,snd-usb-audio,usbhid bus-ID: 1-6.1.4:13
           chip-ID: 0d8c:0012 class-ID: 0300
           Sound Server-1: ALSA v: k5.14.10-1-MANJARO running: yes
           Sound Server-2: JACK v: 1.9.19 running: no
           Sound Server-3: PulseAudio v: 15.0 running: yes
           Sound Server-4: PipeWire v: 0.3.38 running: yes
Network:   Device-1: Intel Ethernet I219-V vendor: ASUSTeK driver: e1000e v: kernel port: N/A bus-ID: 00:1f.6
           chip-ID: 8086:15b8 class-ID: 0200
           IF: enp0s31f6 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:    Local Storage: total: 15.88 TiB used: 5.99 TiB (37.7%)
           SMART Message: Unable to run smartctl. Root privileges required.
           ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Corsair model: Force MP510 size: 894.25 GiB block-size: physical: 512 B
           logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter> rev: ECFM22.5 temp: 29.9 C scheme: GPT
           ID-2: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 850 EVO 500GB size: 465.76 GiB block-size: physical: 512 B
           logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: 2B6Q scheme: MBR
           ID-3: /dev/sdb maj-min: 8:16 vendor: Seagate model: ST4000VN000-2AH166 size: 3.64 TiB block-size: physical: 4096 B
           logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 5980 serial: <filter> rev: SC60 scheme: GPT
           ID-4: /dev/sdc maj-min: 8:32 vendor: Toshiba model: MG06ACA800E size: 7.28 TiB block-size: physical: 4096 B
           logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 7200 serial: <filter> rev: 4304 scheme: GPT
           ID-5: /dev/sdd maj-min: 8:48 type: USB vendor: Western Digital model: WD My Passport 25E2 size: 3.64 TiB
           block-size: physical: 4096 B logical: 512 B type: N/A serial: <filter> rev: 4004 scheme: GPT
Partition: ID-1: / raw-size: 448.63 GiB size: 448.63 GiB (100.00%) used: 80.66 GiB (18.0%) fs: btrfs dev: /dev/sda1
           maj-min: 8:1
           ID-2: /home raw-size: 448.63 GiB size: 448.63 GiB (100.00%) used: 80.66 GiB (18.0%) fs: btrfs dev: /dev/sda1
           maj-min: 8:1
           ID-3: /var/log raw-size: 448.63 GiB size: 448.63 GiB (100.00%) used: 80.66 GiB (18.0%) fs: btrfs dev: /dev/sda1
           maj-min: 8:1
Swap:      Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
           ID-1: swap-1 type: partition size: 17.13 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/sda2 maj-min: 8:2
Sensors:   System Temperatures: cpu: 29.8 C mobo: 27.8 C gpu: nvidia temp: 43 C
           Fan Speeds (RPM): N/A gpu: nvidia fan: 21%
Info:      Processes: 357 Uptime: 3m wakeups: 0 Memory: 15.57 GiB used: 4.04 GiB (25.9%) Init: systemd v: 249 tool: systemctl
           Compilers: gcc: 11.1.0 Packages: 1757 pacman: 1731 lib: 421 flatpak: 11 snap: 15 Shell: Zsh v: 5.8 default: Bash
           v: 5.1.8 running-in: konsole inxi: 3.3.07

@flerken
Can you try to install kernel 5.10 ?

I can and I did.
Seems like this worked ok, but I had to restart from the boot menu before actual login (I selected wrong option) so it was not exactly the same situation.
Will investigate further.
Thanks for your suggestions.

Then this might be a hardware failure.

Today I booted right into 5.10 and all is ok, driver for sound card is loaded.
Why do you conclude it’s a hardware failure then?
Wouldn’t it be an indication of software failure, bug in newer kernel?
Anyway, thanks for your cooperation, I’ll stay on 5.10 for the time being.

1 Like

It can be a software or a hardware problem.

Software: kernel - driver for sound card not loaded
Hardware: mainboard - e.g.: PCIe not working correctly

The sound card itself can be defective.

As your problem is now solved please click the 3 dots below the answer to mark a solution like this below the answer that helped you most:
Solution
so that the next person that has the exact same problem you just had will benefit from your post as well as your question will now be in the “solved” status and people trying to help can save time looking at questions that were already solved.

Hi, the problem isn’t solved at all.

1 Like

And I believe it is a software problem, because the output of inxi -Fza shows, that driver isn’t loaded.
So here comes my next question:

How can I load driver for soundcard manually without reboot? Is it possible? Watch Device-3:

Audio:     Device-1: Intel 100 Series/C230 Series Family HD Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel
           bus-ID: 00:1f.3 chip-ID: 8086:a170 class-ID: 0403
           Device-2: NVIDIA GP104 High Definition Audio vendor: Gigabyte driver: snd_hda_intel v: kernel bus-ID: 01:00.1
           chip-ID: 10de:10f0 class-ID: 0403
           Device-3: Creative Labs CA0108/CA10300 [Sound Blaster Audigy Series] driver: N/A bus-ID: 04:00.0 chip-ID: 1102:0008
           class-ID: 0401
           Device-4: C-Media USB Audio Device type: USB driver: hid-generic,snd-usb-audio,usbhid bus-ID: 1-6.1.4:13
           chip-ID: 0d8c:0012 class-ID: 0300
           Sound Server-1: ALSA v: k5.15.0-1-MANJARO running: yes
           Sound Server-2: JACK v: 1.9.19 running: no
           Sound Server-3: PulseAudio v: 15.0 running: yes
           Sound Server-4: PipeWire v: 0.3.38 running: yes