You are not logged in.
Hi,
Since I update my setup this morning, video streaming (youtube/netflix/amazon on brave, jellyfin on personal server, etc...) does not work.
Video is charging but never start.
Here you can see the list off my recently installed/updated package:
[2022-05-02T11:56:31+0200] [ALPM] warning: /etc/pacman.d/mirrorlist installed as /etc/pacman.d/mirrorlist.pacnew
[2022-05-02T11:56:31+0200] [ALPM] installed sdl12-compat (1.2.52-2)
[2022-05-02T12:35:46+0200] [ALPM] installed ninja (1.10.2-1)
[2022-05-02T12:35:46+0200] [ALPM] installed meson (0.62.1-1)
[2022-05-02T12:35:46+0200] [ALPM] installed libsass (3.6.5-2)
[2022-05-02T12:35:46+0200] [ALPM] installed sassc (3.6.2-3)
[2022-05-06T10:11:41+0200] [ALPM] installed ostree (2022.3-1)
[2022-05-06T10:11:41+0200] [ALPM] installed appstream-glib (0.7.18-2)
[2022-05-06T10:11:41+0200] [ALPM] installed xdg-desktop-portal-gtk (1.14.0-1)
[2022-05-06T10:11:41+0200] [ALPM] installed xdg-desktop-portal-gnome (42.1-1)
[2022-05-06T10:11:41+0200] [ALPM] installed xdg-desktop-portal (1.14.4-1)
[2022-05-06T10:11:41+0200] [ALPM] installed flatpak (1:1.12.7-1)
[2022-05-06T10:11:41+0200] [ALPM] installed malcontent (0.10.3-2)
[2022-05-06T21:42:13+0200] [ALPM] reinstalled ffmpeg (2:5.0-7) // Me trying to resolve the issue
[2022-05-06T21:42:13+0200] [ALPM] reinstalled gst-libav (1.20.2-1) // Me trying to resolve the issue
[2022-05-06T21:42:13+0200] [ALPM] reinstalled ffmpeg4.4 (4.4.1-5) // Me trying to resolve the issue
[2022-05-06T10:11:39+0200] [ALPM] upgraded openssl (1.1.1.n-1 -> 1.1.1.o-1)
[2022-05-06T10:11:39+0200] [ALPM] upgraded podofo (0.9.7-1 -> 0.9.8-1)
[2022-05-06T10:11:39+0200] [ALPM] upgraded python-psutil (5.9.0-1 -> 5.9.0-2)
[2022-05-06T10:11:39+0200] [ALPM] upgraded xcb-proto (1.14.1-5 -> 1.15-1)
[2022-05-06T10:11:39+0200] [ALPM] upgraded libxcb (1.14-1 -> 1.15-1)
[2022-05-06T10:11:39+0200] [ALPM] upgraded sqlite (3.38.3-1 -> 3.38.4-1)
[2022-05-06T10:11:40+0200] [ALPM] upgraded python-more-itertools (8.12.0-1 -> 8.12.0-2)
[2022-05-06T10:11:40+0200] [ALPM] upgraded python-setuptools (1:59.5.0-1 -> 1:59.6.0-1)
[2022-05-06T10:11:40+0200] [ALPM] upgraded calibre (5.42.0-1 -> 5.42.0-2)
[2022-05-06T10:11:41+0200] [ALPM] upgraded gimp (2.10.30-2 -> 2.10.30-3)
[2022-05-06T10:11:41+0200] [ALPM] upgraded glibmm (2.66.3-3 -> 2.66.4-1)
[2022-05-06T10:11:41+0200] [ALPM] upgraded libnotify (0.7.11-1 -> 0.7.11-2)
[2022-05-06T10:11:41+0200] [ALPM] upgraded gnome-control-center (42.1-1 -> 42.1-2)
[2022-05-06T10:11:41+0200] [ALPM] upgraded mutter (42.0-2 -> 42.1-1)
[2022-05-06T10:11:41+0200] [ALPM] upgraded gnome-shell (1:42.0-1 -> 1:42.1-1)
[2022-05-06T10:11:42+0200] [ALPM] upgraded jre-openjdk-headless (18.0.1.u10-1 -> 18.0.1.1.u2-1)
[2022-05-06T10:11:42+0200] [ALPM] upgraded jre-openjdk (18.0.1.u10-1 -> 18.0.1.1.u2-1)
[2022-05-06T10:11:42+0200] [ALPM] upgraded jdk-openjdk (18.0.1.u10-1 -> 18.0.1.1.u2-1)
[2022-05-06T10:11:42+0200] [ALPM] upgraded lib32-libxcb (1.14-1 -> 1.15-1)
[2022-05-06T10:11:42+0200] [ALPM] upgraded lib32-sqlite (3.38.1-1 -> 3.38.3-1)
[2022-05-06T10:11:42+0200] [ALPM] upgraded libnice (0.1.18-2 -> 0.1.19-1)
[2022-05-06T10:11:43+0200] [ALPM] upgraded libreoffice-fresh (7.3.2-2 -> 7.3.3-1)
[2022-05-06T10:11:44+0200] [ALPM] upgraded libreoffice-fresh-fr (7.3.2-1 -> 7.3.3-1)
[2022-05-06T10:11:44+0200] [ALPM] upgraded lsof (4.94.0-1 -> 4.95.0-1)
[2022-05-06T10:11:44+0200] [ALPM] upgraded perl-http-daemon (6.13-1 -> 6.14-1)
[2022-05-06T10:11:44+0200] [ALPM] upgraded perl-libwww (6.59-1 -> 6.60-1)
[2022-05-06T10:13:15+0200] [ALPM] upgraded visual-studio-code-bin (1.66.2-2 -> 1.67.0-1)
[2022-05-06T15:29:16+0200] [ALPM] upgraded gspell (1.10.0-1 -> 1.10.0-2)
[2022-05-06T20:42:14+0200] [ALPM] upgraded dav1d (0.9.2-1 -> 1.0.0-1)
[2022-05-06T20:42:14+0200] [ALPM] upgraded ffmpeg (2:5.0-6 -> 2:5.0-7)
[2022-05-06T20:42:14+0200] [ALPM] upgraded ffmpeg4.4 (4.4.1-4 -> 4.4.1-5)
[2022-05-06T20:42:14+0200] [ALPM] upgraded libyuv (r2266+eb6e7bb6-1 -> r2322+3aebf69d-1)
[2022-05-06T20:42:14+0200] [ALPM] upgraded libavif (0.9.3-1 -> 0.10.1-1)
[2022-05-06T20:42:14+0200] [ALPM] upgraded gd (2.3.3-3 -> 2.3.3-4)
[2022-05-06T20:42:14+0200] [ALPM] upgraded libunrar (1:6.1.6-1 -> 1:6.1.7-1)
[2022-05-06T20:42:14+0200] [ALPM] upgraded unrar (1:6.1.6-1 -> 1:6.1.7-1)
[2022-05-06T20:42:14+0200] [ALPM] upgraded vlc (3.0.17.4-2 -> 3.0.17.4-3)
When launching application from terminal it does not seems to screams errors.
Do you have any idea on how I can debug this?
Last edited by Artyom (2022-05-08 07:25:11)
Offline
When launching application from terminal it does not seems to screams errors.
*What* application? Some browser? Which? Or is it vlc?
Can you
mpv 'https://www.youtube.com/watch?v=v2AC41dglnM'
w/ mpv & yt-dlp installed?
Offline
*What* application? Some browser? Which? Or is it vlc?
From now, I've tried with brave, firefox on youtube and jellyfin. I've also tried jellyfinmediaplayer and it did not work.
However if I use a jellyfin link in VLC like a streaming link, it work.
Can you
mpv 'https://www.youtube.com/watch?v=v2AC41dglnM'
w/ mpv & yt-dlp installed?
Same behavior as youtube on browser, video is charging but cannot play it.
Here is the console report:
mpv 'https://www.youtube.com/watch?v=v2AC41dglnM'
(+) Video --vid=1 (*) (vp9 2880x2160 25.000fps)
(+) Audio --aid=1 --alang=eng (*) (opus 2ch 48000Hz)
File tags:
Uploader: acdcVEVO
Channel_URL: https://www.youtube.com/channel/UCmPuJ2BltKsGE2966jLgCnw
[vo/gpu/wayland] GNOME's wayland compositor lacks support for the idle inhibit protocol. This means the screen can blank during playback.
[ao/pulse] The stream is suspended. Bailing out.
AO: [alsa] 48000Hz stereo 2ch float
VO: [gpu] 2880x2160 yuv420p
AV: 00:00:00 / 00:04:52 (0%) A-V: 0.000 Cache: 70s/113MB
BUT if i launch the session with xorg it works:
mpv 'https://www.youtube.com/watch?v=v2AC41dglnM'
(+) Video --vid=1 (*) (vp9 2880x2160 25.000fps)
(+) Audio --aid=1 --alang=eng (*) (opus 2ch 48000Hz)
File tags:
Uploader: acdcVEVO
Channel_URL: https://www.youtube.com/channel/UCmPuJ2BltKsGE2966jLgCnw
AO: [pulse] 48000Hz stereo 2ch float
VO: [gpu] 2880x2160 yuv420p
(Paused) AV: 00:00:06 / 00:04:52 (2%) A-V: 0.000 Cache: 91s/150MB
Sadly it doesn't solve the problem with browser and jellyfin.
And oen thing strange, beside MPV on xorg, I have absolutly no sound system wide.
I've tried to downgrade ffmpeg and dependencies but it did not resolve the problem.
Thanks for the help!
Last edited by Artyom (2022-05-07 08:57:47)
Offline
I assume the browsers work on X11 as well?
[2022-05-06T10:11:41+0200] [ALPM] upgraded mutter (42.0-2 -> 42.1-1)
[2022-05-06T10:11:41+0200] [ALPM] upgraded gnome-shell (1:42.0-1 -> 1:42.1-1)
Runnign gnome? Does the problem extend to eg. weston or sway?
Offline
Are you using pulseaudio?
I'm on Gnome-X11, 2 or 3 days ago after updating , might be one of these - malcontent, gnome-control-center, flatpak, xdg-desktop-portal, I found the same problem but solve the issue by install pipewire and remove pulseaudio.
Offline
I assume the browsers work on X11 as well?
Unfortunatly no. Youtube video with mpv + yt-dl works but nothing else.
Runnign gnome? Does the problem extend to eg. weston or sway?
I haven't test different compositor for now. Do you have a method to do a quick test without having to take time configuring?
Are you using pulseaudio?
Indeed.
I'm on Gnome-X11, 2 or 3 days ago after updating , might be one of these - malcontent, gnome-control-center, flatpak, xdg-desktop-portal, I found the same problem but solve the issue by install pipewire and remove pulseaudio.
So the problem is not pulsaudio itself but a side package having conflict?
I will test pipewire, if it works it only bypass the problem. I have no need to exclusively use pulseaudio but someone else may be.
EDIT:
Using pipewire indeed bypass the problem. Thanks for the help.
Last edited by Artyom (2022-05-08 07:26:11)
Offline
You can just run weston and weston-terminal there, https://wiki.archlinux.org/title/Weston
It's pretty minimal and there's not much nor any need to configure. We just wanna check whether it's gnomes fault.
Offline
So the problem is not pulsaudio itself but a side package having conflict?
I will test pipewire, if it works it only bypass the problem. I have no need to exclusively use pulseaudio but someone else may be.EDIT:
Using pipewire indeed bypass the problem. Thanks for the help.
I didn't know what keeps pipewire.service & socket enable. Against I disabled them, something keeps enable them everytime when reboot. This is the reason I surrender to it and quit pulseaudio.
Last edited by mrlamud (2022-05-08 13:27:43)
Offline
You can just run weston and weston-terminal there, https://wiki.archlinux.org/title/Weston
It's pretty minimal and there's not much nor any need to configure. We just wanna check whether it's gnomes fault.
So, I've reinstall pulseaudio for testing purpose and manage to reporduce the original issue.
Here are the conclusions:
weston + pulseaudio = issue
gnome + pulseaudio = issue (exept for mpv on xorg)
weston + pipewire = no issue
gnome + pipewire = no issue
So Gnome or xorg/wayland are not the problem here it seems.
Offline
Had the same issue, try installing pipewire-pulse, that fixed it for me.
Offline
If you still care about finding the actual culprit, post the output of
sudo fuser -v /dev/snd/*
on the problematic situation. This can happen if wireplumber is started with pulse installed as wireplumber will take devices away from pulseaudio. IF this only surfaced with the update log from your OP it's likely some changes in xdg-desktop-portal or so (or knowing GNOME they might logically hard require pipewire now)
Offline
If you still care about finding the actual culprit, post the output of
sudo fuser -v /dev/snd/*
on the problematic situation. This can happen if wireplumber is started with pulse installed as wireplumber will take devices away from pulseaudio. IF this only surfaced with the update log from your OP it's likely some changes in xdg-desktop-portal or so (or knowing GNOME they might logically hard require pipewire now)
With the faulty setup using pulseaudio the command return this:
UTIL. PID ACCÈS COMMANDE
/dev/snd/controlC0: artyom 1507 F.... pulseaudio
With the working setup using pipewire:
UTIL. PID ACCÈS COMMANDE
/dev/snd/controlC0: artyom 2134 F.... wireplumber
/dev/snd/seq: artyom 2133 F.... pipewire
So no wireplumber found on the faulty setup.
Last edited by Artyom (2022-05-09 10:35:08)
Offline
could it be related to replacing the sdl package with sdl12-compat ? I see in your logs that it was installed recently and I saw that break stuff from other people.
Offline
Had the same issue on Mate Desktop after pacman upgrade. The first thing I noticed was that youtube videos wouldn't start anymore. Then I noticed that the sound output was not working.
[2022-05-10T18:44:37+0200] [PACMAN] starting full system upgrade
[2022-05-10T18:45:06+0200] [ALPM] removed pipewire-media-session (1:0.4.1-1)
[2022-05-10T18:45:06+0200] [ALPM] installed wireplumber (0.4.10-2)
Installing pipewire-pulse fixed it for me (it will remove pulseaudio and pulseaudio-bluetooth).
Offline
Hello, same problem here this morning but on KDE. After fresh reboot, sound is working, but after going on youtube (with chromium), sound stop working (and youtube player never launch).
Here the return from sudo fuser -v /dev/snd/* :
UTIL. PID ACCÈS COMMANDE
/dev/snd/controlC0: jbreizh 573 F.... pulseaudio
jbreizh 1209 F.... wireplumber
/dev/snd/seq: jbreizh 1208 F.... pipewire
Apparently, the way to go is to install pipewire-pulse and remove pulseaudio ?? So is it a bug or the end of pulseaudio ? ? if it's a bug, in prefer to wait the official fix.
Offline
It's not a bug but also not something to generally fix. You should be able to restore normal operation by masking wireplumber "ideally" wireplumber should be configurable to not grab audio devices and just handle screensharing but not sure whether that's possible
Edit: For general clarification pipewire-media-session has been brought back which would be preferable to switch to rather than doing a complete masking.
For the wireplumber case it happened to introduce a config that allows you to disable it from trying to handle ALSA devices where I'm not yet entirely sure whether that's sufficient, if you wanted to experiment with this copy your /usr/share/wireplumber/main.lua.d/50-alsa-config.lua to /etc/wireplumber/main.lua.d/50-alsa-config.lua and set alsa_monitor.enabled = false
Last edited by V1del (2022-05-11 21:49:07)
Offline
on my device, audio don't works always..
i don't find the symlink
Some 'security people are f*cking morons' says Linus Torvalds..
Offline
It's not a bug but also not something to generally fix. You should be able to restore normal operation by masking wireplumber with
systemctl --user mask wireplumber --now
"ideally" wireplumber should be configurable to not grab audio devices and just handle screensharing but not sure whether that's possible
Thanks it works !!! As a long time archlinux user (user not expert) i try to keep my setup as close as possible to rep and avoiding any hack that could mess any futur upgrade. So threre was wayland but i decide to use xorg until kde dev give a clear signal that wayland is 100% working (like turning it default) and now pipewire, wireplumber.... So what is the status of pipewire ? is pulseaudio legacy and you can go on pipewire with everything working 100% or is it still work in progress (like wayland) and in this case, i rather like to wait. In fact, i don't understand if pipewire is the successor of pulseaudio (an so will remplace it as default for kde) or it's just another similar project to adress some limitation.
Offline
Had the same issue, try installing pipewire-pulse, that fixed it for me.
Thanks, that worked for me.
Offline
It's not a bug but also not something to generally fix. You should be able to restore normal operation by masking wireplumber with
systemctl --user mask wireplumber --now
"ideally" wireplumber should be configurable to not grab audio devices and just handle screensharing but not sure whether that's possible
Worked Thanks!
This issue was not only related to streaming video it also affects audio players nothing wants to play.
Offline
Thanks, that also worked for me.
The solution is a bit magical for me, though - and I'm using Arch for some years
Offline
Worked also for me . Thanks for the fix !
Win XP -> Ubuntu -> Fedora -> Arch -> Arch -> Arch -> Ar...
Offline
As of today, pipewire-media-session is available again and you can replace wireplumber with it to restore the old pulseaudio setup.
If you want to keep wireplumber, you might also be able to find out which parts of the wireplumber configuration are interfering with pulseaudio and remove/change those instead of masking the service. On first glance, I'd guess the *alsa* files in /usr/share/wireplumber/main.lua.d/ should be removed or edited. That can be done with overrides in /etc/ or /home similar to systemd service files.
https://pipewire.pages.freedesktop.org/ … th-merging
Last edited by progandy (2022-05-11 19:39:51)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Offline
To all of the people saying thanks for the workaround: DON'T DO THAT!
Masking the service is a hacky workaround, not a solution in any way. You need to either go back to pipewire-media-session or switch completely to pipewire. Leaving your system in limbo with no pipewire session manager is not one of the options.
Offline
I was using wireplumber and pipewire-pulse and I didn't have pulseaudio installed at all. Then it stopped working. I thought I HAD switched to pipewire.
Offline