SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,130
Rep:
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.
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.
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,130
Original Poster
Rep:
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.
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.
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.
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,130
Original Poster
Rep:
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.
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.
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.
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.
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?
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,130
Original Poster
Rep:
Quote:
Originally Posted by enorbet
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.
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,130
Original Poster
Rep:
Quote:
Originally Posted by Darth Vader
@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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.