Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Audio non funziona con Pipewire
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
saverik
Guru
Guru


Joined: 18 Oct 2008
Posts: 353

PostPosted: Fri Aug 05, 2022 10:38 pm    Post subject: Audio non funziona con Pipewire Reply with quote

Ciao dopo l'ultimo aggiornamento l'audio ha smesso di funzionare.
Leggendo le news ho letto che si doveva scegliere tra Pulseaudio o Pipewire come sound server.
Ho deciso di selezionare Pipewire ma ancora adesso non riesco a farlo funzionare.
Ho seguito https://www.gentoo.org/support/news-items/2022-07-29-pipewire-sound-server.html fedelmente ma vi è qualcosa che mi sfugge.
precisamente ho usato questa procedura:
Code:
1. To use PipeWire for sound, users should enable USE=sound-server for PipeWire:

  Place the following entries in /etc/portage/package.use:
  ```
  media-video/pipewire sound-server
  media-sound/pulseaudio -daemon
  ```

  First, sync:
  # emerge --sync

  Deselect media-sound/pulseaudio-daemon:
  # emerge --deselect media-sound/pulseaudio-daemon

  Then perform a world upgrade with PipeWire on the command line to add
  it to the world file:
  # emerge --ask --update --changed-use --deep @world media-video/pipewire

  Then depclean:
  # emerge --ask --depclean

  OpenRC users on an XDG-compliant desktop which respects autostart files
  will not need to take any further action.

  OpenRC users using a minimal desktop which does not respect autostart
  files will need to run `gentoo-pipewire-launcher &` in e.g.
  `~/.xprofile`.

  Users who want to switch to PipeWire providing a PulseAudio daemon
  may need to `emerge --deselect` packages in their world file which
  hard-require media-sound/pulseaudio-daemon. There are only a handful
  of these. A non-exhaustive list:
  * media-sound/paprefs
  * media-sound/pasystray
  * media-sound/pulseaudio-modules-bt (shouldn't be needed anyway)
  * net-misc/pulseaudio-dlna

  If not using any of those packages anymore, please emerge --deselect
  them. If still using these, PipeWire as a PulseAudio is not an
  option at this time.

  (Note that media-libs/libpulse (which PipeWire will be using, don't emerge
  libpulse manually) provides 'pactl' which can be used as a replacement for
  e.g. media-sound/pulseaudio-ctl, so personal scripts can be adapted to this
  if desired.)

  systemd users will also need to run the following commands:
  $ systemctl --user --now disable pulseaudio.service pulseaudio.socket
  $ systemctl --user --now enable pipewire.socket pipewire-pulse.socket
  $ systemctl --user --now disable pipewire-media-session.service
  $ systemctl --user --force enable wireplumber.service
 
  Root user may replace --user with --global to change system default
  configuration for all of the above commands.


Praticamente non mi mostra i dispositivi di uscita



saluti
_________________
Dell_7490 i5-8350u ,32GbRam,Adata8200proNvme512Gb
Linux= Gentoo64bit+Kde_Plasma+systemd


Last edited by saverik on Thu Aug 11, 2022 8:53 pm; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 28586
Location: here

PostPosted: Sat Aug 06, 2022 5:42 am    Post subject: Reply with quote

Hai anche ricompilato i due pacchetti con le seguenti use
Code:
media-video/pipewire sound-server
media-sound/pulseaudio -daemon
:?:
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
saverik
Guru
Guru


Joined: 18 Oct 2008
Posts: 353

PostPosted: Sat Aug 06, 2022 8:54 pm    Post subject: Reply with quote

Si li ho aggiunti al package.use.
Ho seguito la procedura descritta nel link. https://www.gentoo.org/support/news-items/2022-07-29-pipewire-sound-server.html
terminando con .
Code:
  $ systemctl --user --now disable pulseaudio.service pulseaudio.socket
  $ systemctl --user --now enable pipewire.socket pipewire-pulse.socket
  $ systemctl --user --now disable pipewire-media-session.service
  $ systemctl --user --force enable wireplumber.service


googlando in giro ho trovato questo se pùò servire:

Code:
magisterk@dell7940 ~ $ pactl info
Stringa server: /run/user/1000/pulse/native
Versione protocollo libreria: 35
Versione protocollo server: 35
Locale: sì
Indice client: 44
Dimensione tile: 65472
Nome utente: magisterk
Nome host: dell7940
Nome server: PulseAudio (on PipeWire 0.3.56)
Versione server: 15.0.0
Specifica di campionamento predefinita: float32le ch 2 48000 Hz
Mappa del canale predefinita: front-left,front-right
Sink predefinito: auto_null
Sorgente predefinita: auto_null.monitor
Cookie: 9999:b597

_________________
Dell_7490 i5-8350u ,32GbRam,Adata8200proNvme512Gb
Linux= Gentoo64bit+Kde_Plasma+systemd


Last edited by saverik on Thu Aug 11, 2022 8:56 pm; edited 1 time in total
Back to top
View user's profile Send private message
saverik
Guru
Guru


Joined: 18 Oct 2008
Posts: 353

PostPosted: Sat Aug 06, 2022 10:18 pm    Post subject: Reply with quote

Allego lista componenti :


Code:
dell7940 /home/magisterk # lspci
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 08)
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 620 (rev 07)
00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 08)
00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21)
00:15.0 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #0 (rev 21)
00:15.1 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #1 (rev 21)
00:15.2 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #2 (rev 21)
00:15.3 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #3 (rev 21)
00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)
00:16.3 Serial controller: Intel Corporation Sunrise Point-LP Active Management Technology - SOL (rev 21)
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #1 (rev f1)
00:1c.2 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #3 (rev f1)
00:1c.4 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #5 (rev f1)
00:1d.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #9 (rev f1)
00:1f.0 ISA bridge: Intel Corporation Sunrise Point LPC Controller/eSPI Controller (rev 21)
00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)
00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (4) I219-LM (rev 21)
01:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS525A PCI Express Card Reader (rev 01)
02:00.0 Network controller: Intel Corporation Wireless 8265 / 8275 (rev 78)
3c:00.0 Non-Volatile memory controller: ADATA Technology Co., Ltd. XPG SX8200 Pro PCIe Gen3x4 M.2 2280 Solid State Drive (rev 03)

_________________
Dell_7490 i5-8350u ,32GbRam,Adata8200proNvme512Gb
Linux= Gentoo64bit+Kde_Plasma+systemd


Last edited by saverik on Thu Aug 11, 2022 8:58 pm; edited 1 time in total
Back to top
View user's profile Send private message
saverik
Guru
Guru


Joined: 18 Oct 2008
Posts: 353

PostPosted: Sun Aug 07, 2022 10:45 am    Post subject: Reply with quote

Praticamente non mi trova i dispositivi audio.
Ho ricompilato il kernel e ricontrollato le flag dei driver nel kernel..
Tutto ok.
Non so cosa altro controllare.
sto pensando di attivare Pulseaudio e disattivare PipeWire.
_________________
Dell_7490 i5-8350u ,32GbRam,Adata8200proNvme512Gb
Linux= Gentoo64bit+Kde_Plasma+systemd
Back to top
View user's profile Send private message
saverik
Guru
Guru


Joined: 18 Oct 2008
Posts: 353

PostPosted: Sun Aug 07, 2022 4:37 pm    Post subject: Reply with quote

per la compilazione del kernel ho usato :

Code:
genkernel  --makeopts=-j7 --install  --no-clean  --microcode-initramfs  --menuconfig all


e non ho inserito il firmware nel kernel avendo usato
Code:
--microcode-initramfs
come opzioni di genkernel.
Forse questo passo è la causa di questo problema??
_________________
Dell_7490 i5-8350u ,32GbRam,Adata8200proNvme512Gb
Linux= Gentoo64bit+Kde_Plasma+systemd
Back to top
View user's profile Send private message
ænigma
Tux's lil' helper
Tux's lil' helper


Joined: 02 Mar 2019
Posts: 105
Location: Italy

PostPosted: Mon Aug 08, 2022 7:59 am    Post subject: Reply with quote

Hai provato ad installare pipewire-media-session?
_________________
Davide


Descriverei Gentoo con una sola parola: GENIALE!
Back to top
View user's profile Send private message
saverik
Guru
Guru


Joined: 18 Oct 2008
Posts: 353

PostPosted: Mon Aug 08, 2022 12:38 pm    Post subject: Reply with quote

Se può essere d'aiuto


Code:
ell7940 /home/magisterk # emerge --ask pipewire-media-session

These are the packages that would be merged, in order:

Calculating dependencies... done!

emerge: there are no ebuilds to satisfy "pipewire-media-session".

emerge: searching for similar names... nothing similar found.
dell7940 /home/magisterk # emerge --ask --depclean --verbose media-sound/pulseaudio-daemon

Calculating dependencies... done!
  media-sound/pulseaudio-daemon-16.1 pulled in by:
    media-libs/libpulse-16.1 requires media-sound/pulseaudio-daemon

>>> No packages selected for removal by depclean
Packages installed:   1019
Packages in world:    67
Packages in system:   43
Required packages:    1019
Number removed:       0
dell7940 /home/magisterk # exit





Code:
magisterk@dell7940 ~ $ systemctl --user status pipewire-pulse.service
● pipewire-pulse.service - PipeWire PulseAudio
     Loaded: loaded (/usr/lib/systemd/user/pipewire-pulse.service; disabled; vendor preset: enabled)
     Active: active (running) since Mon 2022-08-08 12:24:53 CEST; 2h 0min ago
TriggeredBy: ● pipewire-pulse.socket
   Main PID: 1313 (pipewire-pulse)
      Tasks: 2 (limit: 38357)
     Memory: 8.0M
        CPU: 562ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire-pulse.service
             └─1313 /usr/bin/pipewire-pulse

ago 08 12:24:53 dell7940 systemd[1113]: Started PipeWire PulseAudio.
ago 08 12:24:53 dell7940 pipewire-pulse[1313]: mod.rt: RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
ago 08 12:24:53 dell7940 pipewire-pulse[1313]: mod.rt: could not set nice-level to -11: File o directory non esistente
ago 08 12:24:53 dell7940 pipewire-pulse[1313]: mod.rt: RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
ago 08 12:24:53 dell7940 pipewire-pulse[1313]: mod.rt: RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
ago 08 12:24:53 dell7940 pipewire-pulse[1313]: mod.rt: RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
ago 08 12:24:53 dell7940 pipewire-pulse[1313]: mod.rt: could not make thread 1318 realtime using RTKit: File o directory non esi>
ago 08 12:24:53 dell7940 pipewire-pulse[1317]: 536870912




magisterk@dell7940 ~ $ pipewire
[W][04955.531184] mod.rt       | [     module-rt.c:  259 translate_error()] RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
[W][04955.531624] mod.rt       | [     module-rt.c:  577 set_nice()] could not set nice-level to -11: File o directory non esistente
[W][04955.532678] mod.rt       | [     module-rt.c:  259 translate_error()] RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
[E][04955.533467] mod.protocol-native | [module-protocol-:  724 lock_socket()] server 0x55a07ecb3b10: unable to lock lockfile '/run/user/1000/pipewire-0.lock': Risorsa temporaneamente non disponibile (maybe another daemon is running)
[E][04955.533677] pw.conf      | [          conf.c:  560 load_module()] 0x55a07ec950f0: could not load mandatory module "libpipewire-module-protocol-native": Risorsa temporaneamente non disponibile
[E][04955.534029] default      | [      pipewire.c:  125 main()] failed to create context: Risorsa temporaneamente non disponibile
magisterk@dell7940 ~ $

_________________
Dell_7490 i5-8350u ,32GbRam,Adata8200proNvme512Gb
Linux= Gentoo64bit+Kde_Plasma+systemd
Back to top
View user's profile Send private message
saverik
Guru
Guru


Joined: 18 Oct 2008
Posts: 353

PostPosted: Mon Aug 08, 2022 10:17 pm    Post subject: Reply with quote

Ho installato rtkit e qualcosa è cambiato

Code:
magisterk@dell7940 ~ $ systemctl --user status pipewire-pulse.service
● pipewire-pulse.service - PipeWire PulseAudio
     Loaded: loaded (/usr/lib/systemd/user/pipewire-pulse.service;enabled;] vendor preset: enabled)
     Active: active (running) since Tue 2022-08-09 00:13:37 CEST; 1min 19s ago
TriggeredBy: ● pipewire-pulse.socket
   Main PID: 1120 (pipewire-pulse)
      Tasks: 2 (limit: 38357)
     Memory: 4.1M
        CPU: 19ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire-pulse.service
             └─1120 /usr/bin/pipewire-pulse

ago 09 00:13:37 dell7940 systemd[1111]: Started PipeWire PulseAudio.
ago 09 00:13:37 dell7940 pipewire-pulse[1149]: 536870912


magisterk@dell7940 ~ $ pipewire
[E][00113.900804] mod.protocol-native | [module-protocol-:  724 lock_socket()] server 0x55b5c0e73210: unable to lock lockfile '/run/user/1000/pipewire-0.lock': Risorsa temporaneamente non disponibile (maybe another daemon is running)
[E][00113.901107] pw.conf      | [          conf.c:  560 load_module()] 0x55b5c0e580f0: could not load mandatory module "libpipewire-module-protocol-native": Risorsa temporaneamente non disponibile
[E][00113.901298] default      | [      pipewire.c:  125 main()] failed to create context: Risorsa temporaneamente non disponibile
magisterk@dell7940 ~ $

_________________
Dell_7490 i5-8350u ,32GbRam,Adata8200proNvme512Gb
Linux= Gentoo64bit+Kde_Plasma+systemd
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) 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