LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 07-30-2017, 08:55 PM   #1
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,130

Rep: Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298
Sound has Disappeared.


Turned the computer on this morning and all was well.
Left it on, which I normally do, when I went out for a few hours.
Came back in the afternoon and all audio had disappeared.
Oh, it is Slackware64-current.
pulse has been working very well since it was added to Slackware...
until now.
I've looked at various files, deleted many, and re-booted, but
nothing has worked. The various applicatiions that use sound
haven't complained. It is as if a mute switch has been turned on, but if so, I can't find it.
Any ideas?
Thanks.

Last edited by cwizardone; 07-30-2017 at 08:56 PM.
 
Old 07-30-2017, 09:01 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,346
Blog Entries: 28

Rep: Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145
You could start by narrowing down the issue.

If these are internal speakers, try jacking external speakers or a headset in the speaker jack and check whether there is sound there. If there is, it's likely a hardware issue with the speakers.

You might also try booting to a live CD of something and testing the sound. If it works with the live CD, then it is likely a Slackware issue.

If these are external speakers and there are no internal speakers, try getting a compatible USB sound card and testing with that.

If you post the make/model of the computer, perhaps there is someone who has experience with that particular box.

Last edited by frankbell; 07-30-2017 at 09:03 PM.
 
Old 07-30-2017, 09:29 PM   #3
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,130

Original Poster
Rep: Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298
I booted over to Xp on another partition and the default realtek audio device wouldn't work, but when playing a video in VLC (for windows, of course) I directed the audio to the HDMI audio devuce on the video card, and the sound came to life. I was able to duplicate this in Slackware64-current and VLC.
I'm starting to wonder if it is possible the realtek audio chip on the motherboard decided to "retire."

The external speakers are attached in two different ways. There is a cable running from the "audio out" on the motherboard to the speakers on the monitor and they are also connected via the HDMI cable running from the video card to the monitor.
As mentioned above, there appears to be no sound coming from the realtek chip to either the speakers or the headphones.

Last edited by cwizardone; 07-30-2017 at 09:38 PM.
 
Old 07-30-2017, 10:04 PM   #4
kingbeowulf
Senior Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware
Posts: 1,266
Blog Entries: 11

Rep: Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744
Did you check to see if the realek module is loaded and if 'lspci' sees the audio device? That's the 1st step if you suspect the chip went belly up. Also, There's a '/usr/bin/alsa-info.sh' script that attempts to do some diagnostics.

You can try "aplay" to see what devices ALSA sees, since if ALSA doesn't see the device, then neither will pulseaudio:
Code:
-l, --list-devices      list all soundcards and digital audio devices
-L, --list-pcms         list device names
Use the pcm device names to figure out where the sound is going:
Code:
$ speaker-test -c2 -Dplug:front -twav
I had a case once where for some reason, no doubt something silly I did, the sound shifted from REAR to FRONT speakers on an old Soundblaster card (long before pulsaudio was added so I can't blame that). There was nothing plugged in to the FRONT jacks. It took me a day to figure that out until I discovered 'speaker-test'. Nuts.
 
Old 07-31-2017, 09:36 AM   #5
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,130

Original Poster
Rep: Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298
Here are the two important lines from lspci,

Quote:
00:04.0 Multimedia audio controller: NVIDIA Corporation CK804 AC'97 Audio Controller (rev a2)
and
05:00.1 Audio device: NVIDIA Corporation GK208 HDMI/DP Audio Controller (rev a1)

and from aplay -l

Quote:
**** List of PLAYBACK Hardware Devices ****
card 0: CK804 [NVidia CK804], device 0: Intel ICH [NVidia CK804]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: CK804 [NVidia CK804], device 2: Intel ICH - IEC958 [NVidia CK804 - IEC958]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0

and from aplay -L

Quote:
aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
pulse
PulseAudio Sound Server
default:CARD=CK804
NVidia CK804, NVidia CK804
Default Audio Device
sysdefault:CARD=CK804
NVidia CK804, NVidia CK804
Default Audio Device
front:CARD=CK804,DEV=0
NVidia CK804, NVidia CK804
Front speakers
surround21:CARD=CK804,DEV=0
NVidia CK804, NVidia CK804
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=CK804,DEV=0
NVidia CK804, NVidia CK804
4.0 Surround output to Front and Rear speakers
surround41:CARD=CK804,DEV=0
NVidia CK804, NVidia CK804
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=CK804,DEV=0
NVidia CK804, NVidia CK804
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=CK804,DEV=0
NVidia CK804, NVidia CK804
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=CK804,DEV=0
NVidia CK804, NVidia CK804
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=CK804,DEV=0
NVidia CK804, NVidia CK804 - IEC958
IEC958 (S/PDIF) Digital Audio Output
hdmi:CARD=NVidia,DEV=0
HDA NVidia, HDMI 0
HDMI Audio Output
hdmi:CARD=NVidia,DEV=1
HDA NVidia, HDMI 1
HDMI Audio Output

From speaker test,

Quote:
speaker-test -c2 -Dplug:front -twav

speaker-test 1.1.4

Playback device is plug:front
Stream parameters are 48000Hz, S16_LE, 2 channels
WAV file(s)
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 8 to 16384
Period size range from 8 to 16384
Using max buffer size 16384
Periods = 4
was set period_size = 4096
was set buffer_size = 16384
0 - Front Left
1 - Front Right
Time per period = 2.731305
0 - Front Left
1 - Front Right....
and so on, and on on, and so on....

It looks in order, but, as frankbell suggested, I just booted from a LiveSlack DVD (dated 2-14-17) and the problem remains. Absolutely no
sound via the default realtek 'AC97 device (aka, NVidia CK804), but you can route sound in VLC through the HDMI audio device on the video card.

I'm no expert (obviously ), but it would appear to be a motherboard/hardware problem. I've been putting off buying a new motherboard until the release of the next LTS kernel, but maybe this will force me to bite the bullet.

OTOH, if it is possible to have pulseaudio force ALL audio through the HDMI card AND to the headphones, then I can live with that, but from what I've read so far while trying to diagnose this problem, that does not appear to be feasible.

Any suggestion would be appreciated.
Many thanks.

Last edited by cwizardone; 07-31-2017 at 09:46 AM.
 
Old 07-31-2017, 12:17 PM   #6
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,130

Original Poster
Rep: Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298
OK, I've been digging around in the Arch documentation and found that by setting the analog device as the secondary source I now have sound through the HDMI device on the video card. That adds a new item in pavucontrol entitled,
"Simultaneous output to Built-in Audio, GK20 HDMI/DP Audio Controller Digital Stereo (HDMI 2), Built-in Audio Analog Stereo."

So, sound is now available via the speakers, but I have yet to be able to route it through the headphones.
Work in progress.

Last edited by cwizardone; 07-31-2017 at 12:19 PM.
 
Old 08-01-2017, 04:11 AM   #7
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,130

Original Poster
Rep: Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298
Well, no luck with the headphones. It appears the audio ports
on the motherboard are dead.
So, the hunt begins for a new motherboard and CPU.
 
Old 08-01-2017, 04:59 AM   #8
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 2,160

Rep: Reputation: 449Reputation: 449Reputation: 449Reputation: 449Reputation: 449
If it happens all of a sudden, I think there's a good chance that audio chip has gone south. USB with audio ports I think it's kinda cheap. Just saying for alternative, but of course if you got extra cash then a new one is definitely better.
 
1 members found this post helpful.
Old 08-01-2017, 06:43 PM   #9
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
is this a tower/case or a laptop/netbook

if tower, it might be that your connectors on the motherboard to the audio ports such as to headphones etc are loose and need re-bedding
meaning push down on the connectors.
 
1 members found this post helpful.
Old 08-02-2017, 12:45 AM   #10
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
Wonders is the MB or the speakers bad cable. Sad if the card is going. had a short on a cable once drove me crazy.
 
1 members found this post helpful.
Old 08-02-2017, 03:36 AM   #11
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
@cwizardone

To note that I have a motherboard which lost his voice around 5 years ago, then used it in a server box, where do its duty until present.

Losing the audio part is not an End of World, the motherboard can continue to work many years later.

The best option is, in my opinion, to use a cheap PCI audio card, which anyways would outperform the built-in audio.

If you can live with HDMI and headphones, there are plenty of headphones who use directly the USB and appear as an audio device, if you do not want that, a small USB audio stick would do the job.

Last edited by Darth Vader; 08-02-2017 at 03:20 PM.
 
1 members found this post helpful.
Old 08-02-2017, 03:06 PM   #12
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,787

Rep: Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435
I find myself wondering why you even bother with the onboard chip when HDMI works for you. The HDMI should be superior sound and more free of mobo noise so why not just disable the realtek in BIOS/UEFI ? Keep It Simple, right?
 
Old 08-02-2017, 05:21 PM   #13
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,130

Original Poster
Rep: Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298
Quote:
Originally Posted by enorbet View Post
I find myself wondering why you even bother with the onboard chip when HDMI works for you. The HDMI should be superior sound and more free of mobo noise so why not just disable the realtek in BIOS/UEFI ? Keep It Simple, right?
Oh, I would agree, but I haven't been able to route the sound to the headphones. The headphone jack orginates on the motherboard and all the audio ports on the motherboard appear to be dead.

One problem I've noticed with using HDMI is the multimedia keys don't work correctly. In Xfce they allow you to mute and lower the sound, but once lowered you can't raise the volume with the key, but have to use the mouse and the slider. Not quick enough. I haven't tried it in KDE-4.

Last edited by cwizardone; 08-02-2017 at 05:33 PM.
 
Old 08-02-2017, 05:30 PM   #14
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,130

Original Poster
Rep: Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298
Quote:
Originally Posted by Darth Vader View Post
@cwizardone

To note that I have a motherboard which lost his voice around 5 years ago, then used it in a server box, where do its duty until present.

Losing the audio part is not an End of World, the motherboard can continue to work many years later.

The best option is, in my opinion, to use a cheap PCI audio card, which anyways would outperform the built-in audio.

If you can live with HDMI and headphones, there are plenty of headphones who use directly the USB and appear as an audio device, if you do not want that, a small USB audio stick would do the job.
So, you are saying those little eight dollar doogles that plug into a USB port are actually sounds cards and give one a working headphone jack?
 
Old 08-02-2017, 05:47 PM   #15
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
Quote:
Originally Posted by cwizardone View Post
So, you are saying those little eight dollar doogles that plug into a USB port are actually sounds cards and give one a working headphone jack?
Yup, that's idea.

They are some (lame) sound cards, with headphone and microphone jacks.

BUT, they work well, if you ask them for what they're built.

Last edited by Darth Vader; 08-02-2017 at 05:52 PM.
 
1 members found this post helpful.
  


Reply



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] Sound disappeared from Skype teboil12 Linux - Software 5 10-11-2014 07:22 AM
sound disappeared shamimkhaliq Linux - Desktop 4 04-01-2009 03:21 AM
Sound has disappeared. There one minute gone the next. cwizardone Slackware 3 02-23-2007 01:53 PM
sound driver disappeared sycamorex Slackware 9 07-15-2006 05:35 PM
My sound suddenly disappeared!? thw Linux - Newbie 1 04-18-2004 03:20 PM

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

All times are GMT -5. The time now is 12:28 AM.

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
Open Source Consulting | Domain Registration