You are not logged in.

#1 2024-07-16 11:27:52

sh1kto
Member
Registered: 2024-07-14
Posts: 3

Sound not working (Realtek ALC887-VD)

I'm experiencing intermittent sound issues with my Gigabyte B450M S2H (Realtek ALC887-VD) on Arch Linux.
I'm using Pipewire as the audio system and KDE Plasma as the desktop environment. The sound sometimes works and sometimes doesn't.
When i boot up my system sometimes sound works but stops working after few minutes randomly. Rebooting sometimes restores sound, but the issue reoccurs.

I've read so many forums and tried so many things but the sound issue persists. Any help in diagnosing and resolving this problem would be greatly appreciated.

System Information:
OS: Arch Linux (latest version)
Kernel: 6.9.9-arch1-1
Desktop Environment: KDE Plasma
Motherboard: Gigabyte B450M S2H

Offline

#2 2024-07-16 11:44:42

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,417

Re: Sound not working (Realtek ALC887-VD)

Post wrapped in [ code][ /code] tags without the spaces:

sudo fuser -v /dev/snd/*
systemctl --user status pipewire{,-pulse} wireplumber pulseaudio
aplay -lL

when in the not working situation.

Offline

#3 2024-07-16 11:53:51

sh1kto
Member
Registered: 2024-07-14
Posts: 3

Re: Sound not working (Realtek ALC887-VD)

Here is the output

sudo fuser -v /dev/snd/*
                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  sh1kto      626 F.... pipewire-media-
/dev/snd/seq:        sh1kto      625 F.... pipewire
systemctl --user status pipewire{,-pulse} wireplumber pulseaudio
Unit pulseaudio.service could not be found.
● pipewire.service - PipeWire Multimedia Service
     Loaded: loaded (/usr/lib/systemd/user/pipewire.service
; disabled; preset: enabled)
     Active: active (running) since Tue 2024-07-16 17:50:25 +06; 35s ago
 Invocation: aa38ab8fe31f40369fdf97f11b80b2d6
TriggeredBy: ● pipewire.socket
   Main PID: 641 (pipewire)
      Tasks: 3 (limit: 7002)
     Memory: 8.6M (peak: 9.1M)
        CPU: 55ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire.service
             └─641 /usr/bin/pipewire

Jul 16 17:50:25 Arch systemd[629]: Started PipeWire Multimedia Service.

● pipewire-pulse.service - PipeWire PulseAudio
     Loaded: loaded (/usr/lib/systemd/user/pipewire-p
ulse.service; enabled; preset: enabled)
     Active: active (running) since Tue 2024-07-16 17:50:25 +06; 36s ago
 Invocation: 34f079c600184b32a1f5f52849607313
TriggeredBy: ● pipewire-pulse.socket
   Main PID: 643 (pipewire-pulse)
      Tasks: 3 (limit: 7002)
     Memory: 6.2M (peak: 8.2M)
        CPU: 24ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire-pulse.service
             └─643 /usr/bin/pipewire-pulse

Jul 16 17:50:25 Arch systemd[629]: Started PipeWire PulseAudio.

● wireplumber.service - Multimedia Service Session Manager
     Loaded: loaded (/usr/lib/systemd/user/wireplumber.s
ervice; enabled; preset: enabled)
     Active: active (running) since Tue 2024-07-16 17:50:25 +06; 36s ago
 Invocation: 5ac51206a3fa497f882e2b607c642e69
   Main PID: 642 (wireplumber)
      Tasks: 7 (limit: 7002)
     Memory: 35.2M (peak: 35.5M)
        CPU: 212ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/wireplumber.service
             └─642 /usr/bin/wireplumber

Jul 16 17:50:25 Arch systemd[629]: Started Multimedia Service Session Manager.
Jul 16 17:50:25 Arch wireplumber[642]: [0:00:15.803045640] [642] ERROR IPAModule ipa_module.cpp:172 Symbol ipaMo
duleInfo not found
Jul 16 17:50:25 Arch wireplumber[642]: [0:00:15.803067571] [642] ERROR IPAModule ipa_module.cpp:292 v4l2-compat.
so: IPA module has no valid info
Jul 16 17:50:25 Arch wireplumber[642]: [0:00:15.803093342] [642]  INFO Camera camera_manager.cpp:313 libcamera v
0.3.0
Jul 16 17:50:25 Arch wireplumber[642]: default: Failed to get percentage fro
m UPower: org.freedesktop.DBus.Error.NameHasNoOwner
Jul 16 17:50:25 Arch wireplumber[642]: spa.bluez5: BlueZ system service is n
ot available
aplay -lL
null
    Discard all samples (playback) or generate zero samples (capture)
lavrate
    Rate Converter Plugin Using Libav/FFmpeg Library
samplerate
    Rate Converter Plugin Using Samplerate Library
speexrate
    Rate Converter Plugin Using Speex Resampler
jack
    JACK Audio Connection Kit
oss
    Open Sound System
pipewire
    PipeWire Sound Server
pulse
    PulseAudio Sound Server
speex
    Plugin using Speex DSP (resample, agc, denoise, echo, dereverb)
upmix
    Plugin for channel upmix (4,6,8)
vdownmix
    Plugin for channel downmix (stereo) with a simple spacialization
default
    Default ALSA Output (currently PipeWire Media Server)
hdmi:CARD=Generic_1,DEV=0
    HD-Audio Generic, HDMI 0
    HDMI Audio Output
hdmi:CARD=Generic_1,DEV=1
    HD-Audio Generic, HDMI 1
    HDMI Audio Output
hdmi:CARD=Generic_1,DEV=2
    HD-Audio Generic, HDMI 2
    HDMI Audio Output
hdmi:CARD=Generic_1,DEV=3
    HD-Audio Generic, HDMI 3
    HDMI Audio Output
usbstream:CARD=Generic_1
    HD-Audio Generic
    USB Stream Output
front:CARD=Generic
    Front output / input
surround21:CARD=Generic
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=Generic
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Generic
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Generic
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Generic
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Generic
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
usbstream:CARD=Generic
    HD-Audio Generic
    USB Stream Output
**** List of PLAYBACK Hardware Devices ****
card 0: Generic_1 [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Generic_1 [HD-Audio Generic], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Generic_1 [HD-Audio Generic], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Generic_1 [HD-Audio Generic], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Offline

#4 2024-07-16 11:58:26

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,417

Re: Sound not working (Realtek ALC887-VD)

Do you have modprobe configs trying to redefine module indices? These should largely not be necessary, if not maybe throw in

sudo dmesg | grep snd

Offline

#5 2024-07-16 12:07:19

sh1kto
Member
Registered: 2024-07-14
Posts: 3

Re: Sound not working (Realtek ALC887-VD)

V1del wrote:

Do you have modprobe configs trying to redefine module indices? These should largely not be necessary, if not maybe throw in

sudo dmesg | grep snd

No i don't have any custom modprobe configs And here is the output

[    9.129438] snd_hda_intel 0000:09:00.1: Handle vga_switcheroo audio client
[    9.142019] snd_hda_intel 0000:09:00.6: no codecs found!
[    9.147281] snd_hda_intel 0000:09:00.1: bound 0000:09:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu])

I'm facing an issue with my onboard ALC887-VD audio chip. It seems the system isn't detecting it correctly, likely a driver problem.
Troubleshooting Steps Taken:
Custom modprobe.d Configuration: I added options

snd_hda_intel dmic_detect=0

to

/etc/modprobe.d/alsa-base.conf

but audio remains non-functional.
Missing Analog Output: Running

aplay -l

only shows HDMI playback devices. The expected analog output (ALC887-VD Analog) isn't listed.
I also tried adding options

snd_intel_dspcfg dsp_driver=1

to the same configuration file, but it had no effect.

Desired Outcome:

When audio works correctly,

aplay -l

should display both HDMI and analog outputs, including:

    card 1: Generic_1 [HD-Audio Generic], device 0: ALC887-VD Analog [ALC887-VD Analog]
    card 1: Generic_1 [HD-Audio Generic], device 1: ALC887-VD Digital [ALC887-VD Digital]

Last edited by sh1kto (2024-07-18 12:56:37)

Offline

Board footer

Powered by FluxBB