LinuxQuestions.org
Help answer threads with 0 replies.
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 08-16-2021, 11:24 AM   #16
drgibbon
Senior Member
 
Registered: Nov 2014
Distribution: Slackware64 15.0
Posts: 1,221

Original Poster
Rep: Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943

Quote:
Originally Posted by LuckyCyborg View Post
The PulseAudio wasn't upgraded (but rebuilt) on the last batch, but the kernel was upgraded to latest version.

In other hand, the PipeWire has an alternate implementation of PulseAudio server. And it fails too, according with you.

So, the fault's with the kernel. Maybe you should tune something, like others here said.
Perhaps there is some interaction, but I can get sound by downgrading to pulseaudio-14.2 even with the latest kernel (kernel-generic-5.13.11). I could also try the previous kernel with pulseaudio-15.0 and see how that goes.
 
Old 08-16-2021, 11:24 AM   #17
dr.s
Member
 
Registered: Feb 2010
Distribution: Slackware64-current
Posts: 339

Rep: Reputation: 156Reputation: 156
Quote:
Originally Posted by drgibbon View Post

*edit* Downgrading to pulseaudio-14.2 is a partial fix, my HDMI sound doesn't work, but direct audio out does at least (neither work with pulseaudio-15.0).
Upgrading another machine (a desktop with hdmi), got sound working again by just uninstalling then re-installing alsa-lib and pulseaudio-15.0

@pomf, thanks for the idea.

Last edited by dr.s; 08-16-2021 at 11:39 AM. Reason: typo
 
Old 08-16-2021, 11:26 AM   #18
elMoco
Member
 
Registered: Jul 2010
Distribution: Slackware
Posts: 45

Rep: Reputation: 11
I am having a similar but not exactly same problem.

I usually use two output devices: Jabra USB headset or Built-In audio via HDMI.

Since the last update update the HDMI part is not working, but I can use the USB device. I've tried downgrading to pulseaudio-14.2-x86_64-3 and there are some differences, but the result is the same: no audio through HDMI.

pulseaudio-14.2-x86_64-3
Code:
root@liet:~# inxi -bAz
System:    Kernel: 5.13.11 x86_64 bits: 64 Console: tty pts/1 Distro: Slackware 15.0
Machine:   Type: Desktop System: ASUS product: All Series v: N/A serial: N/A
           Mobo: ASUSTeK model: B85M-G v: Rev X.0x serial: <filter> UEFI: American Megatrends v: 3602 date: 03/23/2018
CPU:       Info: Quad Core Intel Core i5-4670 [MCP] speed: 1183 MHz min/max: 800/3800 MHz
Graphics:  Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics driver: i915 v: kernel
           Display: server: X.Org 1.20.13 driver: loaded: modesetting unloaded: vesa resolution: 2560x1080
           OpenGL: renderer: Mesa DRI Intel HD Graphics 4600 (HSW GT2) v: 4.5 Mesa 21.1.7
Audio:     Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio driver: snd_hda_intel
           Device-2: Intel 8 Series/C220 Series High Definition Audio driver: snd_hda_intel
           Device-3: Logitech Webcam C270 type: USB driver: snd-usb-audio,uvcvideo
           Device-4: GN Netcom Jabra Link 370 type: USB driver: jabra,snd-usb-audio,usbhid
           Sound Server-1: ALSA v: k5.13.11 running: yes
           Sound Server-2: PulseAudio v: 14.2 running: yes
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: r8169
Drives:    Local Storage: total: 9.55 TiB used: 2 TiB (21.0%)
Info:      Processes: 238 Uptime: 5m Memory: 15.51 GiB used: 3 GiB (19.3%) Shell: Bash inxi: 3.3.03
And in Settings > Audio I can see the output device and potential profiles (screenshot attached)

pulseaudio-15.0-x86_64-2
Code:
root@liet:~# inxi -bAz
System:    Kernel: 5.13.11 x86_64 bits: 64 Console: tty pts/1 Distro: Slackware 15.0
Machine:   Type: Desktop System: ASUS product: All Series v: N/A serial: N/A
           Mobo: ASUSTeK model: B85M-G v: Rev X.0x serial: <filter> UEFI: American Megatrends v: 3602 date: 03/23/2018
CPU:       Info: Quad Core Intel Core i5-4670 [MCP] speed: 2174 MHz min/max: 800/3800 MHz
Graphics:  Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics driver: i915 v: kernel
           Display: server: X.Org 1.20.13 driver: loaded: modesetting unloaded: vesa resolution: 2560x1080
           OpenGL: renderer: Mesa DRI Intel HD Graphics 4600 (HSW GT2) v: 4.5 Mesa 21.1.7
Audio:     Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio driver: snd_hda_intel
           Device-2: Intel 8 Series/C220 Series High Definition Audio driver: snd_hda_intel
           Device-3: Logitech Webcam C270 type: USB driver: snd-usb-audio,uvcvideo
           Device-4: GN Netcom Jabra Link 370 type: USB driver: jabra,snd-usb-audio,usbhid
           Sound Server-1: ALSA v: k5.13.11 running: yes
           Sound Server-2: PulseAudio v: 15.0 running: yes
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: r8169
Drives:    Local Storage: total: 9.55 TiB used: 2 TiB (21.0%)
Info:      Processes: 227 Uptime: 14m Memory: 15.51 GiB used: 3.09 GiB (19.9%) Shell: Bash inxi: 3.3.03
In this case, with PulseAudio 15, in Settings > Audio I can see the output device but the only profile available is off (screenshot attached)

And edit to confirm pomf hint works: I reinstalled alsa-lib and pulseaudio and everything working fine again (re-installing only pulseaudio wasn't enough)
Attached Thumbnails
Click image for larger version

Name:	Audio-Settings-Pulse14.2.png
Views:	29
Size:	112.6 KB
ID:	36938   Click image for larger version

Name:	Audio-Settings-Pulse15.0.png
Views:	22
Size:	107.6 KB
ID:	36939  

Last edited by elMoco; 08-16-2021 at 11:41 AM. Reason: FIXED
 
1 members found this post helpful.
Old 08-16-2021, 11:38 AM   #19
dr.s
Member
 
Registered: Feb 2010
Distribution: Slackware64-current
Posts: 339

Rep: Reputation: 156Reputation: 156
Quote:
Originally Posted by pomf View Post
I had sound but noticed I can't access or control the mixer in any meaningful way (and that's only because my volume changing keybinds defined for xbindkeys stopped working). The errors spewed by alsa seemed to indicate an issue with configuration and the problem resolved itself after I:
  1. reinstalled alsa-lib and pulseaudio while overwriting every config it prompted for
  2. reapplied the previous workarounds to disable the pulseaudio malware
At that point everything started working fine but I think reinstalling alsa-lib and pulseaudio caused new-config to notice more changes between configs than before - so take notice of that. I should've paid more attention but I was getting a bit flustered at this point
Thanks for this, got sound working again after a clean uninstall/reinstall of latest pulseaudio and alsa-lib.
 
3 members found this post helpful.
Old 08-16-2021, 11:51 AM   #20
drgibbon
Senior Member
 
Registered: Nov 2014
Distribution: Slackware64 15.0
Posts: 1,221

Original Poster
Rep: Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943
Quote:
Originally Posted by elMoco View Post
And edit to confirm pomf hint works: I reinstalled alsa-lib and pulseaudio and everything working fine again (re-installing only pulseaudio wasn't enough)
Yes, I can confirm that this restores my sound with the latest pulseaudio-15.0, although I have only HDMI audio working (no audio out on the computer any more).

But now I realize that my problems actually started earlier. I only switched to HDMI audio fairly recently because I thought my regular audio out hardware had died, turns out it's some weird Pulse issue (maybe starting with 15.0?). I've lost track of all the installs/uninstalls I've been doing just now, but at one point I had only regular audio out and no HDMI, whereas now I'm back to only HDMI audio working with regular audio out being dead. All pretty weird, so I'm hesitant to mark this is as solved, but from pomf's tip I did*:
Code:
slackpkg reinstall alsa-lib alsa-oss alsa-plugins alsa-utils pulseaudio pulseaudio-qt
which gave me working HDMI out (and non-working regular audio out).

*edit* only `slackpkg reinstall alsa-lib` is required.

Last edited by drgibbon; 08-17-2021 at 05:38 AM.
 
3 members found this post helpful.
Old 08-16-2021, 11:55 AM   #21
sombragris
Member
 
Registered: Jul 2004
Location: Asuncion, Paraguay, South America
Distribution: Slackware
Posts: 859

Rep: Reputation: 383Reputation: 383Reputation: 383Reputation: 383
I had my speakers working, but my HDMI audio died after upgrading to RC1. I can confirm tha the workaround offered by @pomf fixed the issue (uninstall alsa-lib and pulseaudio and reinstall them). Thanks @pomf and fellow Slackers.

Last edited by sombragris; 08-16-2021 at 12:03 PM.
 
Old 08-16-2021, 11:56 AM   #22
garpu
Senior Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 1,538

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Everything's OK here. (ICE1712) Jack's OK. What drivers are you using with your sound device?
 
Old 08-16-2021, 12:11 PM   #23
drgibbon
Senior Member
 
Registered: Nov 2014
Distribution: Slackware64 15.0
Posts: 1,221

Original Poster
Rep: Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943
OK, so I am back to where I started prior to RC1 (HDMI audio working, but regular audio out not working). Considering the original thread issue was no sound at all (which was fixed by reinstalling alsa-lib and pulseaudio), I'll mark it as solved.

Last edited by drgibbon; 08-16-2021 at 12:22 PM.
 
Old 08-16-2021, 12:15 PM   #24
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,505

Rep: Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320
Quote:
Originally Posted by drgibbon View Post
Yes, I can confirm that this restores my sound with the latest pulseaudio-15.0, although I have only HDMI audio working (no audio out on the computer any more).

But now I realize that my problems actually started earlier. I only switch to HDMI audio fairly recently because I thought my regular audio out hardware had died, turns out it's some weird Pulse issue (maybe starting with 15.0?). I've lost track of all the installs/uninstalls I've been doing just now, but at one point I had only regular audio out and no HDMI, whereas now I'm back to only HDMI audio working with regular audio out being dead. All pretty weird, so I'm hesitant to mark this is as solved, but from pomf's tip I did:
Code:
slackpkg reinstall alsa-lib alsa-oss alsa-plugins alsa-utils pulseaudio pulseaudio-qt
which gave me working HDMI out (and non-working regular audio out).
Did you tried the kernel parameter suggested there by dr.s ?

https://www.linuxquestions.org/quest...2/#post6275680

Code:
snd_intel_dspcfg.dsp_driver=1
 
Old 08-16-2021, 12:17 PM   #25
drgibbon
Senior Member
 
Registered: Nov 2014
Distribution: Slackware64 15.0
Posts: 1,221

Original Poster
Rep: Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943
Quote:
Originally Posted by LuckyCyborg View Post
So, the fault's with the kernel. Maybe you should tune something, like others here said.

Please note that something is changed on configuration regarding audio, on this latest kernel.
The total loss of sound problem was something to do with alsa/pulse (reinstalling those packages fixed the HDMI sound).

Since fixing the HDMI audio out, I've tested the Pipewire setup with kernels 5.13.8 and 5.13.11, and there is no difference for me between Pipewire and pulseaudio-15.0 (i.e., HDMI works, but regular audio out doesn't work). Maybe something changed in an earlier kernel, I don't know.

Last edited by drgibbon; 08-16-2021 at 12:19 PM.
 
Old 08-16-2021, 12:30 PM   #26
drgibbon
Senior Member
 
Registered: Nov 2014
Distribution: Slackware64 15.0
Posts: 1,221

Original Poster
Rep: Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943
Quote:
Originally Posted by LuckyCyborg View Post
Did you tried the kernel parameter suggested there by dr.s?
It has no effect.
 
Old 08-16-2021, 01:28 PM   #27
fourtysixandtwo
Member
 
Registered: Jun 2021
Location: Alberta
Distribution: Slackware...mostly
Posts: 318

Rep: Reputation: 209Reputation: 209Reputation: 209
Quote:
Originally Posted by drgibbon View Post
The total loss of sound problem was something to do with alsa/pulse (reinstalling those packages fixed the HDMI sound).

Since fixing the HDMI audio out, I've tested the Pipewire setup with kernels 5.13.8 and 5.13.11, and there is no difference for me between Pipewire and pulseaudio-15.0 (i.e., HDMI works, but regular audio out doesn't work). Maybe something changed in an earlier kernel, I don't know.
Reinstalling alsa-lib and pulseaudo-15 fixed it for me as well.

For those running pipewire make sure not to overwrite /etc/pulse/client.conf and rename /etc/xdg/autostart/pulseaudio.desktop to /etc/xdg/autostart/pulseaudio.disabled or remove it after upgrading/reinstalling pulseaudio-15. I completely forgot I'd modified client.conf and caught the other issue double checking the pipewire setup.
 
Old 08-16-2021, 05:44 PM   #28
garpu
Senior Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 1,538

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
I spoke too soon. Firefox is OK. Supercollider is OK. Any game with Proton is OK, as is any native sound-producing application. (Frescobaldi with timidity also OK.) WINE applications are not, although I suspect my WINE will need to be rebuilt.

Last edited by garpu; 08-16-2021 at 05:53 PM.
 
Old 08-16-2021, 07:55 PM   #29
garpu
Senior Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 1,538

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
No change on rebuilt WINE. Is it a gstreamer issue? The default.pa was missing those lines, so I added it, pulseaudio -k, but still no sound with WINE. There's definitely something up with pulse:

Code:
00fc:fixme:pulse:pulse_channel_map_to_channel_mask Unhandled channel aux0
00fc:fixme:pulse:pulse_channel_map_to_channel_mask Unhandled channel aux1
00fc:fixme:pulse:pulse_channel_map_to_channel_mask Unhandled channel aux0
00fc:fixme:pulse:pulse_channel_map_to_channel_mask Unhandled channel aux1
00fc:fixme:pulse:pulse_channel_map_to_channel_mask Unhandled channel aux2
00fc:fixme:pulse:pulse_channel_map_to_channel_mask Unhandled channel aux3
00fc:fixme:pulse:pulse_channel_map_to_channel_mask Unhandled channel aux0
00fc:fixme:pulse:pulse_channel_map_to_channel_mask Unhandled channel aux1
[...]
0108:fixme:pulse:get_channel_mask Unknown speaker configuration: 10
0108:err:pulse:pulse_spec_from_waveformat Invalid channel mask: 0/10 and 0(0)
0108:err:pulse:pulse_spec_from_waveformat Invalid format! Channel spec valid: 0, format: 3

What fixed it: slackpkg reinstall alsa-lib alsa-oss alsa-plugins alsa-utils pulseaudio pulseaudio-qt

So everything's working, and I didn't need to rebuild WINE, nor did I have to downgrade pulse. So if you're having weird audio issues, try the above. (I don't know if just alsa would've been sufficient. I don't know why reinstalling alsa fixed it, unless some config got clobbered, but the only ones that changed were pulse's configs, not ALSA's.)

And furthermore, why would it only be WINE programs for me that were a problem? MIDI wasn't. Anything native wasn't. Mass Effect Legendary Edition with Glorious Eggroll's proton version wasn't. Curious.

ETA: these are the lines I added to the new default.pa that were missing (not sure if it was part of the fix):

.ifexists module-gsettings.so
.nofail
load-module module-gsettings
.fail
.endif

Last edited by garpu; 08-16-2021 at 08:10 PM. Reason: I fixed a thing
 
Old 08-17-2021, 05:08 AM   #30
regdub
Member
 
Registered: Apr 2008
Location: France
Distribution: Slackware
Posts: 101

Rep: Reputation: 33
Hi,

I have sound but errors with amixer commands and selecting a card with mplayer.

Digging the alsa-lib tip, I think there is a problem with the latest aaa_libraries package.

It contains a /usr/lib64/libasound.so.2.0.0 file dating from February, much more older than the alsa-lib one.


EDIT: Re-installing the /usr/lib64/libasound.so.2.0.0 file from before the upgrade solves my problems immediately.
Thanks to pomf for suggesting re-installing alsa-lib.

Last edited by regdub; 08-17-2021 at 05:32 AM.
 
4 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
System starts with Dummy Output as Sound output device arindom Linux - Desktop 3 03-19-2024 05:43 PM
Olympus sound recorder USB device fails to appear after upgrade to ubuntu 14.04 adrianmariano Linux - Hardware 1 07-03-2014 04:10 PM
LXer: Qt 5.2 RC1 Released Along Side Qt Creator 3.0 RC1 LXer Syndicated Linux News 0 11-29-2013 11:11 AM
[SOLVED] 13.1 "VLC failed to initialize your sound output device" if opened after Firefox RajahBrooke Slackware 17 08-31-2010 06:46 AM
audio output device changes to 'dummy output' Joshwaaa Linux - Software 1 04-02-2010 10:03 PM

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

All times are GMT -5. The time now is 04:24 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