Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 834871 - media-video/pipewire broke, no output devices, missing systemd user
Summary: media-video/pipewire broke, no output devices, missing systemd user
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sam James
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-10 01:19 UTC by Stefan de Konink
Modified: 2022-12-02 05:27 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
equery output (equery.txt,95.54 KB, text/plain)
2022-03-10 06:13 UTC, Stefan de Konink
Details
build.log (build.log,917.08 KB, text/plain)
2022-03-10 06:14 UTC, Stefan de Konink
Details
Helvum output (helvum.png,26.16 KB, image/png)
2022-03-10 06:45 UTC, Stefan de Konink
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan de Konink 2022-03-10 01:19:55 UTC
Out of the blue pipewire failed to me. No output devices could be found, while playing directly via alsa gives me output. I then upgraded pipewire to 9999, and remerged wireplumber.

When removing the pipewire files in .config (rebooting). The installation instructions fail to work.

skinkie@thinkpad ~ $ systemctl --user enable pipewire.socket pipewire-pulse.socket
Failed to enable unit: Unit file /home/skinkie/.config/systemd/user/sockets.target.wants/pipewire.socket does not exist.
skinkie@thinkpad ~ $ systemctl --user --force enable wireplumber.service
Failed to enable unit: Unit file /home/skinkie/.config/systemd/user/pipewire.service.wants/wireplumber.service does not exist.

Pipewire has been merged with systemd support.

Portage 3.0.30 (python 3.10.1-final-0, default/linux/amd64/17.1/no-multilib, gcc-11.2.1, glibc-2.34-r7, 5.16.12-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.16.12-gentoo-x86_64-AMD_Ryzen_5_2500U_with_Radeon_Vega_Mobile_Gfx-with-glibc2.34
KiB Mem:    16090888 total,  13937580 free
KiB Swap:   33554428 total,  33554428 free
Timestamp of repository gentoo: Tue, 08 Mar 2022 18:00:01 +0000
Head commit of repository gentoo: 363a0ebb60734b06dcdd138804456adb37b111ec
sh bash 5.1_p16
ld GNU ld (Gentoo 2.37_p1 p2) 2.37
ccache version 4.5.1 [disabled]
app-misc/pax-utils:        1.3.3::gentoo
app-shells/bash:           5.1_p16::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.34.0-r6::gentoo
dev-lang/python:           2.7.18_p13::gentoo, 3.7.12_p1::gentoo, 3.8.12_p1-r1::gentoo, 3.9.9-r1::gentoo, 3.10.1-r1::gentoo
dev-lang/rust:             1.58.1::gentoo
dev-util/ccache:           4.5.1::gentoo
dev-util/cmake:            3.22.2::gentoo
dev-util/meson:            0.60.3::gentoo
sys-apps/baselayout:       2.8::gentoo
sys-apps/openrc:           0.41.2::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-apps/systemd:          250.3::gentoo
sys-devel/autoconf:        2.13-r1::gentoo, 2.69-r5::gentoo, 2.71-r1::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.37_p1-r2::gentoo
sys-devel/binutils-config: 5.4::gentoo
sys-devel/clang:           11.1.0::gentoo, 12.0.1::gentoo, 13.0.0::gentoo
sys-devel/gcc:             10.3.0::gentoo, 11.2.1_p20220115::gentoo
sys-devel/gcc-config:      2.5-r1::gentoo
sys-devel/libtool:         2.4.6-r6::gentoo
sys-devel/lld:             13.0.0::gentoo
sys-devel/llvm:            11.1.0::gentoo, 12.0.1::gentoo, 13.0.0::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.16::gentoo (virtual/os-headers)
sys-libs/glibc:            2.34-r7::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts: 
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24

2xsaiko
    location: /var/lib/layman/2xsaiko
    masters: gentoo
    priority: 50

4nykey
    location: /var/lib/layman/4nykey
    masters: gentoo
    priority: 50

Drauthius
    location: /var/lib/layman/Drauthius
    masters: gentoo
    priority: 50

booboo
    location: /var/lib/layman/booboo
    masters: gentoo
    priority: 50

d3-gentoo
    location: /var/lib/layman/d3-gentoo
    masters: gentoo
    priority: 50

darthgandalf-overlay
    location: /var/lib/layman/darthgandalf-overlay
    masters: gentoo
    priority: 50

dotnet
    location: /var/lib/layman/dotnet
    masters: gentoo
    priority: 50

flammie
    location: /var/lib/layman/flammie
    masters: gentoo
    priority: 50

flavour
    location: /var/lib/layman/flavour
    masters: gentoo
    priority: 50

fordfrog
    location: /var/lib/layman/fordfrog
    masters: gentoo
    priority: 50

gentoo-zh
    location: /var/lib/layman/gentoo-zh
    masters: gentoo
    priority: 50

imaging
    location: /var/lib/layman/imaging
    masters: gentoo
    priority: 50

lto-overlay
    location: /var/lib/layman/lto-overlay
    masters: gentoo mv
    priority: 50

mv
    location: /var/lib/layman/mv
    masters: gentoo
    priority: 50

raiagent
    location: /var/lib/layman/raiagent
    masters: gentoo
    priority: 50

salfter
    location: /var/lib/layman/salfter
    masters: gentoo
    priority: 50

science
    location: /var/lib/layman/science
    masters: gentoo
    priority: 50

FireBurn
    location: /var/lib/layman/FireBurn
    masters: gentoo
    priority: 60

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -ggdb3 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.6/conf /usr/share/maven-bin-3.8/conf"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -ggdb3 -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -ggdb3 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -ggdb3 -pipe"
GENTOO_MIRRORS="http://mirror.leaseweb.com/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j7"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X aac acl adwaita-icon-theme alsa amd64 apng aptx autohint avif bluetooth bluray brotli bzip2 cairo caps clang cli codec2 color-management corefonts cpudetection crypt curl dav1d dbus designer dri dri3 echo-cancel egl exif exiv2 ffmpeg fftw fontconfig fortran gdal gdbm geos gimp gles2 glslang gold graphite gtk gtk3 hackrf harfbuzz heif http2 hunspell iconv icu infinality ipv6 jpeg jpeg2k jumbo-build krita ladspa lapack lcms libglvnd libnotify libsamplerate libtirpc lm-sensors lto lv2 lz4 lzma minizip ncurses nptl ntfs ogg opencv openexr opengl openmp optimization opus orc pam pcre pdf pgo pipewire png policykit postgres pulseaudio qml qt5 readline rtlsdr rubberband screencast seccomp sftp sndfile speex split-usr sqlite srt ssl startup-notification strong-optimization svg synaptics system-bootstrap system-jsoncpp system-libvpx system-llvm systemd sysv-utils theora tiff tracepath truetype udev unicode upower user-session v4l vaapi vdpau vim-syntax vorbis vpx vulkan wayland webp webstart woff2 x264 x265 xattr xinerama xrandr zeromq zlib zstd" ABI_X86="64" ADA_TARGET="gnat_2020" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en nl" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="AMDGPU BPF WebAssembly" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres13" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python2_7 python3_8 python3_9 python3_10" RUBY_TARGETS="ruby27 ruby30" USERLAND="GNU" UWSGI_PLUGINS="cache carbon cheaper_busyness corerouter fastrouter http logfile logsocket mongodblog nagios ping rawrouter redislog router_basicauth router_cache router_expires router_hash router_http router_memcached router_metrics router_redirect router_redis router_rewrite router_static router_uwsgi rpc signal spooler symcall syslog transformation_chunked transformation_gzip transformation_offload transformation_tofile ugreen zergpool" VIDEO_CARDS="amdgpu radeonsi radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LEX, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

=================================================================
                        Package Settings
=================================================================

media-video/pipewire-9999::gentoo was built with the following:
USE="X bluetooth doc echo-cancel extra gstreamer jack-sdk lv2 pipewire-alsa ssl systemd v4l -jack-client (-system-service) -test -zeroconf"
CFLAGS="-O2 -ggdb3 -pipe -Wl,-O1 -Wl,--as-needed"
CXXFLAGS="-O2 -ggdb3 -pipe -Wl,-O1 -Wl,--as-needed"
FEATURES="usersandbox strict unmerge-logs unmerge-orphans userpriv qa-unresolved-soname-deps xattr preserve-libs sfperms sandbox buildpkg-live network-sandbox usersync distlocks ipc-sandbox binpkg-docompress parallel-fetch unknown-features-warn multilib-strict binpkg-logs config-protect-if-modified protect-owned ebuild-locks binpkg-multi-instance news assume-digests userfetch merge-sync binpkg-dostrip pid-sandbox fixlafiles"


media-video/wireplumber-0.4.8-r3::gentoo was built with the following:
USE="systemd -elogind (-system-service) -test" LUA_SINGLE_TARGET="lua5-4 -lua5-3"
CFLAGS="-O2 -ggdb3 -pipe -Wl,-O1 -Wl,--as-needed"
CXXFLAGS="-O2 -ggdb3 -pipe -Wl,-O1 -Wl,--as-needed"
FEATURES="parallel-fetch buildpkg-live config-protect-if-modified pid-sandbox merge-sync xattr binpkg-docompress protect-owned network-sandbox unmerge-orphans unknown-features-warn sfperms preserve-libs ipc-sandbox unmerge-logs binpkg-multi-instance usersync ebuild-locks qa-unresolved-soname-deps multilib-strict fixlafiles strict userpriv usersandbox sandbox assume-digests binpkg-dostrip binpkg-logs news userfetch distlocks"
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-03-10 01:27:12 UTC
Could you provide:
- equery f pipewire?
- What commit did you try it at?
- Build log if possible of pipewire? (may want to do: (cd /var/db/repos/gentoo/media-video/pipewire && sudo ebuild pipewire-9999.ebuild clean install)
Comment 2 Stefan de Konink 2022-03-10 06:13:22 UTC
Created attachment 766661 [details]
equery output

Tested versions; 
media-video/pipewire-0.3.48-r1 and  commit 8dccfbce4c17139fa50808b7110bcbf959ded1c6

gcc (Gentoo 11.2.1_p20220115 p4) 11.2.1 20220115
Comment 3 Stefan de Konink 2022-03-10 06:14:26 UTC
Created attachment 766662 [details]
build.log
Comment 4 Stefan de Konink 2022-03-10 06:44:57 UTC
When manually creating 
mkdir /home/skinkie/.config/systemd/user/sockets.target.wants
mkdir -p /home/skinkie/.config/systemd/user/default.target.wants

The following commands can be executed succesfully.
systemctl enable --user pipewire.socket
systemctl enable --user pipewire-pulse
systemctl enable --user wireplumber

But still only "Dummy Output" exists, not the alsa output.
Comment 5 Stefan de Konink 2022-03-10 06:45:14 UTC
Created attachment 766663 [details]
Helvum output
Comment 6 Stefan de Konink 2022-03-10 06:57:39 UTC
skinkie@thinkpad ~ $ pactl list cards
Card #40
	Name: alsa_card.pci-0000_05_00.1
	Driver: alsa
	Owner Module: n/a
	Properties:
		api.acp.auto-port = "false"
		api.acp.auto-profile = "false"
		api.alsa.card = "0"
		api.alsa.card.longname = "HD-Audio Generic at 0xc0888000 irq 69"
		api.alsa.card.name = "HD-Audio Generic"
		api.alsa.path = "hw:0"
		api.alsa.use-acp = "true"
		api.dbus.ReserveDevice1 = "Audio0"
		device.api = "alsa"
		device.bus = "pci"
		device.bus_path = "pci-0000:05:00.1"
		device.description = "Raven/Raven2/Fenghuang HDMI/DP Audio Controller"
		device.enum.api = "udev"
		device.icon_name = "audio-card-analog-pci"
		device.name = "alsa_card.pci-0000_05_00.1"
		device.nick = "HD-Audio Generic"
		device.plugged.usec = "3620819"
		device.product.id = "5598"
		device.product.name = "Raven/Raven2/Fenghuang HDMI/DP Audio Controller"
		device.subsystem = "sound"
		device.sysfs.path = "/sys/devices/pci0000:00/0000:00:08.1/0000:05:00.1/sound/card0"
		device.vendor.id = "4098"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
		media.class = "Audio/Device"
		factory.id = "14"
		client.id = "34"
		object.id = "39"
		object.serial = "40"
		object.path = "alsa:pcm:0"
		alsa.card = "0"
		alsa.card_name = "HD-Audio Generic"
		alsa.long_card_name = "HD-Audio Generic at 0xc0888000 irq 69"
		alsa.driver_name = "snd_hda_intel"
		device.string = "0"
	Profiles:
		off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
		output:hdmi-stereo: Digital Stereo (HDMI) Output (sinks: 1, sources: 0, priority: 5900, available: no)
		output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (sinks: 1, sources: 0, priority: 800, available: no)
		output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (sinks: 1, sources: 0, priority: 800, available: no)
		output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output (sinks: 1, sources: 0, priority: 600, available: no)
		pro-audio: Pro Audio (sinks: 3, sources: 0, priority: 1, available: yes)
	Active Profile: off
	Ports:
		hdmi-output-0: HDMI / DisplayPort (type: HDMI, priority: 5900, latency offset: 0 usec, availability group: Legacy 1, not available)
			Properties:
				port.type = "hdmi"
				port.availability-group = "Legacy 1"
				device.icon_name = "video-display"
				card.profile.port = "0"
			Part of profile(s): output:hdmi-stereo, output:hdmi-surround, output:hdmi-surround71
		hdmi-output-1: HDMI / DisplayPort 2 (type: HDMI, priority: 5800, latency offset: 0 usec, availability group: Legacy 2, not available)
			Properties:
				port.type = "hdmi"
				port.availability-group = "Legacy 2"
				device.icon_name = "video-display"
				card.profile.port = "1"
			Part of profile(s): output:hdmi-stereo-extra1, output:hdmi-surround-extra1, output:hdmi-surround71-extra1
		hdmi-output-2: HDMI / DisplayPort 3 (type: HDMI, priority: 5700, latency offset: 0 usec, availability group: Legacy 3, not available)
			Properties:
				port.type = "hdmi"
				port.availability-group = "Legacy 3"
				device.icon_name = "video-display"
				card.profile.port = "2"
			Part of profile(s): output:hdmi-stereo-extra2, output:hdmi-surround-extra2, output:hdmi-surround71-extra2

Card #41
	Name: alsa_card.pci-0000_05_00.6
	Driver: alsa
	Owner Module: n/a
	Properties:
		api.acp.auto-port = "false"
		api.acp.auto-profile = "false"
		api.alsa.card = "1"
		api.alsa.card.longname = "HD-Audio Generic at 0xc0880000 irq 70"
		api.alsa.card.name = "HD-Audio Generic"
		api.alsa.path = "hw:1"
		api.alsa.use-acp = "true"
		api.dbus.ReserveDevice1 = "Audio1"
		device.api = "alsa"
		device.bus = "pci"
		device.bus_path = "pci-0000:05:00.6"
		device.description = "Family 17h (Models 10h-1fh) HD Audio Controller"
		device.enum.api = "udev"
		device.icon_name = "audio-card-analog-pci"
		device.name = "alsa_card.pci-0000_05_00.6"
		device.nick = "HD-Audio Generic"
		device.plugged.usec = "3645664"
		device.product.id = "5603"
		device.product.name = "Family 17h (Models 10h-1fh) HD Audio Controller"
		device.subsystem = "sound"
		device.sysfs.path = "/sys/devices/pci0000:00/0000:00:08.1/0000:05:00.6/sound/card1"
		device.vendor.id = "4130"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
		media.class = "Audio/Device"
		factory.id = "14"
		client.id = "34"
		object.id = "40"
		object.serial = "41"
		object.path = "alsa:pcm:1"
		alsa.card = "1"
		alsa.card_name = "HD-Audio Generic"
		alsa.long_card_name = "HD-Audio Generic at 0xc0880000 irq 70"
		alsa.driver_name = "snd_hda_intel"
		device.string = "1"
	Profiles:
		off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
		output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (sinks: 1, sources: 1, priority: 6565, available: yes)
		output:analog-stereo: Analog Stereo Output (sinks: 1, sources: 0, priority: 6500, available: yes)
		input:analog-stereo: Analog Stereo Input (sinks: 0, sources: 1, priority: 65, available: yes)
		pro-audio: Pro Audio (sinks: 1, sources: 1, priority: 1, available: yes)
	Active Profile: input:analog-stereo
	Ports:
		analog-input-internal-mic: Internal Microphone (type: Mic, priority: 8900, latency offset: 0 usec, availability group: Legacy 1, availability unknown)
			Properties:
				port.type = "mic"
				port.availability-group = "Legacy 1"
				device.icon_name = "audio-input-microphone"
				card.profile.port = "0"
			Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo
		analog-input-mic: Microphone (type: Mic, priority: 8700, latency offset: 0 usec, availability group: Legacy 2, not available)
			Properties:
				port.type = "mic"
				port.availability-group = "Legacy 2"
				device.icon_name = "audio-input-microphone"
				card.profile.port = "1"
			Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo
		analog-output-speaker: Speakers (type: Speaker, priority: 10000, latency offset: 0 usec, availability group: Legacy 3, availability unknown)
			Properties:
				port.type = "speaker"
				port.availability-group = "Legacy 3"
				device.icon_name = "audio-speakers"
				card.profile.port = "2"
			Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo
		analog-output-headphones: Headphones (type: Headphones, priority: 9900, latency offset: 0 usec, availability group: Legacy 4, not available)
			Properties:
				port.type = "headphones"
				port.availability-group = "Legacy 4"
				device.icon_name = "audio-headphones"
				card.profile.port = "3"
			Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo
Comment 7 Stefan de Konink 2022-03-10 07:00:33 UTC
skinkie@thinkpad ~ $ 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"
		client.id = "32"
		clock.quantum-limit = "8192"
		node.driver = "true"
		factory.mode = "merge"
		audio.adapt.follower = ""
		library.name = "audioconvert/libspa-audioconvert"
		object.id = "31"
		object.serial = "33"
	Formats:
		pcm
Comment 8 Stefan de Konink 2022-03-10 07:04:06 UTC
When connecting an USB audio device, the sink does appear for that device. And is capable of receiving audio.
Comment 9 Niklāvs Koļesņikovs 2022-03-12 19:33:21 UTC
There's at least two different issues being conflated.

`systemctl --user enable` not working is almost certainly not a PipeWire but a systemd issue and should be addressed as such.

Regarding missing devices I would suggest manually restarting the user services with `systemctl --user daemon-reload && systemctl --user restart pipewire{,-pulse}.socket` and if that resolves the issue, then a likely cause is that something was using the missing device(s) when PipeWire was initially started (often GDM). In such cases removing the audio group from all users who have it, may help but there's been unverified reports that rarely such race conditions still happen even with only ACL in place and no audio group being used.
Comment 10 Stefan de Konink 2022-03-12 23:15:15 UTC
(In reply to Niklāvs Koļesņikovs from comment #9)
> There's at least two different issues being conflated.
> 
> `systemctl --user enable` not working is almost certainly not a PipeWire but
> a systemd issue and should be addressed as such.
> 
> Regarding missing devices I would suggest manually restarting the user
> services with `systemctl --user daemon-reload && systemctl --user restart
> pipewire{,-pulse}.socket` and if that resolves the issue, then a likely
> cause is that something was using the missing device(s) when PipeWire was
> initially started (often GDM). In such cases removing the audio group from
> all users who have it, may help but there's been unverified reports that
> rarely such race conditions still happen even with only ACL in place and no
> audio group being used.

There is a single user in the audio group, that is myself. My issue is exclusively related to my internal sound card. The USB sound cards that I have tried, don't have issues.

When applying your restart commands I end up with audio into the dummy output. Ok... so when trying to figure this out and starting pavucontrol-qt. I noticed that my profile was on "Analog Stereo Input" instead of "Analog Stereo Duplex".

That resolves at least the audio problem.
Comment 11 Niklāvs Koļesņikovs 2022-03-12 23:39:25 UTC
Is there any remaining PW or audio issues then? It seems like you already found the issue and corrected it yourself (on-board audio being set to an input only profile).

If there's no more problems remaining, I suggest closing this as fixed or not a bug (since it was working as configured).
Comment 12 Stefan de Konink 2022-03-12 23:53:18 UTC
(In reply to Niklāvs Koļesņikovs from comment #11)
> Is there any remaining PW or audio issues then? It seems like you already
> found the issue and corrected it yourself (on-board audio being set to an
> input only profile).
> 
> If there's no more problems remaining, I suggest closing this as fixed or
> not a bug (since it was working as configured).

The problem is still: if all pipewire stuff is removed from .config/systemd/user, it cannot be installed without manual intervention. I think that part should still be checked?
Comment 13 Niklāvs Koļesņikovs 2022-03-13 06:05:19 UTC
I'm not sure what's going on there but it's very unlikely to be a PW issue. Instead, I think, it's something to do with systemd and should be addressed in a different bug that's specifically about sys-apps/systemd.