Audio not working: mpg123 library not found in fresh install slackware-current
by notpua from LinuxQuestions.org on (#6E4TD)
Hey slackers,
I installed slackware today morning and setup slpkg with the following repos enabled:
Code:Repositories Information:
=========================================================================================================================================
Name: Status: Last Updated: Packages:
=========================================================================================================================================
sbo Enabled Sat Aug 19 02:16:42 UTC 2023 8939
ponce Enabled Sat Aug 19 02:16:42 UTC 2023 8908
slack Enabled Wed Aug 16 20:45:00 UTC 2023 1590
slack_extra Enabled Wed Aug 16 20:45:00 UTC 2023 107
slack_patches Disabled 0
alien Enabled Wed Aug 23 18:31:40 UTC 2023 478
multilib Disabled 0
restricted Disabled 0
gnome Disabled 0
msb Disabled 0
csb Disabled 0
conraid Enabled Tue Aug 22 11:35:45 UTC 2023 933
slackonly Enabled Wed Jul 27 03:06:10 UTC 2022 4548
salixos Disabled 0
salixos_extra Enabled Wed Aug 16 20:45:00 UTC 2023 107
salixos_patches Disabled 0
slackel Enabled Thu Aug 24 2023 986
slint Enabled Tuesday 8 August 2023 1084
=========================================================================================================================================
Total of 10/18 repositories are enabled with 27680 packages available.But the audio seems to be not working, here are the outputs of my troubleshooting steps. The hardware and drivers seem alright
Code:# lsmod | grep snd
snd 114688 13 snd_ctl_led,snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_sof,snd_timer,snd_soc_hdac_hdmi,snd_compress,snd_soc_core,snd_pcm
soundcore 16384 2 snd_ctl_led,snd
ledtrig_audio 16384 3 snd_ctl_led,snd_hda_codec_generic,asus_wmiand
Code:# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: sofhdadsp [sof-hda-dsp], device 0: HDA Analog (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 3: HDMI1 (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 4: HDMI2 (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 5: HDMI3 (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 31: HDA Analog Deep Buffer (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0But alsamixer fails saying
Code:$ alsamixer 0
ALSA lib dlmisc.c:337:(snd_dlobj_cache_get0) Cannot open shared library libasound_module_ctl_pulse.so (libmpg123.so.0: cannot open shared object file: No such file or directory)
cannot open mixer: No such device or addressCode:$ pavucontrol
libmpg123.so.0: cannot open shared object file: No such file or directoryeven mpv and pactl give same error:
Assuming some pulse audio issue i installed, I installed pipewire ( wireplumber ) and also ran the enabling scripts for both
I installed slackware today morning and setup slpkg with the following repos enabled:
Code:Repositories Information:
=========================================================================================================================================
Name: Status: Last Updated: Packages:
=========================================================================================================================================
sbo Enabled Sat Aug 19 02:16:42 UTC 2023 8939
ponce Enabled Sat Aug 19 02:16:42 UTC 2023 8908
slack Enabled Wed Aug 16 20:45:00 UTC 2023 1590
slack_extra Enabled Wed Aug 16 20:45:00 UTC 2023 107
slack_patches Disabled 0
alien Enabled Wed Aug 23 18:31:40 UTC 2023 478
multilib Disabled 0
restricted Disabled 0
gnome Disabled 0
msb Disabled 0
csb Disabled 0
conraid Enabled Tue Aug 22 11:35:45 UTC 2023 933
slackonly Enabled Wed Jul 27 03:06:10 UTC 2022 4548
salixos Disabled 0
salixos_extra Enabled Wed Aug 16 20:45:00 UTC 2023 107
salixos_patches Disabled 0
slackel Enabled Thu Aug 24 2023 986
slint Enabled Tuesday 8 August 2023 1084
=========================================================================================================================================
Total of 10/18 repositories are enabled with 27680 packages available.But the audio seems to be not working, here are the outputs of my troubleshooting steps. The hardware and drivers seem alright
Code:# lsmod | grep snd
snd 114688 13 snd_ctl_led,snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_sof,snd_timer,snd_soc_hdac_hdmi,snd_compress,snd_soc_core,snd_pcm
soundcore 16384 2 snd_ctl_led,snd
ledtrig_audio 16384 3 snd_ctl_led,snd_hda_codec_generic,asus_wmiand
Code:# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: sofhdadsp [sof-hda-dsp], device 0: HDA Analog (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 3: HDMI1 (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 4: HDMI2 (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 5: HDMI3 (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 31: HDA Analog Deep Buffer (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0But alsamixer fails saying
Code:$ alsamixer 0
ALSA lib dlmisc.c:337:(snd_dlobj_cache_get0) Cannot open shared library libasound_module_ctl_pulse.so (libmpg123.so.0: cannot open shared object file: No such file or directory)
cannot open mixer: No such device or addressCode:$ pavucontrol
libmpg123.so.0: cannot open shared object file: No such file or directoryeven mpv and pactl give same error:
Assuming some pulse audio issue i installed, I installed pipewire ( wireplumber ) and also ran the enabling scripts for both