LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-22-2017, 11:10 PM   #1
maschelsea
Member
 
Registered: Dec 2016
Distribution: Slackware 64bit 14.2
Posts: 325

Rep: Reputation: Disabled
No sound


I am trying to make sure everything still works on my Slackware system since a recent snaffu on my part. So far, everything does except my sound seems to have disappeared. I didn't know how to manually restart the sound service, so I turned the executable bit on for /etc/rc.d/rc.alsa. I tried to restart it, and:
Code:
root@caitlyn:~# /etc/rc.d/rc.alsa start
Setting default ALSA mixer settings.
Storing default ALSA mixer settings:  /usr/sbin/alsactl store
/usr/sbin/alsactl: save_state:1595: No soundcards found...
root@caitlyn:~# dmesg | grep -i audio
[    6.168334] snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client
[    6.311880] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC887-VD: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:line
[    6.312113] snd_hda_codec_realtek hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    6.312339] snd_hda_codec_realtek hdaudioC0D0:    hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
[    6.312566] snd_hda_codec_realtek hdaudioC0D0:    mono: mono_out=0x0
[    6.312693] snd_hda_codec_realtek hdaudioC0D0:    inputs:
[    6.312822] snd_hda_codec_realtek hdaudioC0D0:      Front Mic=0x19
[    6.312949] snd_hda_codec_realtek hdaudioC0D0:      Rear Mic=0x18
[    6.313076] snd_hda_codec_realtek hdaudioC0D0:      Line=0x1a
root@caitlyn:~#
My lspci and lsmod is
Code:
root@caitlyn:~# lspci | grep -i audio
00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 05)
01:00.1 Audio device: NVIDIA Corporation High Definition Audio Controller (rev a1)
root@caitlyn:~# lsmod | grep snd
snd_seq_dummy           1826  0
snd_hrtimer             2264  0
snd_seq                51789  1 snd_seq_dummy
snd_seq_device          4481  1 snd_seq
snd_hda_codec_hdmi     36101  4
snd_hda_codec_realtek    73708  1
snd_hda_codec_generic    60661  1 snd_hda_codec_realtek
snd_hda_intel          29482  4
snd_hda_codec         109389  4 snd_hda_intel,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek
snd_hda_core           65732  5 snd_hda_intel,snd_hda_codec,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek
snd_hwdep               6784  1 snd_hda_codec
snd_pcm                93110  4 snd_hda_intel,snd_hda_codec,snd_hda_core,snd_hda_codec_hdmi
snd_timer              22357  3 snd_seq,snd_hrtimer,snd_pcm
snd                    69819  17 snd_hda_intel,snd_hwdep,snd_seq,snd_hda_codec,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_seq_device,snd_pcm
soundcore               6940  1 snd
So I should have sound, yet I don't. Videos don't seem to be working either. Also, I tried to install rosegarden through sbopkg and one of the dependencies needed ladspa_sdk, so I attempted to install that, but it gets to a point then just stops.
Code:
root@caitlyn:~# sbopkg -i ladspa_sdk

###########################################
       New queue process started on:
       Mon May 22 23:09:22 CDT 2017
###########################################

+++++++++++++++++++++++++++++++++++++++++++
PRE-CHECK LOG
Using the SBo repository for Slackware 14.2
Queue Process:  Download, build, and install

ladspa_sdk:
  Checking GPG for ladspa_sdk.tar.gz ... OK
  Processing ladspa_sdk 1.13-4
  Using original .info file
  Using original SlackBuild file
  No build options selected.

+++++++++++++++++++++++++++++++++++++++++++

Pre-check complete.

Do you wish to proceed based on the search results above? Packages not
found will be skipped during the process.

(P)roceed or (Q)uit?: p


Processing ladspa_sdk

ladspa_sdk:
Found ladspa_sdk_1.13.tgz in /var/cache/sbopkg.
Checking MD5SUM:
  MD5SUM check for ladspa_sdk_1.13.tgz ... OK
Building package for ladspa_sdk...
ladspa_sdk/
ladspa_sdk/snd/
ladspa_sdk/snd/noise.wav
ladspa_sdk/README
ladspa_sdk/plugins/
ladspa_sdk/bin/
ladspa_sdk/doc/
ladspa_sdk/doc/shared_plugins.html
ladspa_sdk/doc/changes.html
ladspa_sdk/doc/license.html
ladspa_sdk/doc/download.html
ladspa_sdk/doc/unique_ids.html
ladspa_sdk/doc/background.html
ladspa_sdk/doc/COPYING
ladspa_sdk/doc/index.html
ladspa_sdk/doc/ladspa.h.txt
ladspa_sdk/doc/overview.html
ladspa_sdk/doc/example_plugins.html
ladspa_sdk/doc/installation.html
ladspa_sdk/src/
ladspa_sdk/src/utils.h
ladspa_sdk/src/default.c
ladspa_sdk/src/listplugins.c
ladspa_sdk/src/search.c
ladspa_sdk/src/plugins/
ladspa_sdk/src/plugins/amp.c
ladspa_sdk/src/plugins/sine.cpp
ladspa_sdk/src/plugins/noise.c
ladspa_sdk/src/plugins/delay.c
ladspa_sdk/src/plugins/filter.c
ladspa_sdk/src/load.c
ladspa_sdk/src/ladspa.h
ladspa_sdk/src/makefile
ladspa_sdk/src/applyplugin.c
ladspa_sdk/src/analyseplugin.c
cc -O2 -fPIC -I. -Wall -Werror -fPIC -o plugins/amp.o -c plugins/amp.c
ld -o ../plugins/amp.so plugins/amp.o -shared
cc -O2 -fPIC -I. -Wall -Werror -fPIC -o plugins/delay.o -c plugins/delay.c
ld -o ../plugins/delay.so plugins/delay.o -shared
cc -O2 -fPIC -I. -Wall -Werror -fPIC -o plugins/filter.o -c plugins/filter.c
ld -o ../plugins/filter.so plugins/filter.o -shared
cc -O2 -fPIC -I. -Wall -Werror -fPIC -o plugins/noise.o -c plugins/noise.c
ld -o ../plugins/noise.so plugins/noise.o -shared
c++ -O2 -fPIC -I. -Wall -Werror -fPIC -o plugins/sine.o -c plugins/sine.cpp
c++ -o ../plugins/sine.so plugins/sine.o -shared
cc -O2 -fPIC -I. -Wall -Werror -fPIC   -c -o analyseplugin.o analyseplugin.c
cc -O2 -fPIC -I. -Wall -Werror -fPIC   -c -o load.o load.c
cc -O2 -fPIC -I. -Wall -Werror -fPIC   -c -o default.o default.c
cc -O2 -fPIC -I. -Wall -Werror -fPIC -ldl -lm					\
	-o ../bin/analyseplugin 				\
	analyseplugin.o load.o default.o
cc -O2 -fPIC -I. -Wall -Werror -fPIC   -c -o applyplugin.o applyplugin.c
cc -O2 -fPIC -I. -Wall -Werror -fPIC -ldl -lm					\
	-o ../bin/applyplugin					\
	applyplugin.o load.o default.o
cc -O2 -fPIC -I. -Wall -Werror -fPIC   -c -o listplugins.o listplugins.c
cc -O2 -fPIC -I. -Wall -Werror -fPIC   -c -o search.o search.c
cc -O2 -fPIC -I. -Wall -Werror -fPIC -ldl -lm					\
	-o ../bin/listplugins	 				\
	listplugins.o search.o
../bin/listplugins
Warning: You do not have a LADSPA_PATH environment variable set.
../bin/analyseplugin ../plugins/filter.so

Plugin Name: "Simple Low Pass Filter"
Plugin Label: "lpf"
Plugin Unique ID: 1041
Maker: "Richard Furse (LADSPA example plugins)"
Copyright: "None"
Must Run Real-Time: No
Has activate() Function: Yes
Has deactivate() Function: No
Has run_adding() Function: No
Environment: Normal or Hard Real-Time
Ports:	"Cutoff Frequency (Hz)" input, control, 0 to 0.5*srate, default 440, logarithmic
	"Input" input, audio
	"Output" output, audio

Plugin Name: "Simple High Pass Filter"
Plugin Label: "hpf"
Plugin Unique ID: 1042
Maker: "Richard Furse (LADSPA example plugins)"
Copyright: "None"
Must Run Real-Time: No
Has activate() Function: Yes
Has deactivate() Function: No
Has run_adding() Function: No
Environment: Normal or Hard Real-Time
Ports:	"Cutoff Frequency (Hz)" input, control, 0 to 0.5*srate, default 440, logarithmic
	"Input" input, audio
	"Output" output, audio

../bin/analyseplugin ../plugins/delay.so

Plugin Name: "Simple Delay Line"
Plugin Label: "delay_5s"
Plugin Unique ID: 1043
Maker: "Richard Furse (LADSPA example plugins)"
Copyright: "None"
Must Run Real-Time: No
Has activate() Function: Yes
Has deactivate() Function: No
Has run_adding() Function: No
Environment: Normal or Hard Real-Time
Ports:	"Delay (Seconds)" input, control, 0 to 5, default 1
	"Dry/Wet Balance" input, control, 0 to 1, default 0.5
	"Input" input, audio
	"Output" output, audio

../bin/analyseplugin ../plugins/sine.so

Plugin Name: "Sine Oscillator (Freq:audio, Amp:audio)"
Plugin Label: "sine_faaa"
Plugin Unique ID: 1044
Maker: "Richard Furse (LADSPA example plugins)"
Copyright: "None"
Must Run Real-Time: No
Has activate() Function: Yes
Has deactivate() Function: No
Has run_adding() Function: No
Environment: Normal or Hard Real-Time
Ports:	"Frequency (Hz)" input, audio, 0 to 0.5*srate, default 440, logarithmic
	"Amplitude" input, audio, 0 to ..., default 1, logarithmic
	"Output" output, audio

Plugin Name: "Sine Oscillator (Freq:audio, Amp:control)"
Plugin Label: "sine_faac"
Plugin Unique ID: 1045
Maker: "Richard Furse (LADSPA example plugins)"
Copyright: "None"
Must Run Real-Time: No
Has activate() Function: Yes
Has deactivate() Function: No
Has run_adding() Function: No
Environment: Normal or Hard Real-Time
Ports:	"Frequency (Hz)" input, audio, 0 to 0.5*srate, default 440, logarithmic
	"Amplitude" input, control, 0 to ..., default 1, logarithmic
	"Output" output, audio

Plugin Name: "Sine Oscillator (Freq:control, Amp:audio)"
Plugin Label: "sine_fcaa"
Plugin Unique ID: 1046
Maker: "Richard Furse (LADSPA example plugins)"
Copyright: "None"
Must Run Real-Time: No
Has activate() Function: Yes
Has deactivate() Function: No
Has run_adding() Function: No
Environment: Normal or Hard Real-Time
Ports:	"Frequency (Hz)" input, control, 0 to 0.5*srate, default 440, logarithmic
	"Amplitude" input, audio, 0 to ..., default 1, logarithmic
	"Output" output, audio

Plugin Name: "Sine Oscillator (Freq:control, Amp:control)"
Plugin Label: "sine_fcac"
Plugin Unique ID: 1047
Maker: "Richard Furse (LADSPA example plugins)"
Copyright: "None"
Must Run Real-Time: No
Has activate() Function: Yes
Has deactivate() Function: No
Has run_adding() Function: No
Environment: Normal or Hard Real-Time
Ports:	"Frequency (Hz)" input, control, 0 to 0.5*srate, default 440, logarithmic
	"Amplitude" input, control, 0 to ..., default 1, logarithmic
	"Output" output, audio

echo ; ../bin/analyseplugin -l ../plugins/sine.so ; echo

sine_faaa  1044  Sine Oscillator (Freq:audio, Amp:audio)
sine_faac  1045  Sine Oscillator (Freq:audio, Amp:control)
sine_fcaa  1046  Sine Oscillator (Freq:control, Amp:audio)
sine_fcac  1047  Sine Oscillator (Freq:control, Amp:control)

../bin/analyseplugin ../plugins/amp.so

Plugin Name: "Mono Amplifier"
Plugin Label: "amp_mono"
Plugin Unique ID: 1048
Maker: "Richard Furse (LADSPA example plugins)"
Copyright: "None"
Must Run Real-Time: No
Has activate() Function: No
Has deactivate() Function: No
Has run_adding() Function: No
Environment: Normal or Hard Real-Time
Ports:	"Gain" input, control, 0 to ..., default 1, logarithmic
	"Input" input, audio
	"Output" output, audio

Plugin Name: "Stereo Amplifier"
Plugin Label: "amp_stereo"
Plugin Unique ID: 1049
Maker: "Richard Furse (LADSPA example plugins)"
Copyright: "None"
Must Run Real-Time: No
Has activate() Function: No
Has deactivate() Function: No
Has run_adding() Function: No
Environment: Normal or Hard Real-Time
Ports:	"Gain" input, control, 0 to ..., default 1, logarithmic
	"Input (Left)" input, audio
	"Output (Left)" output, audio
	"Input (Right)" input, audio
	"Output (Right)" output, audio

../bin/analyseplugin ../plugins/noise.so

Plugin Name: "White Noise Source"
Plugin Label: "noise_white"
Plugin Unique ID: 1050
Maker: "Richard Furse (LADSPA example plugins)"
Copyright: "None"
Must Run Real-Time: No
Has activate() Function: No
Has deactivate() Function: No
Has run_adding() Function: Yes
Environment: Normal or Hard Real-Time
Ports:	"Amplitude" input, control, 0 to ..., default 1, logarithmic
	"Output" output, audio

../bin/applyplugin	-s 1					\
			../snd/noise.wav /tmp/test.wav		\
			../plugins/filter.so lpf 500		\
			../plugins/filter.so lpf 500		\
			../plugins/sine.so sine_fcaa 6000	\
			../plugins/delay.so delay_5s 1 0.1	\
			../plugins/amp.so amp_mono 4		\

Peak output: 27349.5
---------------------------------------------
First listen to the white noise input signal:
---------------------------------------------
sndfile-play ../snd/noise.wav
I don't know if the ladspa_sdk and video problems provide useful clues, but I have a feeling that they'll clear up once this sound issue is resolved. Thanks in advance to all who can help me resolve this issue.
 
Old 05-23-2017, 10:40 AM   #2
maschelsea
Member
 
Registered: Dec 2016
Distribution: Slackware 64bit 14.2
Posts: 325

Original Poster
Rep: Reputation: Disabled
mpg123 also hangs:
Code:
michael@caitlyn ~ $ mpg123 mp3/01\ -\ A\ Mhaire\ Bhruinneall.mp3 
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3
	version 1.23.4; written and copyright by Michael Hipp and others
	free software (LGPL) without any warranty but with best wishes
Decoder: x86-64 (SSE)
Trying output module: alsa, device: <nil>

Directory: mp3/

Terminal control enabled, press 'h' for listing of keys and functions.

Playing MPEG stream 1 of 1: 01 - A Mhaire Bhruinneall.mp3 ...

MPEG 1.0 L III vbr 44100 j-s

Title:   A Mhaire Bhruinneall                       Artist: Susan McKeown                            
Comment: Amazon.com Song ID: 212370448              Album:  Celtic Sampler Summer 2009               
Year:    2009                                       Genre:  International                            
> 0224+4486 -00:00.02+02:02.98 [00:05.85] --- 100=100 224 kb/s  731 B acc    0 clip p+0.000
And the terminal tab it runs in is completely unresponsive. I can't even Control+C it. I should add at this point that mpg123 is aliased. The alias line in my ~/.bashrc says:
Code:
alias mpg123="mpg123 -o alsa -b 1024 -v"

Last edited by maschelsea; 05-23-2017 at 10:45 AM.
 
Old 05-23-2017, 11:27 AM   #3
maschelsea
Member
 
Registered: Dec 2016
Distribution: Slackware 64bit 14.2
Posts: 325

Original Poster
Rep: Reputation: Disabled
I don't know why, but I rebooted and now I have sound. Facebook videos are playing correctly, and mpg123 also.

I would mark this as [WORKSFORME] if there was a way to do that. It's not exactly SOLVED...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to play sound directly from input on USB sound card, a Sound Blaster X-Fi THX JunctaJuvant Other *NIX 10 06-14-2014 02:36 AM
No sound coming from my sound blaster audigy 2 ZS platinum sound card msab Linux - Hardware 9 12-05-2010 05:10 AM
No sound with Diamond Xtreme Sound 5.1 Sound Card - PCI Port Jmccmw Linux - Software 1 07-30-2009 08:43 AM
no sound with front connector after kernel upgrade....Intel HDA onboard sound aus9 Debian 2 01-21-2009 02:43 AM
no sound from sound blaster PCI sound card using mandrake-linux 10.1 box nila56 Linux - Hardware 2 05-29-2006 02:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration