You are not logged in.

#1 2023-07-09 05:18:59

bot254
Member
Registered: 2019-06-03
Posts: 6

[SOLVED] No sound at New Install, only dummy output.

This is a desktop PC,  processor: amd 5600g, motherboard: asrock b450m ac.
Everything works fine expect sound, on pavucontrol only shows the Dummy Output.
These are some of commands' output.

$ pacman -Qs pipewire
local/libpipewire 1:0.3.73-1
    Low-latency audio/video router and processor - client library
local/libwireplumber 0.4.14-1
    Session / policy manager implementation for PipeWire - client library
local/pipewire 1:0.3.73-1
    Low-latency audio/video router and processor
local/pipewire-alsa 1:0.3.73-1
    Low-latency audio/video router and processor - ALSA configuration
local/pipewire-audio 1:0.3.73-1
    Low-latency audio/video router and processor - Audio support
local/pipewire-jack 1:0.3.73-1
    Low-latency audio/video router and processor - JACK support
local/pipewire-pulse 1:0.3.73-1
    Low-latency audio/video router and processor - PulseAudio replacement
local/wireplumber 0.4.14-1
    Session / policy manager implementation for PipeWire
$ aplay -lL
null
    Discard all samples (playback) or generate zero samples (capture)
pipewire
    PipeWire Sound Server
default
    Default ALSA Output (currently PipeWire Media Server)
hdmi:CARD=Generic,DEV=0
    HD-Audio Generic, HDMI 0
    HDMI Audio Output
hdmi:CARD=Generic,DEV=1
    HD-Audio Generic, 22B1W
    HDMI Audio Output
hdmi:CARD=Generic,DEV=2
    HD-Audio Generic, HDMI 2
    HDMI Audio Output
hdmi:CARD=Generic,DEV=3
    HD-Audio Generic, HDMI 3
    HDMI Audio Output
sysdefault:CARD=Generic_1
    HD-Audio Generic, ALC892 Analog
    Default Audio Device
front:CARD=Generic_1,DEV=0
    HD-Audio Generic, ALC892 Analog
    Front output / input
surround21:CARD=Generic_1,DEV=0
    HD-Audio Generic, ALC892 Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=Generic_1,DEV=0
    HD-Audio Generic, ALC892 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Generic_1,DEV=0
    HD-Audio Generic, ALC892 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Generic_1,DEV=0
    HD-Audio Generic, ALC892 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Generic_1,DEV=0
    HD-Audio Generic, ALC892 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Generic_1,DEV=0
    HD-Audio Generic, ALC892 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
**** List of PLAYBACK Hardware Devices ****
card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Generic [HD-Audio Generic], device 7: HDMI 1 [22B1W]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Generic [HD-Audio Generic], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Generic [HD-Audio Generic], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Generic_1 [HD-Audio Generic], device 0: ALC892 Analog [ALC892 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
$ sudo dmesg | grep -iE 'snd|sof'
[sudo] password for nano: 
[    0.048008] software IO TLB: area num 32.
[    0.264128] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.314894] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[    0.314895] software IO TLB: mapped [mem 0x00000000ae5db000-0x00000000b25db000] (64MB)
[    4.991682] snd_hda_intel 0000:07:00.1: enabling device (0000 -> 0002)
[    4.991882] snd_hda_intel 0000:07:00.6: enabling device (0000 -> 0002)
[    5.031725] snd_hda_intel 0000:07:00.1: bound 0000:07:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu])
[    5.049317] snd_hda_codec_realtek hdaudioC1D0: autoconfig for ALC892: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:line
[    5.049322] snd_hda_codec_realtek hdaudioC1D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    5.049324] snd_hda_codec_realtek hdaudioC1D0:    hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
[    5.049325] snd_hda_codec_realtek hdaudioC1D0:    mono: mono_out=0x0
[    5.049326] snd_hda_codec_realtek hdaudioC1D0:    inputs:
[    5.049327] snd_hda_codec_realtek hdaudioC1D0:      Front Mic=0x19
[    5.049328] snd_hda_codec_realtek hdaudioC1D0:      Rear Mic=0x18
[    5.049328] snd_hda_codec_realtek hdaudioC1D0:      Line=0x1a
$sudo journalctl -b

https://0x0.st/H1Dc.txt



Sorry for the poor english.

Last edited by bot254 (2023-07-10 00:43:26)

Offline

#2 2023-07-09 13:42:31

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 24,462

Re: [SOLVED] No sound at New Install, only dummy output.

Detection wise everything looks fine, can you post

sudo fuser -v /dev/snd/*
amixer -c1
pactl list cards
pactl list sinks

Offline

#3 2023-07-09 14:22:40

bot254
Member
Registered: 2019-06-03
Posts: 6

Re: [SOLVED] No sound at New Install, only dummy output.

Thank you for the answer, the first and third command when executed don't show any output.

$sudo fuser -v /dev/snd/*
$ amixer -c1
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 64
  Mono: Playback 44 [69%] [-20.00dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 64 [100%] [0.00dB] [on]
  Front Right: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'Front',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 64 [100%] [0.00dB] [on]
  Front Right: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'Front Mic',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Front Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]
Simple mixer control 'Surround',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 64 [100%] [0.00dB] [on]
  Front Right: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'Center',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 64
  Mono: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'LFE',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 64
  Mono: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'Line',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Line Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 46
  Front Left: Capture 28 [61%] [12.00dB] [on]
  Front Right: Capture 28 [61%] [12.00dB] [on]
Simple mixer control 'Capture',1
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 46
  Front Left: Capture 0 [0%] [-16.00dB] [off]
  Front Right: Capture 0 [0%] [-16.00dB] [off]
Simple mixer control 'Auto-Mute Mode',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Enabled'
Simple mixer control 'Channel Mode',0
  Capabilities: enum
  Items: '2ch' '4ch' '6ch'
  Item0: '2ch'
Simple mixer control 'Input Source',0
  Capabilities: cenum
  Items: 'Front Mic' 'Rear Mic' 'Line'
  Item0: 'Front Mic'
Simple mixer control 'Input Source',1
  Capabilities: cenum
  Items: 'Front Mic' 'Rear Mic' 'Line'
  Item0: 'Front Mic'
Simple mixer control 'Loopback Mixing',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Disabled'
Simple mixer control 'Rear Mic',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Rear Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]
$pactl list cards
$ pactl list sinks
Sink #33
	State: SUSPENDED
	Name: auto_null
	Description: Dummy Output
	Driver: PipeWire
	Sample Specification: float32le 2ch 48000Hz
	Channel Map: front-left,front-right
	Owner Module: 4294967295
	Mute: no
	Volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
	       balance 0.00
	Base Volume: 65536 / 100% / 0.00 dB
	Monitor Source: auto_null.monitor
	Latency: 0 usec, configured 0 usec
	Flags: DECIBEL_VOLUME LATENCY 
	Properties:
		node.name = "auto_null"
		device.description = "Dummy Output"
		audio.rate = "48000"
		audio.channels = "2"
		audio.position = "FL,FR"
		media.class = "Audio/Sink"
		factory.name = "support.null-audio-sink"
		node.virtual = "true"
		monitor.channel-volumes = "true"
		factory.id = "18"
		clock.quantum-limit = "8192"
		client.id = "31"
		node.driver = "true"
		factory.mode = "merge"
		audio.adapt.follower = ""
		library.name = "audioconvert/libspa-audioconvert"
		object.id = "33"
		object.serial = "33"
	Formats:
		pcm

Offline

#4 2023-07-09 20:33:12

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 24,462

Re: [SOLVED] No sound at New Install, only dummy output.

Mhm...

systemctl --user status pipewire{,-pulse} wireplumber

how are you login in/starting your session?

Offline

#5 2023-07-09 21:15:09

bot254
Member
Registered: 2019-06-03
Posts: 6

Re: [SOLVED] No sound at New Install, only dummy output.

$ systemctl --user status pipewire{,-pulse} wireplumber
● pipewire.service - PipeWire Multimedia Service
     Loaded: loaded (/usr/lib/systemd/user/pipewire.service; disabled; preset: enabled)
     Active: active (running) since Sun 2023-07-09 16:57:26 -04; 1min 11s ago
TriggeredBy: ● pipewire.socket
   Main PID: 586 (pipewire)
      Tasks: 2 (limit: 37704)
     Memory: 3.8M
        CPU: 8ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire.service
             └─586 /usr/bin/pipewire

jul 09 16:57:26 desktop systemd[484]: Started PipeWire Multimedia Service.
jul 09 16:57:26 desktop pipewire[586]: mod.rt: RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
jul 09 16:57:26 desktop pipewire[586]: mod.rt: RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
jul 09 16:57:26 desktop pipewire[586]: mod.rt: could not set nice-level to -11: No such file or directory
jul 09 16:57:26 desktop pipewire[586]: mod.rt: RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
jul 09 16:57:26 desktop pipewire[586]: mod.rt: RTKit error: org.freedesktop.DBus.Error.ServiceUnknown

● pipewire-pulse.service - PipeWire PulseAudio
     Loaded: loaded (/usr/lib/systemd/user/pipewire-pulse.service; disabled; preset: enabled)
     Active: active (running) since Sun 2023-07-09 16:57:26 -04; 1min 11s ago
TriggeredBy: ● pipewire-pulse.socket
   Main PID: 590 (pipewire-pulse)
      Tasks: 2 (limit: 37704)
     Memory: 3.5M
        CPU: 8ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire-pulse.service
             └─590 /usr/bin/pipewire-pulse

jul 09 16:57:26 desktop systemd[484]: Started PipeWire PulseAudio.
jul 09 16:57:26 desktop pipewire-pulse[590]: mod.rt: RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
jul 09 16:57:26 desktop pipewire-pulse[590]: mod.rt: RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
jul 09 16:57:26 desktop pipewire-pulse[590]: mod.rt: could not set nice-level to -11: No such file or directory
jul 09 16:57:26 desktop pipewire-pulse[590]: mod.rt: RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
jul 09 16:57:26 desktop pipewire-pulse[590]: mod.rt: RTKit error: org.freedesktop.DBus.Error.ServiceUnknown

○ wireplumber.service - Multimedia Service Session Manager
     Loaded: loaded (/usr/lib/systemd/user/wireplumber.service; disabled; preset: enabled)
     Active: inactive (dead)

I'm login following the steps in https://wiki.archlinux.org/title/Getty# … al_console, this is the drop in file contents:

[Service]
ExecStart=
ExecStart=-/usr/bin/agetty --skip-login --nonewline --noissue --autologin nano --noclear %I $TERM
Environment=XDG_SESSION_TYPE=x11
Type=simple

Next I'm autostarting X11 at login following: https://wiki.archlinux.org/title/Xinit# … X_at_login
~/.bash_profile contents:

[[ -f ~/.bashrc ]] && . ~/.bashrc
export VISUAL=vim
export EDITOR=vim
export TERMCMD=kitty
export TERMINAL=kitty
if [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then
    exec startx
fi

~/.xinitrc contents

#!/bin/sh

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap

# merge in defaults and keymaps

if [ -f $sysresources ]; then

    xrdb -merge $sysresources

fi

if [ -f $sysmodmap ]; then
    xmodmap $sysmodmap
fi

if [ -f "$userresources" ]; then

    xrdb -merge "$userresources"

fi

if [ -f "$usermodmap" ]; then
    xmodmap "$usermodmap"
fi

# start some nice programs
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
 for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
  [ -x "$f" ] && . "$f"
 done
 unset f
fi

#export QT_QPA_PLATFORMTHEME='gtk2'
export QT_QPA_PLATFORMTHEME='qt6ct'
exec /usr/bin/i3

Offline

#6 2023-07-10 00:42:57

bot254
Member
Registered: 2019-06-03
Posts: 6

Re: [SOLVED] No sound at New Install, only dummy output.

Thank you V1del for the help, executing:

systemctl --user --now enable wireplumber

fixed the problem.
On my old install I think that I used PipeWire Media Session, and know switching to wireplumber, I missed the step to enable it.

Offline

Board footer

Powered by FluxBB