Sound stops working randomly until application restart

Hi Community,
I always had some problems with my sound in manjaro, but most of the time it didn’t worked at all after booting. Now with my new Soundcard (and new BIOS version), the sound stops working randomly. For example: I can watch videos in Firefox for hours without any problem but sometimes the audio stops working until I restart my Firefox.
What I already tried:
-Restarting Pulse doesn’t do anything

-When it stops working, nothing is muted (checked Pulse and alsa), the volume isn’t changed and Pulse indicates that sound is still playing

-It seems like a higher samplerate will result in more frequent “crashes” of the audio but can’t tell for sure due to the random nature of the problem

-ways to provoke the problem fast (within minutes) is to play music via Spotify or watching a YouTube Video while doing literally anything in Blender

-Probably no Hardware issue → tested with windows

-Nothing suspicious in journalctl

-Same issue with Kernel 5.10

At this point, I have no idea how to troubleshoot further. Any help would be much appreciated :slight_smile:

My System:
AMD Ryzen 9 3900x
Asus X570 E-Gaming
Soundblaster AE-5

KDE Plasma 5.21.4
Kernel 5.11.18
aplay version 1.2.4
pulseaudio 14.2

:+1: Welcome to Manjaro! :+1:

  1. Please read this:
    How to provide good information
    and post some more information so we can see what’s really going on. Now we know the symptom of the disease, but we need some more probing to know where the origin lies…
  2. An inxi --admin --verbosity=7 --filter --no-host --width would be the minimum required information… (Personally Identifiable Information like serial numbers and MAC addresses will be filtered out by the above command)
    Also, please copy-paste that output in-between 3 backticks ``` at the beginning and end of the code/text.
  3. Have you tried kernel 5.4 LTS (Long Time Support) already?

:+1:

Hi Fabby,
Thanks :slight_smile:
I thought I provided everything relevant. Sorry for that.

Support for the Creative SoundBlaster AE-5 was added in Kernel 5.10, so that’s the “oldest” Kernel I can use in this setup.

Here the inxi Output:

  Kernel: 5.11.19-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.0 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.11-x86_64 
  root=UUID=19e091c4-abc4-4be8-b07f-f351dec819a1 ro quiet amd_iommu=on 
  rd.driver.pre=vfio-pc kvm.ignore_msrs=on apparmor=1 security=apparmor 
  resume=UUID=6679d245-16d1-41c9-8082-40aaf87ed154 udev.log_priority=3 
  Desktop: KDE Plasma 5.21.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: ROG STRIX X570-E GAMING v: Rev X.0x 
  serial: <filter> UEFI: American Megatrends v: 3603 date: 03/19/2021 
Battery:
  Message: No system battery data found. Is one present? 
Memory:
  RAM: total: 31.33 GiB used: 4.34 GiB (13.9%) 
  RAM Report: permissions: Unable to run dmidecode. Root privileges required. 
CPU:
  Info: 12-Core model: AMD Ryzen 9 3900X bits: 64 type: MT MCP arch: Zen 2 
  family: 17 (23) model-id: 71 (113) stepping: 0 microcode: 8701021 cache: 
  L2: 6 MiB bogomips: 182134 
  Speed: 3040 MHz min/max: 2200/3800 MHz boost: enabled Core speeds (MHz): 
  1: 3040 2: 2052 3: 2196 4: 2195 5: 3593 6: 2050 7: 2053 8: 3593 9: 2051 
  10: 2053 11: 2715 12: 2195 13: 2136 14: 2196 15: 2196 16: 2194 17: 2194 
  18: 3719 19: 2053 20: 2054 21: 2196 22: 2194 23: 2192 24: 2192 
  Flags: 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 bmi1 
  bmi2 bpext cat_l3 cdp_l3 clflush clflushopt clwb clzero cmov cmp_legacy 
  constant_tsc cpb cpuid cqm cqm_llc cqm_mbm_local cqm_mbm_total cqm_occup_llc 
  cr8_legacy cx16 cx8 de decodeassists extapic extd_apicid f16c flushbyasid 
  fma fpu fsgsbase fxsr fxsr_opt ht hw_pstate ibpb ibs irperf lahf_lm lbrv lm 
  mba mca mce misalignsse mmx mmxext monitor movbe msr mtrr mwaitx nonstop_tsc 
  nopl npt nrip_save nx osvw overflow_recov pae pat pausefilter pclmulqdq 
  pdpe1gb perfctr_core perfctr_llc perfctr_nb pfthreshold pge pni popcnt pse 
  pse36 rdpid rdpru rdrand rdseed rdt_a rdtscp rep_good sep sev sev_es sha_ni 
  skinit smap smca sme smep ssbd sse sse2 sse4_1 sse4_2 sse4a ssse3 stibp 
  succor svm svm_lock syscall tce topoext tsc tsc_scale umip v_vmsave_vmload 
  vgif vmcb_clean vme vmmcall wbnoinvd wdt xgetbv1 xsave xsavec xsaveerptr 
  xsaveopt xsaves 
  Vulnerabilities: Type: itlb_multihit status: Not affected 
  Type: l1tf status: Not affected 
  Type: mds status: Not affected 
  Type: meltdown status: Not affected 
  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 AMD retpoline, IBPB: conditional, STIBP: 
  conditional, RSB filling 
  Type: srbds status: Not affected 
  Type: tsx_async_abort status: Not affected 
Graphics:
  Device-1: NVIDIA GP104 [GeForce GTX 1070] vendor: ASUSTeK driver: nvidia 
  v: 460.80 alternate: nouveau,nvidia_drm bus-ID: 0d:00.0 chip-ID: 10de:1b81 
  class-ID: 0300 
  Device-2: AMD Tahiti XT [Radeon HD 7970/8970 OEM / R9 280X] vendor: XFX Pine 
  driver: vfio-pci v: 0.2 alternate: radeon,amdgpu bus-ID: 0e:00.0 
  chip-ID: 1002:6798 class-ID: 0300 
  Display: x11 server: X.Org 1.20.11 compositor: kwin_x11 driver: 
  loaded: nvidia display-ID: :0 screens: 1 
  Screen-1: 0 s-res: 5120x1440 s-dpi: 108 s-size: 1204x342mm (47.4x13.5") 
  s-diag: 1252mm (49.3") 
  Monitor-1: DP-0 res: 2560x1440 hz: 144 dpi: 109 size: 597x336mm (23.5x13.2") 
  diag: 685mm (27") 
  Monitor-2: DP-2 res: 2560x1440 hz: 60 dpi: 109 size: 597x336mm (23.5x13.2") 
  diag: 685mm (27") 
  OpenGL: renderer: GeForce GTX 1070/PCIe/SSE2 v: 4.6.0 NVIDIA 460.80 
  direct render: Yes 
Audio:
  Device-1: Creative Labs driver: snd_hda_intel v: kernel bus-ID: 06:00.0 
  chip-ID: 1102:0010 class-ID: 0403 
  Device-2: NVIDIA GP104 High Definition Audio vendor: ASUSTeK 
  driver: snd_hda_intel v: kernel bus-ID: 0d:00.1 chip-ID: 10de:10f0 
  class-ID: 0403 
  Device-3: AMD Tahiti HDMI Audio [Radeon HD 7870 XT / 7950/7970] 
  vendor: XFX Pine driver: vfio-pci v: 0.2 alternate: snd_hda_intel 
  bus-ID: 0e:00.1 chip-ID: 1002:aaa0 class-ID: 0403 
  Device-4: AMD Starship/Matisse HD Audio vendor: ASUSTeK 
  driver: snd_hda_intel v: kernel bus-ID: 10:00.4 chip-ID: 1022:1487 
  class-ID: 0403 
  Device-5: RODE Microphones RODE AI-1 type: USB 
  driver: hid-generic,snd-usb-audio,usbhid bus-ID: 5-2:3 chip-ID: 19f7:000a 
  class-ID: 0300 serial: <filter> 
  Sound Server-1: ALSA v: k5.11.19-1-MANJARO running: yes 
  Sound Server-2: JACK v: 1.9.18 running: no 
  Sound Server-3: PulseAudio v: 14.2 running: yes 
  Sound Server-4: PipeWire v: 0.3.27 running: yes 
Network:
  Device-1: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel bus-ID: 07:00.0 
  chip-ID: 8086:2723 class-ID: 0280 
  IF: wlp7s0 state: down mac: <filter> 
  Device-2: Realtek RTL8125 2.5GbE vendor: ASUSTeK driver: r8169 v: kernel 
  port: d000 bus-ID: 08:00.0 chip-ID: 10ec:8125 class-ID: 0200 
  IF: enp8s0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
  IP v4: <filter> type: dynamic noprefixroute scope: global 
  broadcast: <filter> 
  IP v6: <filter> type: noprefixroute scope: link 
  Device-3: Intel I211 Gigabit Network vendor: ASUSTeK driver: igb v: kernel 
  port: c000 bus-ID: 09:00.0 chip-ID: 8086:1539 class-ID: 0200 
  IF: enp9s0 state: down mac: <filter> 
  IF-ID-1: virbr0 state: down mac: <filter> 
  IP v4: <filter> scope: global broadcast: <filter> 
  WAN IP: <filter> 
Bluetooth:
  Device-1: Intel AX200 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 1-6:4 
  chip-ID: 8087:0029 class-ID: e001 
  Report: rfkill ID: hci0 rfk-id: 2 state: up address: see --recommends 
Logical:
  Message: No logical block device data found. 
RAID:
  Message: No RAID data found. 
Drives:
  Local Storage: total: 14.1 TiB used: 2.87 TiB (20.3%) 
  SMART Message: Unable to run smartctl. Root privileges required. 
  ID-1: /dev/nvme0n1 maj-min: 259:4 vendor: Samsung model: SSD 970 PRO 512GB 
  size: 476.94 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s 
  lanes: 4 rotation: SSD serial: <filter> rev: 1B2QEXP7 temp: 24.9 C 
  scheme: GPT 
  ID-2: /dev/nvme1n1 maj-min: 259:0 vendor: Samsung 
  model: SSD 970 EVO Plus 1TB size: 931.51 GiB block-size: physical: 512 B 
  logical: 512 B speed: 31.6 Gb/s lanes: 4 rotation: SSD serial: <filter> 
  rev: 2B2QEXM7 temp: 41.9 C scheme: GPT 
  ID-3: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 860 EVO 1TB 
  size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s 
  rotation: SSD serial: <filter> rev: 1B6Q scheme: GPT 
  ID-4: /dev/sdb maj-min: 8:16 vendor: Seagate model: ST8000NM000A-2KE101 
  size: 7.28 TiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s 
  rotation: 7200 rpm serial: <filter> rev: SB2D scheme: GPT 
  ID-5: /dev/sdc maj-min: 8:32 vendor: Crucial model: CT2000MX500SSD1 
  size: 1.82 TiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s 
  rotation: SSD serial: <filter> rev: 032 scheme: GPT 
  ID-6: /dev/sdd maj-min: 8:48 vendor: Western Digital model: WD20EZRZ-00Z5HB0 
  size: 1.82 TiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s 
  rotation: 5400 rpm serial: <filter> rev: 0A80 scheme: GPT 
  ID-7: /dev/sde maj-min: 8:64 vendor: Crucial model: CT960BX500SSD1 
  size: 894.25 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s 
  rotation: SSD serial: <filter> rev: R022 scheme: GPT 
  ID-8: /dev/sdg maj-min: 8:96 type: USB vendor: Generic model: USB3.0 CRW -SD 
  size: 29.12 GiB block-size: physical: 512 B logical: 512 B serial: <filter> 
  rev: 1.00 scheme: MBR 
  SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure? 
  Optical-1: /dev/sr0 vendor: ASUS model: DRW-1814BLT rev: 1.04 
  dev-links: cdrom 
  Features: speed: 48 multisession: yes audio: yes dvd: yes 
  rw: cd-r,cd-rw,dvd-r,dvd-ram state: running 
Partition:
  ID-1: / raw-size: 896.74 GiB size: 881.67 GiB (98.32%) 
  used: 103.14 GiB (11.7%) fs: ext4 dev: /dev/nvme1n1p2 maj-min: 259:2 
  label: N/A uuid: 19e091c4-abc4-4be8-b07f-f351dec819a1 
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%) 
  used: 312 KiB (0.1%) fs: vfat dev: /dev/nvme1n1p1 maj-min: 259:1 label: N/A 
  uuid: 9B03-4F61 
  ID-3: /run/media/best/2TB_SSD_Crucial raw-size: 1.82 TiB 
  size: 1.79 TiB (98.37%) used: 348.83 GiB (19.0%) fs: ext4 dev: /dev/sdc1 
  maj-min: 8:33 label: 2TB_SSD_Crucial 
  uuid: 20e5b60e-7dc1-4404-b1a9-3825086ce53b 
  ID-4: /run/media/best/8TB_Exos raw-size: 7.28 TiB size: 7.22 TiB (99.20%) 
  used: 2.4 TiB (33.2%) fs: ext4 dev: /dev/sdb1 maj-min: 8:17 label: 8TB_Exos 
  uuid: 57c1c0a7-2aeb-4a0f-96a1-58faf43019dd 
  ID-5: /run/media/best/970_Pro_nvme raw-size: 476.93 GiB 
  size: 468.38 GiB (98.21%) used: 28.01 GiB (6.0%) fs: ext4 
  dev: /dev/nvme0n1p1 maj-min: 259:5 label: 970_Pro_nvme 
  uuid: 94d013ce-083a-45c8-8db5-7eb869e60f72 
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default) 
  ID-1: swap-1 type: partition size: 34.47 GiB used: 0 KiB (0.0%) priority: -2 
  dev: /dev/nvme1n1p3 maj-min: 259:3 label: N/A 
  uuid: 6679d245-16d1-41c9-8082-40aaf87ed154 
Unmounted:
  ID-1: /dev/sdd1 maj-min: 8:49 size: 1.82 TiB fs: ext4 label: 2TB_WD 
  uuid: b43477ed-c5df-48a3-adf5-905c42a39f1a 
  ID-2: /dev/sde1 maj-min: 8:65 size: 100 MiB fs: vfat label: N/A 
  uuid: 2EA2-511B 
  ID-3: /dev/sde2 maj-min: 8:66 size: 16 MiB fs: <superuser required> 
  label: N/A uuid: N/A 
  ID-4: /dev/sde3 maj-min: 8:67 size: 893.63 GiB fs: ntfs label: N/A 
  uuid: E60EC1470EC1120B 
  ID-5: /dev/sde4 maj-min: 8:68 size: 515 MiB fs: ntfs label: N/A 
  uuid: D0CC475ACC473A4C 
  ID-6: /dev/sdg1 maj-min: 8:97 size: 29.12 GiB fs: ext4 label: enc 
  uuid: 0f67fec3-2665-4300-90e0-ce0a7ac30606 
USB:
  Hub-1: 1-0:1 info: Full speed (or root) Hub ports: 6 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Hub-2: 1-5:2 info: Genesys Logic Hub ports: 4 rev: 2.0 speed: 480 Mb/s 
  power: 100mA chip-ID: 05e3:0610 class-ID: 0900 
  Device-1: 1-6:4 info: Intel AX200 Bluetooth type: Bluetooth driver: btusb 
  interfaces: 2 rev: 2.0 speed: 12 Mb/s power: 100mA chip-ID: 8087:0029 
  class-ID: e001 
  Hub-3: 2-0:1 info: Full speed (or root) Hub ports: 4 rev: 3.1 speed: 10 Gb/s 
  chip-ID: 1d6b:0003 class-ID: 0900 
  Hub-4: 3-0:1 info: Full speed (or root) Hub ports: 6 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Device-1: 3-4:2 info: ASUSTek AURA LED Controller type: HID 
  driver: hid-generic,usbhid interfaces: 2 rev: 2.0 speed: 12 Mb/s power: 16mA 
  chip-ID: 0b05:18f3 class-ID: 0300 serial: <filter> 
  Device-2: 3-5:3 info: Genesys Logic Multislot Card Reader/Writer 
  type: Mass Storage driver: usb-storage interfaces: 1 rev: 2.0 
  speed: 480 Mb/s power: 500mA chip-ID: 05e3:0716 class-ID: 0806 
  serial: <filter> 
  Hub-5: 3-6:4 info: Genesys Logic Hub ports: 4 rev: 2.0 speed: 480 Mb/s 
  power: 100mA chip-ID: 05e3:0608 class-ID: 0900 
  Hub-6: 4-0:1 info: Full speed (or root) Hub ports: 4 rev: 3.1 speed: 10 Gb/s 
  chip-ID: 1d6b:0003 class-ID: 0900 
  Hub-7: 5-0:1 info: Full speed (or root) Hub ports: 4 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Hub-8: 5-1:2 info: Genesys Logic Hub ports: 4 rev: 2.1 speed: 480 Mb/s 
  power: 100mA chip-ID: 05e3:0610 class-ID: 0900 
  Device-1: 5-1.1:7 info: Corsair K95 RGB Platinum Keyboard [RGP0056] 
  type: Keyboard,HID driver: usbfs interfaces: 2 rev: 2.0 speed: 12 Mb/s 
  power: 500mA chip-ID: 1b1c:1b2d class-ID: 0300 serial: <filter> 
  Device-2: 5-1.3:6 info: Logitech G502 Proteus Spectrum Optical Mouse 
  type: Mouse,HID driver: hid-generic,usbhid interfaces: 2 rev: 2.0 
  speed: 12 Mb/s power: 300mA chip-ID: 046d:c332 class-ID: 0300 
  serial: <filter> 
  Device-3: 5-2:3 info: RODE Microphones RODE AI-1 type: Audio,HID 
  driver: hid-generic,snd-usb-audio,usbhid interfaces: 4 rev: 2.0 
  speed: 12 Mb/s power: 500mA chip-ID: 19f7:000a class-ID: 0300 
  serial: <filter> 
  Hub-9: 6-0:1 info: Full speed (or root) Hub ports: 4 rev: 3.1 speed: 10 Gb/s 
  chip-ID: 1d6b:0003 class-ID: 0900 
  Hub-10: 6-1:2 info: Genesys Logic Hub ports: 4 rev: 3.0 speed: 5 Gb/s 
  chip-ID: 05e3:0612 class-ID: 0900 
  Device-1: 6-3:3 info: Realtek USB3.0 Card Reader type: Mass Storage 
  driver: usb-storage interfaces: 1 rev: 3.0 speed: 5 Gb/s power: 800mA 
  chip-ID: 0bda:0306 class-ID: 0806 serial: <filter> 
Sensors:
  System Temperatures: cpu: 32.1 C mobo: 0 C gpu: nvidia temp: 55 C 
  Fan Speeds (RPM): N/A gpu: nvidia fan: 0% 
Info:
  Processes: 445 Uptime: 1h 20m wakeups: 0 Init: systemd v: 247 
  tool: systemctl Compilers: gcc: 10.2.0 clang: 11.1.0 Packages: pacman: 1592 
  lib: 455 flatpak: 0 Shell: Bash v: 5.1.8 running-in: konsole inxi: 3.3.04```

Good luck, because you’ll need it as Creative Labs Linux support is non-existant and if something does work, it’s because some poor dev somewhere reverse-engineered everything and implemented it for him/herself…

:scream:

2 Likes

I think part of the problem may be here

In this other topic the nikgnomic shows what to choose when it comes to pulseaudio and pipewire together, and shows the alternative solution

Good luck!

T+ = See you later

2 Likes

@Fabby I know and my highest respect toward the dev who put his freetime into that project. The problem is, that there are nearly no “modern” alternatives. Anyway, I am really thankful, that somebody made it possible to even use this soundcard.

@Creto Intersting. Tried it for a couple of days but no difference.

My biggest problem is, that I don’t know any logs etc. that could help to at least understand why this behavior exists. As I said: Pulse and Alsa are saying, that the audiostream is running fine.

1 Like

Hi @Alien1

If you have read the topic I indicated above, you must have realized that the @nikgnomic recommends that you either use pulseaudio or pipewire, never both together

T+ = See you later

ALSA support for Soundblaster AE-5 Plus was added to kernel recently
Soundblaster Creative AE-5 Plus: No sound
/source/sound/pci/hda/patch_ca0132 has also been backported to earlier kernel versions
But the card is not fully supported in PulseAudio or Pipewire

I suggest you check PulseAudio socket and service

systemctl --user status pulseaudio.*

If there is an error message: GetManagedObjects() failed that would suggest Pipewire has taken control of audio device away from PulseAudio

1 Like

@Creto Thats why I disabled pipewire :wink:

@nikgnomic I just provoked the audio to stop working by using spotify. The following output ist given shortly after audio stopped working:

pulseaudio:

● pulseaudio.socket - Sound System
     Loaded: loaded (/usr/lib/systemd/user/pulseaudio.socket; enabled; vendor preset: enabled)
     Active: active (running) since Tue 2021-05-25 21:15:00 CEST; 26min ago
   Triggers: ● pulseaudio.service
     Listen: /run/user/1000/pulse/native (Stream)
     CGroup: /user.slice/user-1000.slice/user@1000.service/app.slice/pulseaudio.socket

Mai 25 21:15:00 best-pc systemd[1613]: Listening on Sound System.

● pulseaudio.service - Sound Service
     Loaded: loaded (/usr/lib/systemd/user/pulseaudio.service; disabled; vendor preset: enabled)
     Active: active (running) since Tue 2021-05-25 21:15:03 CEST; 26min ago
TriggeredBy: ● pulseaudio.socket
   Main PID: 1916 (pulseaudio)
     CGroup: /user.slice/user-1000.slice/user@1000.service/app.slice/pulseaudio.service
             ├─1916 /usr/bin/pulseaudio --daemonize=no --log-target=journal
             └─2183 /usr/lib/pulse/gsettings-helper

Mai 25 21:15:02 best-pc systemd[1613]: Starting Sound Service...
Mai 25 21:15:03 best-pc systemd[1613]: Started Sound Service.

pipewire (I mean it’s disabled but anyway):

● pipewire.service - Multimedia Service
     Loaded: loaded (/usr/lib/systemd/user/pipewire.service; disabled; vendor preset: enabled)
     Active: inactive (dead)

most recent in journalctl (journalctl | grep pulse):

Mai 25 20:37:17 best-pc systemd[1607]: pulseaudio.socket: Succeeded.
Mai 25 21:15:02 best-pc plasma_session[1720]: org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/pulseaudio.desktop" ("/usr/bin/start-pulseaudio-x11")
Mai 25 21:15:02 best-pc dbus-daemon[776]: [system] Activating via systemd: service name='org.freedesktop.RealtimeKit1' unit='rtkit-daemon.service' requested by ':1.47' (uid=1000 pid=1916 comm="/usr/bin/pulseaudio --daemonize=no --log-target=jo")
1 Like

Any suggestions where I could find the cause of this problem?
I mean in my understanding, if it’s a problem with Pulse, Alsa or the driver, then there must be a logfile or any way to debug it :thinking:

Update:
since I’m a bit lost with this, I tried a different distro with a different Desktop-Environment: MX-Linux (based on Debian) with XFCE. Same Problem.
So I can cross Manjaro itself and KDE off the list.
That still leaves me with 3 possibilities I’m not able to troubleshoot:

  • Kerneldriver
  • Pulse
  • Alsa

In my understanding, the driver at least doesn’t crash completely, since there isn’t anything in journalctl.
Anyway. I will keep you up to date. Maybe there are 3 or 4 people on earth with the same problem

Hi! I have Ryzen 3900, nVidia 2070S, Soundblaster Creative AE-5 Plus (DAMNED)
Manjaro 21 xfce x64.
NO SOUND!
Alsamixer, Pulseuadio, Qastools recognize the card periodically. Rebooting doesn’t help regularly, only from time to time. In this case, the sound may or may not appear. Kernels 5.12 / 5.13 / 5.14.
Help, please. Thanks.

Problem solved in arch. The solution is in the Russian forum.

It turned out that I had purchased a sound card with the plus prefix, which was not in the list of kernel devices.

this commit kernel/git/tiwai/sound.git - Sound sub-system tree allowed the system to correctly recognize the sound card
[9.847753] snd_hda_codec_ca0132 hdaudioC1D1: autoconfig for Sound BlasterX AE-5: line_outs = 3 (0xb / 0xf / 0x10 / 0x0 / 0x0)
type: line
, so now the sound appears and works.

How do I apply this solution in Manjaro? Thanks.

This is in kernel 5.11/5.12/5.13/5.14 - why doesn’t works?

It’s my config.

inxi

➜ ~ inxi --admin --verbosity=7 --filter --no-host --width
System:
Kernel: 5.13.1-3-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0
parameters: BOOT_IMAGE=/boot/vmlinuz-5.13-x86_64
root=UUID=24f9ef62-2940-4469-b3c3-680e822dbdda rw quiet udev.log_priority=3
Desktop: Xfce 4.16.0 tk: Gtk 3.24.29 info: xfce4-panel wm: xfwm 4.16.1 vt: 7
dm: LightDM 1.30.0 Distro: Manjaro Linux base: Arch Linux
Machine:
Type: Desktop Mobo: Micro-Star model: MAG B550 TOMAHAWK (MS-7C91) v: 2.0
serial: BIOS: American Megatrends LLC. v: A.64 date: 04/08/2021
Battery:
Message: No system battery data found. Is one present?
Memory:
RAM: total: 62.73 GiB used: 3.35 GiB (5.3%)
RAM Report: permissions: Unable to run dmidecode. Root privileges required.
CPU:
Info: 12-Core model: AMD Ryzen 9 3900 bits: 64 type: MT MCP arch: Zen 2
family: 17 (23) model-id: 71 (113) stepping: 0 microcode: 8701021 cache:
L2: 6 MiB bogomips: 148857
Speed: 3592 MHz min/max: 2200/3100 MHz boost: enabled Core speeds (MHz):
1: 3592 2: 2057 3: 2195 4: 2200 5: 3598 6: 2055 7: 2056 8: 2200 9: 2200
10: 2196 11: 3695 12: 2052 13: 2057 14: 2056 15: 2198 16: 2199 17: 2202
18: 2198 19: 2200 20: 2197 21: 3549 22: 2057 23: 2056 24: 2200
Flags: 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 bmi1
bmi2 bpext cat_l3 cdp_l3 clflush clflushopt clwb clzero cmov cmp_legacy
constant_tsc cpb cpuid cqm cqm_llc cqm_mbm_local cqm_mbm_total cqm_occup_llc
cr8_legacy cx16 cx8 de decodeassists extapic extd_apicid f16c flushbyasid
fma fpu fsgsbase fxsr fxsr_opt ht hw_pstate ibpb ibs irperf lahf_lm lbrv lm
mba mca mce misalignsse mmx mmxext monitor movbe msr mtrr mwaitx nonstop_tsc
nopl npt nrip_save nx osvw overflow_recov pae pat pausefilter pclmulqdq
pdpe1gb perfctr_core perfctr_llc perfctr_nb pfthreshold pge pni popcnt pse
pse36 rdpid rdpru rdrand rdseed rdt_a rdtscp rep_good sep sev sev_es sha_ni
skinit smap smca sme smep ssbd sse sse2 sse4_1 sse4_2 sse4a ssse3 stibp
succor svm svm_lock syscall tce topoext tsc tsc_scale umip v_spec_ctrl
v_vmsave_vmload vgif vmcb_clean vme vmmcall wbnoinvd wdt xgetbv1 xsave
xsavec xsaveerptr xsaveopt xsaves
Vulnerabilities: Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
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 AMD retpoline, IBPB: conditional, STIBP:
conditional, RSB filling
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: NVIDIA TU104 [GeForce RTX 2070 SUPER] driver: nvidia v: 470.42.01
alternate: nouveau,nvidia_drm bus-ID: 2b:00.0 chip-ID: 10de:1e84
class-ID: 0300
Device-2: Logitech HD Webcam C525 type: USB driver: snd-usb-audio,uvcvideo
bus-ID: 1-5:4 chip-ID: 046d:0826 class-ID: 0e02 serial:
Display: x11 server: X.Org 1.20.11 compositor: xfwm4 v: 4.16.1 driver:
loaded: nvidia display-ID: :0.0 screens: 1
Screen-1: 0 s-res: 2560x1080 s-dpi: 96 s-size: 677x286mm (26.7x11.3")
s-diag: 735mm (28.9")
Monitor-1: DP-2 res: 2560x1080 hz: 60 dpi: 81 size: 798x334mm (31.4x13.1")
diag: 865mm (34.1")
OpenGL: renderer: NVIDIA GeForce RTX 2070 SUPER/PCIe/SSE2
v: 4.6.0 NVIDIA 470.42.01 direct render: Yes
Audio:
Device-1: Creative Labs Sound Core3D [Sound Blaster Recon3D / Z-Series]
driver: snd_hda_intel v: kernel bus-ID: 04:00.0 chip-ID: 1102:0012
class-ID: 0403
Device-2: NVIDIA TU104 HD Audio driver: snd_hda_intel v: kernel
bus-ID: 2b:00.1 chip-ID: 10de:10f8 class-ID: 0403
Device-3: Logitech HD Webcam C525 type: USB driver: snd-usb-audio,uvcvideo
bus-ID: 1-5:4 chip-ID: 046d:0826 class-ID: 0e02 serial:
Sound Server-1: ALSA v: k5.13.1-3-MANJARO running: yes
Sound Server-2: JACK v: 0.125.0 running: no
Sound Server-3: PulseAudio v: 14.2 running: yes
Sound Server-4: PipeWire v: 0.3.31 running: no
Network:
Device-1: Intel 82574L Gigabit Network driver: e1000e v: kernel port: f000
bus-ID: 05:00.0 chip-ID: 8086:10d3 class-ID: 0200
IF: enp5s0 state: up speed: 100 Mbps duplex: full mac:
IP v4: type: dynamic noprefixroute scope: global
broadcast:
IF-ID-1: tun0 state: unknown speed: 10 Mbps duplex: full mac: N/A
IP v4: scope: global broadcast:
WAN IP:
Bluetooth:
Message: No bluetooth data found.
Logical:
Permissions: Unable to run lvs. Root privileges required.
RAID:
Message: No RAID data found.
Drives:
Local Storage: total: 7.99 TiB used: 7.53 TiB (94.3%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: AMD Radeon model: R5MP120G8
size: 111.79 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
lanes: 4 rotation: SSD serial: rev: Q1205A0 scheme: GPT
ID-2: /dev/sda maj-min: 8:0 vendor: Plextor model: PX-128M5S
size: 119.24 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
rotation: SSD serial: rev: 1.05 scheme: GPT
ID-3: /dev/sdb maj-min: 8:16 vendor: Hitachi model: HDS5C3020ALA632
size: 1.82 TiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
rotation: 5940 rpm serial: rev: A5C0 scheme: MBR
ID-4: /dev/sdc maj-min: 8:32 vendor: Toshiba model: HDWD130 size: 2.73 TiB
block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
rotation: 7200 rpm serial: rev: ACF0 scheme: GPT
ID-5: /dev/sdd maj-min: 8:48 vendor: Western Digital model: WD20EARS-00MVWB0
size: 1.82 TiB block-size: physical: 4096 B logical: 512 B speed: 3.0 Gb/s
serial: rev: AB51 scheme: MBR
ID-6: /dev/sde maj-min: 8:64 vendor: Western Digital model: WD15EARS-00Z5B1
size: 1.36 TiB block-size: physical: 512 B logical: 512 B speed: 3.0 Gb/s
serial: rev: 0A80 scheme: MBR
ID-7: /dev/sdf maj-min: 8:80 type: USB model: Multiple Card Reader
size: 29.72 GiB block-size: physical: 512 B logical: 512 B serial:
rev: 1.00 scheme: MBR
SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
Message: No optical or floppy data found.
Partition:
ID-1: / raw-size: 59.38 GiB size: 59.35 GiB (99.95%) used: 19.92 GiB (33.6%)
fs: xfs dev: /dev/sda1 maj-min: 8:1 label: N/A
uuid: 24f9ef62-2940-4469-b3c3-680e822dbdda
ID-2: /home raw-size: 59.86 GiB size: 59.83 GiB (99.95%)
used: 11.05 GiB (18.5%) fs: xfs dev: /dev/sda2 maj-min: 8:2 label: N/A
uuid: 2ed5b756-c84e-4d7f-a209-645dbe9db958
ID-3: /media/win/ARCHIVES raw-size: 102.74 GiB size: 102.74 GiB (100.00%)
used: 85.66 GiB (83.4%) fs: fuseblk dev: /dev/sde1 maj-min: 8:65
label: ARCHIVES uuid: D0B5F90FF03E5054
ID-4: /media/win/DEPOT raw-size: 931.51 GiB size: 931.51 GiB (100.00%)
used: 904.96 GiB (97.1%) fs: fuseblk dev: /dev/sdb1 maj-min: 8:17
label: DEPOT uuid: 94EC352F5272AD9C
ID-5: /media/win/MUZ_2 raw-size: 1.07 TiB size: 1.07 TiB (100.00%)
used: 1.07 TiB (100.0%) fs: fuseblk dev: /dev/sde6 maj-min: 8:70
label: MUZ_2 uuid: 01CBE6E1CD79C210
ID-6: /media/win/MUZ_3 raw-size: 1 TiB size: 1 TiB (100.00%)
used: 1023.29 GiB (99.6%) fs: fuseblk dev: /dev/sdd1 maj-min: 8:49
label: MUZ_3 uuid: 5434BCF933CB9511
ID-7: /media/win/MUZ_4 raw-size: 931.5 GiB size: 931.5 GiB (100.00%)
used: 752.79 GiB (80.8%) fs: fuseblk dev: /dev/sdb5 maj-min: 8:21
label: MUZ_4 uuid: 3E7BA6EB176C8B9A
ID-8: /media/win/SYSTEM raw-size: 111.16 GiB size: 111.16 GiB (100.00%)
used: 45.03 GiB (40.5%) fs: fuseblk dev: /dev/nvme0n1p4 maj-min: 259:4
label: SYSTEM uuid: A49CC7629CC72E1C
ID-9: /media/win/TORRENT raw-size: 203.11 GiB size: 203.11 GiB (100.00%)
used: 198.59 GiB (97.8%) fs: fuseblk dev: /dev/sde5 maj-min: 8:69
label: TORRENT uuid: 01CBE6E1B87708F0
ID-10: /media/win/VAR raw-size: 835.52 GiB size: 835.52 GiB (100.00%)
used: 804.4 GiB (96.3%) fs: fuseblk dev: /dev/sdd5 maj-min: 8:53 label: VAR
uuid: 1FC6BE31F54CA085
ID-11: /media/win/un raw-size: 1.36 TiB size: 1.36 TiB (100.00%)
used: 1.34 TiB (98.0%) fs: fuseblk dev: /dev/sdc1 maj-min: 8:33 label: un
uuid: 01D4F42B8E7DD7D0
ID-12: /media/win/un2 raw-size: 1.36 TiB size: 1.36 TiB (100.00%)
used: 1.35 TiB (99.1%) fs: fuseblk dev: /dev/sdc2 maj-min: 8:34 label: un2
uuid: DAB91D49B76A6493
ID-13: /run/media/chapa/Ventoy raw-size: 29.69 GiB size: 29.69 GiB (100.00%)
used: 24.41 GiB (82.2%) fs: fuseblk dev: /dev/sdf1 maj-min: 8:81
label: Ventoy uuid: C7EF-2BC5
Swap:
Alert: No swap data was found.
Unmounted:
ID-1: /dev/nvme0n1p1 maj-min: 259:1 size: 529 MiB fs:
label: Восстановить uuid: 50548CBB548CA576
ID-2: /dev/nvme0n1p2 maj-min: 259:2 size: 100 MiB fs:
label: N/A uuid: 3898-FD14
ID-3: /dev/nvme0n1p3 maj-min: 259:3 size: 16 MiB fs:
label: N/A uuid: N/A
ID-4: /dev/sdb2 maj-min: 8:18 size: 1 KiB fs:
label: N/A uuid: N/A
ID-5: /dev/sdd2 maj-min: 8:50 size: 1 KiB fs:
label: N/A uuid: N/A
ID-6: /dev/sde2 maj-min: 8:66 size: 1 KiB fs:
label: N/A uuid: N/A
ID-7: /dev/sdf2 maj-min: 8:82 size: 32 MiB fs:
label: VTOYEFI uuid: 66F6-D57E
USB:
Hub-1: 1-0:1 info: Full speed (or root) Hub ports: 10 rev: 2.0
speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
Hub-2: 1-2:2 info: Genesys Logic Hub ports: 4 rev: 2.0 speed: 480 Mb/s
power: 100mA chip-ID: 05e3:0608 class-ID: 0900
Device-1: 1-4:3 info: Alcor Micro Multi Flash Reader type: Mass Storage
driver: usb-storage interfaces: 1 rev: 2.0 speed: 480 Mb/s power: 100mA
chip-ID: 058f:6366 class-ID: 0806 serial:
Device-2: 1-5:4 info: Logitech HD Webcam C525 type: Audio,Video
driver: snd-usb-audio,uvcvideo interfaces: 4 rev: 2.0 speed: 480 Mb/s
power: 500mA chip-ID: 046d:0826 class-ID: 0e02 serial:
Device-3: 1-6:5 info: Microdia Redragon Mitra RGB Keyboard
type: Keyboard,Mouse driver: hid-generic,usbhid interfaces: 2 rev: 2.0
speed: 12 Mb/s power: 400mA chip-ID: 0c45:5004 class-ID: 0301
Device-4: 1-8:6 info: Micro Star MYSTIC LIGHT type: HID
driver: hid-generic,usbhid interfaces: 1 rev: 1.1 speed: 12 Mb/s
power: 500mA chip-ID: 1462:7c91 class-ID: 0300 serial:
Hub-3: 2-0:1 info: Full speed (or root) Hub ports: 4 rev: 3.1 speed: 10 Gb/s
chip-ID: 1d6b:0003 class-ID: 0900
Hub-4: 3-0:1 info: Full speed (or root) Hub ports: 2 rev: 2.0
speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
Hub-5: 4-0:1 info: Full speed (or root) Hub ports: 4 rev: 3.1 speed: 10 Gb/s
chip-ID: 1d6b:0003 class-ID: 0900
Hub-6: 5-0:1 info: Full speed (or root) Hub ports: 4 rev: 2.0
speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
Device-1: 5-1:2 info: Cyber Power System CP1500 AVR UPS type: HID
driver: hid-generic,usbhid interfaces: 1 rev: 1.1 speed: 1.5 Mb/s
power: 50mA chip-ID: 0764:0501 class-ID: 0300
Device-2: 5-4:3 info: Sunplus Innovation Gaming Mouse type: Mouse,Keyboard
driver: hid-generic,usbhid interfaces: 2 rev: 2.0 speed: 12 Mb/s
power: 100mA chip-ID: 1bcf:08a6 class-ID: 0300
Hub-7: 6-0:1 info: Full speed (or root) Hub ports: 4 rev: 3.1 speed: 10 Gb/s
chip-ID: 1d6b:0003 class-ID: 0900
Sensors:
System Temperatures: cpu: 36.4 C mobo: N/A gpu: nvidia temp: 36 C
Fan Speeds (RPM): fan-1: 1036 fan-2: 2553 fan-3: 462 fan-4: 1112 fan-5: 1111
fan-6: 1009 fan-7: 1589 fan-8: 422 fan-9: 0 fan-10: 0 gpu: nvidia fan: 0%
Info:
Processes: 456 Uptime: 48m wakeups: 0 Init: systemd v: 248 tool: systemctl
Compilers: gcc: 11.1.0 clang: 12.0.1 Packages: pacman: 1534 lib: 390
Shell: Zsh v: 5.8 running-in: xfce4-terminal inxi: 3.3.05

systemctl --user status pulseaudio

➜ ~ systemctl --user status pulseaudio
● pulseaudio.service - Sound Service
Loaded: loaded (/usr/lib/systemd/user/pulseaudio.service; disabled; vendor preset: enabled)
Active: active (running) since Thu 2021-07-15 05:10:25 MSK; 47min ago
TriggeredBy: ● pulseaudio.socket
Main PID: 1115 (pulseaudio)
Tasks: 9 (limit: 77065)
Memory: 12.5M
CPU: 35.064s
CGroup: /user.slice/user-1000.slice/user@1000.service/app.slice/pulseaudio.service
├─1115 /usr/bin/pulseaudio --daemonize=no --log-target=journal
└─1162 /usr/lib/pulse/gsettings-helper

июл 15 05:10:24 pc-m systemd[1036]: Starting Sound Service…
июл 15 05:10:25 pc-m systemd[1036]: Started Sound Service.
июл 15 05:10:50 pc-m pulseaudio[1115]: GetManagedObjects() failed: org.freedesktop.DBus.Error.NoReply: Did no>
lines 1-15/15 (END)

lspci -k | grep -A2 Audio

➜ ~ lspci -k | grep -A2 Audio
04:00.0 Audio device: Creative Labs Sound Core3D [Sound Blaster Recon3D / Z-Series] (rev 01)
Subsystem: Creative Labs Device 0191
Kernel driver in use: snd_hda_intel

2b:00.1 Audio device: NVIDIA Corporation TU104 HD Audio Controller (rev a1)
Subsystem: NVIDIA Corporation Device 139f
Kernel driver in use: snd_hda_intel

pipewire

➜ ~ systemctl status pipewire.service
Unit pipewire.service could not be found.

Help, please.

PS I have with camarade Alien1 - Ryzen 3900. In this CPU is problem?

PPS ~ pulseaudio --check && echo yes
yes

I uncommented in /etc/pulse/client.conf
autospawn yes

pulseaudio works fine!

status pulseaudio

➜ ~ systemctl --user status pulseaudio
● pulseaudio.service - Sound Service
Loaded: loaded (/usr/lib/systemd/user/pulseaudio.service; disabled; vendor preset: enabled)
Active: active (running) since Thu 2021-07-15 07:09:16 MSK; 14s ago
TriggeredBy: ● pulseaudio.socket
Main PID: 1115 (pulseaudio)
Tasks: 7 (limit: 77065)
Memory: 9.8M
CPU: 63ms
CGroup: /user.slice/user-1000.slice/user@1000.service/app.slice/pulseaudio.service
├─1115 /usr/bin/pulseaudio --daemonize=no --log-target=journal
└─1162 /usr/lib/pulse/gsettings-helper

июл 15 07:09:15 pc-m systemd[1036]: Starting Sound Service…
июл 15 07:09:16 pc-m systemd[1036]: Started Sound Service.

But the audio card is determined periodically. No sound…

After reboot #3 -

GetManagedObjects() failed: org.freedesktop.DBus.Error.NoReply: Did no>
lines 1-15/15 (END)

Hi @urgentus ,
I think it would be easier to summarize everything in one post.
Yes, this is a similar problem. Had the same behavior before, but after a BIOS update it went to the problem I described.
Apparently there is a general problem with x570 and different soundcards. Just take a look on the Amazon-reviews of for example the Asus Xonar SE.

Are you on the newest BIOS version for your MB?

Another thing you can try: when the soundcard is “not detected”, can you spot it in pacmd list with the correct profile selected?

Btw. my next step is to test my SoundBlaster AE in a intel setup. Maybe we can pinpoint the problem futher.

No.

I have b550 mobo.

AE-5 plus is working now, but only 2.0 .
rm ~/.config/pulse/* => reboot => tune with alsamixer

Thanks for help. Good luck.
PS I think to clean install OS

Update that first.

Your first port of call should be the LTS kernels: 5.10 and 5.4.

:crossed_fingers:

I tried 5.10 first - unsuccessfully.

Update latest BIOS - No changed.