You are not logged in.
Pages: 1
I'm using Arch Linux about 3 weeks and all fine, but today I logged in to root and do
pacman -Syuy and rebooted.
Now When I try to play a video with audio on Firefox the video don't play, and if I play on VLC the video don't play any audio. I found a temporary fix that, if I play an audio, change the audio config from "Analog Stereo Duplex" to anything, and go back to "Analog Stereo Duplex", that video audio come back, but if I pause it stop again.
I'm using Pipewire
when I use "pipewire" command it returns
$ pipewire
[E][02102.118025] mod.protocol-native | [module-protocol-: 728 lock_socket()] server 0x562e5d954d30: unable to lock lockfile '/run/user/1000/pipewire-0.lock': Resource temporarily unavailable (maybe another daemon is running)
[E][02102.118202] pw.conf | [ conf.c: 594 load_module()] 0x562e5d93a020: could not load mandatory module "libpipewire-module-protocol-native": Resource temporarily unavailable
[E][02102.118386] default | [ pipewire.c: 125 main()] failed to create context: Resource temporarily unavailable"pulseaudio" is installed too (idk if it is normal) and returns:
$ pulseaudio
E: [pulseaudio] pid.c: Daemon already running.
E: [pulseaudio] main.c: pa_pid_file_create() failed.Last edited by Muteplayer (2022-10-09 17:15:47)
Offline
I'm having the same problem on GNOME. After a system upgrade, video playback does not work before switching the audio source once. I'm one pipewire too.
MPV logs these messages:
[vo/gpu/wayland] GNOME's wayland compositor lacks support for the idle inhibit protocol. This means the screen can blank during playback.
[ffmpeg] AVHWDeviceContext: Failed to query surface attributes: 20 (the requested function is not implemented).
[vo/gpu/vaapi-egl] failed to retrieve libavutil frame constraints
Cannot load libcuda.so.1
Using hardware decoding (vaapi).
[ao/pulse] The stream is suspended. Bailing out.
AO: [alsa] 44100Hz stereo 2ch float
VO: [gpu] 1920x1080 vaapi[nv12]
(Paused) AV: 00:00:00 / 00:24:06 (0%) A-V: -0.001Offline
What's your outputs for
systemctl --user status pulseaudio pipewire pipewire-media-session wireplumberIf you use pulseaudio you should have pipewire-media-session in place of wireplumber installed, if not the entire set of pipewire-pulse, pipewire-alsa, pipewire-jack and wireplumber.
Offline
● pulseaudio.service - Sound Service
Loaded: loaded (/usr/lib/systemd/user/pulseaudio.service; disabled; preset: enabled)
Active: active (running) since Sun 2022-10-09 09:49:41 CEST; 7h ago
TriggeredBy: ● pulseaudio.socket
Main PID: 1302 (pulseaudio)
Tasks: 7 (limit: 18904)
Memory: 36.8M
CPU: 1min 58.134s
CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pulseaudio.service
├─1302 /usr/bin/pulseaudio --daemonize=no --log-target=journal
└─1409 /usr/lib/pulse/gsettings-helper
ott 09 11:47:26 arch-latitude5300 pulseaudio[1302]: Failed to create sink input: sink is suspended.
ott 09 11:47:26 arch-latitude5300 pulseaudio[1302]: Failed to create sink input: sink is suspended.
ott 09 11:47:26 arch-latitude5300 pulseaudio[1302]: Failed to create sink input: sink is suspended.
ott 09 11:47:26 arch-latitude5300 pulseaudio[1302]: Failed to create sink input: sink is suspended.
ott 09 11:50:42 arch-latitude5300 pulseaudio[1302]: Failed to create sink input: sink is suspended.
ott 09 11:50:42 arch-latitude5300 pulseaudio[1302]: Failed to create sink input: sink is suspended.
ott 09 11:50:43 arch-latitude5300 pulseaudio[1302]: Failed to create sink input: sink is suspended.
ott 09 11:50:43 arch-latitude5300 pulseaudio[1302]: Failed to create sink input: sink is suspended.
ott 09 14:20:07 arch-latitude5300 pulseaudio[1302]: Failed to create sink input: sink is suspended.
ott 09 16:33:53 arch-latitude5300 pulseaudio[1302]: Failed to create sink input: sink is suspended.
● pipewire.service - PipeWire Multimedia Service
Loaded: loaded (/usr/lib/systemd/user/pipewire.service; disabled; preset: enabled)
Active: active (running) since Sun 2022-10-09 09:49:43 CEST; 7h ago
TriggeredBy: ● pipewire.socket
Main PID: 1750 (pipewire)
Tasks: 2 (limit: 18904)
Memory: 6.1M
CPU: 455ms
CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire.service
└─1750 /usr/bin/pipewire
ott 09 09:49:43 arch-latitude5300 systemd[1077]: Started PipeWire Multimedia Service.
ott 09 09:49:43 arch-latitude5300 pipewire[1750]: mod.rt: Can't find xdg-portal: (null)
ott 09 09:49:43 arch-latitude5300 pipewire[1750]: mod.rt: found session bus but no portal
● wireplumber.service - Multimedia Service Session Manager
Loaded: loaded (/usr/lib/systemd/user/wireplumber.service; enabled; preset: enabled)
Active: active (running) since Sun 2022-10-09 09:49:43 CEST; 7h ago
Main PID: 1751 (wireplumber)
Tasks: 4 (limit: 18904)
Memory: 18.6M
CPU: 2.397s
CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/wireplumber.service
└─1751 /usr/bin/wireplumber
ott 09 09:49:43 arch-latitude5300 systemd[1077]: Started Multimedia Service Session Manager.
ott 09 09:49:43 arch-latitude5300 wireplumber[1751]: Can't find xdg-portal: (null)
ott 09 09:49:43 arch-latitude5300 wireplumber[1751]: found session bus but no portal
ott 09 09:49:43 arch-latitude5300 wireplumber[1751]: Failed to set scheduler settings: Operation not permitted
ott 09 09:49:43 arch-latitude5300 wireplumber[1751]: SPA handle 'api.libcamera.enum.manager' could not be loaded; is it installed?
ott 09 09:49:43 arch-latitude5300 wireplumber[1751]: PipeWire's libcamera SPA missing or broken. libcamera not supported.
ott 09 09:49:43 arch-latitude5300 wireplumber[1751]: RegisterProfile() failed: org.bluez.Error.NotPermittedNote that I have installed the packages
pipewire
pipewire-audio
pipewire-jack
wireplumber
pulseaudio
pulseaudio-alsa
pulseaudio-bluetooth
qemu-audio-pa
I have never installed pipewire-media-session, and in general I think the packages got installed as GNOME dependencies, at least in my case. After installing pipewire-pulse (thus removing pulseaudio, pulseaudio-alsa and pulseaudio-bluetooth) and rebooting I can confirm video playback is working again. I wonder how I never noticed in the first place, since checking the logs I've installed all the packages a little less than a month ago. Thanks for the help (and sorry to OP for derailing the thread)!
Last edited by giuss (2022-10-09 15:35:12)
Offline
What's your outputs for
systemctl --user status pulseaudio pipewire pipewire-media-session wireplumberIf you use pulseaudio you should have pipewire-media-session in place of wireplumber installed, if not the entire set of pipewire-pulse, pipewire-alsa, pipewire-jack and wireplumber.
Thanks man, I installed "pipewire-media-session" replacing "wireplumber", rebooted, and got back to work, thank you! ![]()
Offline
Pages: 1