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 01-08-2024, 06:55 AM   #1
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,404

Rep: Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337
Sound problem on ~Current-2023-12-26


I get no sound on Current.

EDIT: Downgrade this to a problem to Chomium-based browsers. Chromium-ungoogled-120.??? & brave 1.61.???

I think it boils down to this.
Code:
bash-5.2$ cat /proc/asound/cards
 0 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xc0210000 irq 28
The selected soundcard gives out nothing. There's one sound setup in this elderly laptop. I can go into alsamixer, select the second option, unmute & set volumes (again), & restart all sound and it often works until the next startup.

Can I get around it by correcting some currently unknown config file, or putting something like
Code:
cat " 0 [PCH            ]: HDA Intel PCH at 0xc0210000 irq 28  " > /proc/asound/cards
at the end of rc.M or maybe /etc/rc.d/rc.local?

EDIT: I can'[t actually do this. I'm not allowed (as root) or can't stop pulseaudio or alsa either.

Last edited by business_kid; 01-08-2024 at 07:31 AM.
 
Old 01-08-2024, 07:56 AM   #2
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,849

Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
/etc/rc.d/rc.alsa and /etc/rc.d/rc.pulseaudio should not be executable.

Forget alsa utilities. Run pavucontrol. On the top menu, click "Output Devices'. There is "Built-in Audio Analog Stereo" or similar and a speaker icon. Is the speaker icon on a grey background (muted)? Click to unmute and you get a blue volume slider below. Do you get any sound now? Is the "Port" correct?

The pulseaudio settings are saved in $HOME/.config/pulse.
 
3 members found this post helpful.
Old 01-08-2024, 02:00 PM   #3
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,404

Original Poster
Rep: Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337
Thanks for the reply.

Pulseaudio wasn't executable, fixed rc.alsa, went through pavucontrol. Things looked slightly better. Chromium-ungoogled worked with brave 'bravely chickening out' to quote Sir Robin's Minstrel (referencing "Monty Python & the Holy Grail")
Just ignore that if you're not into Monty Python.

So you fixed chromium-ungoogled for me, and I'm thanking you for the solution & marking this solved.
 
Old 01-16-2024, 02:22 AM   #4
dchmelik
Senior Member
 
Registered: Nov 2008
Location: USA
Distribution: Slackware, FreeBSD, Illumos, NetBSD, DragonflyBSD, Plan9, Inferno, OpenBSD, FreeDOS, HURD
Posts: 1,074

Rep: Reputation: 149Reputation: 149
Rc.alsa-oss neither? Lately I haven't had chrome/chromium audio either (works in all other web browsers) so I'll try this later.
 
Old 01-16-2024, 02:30 AM   #5
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,849

Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
Quote:
Originally Posted by dchmelik View Post
Rc.alsa-oss neither?
No, it should not be used either.
 
Old 01-16-2024, 07:03 AM   #6
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,404

Original Poster
Rep: Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337
As I stand now, alsamixer is still randomly required to select & unmute the correct soundcard, and store settings.

Chromium sound works, Brave works. Palemoon has sopund but no video on some sites. I haven't made serious efforts to sort that.
 
Old 01-16-2024, 08:00 AM   #7
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,849

Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
Quote:
Originally Posted by business_kid View Post
As I stand now, alsamixer is still randomly required to select & unmute the correct soundcard, and store settings.
Does pavucontrol not work?
 
Old 01-16-2024, 09:23 AM   #8
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,404

Original Poster
Rep: Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337
pavucontrol sees no input, like I don't have any sound card fitted
 
Old 01-16-2024, 09:51 AM   #9
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,849

Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
Quote:
Originally Posted by business_kid View Post
pavucontrol sees no input, like I don't have any sound card fitted
What about Output Devices?
 
Old 01-16-2024, 10:42 AM   #10
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,404

Original Poster
Rep: Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337
No output devices - like I've no sound card fitted. 15.0 is OK, this is just on Current. But it's a 10 year old laptop, with a cheap intel cpu & chipset, so what can one hope for? At least it's faster than it was new, because I upgraded the spinning rust to an ssd.
 
Old 01-17-2024, 02:16 AM   #11
dchmelik
Senior Member
 
Registered: Nov 2008
Location: USA
Distribution: Slackware, FreeBSD, Illumos, NetBSD, DragonflyBSD, Plan9, Inferno, OpenBSD, FreeDOS, HURD
Posts: 1,074

Rep: Reputation: 149Reputation: 149
I thought turning off rc.pulseaudio would turn off audio, but it didn't... what's the reason to actually have rc.pulseaudio disabled? I think I also have some old programs that use ALSA and maybe even OSS like someone explained above is needed for soundcard configuration/volume.
 
Old 01-17-2024, 03:44 AM   #12
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,849

Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
Quote:
Originally Posted by dchmelik View Post
what's the reason to actually have rc.pulseaudio disabled?
From /etc/rc.d/rc.pulseaudio:
Code:
# Please note:  this is not generally the best way to use PulseAudio!
# Normally pulseaudio will start automatically as-needed with an instance
# per audio user.  Unless you really need to use system mode you should leave
# this script non-executable.
Quote:
Originally Posted by dchmelik View Post
I think I also have some old programs that use ALSA and maybe even OSS like someone explained above is needed for soundcard configuration/volume.
By default, in Slackware /etc/asound.conf redirects ALSA to PulseAudio. alsamixer only sees 'Card: PulseAudio'. If your old program only uses OSS, you might want to try aoss which redirects OSS to ALSA (which gets redirected to PulseAudio). You should not enable /etc/rc.d/rc.alsa-oss because the real OSS blocks the sound device from other sound users. From that file:
Code:
# Load the ALSA OSS kernel modules to support OSS applications.
# To use this, set this script as executable (chmod 755 rc.alsa-oss)
# and it will be run from the main rc.alsa script.  Unless you know
# that something requires OSS support, it is better to leave this
# script disabled.  Some applications will try OSS first even though
# they also support ALSA, and will block other applications from
# using audio I/O.
#
# Many programs that use OSS can be run using the aoss wrapper and
# will then use ALSA in a non-blocking way (and will not require
# loading these kernel modules).  Consider trying that before enabling
# these modules.  (See "man aoss")
 
1 members found this post helpful.
Old 01-17-2024, 06:26 AM   #13
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,404

Original Poster
Rep: Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337
I didn't think the issue was with pulse or alsa.

My soundcard is seen 1½ times in alsamixer. The ½ is selected bu default, and the '1' is muted. I have to deselect the '½' and select the (muted) '1' and unmute it. When I finish, neither pulse nor alsa is running.
 
Old 01-19-2024, 08:08 PM   #14
dchmelik
Senior Member
 
Registered: Nov 2008
Location: USA
Distribution: Slackware, FreeBSD, Illumos, NetBSD, DragonflyBSD, Plan9, Inferno, OpenBSD, FreeDOS, HURD
Posts: 1,074

Rep: Reputation: 149Reputation: 149
After I turned off the rc scripts, seems I no longer can get input for my Creative Labs Sound Blaster Audigy 2 ZS platinum front panel microphone socket.
 
Old 01-20-2024, 03:37 AM   #15
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,849

Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
Quote:
Originally Posted by dchmelik View Post
After I turned off the rc scripts, seems I no longer can get input for my Creative Labs Sound Blaster Audigy 2 ZS platinum front panel microphone socket.
If you run 'pavucontrol', do you see it under the menu item 'Input Devices' after you insert the microfone plug in the socket? Try to click 'Port:' to see what ports are available.

Last edited by Petri Kaukasoina; 01-20-2024 at 03:38 AM.
 
  


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
Dec 2023 - Slackware-current AArch64 Installers refresh drmozes Slackware - ARM 2 12-13-2023 12:11 PM
[SOLVED] bitwarden 2023.9.2 - Problem after upgrade from 2023 9 0 MDKDIO Slackware 10 10-21-2023 06:21 AM
Razer Blade 14 (2023) - No Sound Ubuntu 23.04 OldSanJuan Linux - Laptop and Netbook 4 07-06-2023 11:47 PM
[SOLVED] Slack CURRENT: last update (28,june,2023) I lost X -- Xorg errors in body of this post BW-userx Slackware 8 06-29-2023 08:37 AM

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

All times are GMT -5. The time now is 03:17 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
Open Source Consulting | Domain Registration