Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Only Dummy Output with pipewire
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
sebekk23
Tux's lil' helper
Tux's lil' helper


Joined: 29 Mar 2015
Posts: 77

PostPosted: Sat Nov 02, 2024 10:18 am    Post subject: Only Dummy Output with pipewire Reply with quote

Hi

I just finished installing gentoo on my Steam rig an i have only Dummy output with no sound.

My setup is bit different then normal, no DM/LM installed - just autologin straight into X via agetty like follows:

Code:

systemctl edit getty@tty1.service

Code:

[Service]
ExecStart=
ExecStart=-/sbin/agetty --autologin steam --noclear %I $TERM


steam user is account that i will play on.

required uitnis are lunched for user:
Code:

steam@steamachine ~ $ pgrep -a wire
1325 /usr/bin/pipewire
1326 /usr/bin/wireplumber
2052 /usr/bin/pipewire-pulse


Audio devices are recognized:
Code:

steam@steamachine ~ $ wpctl status
PipeWire 'pipewire-0' [1.2.5, steam@steamachine, cookie:387599001]
 └─ Clients:
        32. WirePlumber                         [1.2.5, steam@steamachine, pid:1326]
        40. WirePlumber [export]                [1.2.5, steam@steamachine, pid:1326]
        47. wpctl                               [1.2.5, steam@steamachine, pid:2235]
        56. Steam                               [1.2.5, steam@steamachine, pid:1546]
        57. pipewire                            [1.2.5, steam@steamachine, pid:2052]

Audio
 ├─ Devices:
 │      41. GA106 High Definition Audio Controller [alsa]
 │      42. Family 17h (Models 00h-0fh) HD Audio Controller [alsa]
 │ 
 ├─ Sinks:
 │  *   51. Dummy Output                        [vol: 1.00]
 │ 
 ├─ Sources:
 │ 
 ├─ Filters:
 │ 
 └─ Streams:

Video
 ├─ Devices:
 │ 
 ├─ Sinks:
 │ 
 ├─ Sources:
 │ 
 ├─ Filters:
 │ 
 └─ Streams:

Settings
 └─ Default Configured Devices:
         0. Audio/Sink    auto_null


My .bashrc is like follows:
Code:

export XSESSION=openbox
export XDG_RUNTIME_DIR="/run/user/${UID}"
export DBUS_SESSION_BUS_ADDRESS="unix:path=${XDG_RUNTIME_DIR}/bus"
export LIBVA_DRIVER_NAME=nvidia
export NVD_BACKEND=direct
if [[ -z "$DISPLAY" ]] && [[ $(tty) = /dev/tty1 ]] && [[ -z "$SSH_CONNECTION" ]]
then
       exec startx
fi


Use flags for wireplumber and pipewire:
Code:

steam@steamachine ~ $ equery u wireplumber
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for media-video/wireplumber-0.5.6-r1:
 U I
 - - lua_single_target_lua5-3 : Build for Lua 5.3 only
 + + lua_single_target_lua5-4 : Build for Lua 5.4 only
 + + systemd                  : Enable use of systemd-specific libraries and features like socket activation or session tracking
 - - test                     : Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)
steam@steamachine ~ $ equery u pipewire
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for media-video/pipewire-1.2.5:
 U I
 + + X             : Enable audible bell for X11
 - - abi_x86_32    : 32-bit (x86) libraries
 + + bluetooth     : Enable Bluetooth Support
 + + dbus          : Enable dbus support for anything that needs it (gpsd, gnomemeeting, etc)
 - - doc           : Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally
 + + echo-cancel   : Enable WebRTC-based echo canceller via media-libs/webrtc-audio-processing
 + + extra         : Build pw-cat/pw-play/pw-record
 + + ffmpeg        : Enable ffmpeg/libav-based audio/video codec support
 - - flatpak       : Enable Flatpak support
 - - gsettings     : Use gsettings (dev-libs/glib) to read/save used modules (useful for e.g. media-sound/paprefs
 + + gstreamer     : Add support for media-libs/gstreamer (Streaming media)
 - - ieee1394      : Enable FireWire/iLink IEEE1394 support (dv, camera, ...)
 - - jack-client   : Install a plugin for running PipeWire as a JACK client
 - - jack-sdk      : Use PipeWire as JACK replacement
 - - liblc3        : Allow loading LC3 plugins via media-sound/liblc3
 - - lv2           : Allow loading LV2 plugins via media-libs/lv2
 - - man           : Build and install man pages
 + + modemmanager  : Combined with USE=bluetooth, allows PipeWire to perform telephony on mobile devices.
 + + pipewire-alsa : Replace PulseAudio's ALSA plugin with PipeWire's plugin
 + + readline      : Enable support for libreadline, a GNU line-editing library that almost everyone wants
 - - roc           : Enable roc support for real-time audio streaming over the network, using media-libs/roc-toolkit. See
                     https://gitlab.freedesktop.org/pipewire/pipewire/-/wikis/Network#roc
 + + sound-server  : Provide sound server using ALSA and bluetooth devices
 + + ssl           : Enable raop-sink support (needs dev-libs/openssl)
 + + systemd       : Enable use of systemd-specific libraries and features like socket activation or session tracking
 - - test          : Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)
 + + v4l           : Enable support for video4linux (using linux-headers or userspace libv4l libraries)
 + + zeroconf      : Support for DNS Service Discovery (DNS-SD)


steam user groups:
Code:

steam@steamachine ~ $ id
uid=1000(steam) gid=100(users) groups=100(users),5(tty),6(disk),11(floppy),14(uucp),17(console),18(audio),19(cdrom),20(dialout),26(tape),27(video),28(render),80(cdrw),85(usb),97(input),101(messagebus),190(systemd-journal),272(plugdev),350(colord),406(utmp),509(pipewire)


X org server use:
Code:

steam@steamachine ~ $ equery u xorg-server
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for x11-base/xorg-server-21.1.14:
 U I
 - - debug      : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see
                  https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces
 - - minimal    : Install a very minimal build (disables, for example, plugins, fonts, most drivers, non-critical features)
 - - suid       : Enable setuid root program(s)
 + + systemd    : Enable use of systemd-specific libraries and features like socket activation or session tracking
 - - test       : Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)
 + + udev       : Enable virtual/udev integration (device discovery, power and storage device support, etc)
 - - unwind     : Enable libunwind usage for backtraces
 - - xcsecurity : Build Security extension
 - - xephyr     : Build the Xephyr server
 - - xnest      : Build the Xnest server
 + + xorg       : Build the Xorg X server (HIGHLY RECOMMENDED)
 - - xvfb       : Build the Xvfb server


And finally my emerge --info:
Code:

steam@steamachine ~ $ emerge --info
Portage 3.0.66.1 (python 3.12.7-final-0, default/linux/amd64/23.0/desktop/systemd, gcc-13, glibc-2.39-r6, 6.6.58-gentoo-r1-x86_64 x86_64)
=================================================================
System uname: Linux-6.6.58-gentoo-r1-x86_64-x86_64-AMD_Ryzen_5_2600_Six-Core_Processor-with-glibc2.39
KiB Mem:    16317172 total,  13753220 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Fri, 01 Nov 2024 13:30:00 +0000
Head commit of repository gentoo: 39807546bb269b8091b719cea8316fb9f81af224
Timestamp of repository steam-overlay: Tue, 08 Oct 2024 15:50:59 +0000
Head commit of repository steam-overlay: c802c22bb423cb84d975b3fc9cfe6bc9410d22cd

sh bash 5.2_p37
ld GNU ld (Gentoo 2.42 p6) 2.42.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p37::gentoo
dev-build/autoconf:        2.72-r1::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.30.5::gentoo
dev-build/libtool:         2.4.7-r4::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.5.2::gentoo
dev-java/java-config:      2.3.4::gentoo
dev-lang/perl:             5.40.0::gentoo
dev-lang/python:           3.12.7_p1::gentoo, 3.13.0::gentoo
dev-lang/rust-bin:         1.81.0::gentoo
sys-apps/baselayout:       2.15::gentoo
sys-apps/sandbox:          2.39::gentoo
sys-apps/systemd:          255.11::gentoo
sys-devel/binutils:        2.42-r2::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/gcc:             13.3.1_p20240614::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/llvm:            18.1.8-r1::gentoo
sys-kernel/linux-headers:  6.6-r1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.39-r6::gentoo
Repositories:

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

steam-overlay
    location: /var/db/repos/steam-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/steam-overlay.git
    masters: gentoo
    volatile: False

Binary Repositories:

gentoobinhost
    priority: 1
    sync-uri: https://distfiles.gentoo.org/releases/amd64/binpackages/23.0/x86-64

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE @BINARY-REDISTRIBUTABLE @EULA ValveSteamLicense MPEG-4 CROSSOVER-3 MSttfEULA MS-vscode-EULA Minecraft-clickwrap-EULA NPSL MS-vscode all-rights-reserved AdobeFlash-11.x Brother brother-eula FESTIVAL HPND BSD rc regexp-UofT CC-BY-NC-SA-2.5 GPL-2 NVIDIA-CUDA MSttfEULA ValveSteamLicense"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -pipe -mtune=znver1 -march=znver1 -fomit-frame-pointer -fno-stack-protector"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d"
CXXFLAGS="-O3 -pipe -mtune=znver1 -march=znver1 -fomit-frame-pointer -fno-stack-protector"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE 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 XDG_STATE_HOME"
FCFLAGS="-O3 -pipe -mtune=znver1 -march=znver1 -fomit-frame-pointer -fno-stack-protector"
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 merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O3 -pipe -mtune=znver1 -march=znver1 -fomit-frame-pointer -fno-stack-protector"
GENTOO_MIRRORS="https://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ rsync://ftp.vectranet.pl/gentoo/ http://ftp.vectranet.pl/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
LINGUAS="en pl"
MAKEOPTS="-j13"
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 a52 aac acl acpi alsa amd64 appindicator bash-completion bluetooth branding bzip2 cairo cdda cdr cet colord crypt css cuda curl dbus dga djvu dri dts dvb dvd dvdr encode exif ffmpeg flac ftp gdbm gif gimp git glut gpm gstreamer gtk gtk3 gui hddtemp iconv icu inotify ipv6 java javascript jit jpeg jpeg2k jpegxl kf6compat lame lcms ldap libass libcaca libnotify libtirpc lm-sensors mad magic matroska mng mp3 mp4 mpeg mtp multilib mysqli native-extensions ncurses networkmanager nls nsplugin nvidia offensive ogg openal opencl opengl openmp orc otf pam pango pcre pda pdf pipewire-alsa png policykit posix ppds pulseaudio qml quicktime raw rdp readline samba screencast sdl seccomp smartcard smp sound sound-server speech spell ssl startup-notification strip svg systemd test-rust theora threads tiff tk truetype udev udisks uefi unicode upnp-av upower usb v4l vaapi vcd vdpau videos vim-syntax vnc vorbis vulkan wayland webp wifi wxwidgets x264 xattr xcb xft xinerama xml xmp xmpp xv xvid zeroconf zip zlib" ABI_X86="64" ADA_TARGET="gcc_12" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio 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 rdrand 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 navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en en-US pl" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LLVM_TARGETS="NVPTX" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres16" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby32" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto 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, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS



this is last thing to finish it completly - but i'm stuck on it from yesterday :/ ...
Back to top
View user's profile Send private message
sebekk23
Tux's lil' helper
Tux's lil' helper


Joined: 29 Mar 2015
Posts: 77

PostPosted: Sat Nov 02, 2024 1:38 pm    Post subject: Reply with quote

My fault - i was using DVI as connector to my display :/. After switching do DisplayLink audio is working... Damn, i lost so many hours for that :D
Back to top
View user's profile Send private message
Ralphred
l33t
l33t


Joined: 31 Dec 2013
Posts: 632

PostPosted: Sat Nov 02, 2024 3:26 pm    Post subject: Reply with quote

The best-laid schemes o’ Mice an’ Men Gang aft agley, for the want of the right cable.
I spent nearly a whole day trying to diagnose a networking issue, turns out the RJ45 socket on the "hardware" wasn't as good as the one on my tester; fixed by fitting a 40 pence plug.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum