Can't run alsamixer, no sound in web browsers

alsamixer 
ALSA lib pulse.c:242:(pulse_connect) PulseAudio: Unable to connect: Connection refused

cannot open mixer: Connection refused


aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: ALC892 Analog [ALC892 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 1: ALC892 Digital [ALC892 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0


01:05.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] RS880 HDMI Audio [Radeon HD 4200 Series]
    Subsystem: ASRock Incorporation Device 970f
    Flags: bus master, fast devsel, latency 0, IRQ 19, NUMA node 0
    Memory at fe9e8000 (32-bit, non-prefetchable) [size=16]
    Capabilities: [50] Power Management version 3
    Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit+
    Kernel driver in use: snd_hda_intel
    Kernel modules: snd_hda_intel


/mnt/sda2/x/tmp/seamonkey/seamonkey
ALSA lib pulse.c:242:(pulse_connect) PulseAudio: Unable to connect: Connection refused


firefox 
[Child 2918, MediaDecoderStateMachine #1] WARNING: 9ee024c0 OpenCubeb() failed to init cubeb: file /home/abuild/rpmbuild/BUILD/firefox-89.0.2/dom/media/AudioStream.cpp:323
[Child 2918, MediaDecoderStateMachine #1] WARNING: Decoder=9ef508d0 [OnMediaSinkAudioError]: file /home/abuild/rpmbuild/BUILD/firefox-89.0.2/dom/media/MediaDecoderStateMachine.cpp:3916
[Child 2918, MediaDecoderStateMachine #1] WARNING: Decoder=9ef508d0 Decode error: NS_ERROR_DOM_MEDIA_MEDIASINK_ERR (0x806e000b) - OnMediaSinkAudioError: file /home/abuild/rpmbuild/BUILD/firefox-89.0.2/dom/media/MediaDecoderStateMachine.cpp:3490
[Child 3017, MediaDecoderStateMachine #1] WARNING: a073c2e0 OpenCubeb() failed to init cubeb: file /home/abuild/rpmbuild/BUILD/firefox-89.0.2/dom/media/AudioStream.cpp:323
[Child 3017, MediaDecoderStateMachine #1] WARNING: Decoder=a0744d20 [OnMediaSinkAudioError]: file /home/abuild/rpmbuild/BUILD/firefox-89.0.2/dom/media/MediaDecoderStateMachine.cpp:3916

###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost

[Child 3017, MediaDecoderStateMachine #1] WARNING: 97b54240 OpenCubeb() failed to init cubeb: file /home/abuild/rpmbuild/BUILD/firefox-89.0.2/dom/media/AudioStream.cpp:323
[Child 3017, MediaDecoderStateMachine #1] WARNING: Decoder=92cfea40 [OnMediaSinkAudioError]: file /home/abuild/rpmbuild/BUILD/firefox-89.0.2/dom/media/MediaDecoderStateMachine.cpp:3916


Any idea pls ?[/size]

Thanks for all that info. Unfortunately it doesn’t shed any light that I can see by. Could you run a diagnostic script, that provides even more information ? You can do that as a regular user, open a konsole/xterm, with PC connected to the internet, and send this command in the konsole/xterm:


/usr/sbin/alsa-info.sh

Select the share/upload option when prompted, and let the script run to completion. After script completes, look in the konsole/xterm, and it will tell you where it uploaded the audio diagnostic information.

Please share the website/URL address here. We can look at that and see if it shares any more information.
.

Thank you, it was solved after last system upgrade.

It has happened again.
http://alsa-project.org/db/?f=23994d40c9e6732285e77d6a65ba3a6c34983367

Does pavucontrol control work? Any reason not to use that?

See here for some suggestions.

I didn’t notice anything unusual in the alsa diagnostic output (though it was only a quick glance).

Please show the output from

systemctl --user list-units|grep pipe
wpctl status

Agreed. That is an option assuming that ‘pipewire-pulse’ daemon is present.

It does not work. It hangs on start with “Connecting to PulseAudio.* Please wait.*” text on gray empty background.

Thank you I’ll try it.

systemctl --user list-units|grep pipe
  pipewire-media-session.service                                                                             loaded active running PipeWire Media Session Manager
  pipewire.service                                                                                           loaded active running PipeWire Multimedia Service
  pipewire.socket                                                                                            loaded active running PipeWire Multimedia System Socket
wpctl status
PipeWire 'pipewire-0' [0.3.56, maketopsite@maketopsite, cookie:3438359737]
 └─ Clients:
        31. xdg-desktop-portal                  [0.3.56, maketopsite@maketopsite, pid:1885]
        32. WirePlumber                         [0.3.56, maketopsite@maketopsite, pid:1912]
        33. WirePlumber [export]                [0.3.56, maketopsite@maketopsite, pid:1912]
        36. wpctl                               [0.3.56, maketopsite@maketopsite, pid:2554]

Audio
 ├─ Devices:
 │  
 ├─ Sinks:
 │  
 ├─ Sink endpoints:
 │  
 ├─ Sources:
 │  
 ├─ Source endpoints:
 │  
 └─ Streams:

Video
 ├─ Devices:
 │  
 ├─ Sinks:
 │  
 ├─ Sink endpoints:
 │  
 ├─ Sources:
 │  
 ├─ Source endpoints:
 │  
 └─ Streams:

Settings
 └─ Default Configured Node Names:

:~>


I’ve deleted

.config/pulse

directory and run

pulseaudio -vvv

but it didn’t help.

No, you’re using pipewire. No need to start the pulseaudio daemon.

It is strange that no sinks or sources are listed. More diagnostics will be needed.

What is reported by aplay?

aplay -L
aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
speexrate
    Rate Converter Plugin Using Speex Resampler
pulse
    PulseAudio Sound Server
upmix
    Plugin for channel upmix (4,6,8)
default
    Default ALSA Output (currently PulseAudio Sound Server)
sysdefault:CARD=SB
    HDA ATI SB, ALC892 Analog
    Default Audio Device
front:CARD=SB,DEV=0
    HDA ATI SB, ALC892 Analog
    Front output / input
surround21:CARD=SB,DEV=0
    HDA ATI SB, ALC892 Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=SB,DEV=0
    HDA ATI SB, ALC892 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=SB,DEV=0
    HDA ATI SB, ALC892 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=SB,DEV=0
    HDA ATI SB, ALC892 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=SB,DEV=0
    HDA ATI SB, ALC892 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=SB,DEV=0
    HDA ATI SB, ALC892 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=SB,DEV=0
    HDA ATI SB, ALC892 Digital
    IEC958 (S/PDIF) Digital Audio Output
hdmi:CARD=HDMI,DEV=0
    HDA ATI HDMI, HDMI 0
    HDMI Audio Output

Did you also try the suggestions in the last three post of that topic?

Can you please show which pipewire packages are installed?

zypper se -si wire

Also check and report back with status of

systemctl --user status wireplumber

I had the same problem: No sound with 15.4 / Firefox / YouTube. After checking at the Net, it seemed to be an ESR problem. I downloaded Firefox for Linux from Mozilla direct, and as I write this ‘The Marriage of Figaro’ is playing in the background. Problem solved.

Regards,
Jan Christian

Are you attempting to play sound via your analog audio device (?) or via HDMI?

Playing is via HDMI. It is still working here (with the exception that now it is l’Eilisir d’Amore’). What I downloaded was released 2022-09-09 by Mozilla.

RGDS,
Jan Christian

The question was directed to the OP not you. :wink: