Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[gelöst]Pipewire funktioniert nicht
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Child_of_Sun_24
Guru
Guru


Joined: 28 Jul 2004
Posts: 579

PostPosted: Wed Nov 08, 2023 9:19 am    Post subject: [gelöst]Pipewire funktioniert nicht Reply with quote

Hallo @all

Ich habe ein Problem mit meiner Soundausgabe unter Gnome. Es erscheint in den Einstellungen unter Audio beim Ausgabedevice nur Dummy Output, somit ist es nicht möglich Sound auszugeben.

unter lspci werden mir zei Soundkarten angezeigt:
Code:
09:00.1 Audio device [0403]: NVIDIA Corporation GA102 High Definition Audio Controller [10de:1aef] (rev a1)
   Subsystem: ASUSTeK Computer Inc. GA102 High Definition Audio Controller [1043:87b2]
   Kernel driver in use: snd_hda_intel
0b:00.4 Audio device [0403]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse HD Audio Controller [1022:1487]
   Subsystem: Gigabyte Technology Co., Ltd Starship/Matisse HD Audio Controller [1458:a184]
   Kernel driver in use: snd_hda_intel


aplay -L gibt mir folgendes aus:

Code:
null
    Discard all samples (playback) or generate zero samples (capture)
hdmi:CARD=NVidia,DEV=0
    HDA NVidia, U32J59x
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=1
    HDA NVidia, HDMI 1
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=2
    HDA NVidia, HDMI 2
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 3
    HDMI Audio Output
default:CARD=Generic
    HD-Audio Generic, ALC887-VD Analog
    Default Audio Device
sysdefault:CARD=Generic
    HD-Audio Generic, ALC887-VD Analog
    Default Audio Device
front:CARD=Generic,DEV=0
    HD-Audio Generic, ALC887-VD Analog
    Front output / input
surround21:CARD=Generic,DEV=0
    HD-Audio Generic, ALC887-VD Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=Generic,DEV=0
    HD-Audio Generic, ALC887-VD Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Generic,DEV=0
    HD-Audio Generic, ALC887-VD Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Generic,DEV=0
    HD-Audio Generic, ALC887-VD Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Generic,DEV=0
    HD-Audio Generic, ALC887-VD Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Generic,DEV=0
    HD-Audio Generic, ALC887-VD Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers


meine emerge --info ist:
Code:
Portage 3.0.55 (python 3.11.6-final-0, default/linux/amd64/17.1/desktop/gnome, gcc-13, glibc-2.38-r7, 6.6.0-gentoo-OS x86_64)
=================================================================
System uname: Linux-6.6.0-gentoo-OS-x86_64-AMD_Ryzen_9_5950X_16-Core_Processor-with-glibc2.38
KiB Mem:    65735540 total,  62042104 free
KiB Swap:    2097148 total,   2097148 free
Timestamp of repository gentoo: Wed, 08 Nov 2023 06:31:56 +0000
Head commit of repository gentoo: 4a4114fdb0e7bb921115b6b8d4a72bc6faaf82b6

sh bash 5.2_p15-r7
ld GNU ld (Gentoo 2.41 p2) 2.41.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p15-r7::gentoo
dev-java/java-config:      2.3.1-r1::gentoo
dev-lang/perl:             5.38.0-r1::gentoo
dev-lang/python:           3.10.13::gentoo, 3.11.6::gentoo, 3.12.0_p1::gentoo
dev-lang/rust:             1.73.0::gentoo
dev-util/cmake:            3.27.7::gentoo
dev-util/meson:            1.2.3::gentoo
sys-apps/baselayout:       2.14::gentoo
sys-apps/openrc:           0.51::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-devel/autoconf:        2.13-r8::gentoo, 2.71-r7::gentoo
sys-devel/automake:        1.16.5-r1::gentoo
sys-devel/binutils:        2.38-r2::gentoo, 2.41-r2::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           17.0.4::gentoo
sys-devel/gcc:             13.2.1_p20231014::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/lld:             17.0.4::gentoo
sys-devel/llvm:            16.0.6::gentoo, 17.0.4::gentoo
sys-devel/make:            4.4.1-r1::gentoo
sys-kernel/linux-headers:  6.6::gentoo (virtual/os-headers)
sys-libs/glibc:            2.38-r7::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/repo/sync/gentoo.git
    priority: -1000
    volatile: True
    sync-git-verify-commit-signature: yes

local
    location: /var/db/repos/local
    masters: gentoo
    volatile: False

Ollis-Overlay
    location: /usr/local/portage
    masters: gentoo
    priority: 200
    volatile: True

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE AdobeFlash-11.x"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=znver3 -O2 -mtune=znver3 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xorg.conf.d /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 /etc/terminfo"
CXXFLAGS="-march=znver3 -O2 -mtune=znver3 -pipe -fomit-frame-pointer"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask-write=y --with-bdeps=y --jobs=2 --load-average=1 --keep-going"
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="-O2 -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 parallel-install 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="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.netcologne.de/gentoo/ http://mirror.leaseweb.com/gentoo/ http://de-mirror.org/gentoo/ http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LDFLAGS="-march=znver3 -O2 -mtune=znver3 -pipe -fomit-frame-pointer -Wl,-O1 -Wl,--as-needed"
LEX="flex"
LINGUAS="de"
MAKEOPTS="-j32 -l32"
PKGDIR="/var/cache/binpkgs"
PORTAGE_COMPRESS_FLAGS="-9"
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 aacplus acl acpi activities addc aes aio alsa amd64 ao apng arj aspell avx avx2 bash-completion bluetooth bluray branding btrfs bzip2 c++0x c++11x cacao cairo cdda cdr cgroup cgroups clang cleartype cli client cmake colord console corefonts crypt cups curl dbus dri dri3 drm dts dv dvd dvdr editor eds efi egl elogind emf encode evdev evo exif f16c faac faad fat fbcon fbsplash ffmpeg fftw flac fltk fma fma3 fma4 fontconfig foomaticdb fortran fpm fuse g-sorcery gallium games gbm gcrypt gd gdbm gif gimp git glamor gles gles2 glut glx gmp gnome gnome-keyring gnome-online-accounts gnome-shell gnupg gnutls gold gpg gpm grub gsm gstreamer gtk gtk2 gtk3 gui harfbuzz hunspell hwaccel i18n iconv icu id3tag imagemagick innodb-snappy inotify introspection iproute2 ipv6 iso ispell ithreads jack java javascript jbig jit jpeg jpeg2k jpg json keyring kmod kms l10n ladspa lame largepages latin1 lcms ldap ldapdb legacy-systray lensfun lha libass libglvnd libkms libnotify librtmp libsamplerate libsoxr libtirpc libv4l libva llvm lm_sensors loop-aes lz4 lzma lzo mad mail matroska mediacenter mem-scramble minizip mjpeg mktemp mmap mmx mng mouse mp3 mp4 mpc mpeg mpfr mplayer mtp multilib multitarget nautilus ncurses neon networkmanager nftables nls nptl nptlonly nscd nsplugin ntfs ntp ocaml ogg openal opencl opengl opengpg openldap openmax openmp openrc openssl orc osmesa pae pam pango parted passwdqc passwordsave pclmul pcre pdf perl pgo phonon plasma playlist pm-utils png policykit popcnt postproc ppds pulseaudio python python3 q64 qemu qml qrcode qt5 quad quicktime rar raw readline reencrypt rpm rss rtmp s3tc samba sasl sdl seccomp secure-delete sensors sharedmem shmvideo smp smpeg snappy sndfile sound sox speex spell split-usr sqlite sse sse2 sse3 sse4 sse4_1 sse4_2 sse4a sse5 ssl ssse3 startup-notification streaming svg sync-plugin-portage syslog sysprof systeminfo sysvipc taglib tagsoup test-rust tga theora thin threads thumbnail thunderbird tiff timezone tinfo tls tools tracker trayicon truetype udev udisks uefi unarj unicode unlock-notify unrar unzip upower urandom usb user-session v4l v4l2 va vaapi vala vdpau vlc vorbis vpx vulkan wayland webchannel webp widgets winbind wmf wxwidgets x11 x264 x265 xattr xcb xft xlib-xcb xml xorg xpm xrandr xv xvid zbus zip zlib zoo" ABI_X86="64" ADA_TARGET="gnat_2021" 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 rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" CURL_SSL="openssl" 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" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="libinput" KERNEL="linux" L10N="de" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_10 python3_11" RUBY_TARGETS="ruby31 ruby32" SANE_BACKENDS="canon canon630u canon_dr pixma" VIDEO_CARDS="fbdev nvidia" 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, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS


Ich bin die Einstellungen von https://wiki.gentoo.org/wiki/PipeWire durchgegangen und habe es entsprechend konfiguriert. Mein User ist auch in der Audio sowie der Pipewire gruppe.

LANG=C pactl info liefert:
Code:
Server-Zeichenkette: /run/user/1000/pulse/native
Bibliotheks-Protokollversion: 35
Server-Protokollversion: 35
ist lokal: ja
Client-Index: 77
Tile-Größe: 65472
Name des Benutzers: ollilein
Rechnername: Cracked-V
Name des Servers: PulseAudio (on PipeWire 0.3.84)
Version des Servers: 15.0.0
Standard-Abtastwert-Angabe: float32le 2ch 48000Hz
Standard-Kanal-Zuordnung: front-left,front-right
Standard-Ziel: auto_null
Standard-Quelle: auto_null.monitor
Cookie: 92c2:ccec


Ich hoffe ich habe alle wichtigen angaben gemacht und hoffe das mir jemand Helfen kann, ohne Soundausgabe ist das Leben schon schwer :-)


Last edited by Child_of_Sun_24 on Mon Nov 13, 2023 6:21 pm; edited 1 time in total
Back to top
View user's profile Send private message
firefly
Watchman
Watchman


Joined: 31 Oct 2002
Posts: 5211

PostPosted: Wed Nov 08, 2023 10:11 am    Post subject: Reply with quote

Zu wenig infos was du alles laut der Anleitung gemacht hast...
Ich hoffe mal du hast nicht das useflag pulseaudio deaktiviert. Denn das wird weiterhin benötigt, da die client libraries immer noch von pulseaudio genutzt werden.

Wenn du systemd+logind verwendest dann musst das hier machen:
https://wiki.gentoo.org/wiki/PipeWire#systemd

Wenn du Openrc nutzt dann musst du das hier machen
https://wiki.gentoo.org/wiki/PipeWire#OpenRC

Und gibt es irgendwelche Fehlermeldungen, wenn du z.b. via terminal versuchst ein video/audio file (z.b. via mpv) abzuspielen?
_________________
Ein Ring, sie zu knechten, sie alle zu finden,
Ins Dunkel zu treiben und ewig zu binden
Im Lande Mordor, wo die Schatten drohn.
Back to top
View user's profile Send private message
firefly
Watchman
Watchman


Joined: 31 Oct 2002
Posts: 5211

PostPosted: Wed Nov 08, 2023 10:13 am    Post subject: Re: Pipewire funktioniert nicht Reply with quote

Child_of_Sun_24 wrote:

LANG=C pactl info liefert:
Code:
Server-Zeichenkette: /run/user/1000/pulse/native
Bibliotheks-Protokollversion: 35
Server-Protokollversion: 35
ist lokal: ja
Client-Index: 77
Tile-Größe: 65472
Name des Benutzers: ollilein
Rechnername: Cracked-V
Name des Servers: PulseAudio (on PipeWire 0.3.84)
Version des Servers: 15.0.0
Standard-Abtastwert-Angabe: float32le 2ch 48000Hz
Standard-Kanal-Zuordnung: front-left,front-right
Standard-Ziel: auto_null
Standard-Quelle: auto_null.monitor
Cookie: 92c2:ccec

Laut dieser ausgabe hat das system keine augabe devices gefunden ("Standard-Ziel" und Standard-Quelle = auto_null)

Bei mir sieht das so aus:

Quote:
Default Sink: alsa_output.pci-0000_2f_00.4.analog-stereo
Default Source: alsa_input.pci-0000_2f_00.4.analog-stereo.5


Und was liefert die ausgabe von?
Code:
wpctl status

_________________
Ein Ring, sie zu knechten, sie alle zu finden,
Ins Dunkel zu treiben und ewig zu binden
Im Lande Mordor, wo die Schatten drohn.
Back to top
View user's profile Send private message
Child_of_Sun_24
Guru
Guru


Joined: 28 Jul 2004
Posts: 579

PostPosted: Wed Nov 08, 2023 4:10 pm    Post subject: Re: Pipewire funktioniert nicht Reply with quote

firefly wrote:
Und was liefert die ausgabe von?
[code]wpctl status


Die ausgabe sieht so aus:
[code]PipeWire 'pipewire-0' [0.3.84, ollilein@Cracked-V, cookie:2347618016]
└─ Clients:
32. pipewire [0.3.84, ollilein@Cracked-V, pid:682]
34. GNOME Volume Control Media Keys [0.3.84, ollilein@Cracked-V, pid:434]
35. GNOME Shell Volume Control [0.3.84, ollilein@Cracked-V, pid:746]
36. WirePlumber [0.3.84, ollilein@Cracked-V, pid:610]
37. WirePlumber [export] [0.3.84, ollilein@Cracked-V, pid:610]
44. xdg-desktop-portal [0.3.84, ollilein@Cracked-V, pid:883]
45. wpctl [0.3.84, ollilein@Cracked-V, pid:5044]

Audio
├─ Devices:

├─ Sinks:
│ * 33. Dummy Output [vol: 1.00]

├─ Sink endpoints:

├─ Sources:

├─ Source endpoints:

└─ Streams:

Video
├─ Devices:

├─ Sinks:

├─ Sink endpoints:

├─ Sources:

├─ Source endpoints:

└─ Streams:

Settings
└─ Default Configured Node Names:
0. Audio/Sink auto_null[/code]

firefly wrote:
Wenn du Openrc nutzt dann musst du das hier machen
https://wiki.gentoo.org/wiki/PipeWire#OpenRC

Und gibt es irgendwelche Fehlermeldungen, wenn du z.b. via terminal versuchst ein video/audio file (z.b. via mpv) abzuspielen?


Ich habe die .xinitrc im Benutzerverzeichnis angelegt mit dem Inhalt:
[code]export XDG_SESSION_TYPE=x11
export GDK_BACKEND=x11
exec dbus-launch --exit-with-session gnome-session[/code]

Die .xprofile mit dem Inhalt:
[code]gentoo-pipewire-launcher &[/code]

Und ich habe die Dateien aus dem /usr/share/pipewire Verzeichnis nach /etc kopiert.

Wenn ich mit mpv eine mp3 datei abspiele funktioniert das ohne Fehler, es kommt halt nur kein Ton.

Ich habe meinen User jetzt mal zur audio und pipewire gruppe hinzugefügt, jetzt ploppt nach dem starten kurz ein anderes device auf das aber ganz oft hintereinander startet und dann wieder weg ist, das ganze geht ein paar sekunden so, bis dann wieder nur Dummy Output zur auswahl steht.

Konnte das ganze mal einfangen mit wpctl status dort tauchen auch kurz zwei Geräte auf die aber sofort wieder verschwinden:

[code] PipeWire 'pipewire-0' [0.3.84, ollilein@Cracked-V, cookie:4034855747]
└─ Clients:
32. pipewire [0.3.84, ollilein@Cracked-V, pid:6516]
34. GNOME Shell Volume Control [0.3.84, ollilein@Cracked-V, pid:6184]
35. WirePlumber [0.3.84, ollilein@Cracked-V, pid:6108]
36. WirePlumber [export] [0.3.84, ollilein@Cracked-V, pid:6108]
42. GNOME Volume Control Media Keys [0.3.84, ollilein@Cracked-V, pid:6299]
47. wpctl [0.3.84, ollilein@Cracked-V, pid:7391]
50. xdg-desktop-portal [0.3.84, ollilein@Cracked-V, pid:6601]
54. WirePlumber [0.3.84, ollilein@Cracked-V, pid:6470]
55. WirePlumber [export] [0.3.84, ollilein@Cracked-V, pid:6470]

Audio
├─ Devices:
│ 33. Starship/Matisse HD Audio Controller [alsa]

├─ Sinks:
│ 46. Starship/Matisse HD Audio Controller Analog Stereo [vol: 0.40]

├─ Sink endpoints:

├─ Sources:
│ 48. Starship/Matisse HD Audio Controller Analog Stereo [vol: 1.00]

├─ Source endpoints:

└─ Streams:

Video
├─ Devices:

├─ Sinks:

├─ Sink endpoints:

├─ Sources:

├─ Source endpoints:

└─ Streams:

Settings
└─ Default Configured Node Names:
0. Audio/Sink auto_null [/code]

*EDIT2*

Mittlerweile flackern die Audio devices die ganze Zeit über, kurz da kurz weg, und immer so weiter.

*EDIT3*

Ich habe mal was ganz böses getan und Gnome mithilfe von startx als root ausgeführt, hier werden meine beiden Audio devices angezeigt und funktionieren auch, ich habe also als root sound.
Back to top
View user's profile Send private message
Child_of_Sun_24
Guru
Guru


Joined: 28 Jul 2004
Posts: 579

PostPosted: Thu Nov 09, 2023 10:09 am    Post subject: Reply with quote

So jetzt habe ich mal etwas ausprobiert, ich habe bei pipewire das Use-Flag "sound-server" entfernt und bei pulseaudio das Use-Flag "daemon" gesetzt, jetzt läuft alles über pulseaudio und ich habe Sound, damit kann man das Thema als für mich gelöst betrachten da es mir relativ egal ist ob der sound von pipewire oder pulseaudio kommt.

Besten dank noch an an firefly :-)
Back to top
View user's profile Send private message
firefly
Watchman
Watchman


Joined: 31 Oct 2002
Posts: 5211

PostPosted: Thu Nov 09, 2023 10:17 am    Post subject: Reply with quote

Child_of_Sun_24 wrote:
So jetzt habe ich mal etwas ausprobiert, ich habe bei pipewire das Use-Flag "sound-server" entfernt und bei pulseaudio das Use-Flag "daemon" gesetzt, jetzt läuft alles über pulseaudio und ich habe Sound, damit kann man das Thema als für mich gelöst betrachten da es mir relativ egal ist ob der sound von pipewire oder pulseaudio kommt.

Besten dank noch an an firefly :-)

Dadurch verwendest du aber nicht mehr pipewire...
Dadurch ist das eigentliche Problem nicht gelöst. Sondern du hast nur auf pulseaudio zurück migriert.
Wahrscheinlicher ist, dass du ein ähnliches Problem hast wie Murmeltier
https://forums.gentoo.org/viewtopic-t-1165713.html

Bei dir läuft vermutlich der pipewire daemon zwei mal. Wobei die zweite instanz dann von den Applikationen genutzt wird.
Da aber durch die erste instanz die alsa devices blockiert sind, findet die zweite Instanz keine ausgabgeräte und bleibt somit stumm.
_________________
Ein Ring, sie zu knechten, sie alle zu finden,
Ins Dunkel zu treiben und ewig zu binden
Im Lande Mordor, wo die Schatten drohn.
Back to top
View user's profile Send private message
firefly
Watchman
Watchman


Joined: 31 Oct 2002
Posts: 5211

PostPosted: Thu Nov 09, 2023 10:25 am    Post subject: Re: Pipewire funktioniert nicht Reply with quote

Child_of_Sun_24 wrote:

Ich habe mal was ganz böses getan und Gnome mithilfe von startx als root ausgeführt, hier werden meine beiden Audio devices angezeigt und funktionieren auch, ich habe also als root sound.

Das bestätigt meine Vermutung. Der soundserver von pipewire läuft bei die mehrmals und anscheinend einmal als root.
Und die als root laufende intanz wird zu erst gestartet und blockiert dann natürlich den zugriff auf die alsa geräte für die Instanz, welche durch deinen Benutzer gestartet wird.
Kann es eventuell sein, dass du pulseaudio/pipewire als system dienst laufen lässt?
_________________
Ein Ring, sie zu knechten, sie alle zu finden,
Ins Dunkel zu treiben und ewig zu binden
Im Lande Mordor, wo die Schatten drohn.
Back to top
View user's profile Send private message
Child_of_Sun_24
Guru
Guru


Joined: 28 Jul 2004
Posts: 579

PostPosted: Thu Nov 09, 2023 11:21 am    Post subject: Reply with quote

Dürfte eigentlich nicht sein da bei pipewire die Useflag system-service nicht gesetzt ist und bei pulseaudio die Useflag system-wide nicht gesetzt ist. Und ich starte eigentlich nur den display-server da dürfte von root aus nichts gestertet werden.
Back to top
View user's profile Send private message
firefly
Watchman
Watchman


Joined: 31 Oct 2002
Posts: 5211

PostPosted: Thu Nov 09, 2023 11:26 am    Post subject: Reply with quote

Child_of_Sun_24 wrote:
Dürfte eigentlich nicht sein da bei pipewire die Useflag system-service nicht gesetzt ist und bei pulseaudio die Useflag system-wide nicht gesetzt ist. Und ich starte eigentlich nur den display-server da dürfte von root aus nichts gestertet werden.

Das waren jetzt nur Vermutungen von mir anhand deinen Aussagen. Nur du kannst es prüfen. Also tu das auch bitte
Wenn das Problem auftritt mal als root folgenden Befehl ausführen und die Ausgabe hier posten.
Code:
ps axu | grep "wire"

Bei mir sieht das z.b. so aus
Quote:
bla 1365 0.2 0.1 297052 40716 ? Ssl Nov05 13:10 /usr/bin/pipewire
bla 1366 0.0 0.0 406764 21928 ? Ssl Nov05 0:05 /usr/bin/wireplumber
bla 1394 0.2 0.1 157056 48140 ? SLsl Nov05 14:26 /usr/bin/pipewire-pulse
bla 343125 0.0 0.0 6796 2112 pts/4 S+ 12:23 0:00 grep --colour=auto wire

_________________
Ein Ring, sie zu knechten, sie alle zu finden,
Ins Dunkel zu treiben und ewig zu binden
Im Lande Mordor, wo die Schatten drohn.
Back to top
View user's profile Send private message
Child_of_Sun_24
Guru
Guru


Joined: 28 Jul 2004
Posts: 579

PostPosted: Thu Nov 09, 2023 5:19 pm    Post subject: Reply with quote

Habe pipewire wieder mit der Useflag sound-server gebaut und bei pulseaudio die daemon useflag entfernt, und ich glaube es kaum, es funktioniert trotzdem jetzt. Keine Ahnung wieso.
Back to top
View user's profile Send private message
firefly
Watchman
Watchman


Joined: 31 Oct 2002
Posts: 5211

PostPosted: Thu Nov 09, 2023 5:45 pm    Post subject: Reply with quote

Child_of_Sun_24 wrote:
Habe pipewire wieder mit der Useflag sound-server gebaut und bei pulseaudio die daemon useflag entfernt, und ich glaube es kaum, es funktioniert trotzdem jetzt. Keine Ahnung wieso.

Du musst noch was anderes geändert haben bzw. was nicht gemacht haben, was du vorher gemacht hast. Den so einfach hat sich das Problem nicht gelöst
_________________
Ein Ring, sie zu knechten, sie alle zu finden,
Ins Dunkel zu treiben und ewig zu binden
Im Lande Mordor, wo die Schatten drohn.
Back to top
View user's profile Send private message
Child_of_Sun_24
Guru
Guru


Joined: 28 Jul 2004
Posts: 579

PostPosted: Fri Nov 10, 2023 6:24 am    Post subject: Reply with quote

Nein ich habe das Problem nochmal nachgestellt, erst habe ich meine komplette Gnome konfiguration gelöscht und pipewire als Standard ausgewählt. Hier kam es dazu das diesmal gesagt wurde das kein Audio Device existiert, dann habe ich auf pulseaudio umgestellt und die Devices waren wieder da. Danach habe ich wieder auf pipewire umgestellt und siehe da die Audio Devices funktionieren wieder.

Weiß auch nicht wieso.

pactl info gibt jetzt folgendes aus:
Code:
Server-Zeichenkette: /tmp/.private/ollilein/pulse-PKdhtXMmr18n/native
Bibliotheks-Protokollversion: 35
Server-Protokollversion: 35
ist lokal: ja
Client-Index: 15
Tile-Größe: 65472
Name des Benutzers: ollilein
Rechnername: Cracked-V
Name des Servers: pulseaudio
Version des Servers: 16.99.1
Standard-Abtastwert-Angabe: s16le 2ch 44100Hz
Standard-Kanal-Zuordnung: front-left,front-right
Standard-Ziel: alsa_output.pci-0000_0b_00.4.analog-stereo
Standard-Quelle: alsa_input.pci-0000_0b_00.4.analog-stereo
Cookie: a740:3bd5
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) 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