Cannot play *any* videos after upgrading to Fedora 35 anymore without Bluetooth headset?

I upgraded from Fedora Silverblue 34 to Fedora Silverblue 35 and then used the simplified packages to keep rpm-fusion stuff on the next upgrade, hopefully.

What does not work

However, now I cannot play any videos at all. Tried with:

  • layered Firefox and multiple websites, including YouTube
  • what’s worse, even the Flatpak-version of Firefox (which AFAIK includes all codecs) does not work! Also tried with Netflix here.
  • I even tried Tor Browser installed via Tor Browser Launcher via flatpak. Did not work.
  • And I also tried the a Ungoogled Chromium installed via flatpak.

What’s funny is that I can sometimes see the first 1-2s being played and I can always skip to some part of the video and it shows me the correct screen, it just does not play.

Local tries:

  • what’s worse, I then tried a local mp4 file with – according to Nautilus – H.264 (Constrained Baseline Profile) video and MPEG-4 AAC audio. It also could not be played with the same result. I can jump and see single frames, but it won’t play.
  • I then tried VLC from flatpak and this finally could play the video, but I did not hear any sound.
    So I noticed that also the GNOME sound settings will show me the laptop speakers as wanted. However, when I press the test buttons, I can hear nothing.

So actually audio seems to be the problem and not video!

The crazy “solution” (not actually one)

Note I also have aptX support installed from rpmfusion and strangely did not need to uninstall/remove it during upgrade.

So, however, when I connect my Bluetooth headset, everything works again. In VLC I can hear sound and all videos in Totem and the browser play without any problem. :laughing:
That’s soo crazy.

System

I do have all packages layered from rpm-fusion that I know of that are/were needed.

$ rpm-ostree status -v
State: busy
AutomaticUpdates: stage; rpm-ostreed-automatic.timer: no runs since boot
Transaction: upgrade (download only)
  Initiator: client(id:gnome-software dbus:1.112 unit:app-gnome-gnome\x2dsoftware\x2dservice-2630.scope uid:1000)
Deployments:
● fedora:fedora/35/x86_64/silverblue
                   Version: 35.20211116.0 (2021-11-16T16:10:17Z)
                BaseCommit: e4e8ccd21ff3774df1aa44557beaafde077672f8f2308b096baf89ff19eb3a2a
                            ├─ repo-0 (2021-10-26T05:31:27Z)
                            ├─ repo-1 (2021-11-16T15:45:05Z)
                            └─ repo-2 (2021-11-16T15:47:19Z)
                    Commit: db23e4bcb82a1fad08fc37490ca22973ee0e8b1dc25abf2854051b1e3c340cdb
                            ├─ fedora (2021-10-29T10:17:40Z)
                            ├─ rpmfusion-free (2021-10-23T21:56:55Z)
                            ├─ fedora-cisco-openh264 (2021-09-21T18:07:30Z)
                            ├─ updates (2021-11-16T16:27:23Z)
                            ├─ rpmfusion-free-updates (2021-11-14T20:59:55Z)
                            └─ updates-archive (2021-11-16T16:58:23Z)
                    Staged: no
                 StateRoot: fedora
              GPGSignature: 1 signature
                            Signature made Di 16 Nov 2021 17:10:26 CET using RSA key ID DB4639719867C58F
                            Good signature from "Fedora <fedora-35-primary@fedoraproject.org>"
       RemovedBasePackages: pipewire-pulseaudio 0.3.40-1.fc35
           LayeredPackages: httpie git keepassxc gtkhash-nautilus sushi heimdall git-subtree firewall-config
                            podman-compose tldr simple-scan rpmfusion-free-release nextcloud-client htop dconf-editor
                            gnome-tweaks adb nvme-cli openssl nautilus-image-converter mozilla-openh264
                            gstreamer1-plugin-openh264 git-credential-libsecret smartmontools zsh
                            nextcloud-client-nautilus compat-ffmpeg28 lshw kid3

[…]

Lenovo Lenovo IdeaPad 5 15ARE05
Fedora Linux 35.20211116.0 (Silverblue)
AMD® Ryzen 7 4800u with radeon graphics × 16

More debugging

I manually neeeded to enable the plugin for OpenH264 in about:addons in Firefox and could double-check in about:plugins that it is installed. This did not solve anything.

https://html5test.com/ shows mostly ticks:
e5a51115de539830ddeb97ce6a84c9a9266a16af.png

Related

I see a similar report here, however, that seems to be a simple one, because the flatpak Firefox does work there.


aptX HD

So aptX is clearly used for the Bluetooth connection:

grafik

It is not listed as a LayeredPackages though, which is surprising (see rpm-ostree output above).

And I cannot uninstall it:

$ rpm-ostree override reset pulseaudio-module-bluetooth --uninstall pulseaudio-module-bluetooth-freeworld
error: Package/capability 'pulseaudio-module-bluetooth-freeworld' is not currently requested

I just see now that I can install it:

$ rpm-ostree install pulseaudio-module-bluetooth-freeworld
Checking out tree e4e8ccd... done
Enabled rpm-md repositories: fedora rpmfusion-free fedora-cisco-openh264 updates rpmfusion-free-updates updates-archive
Updating metadata for 'fedora'... done
Updating metadata for 'rpmfusion-free'... done
Updating metadata for 'fedora-cisco-openh264'... done
Updating metadata for 'updates'... done
Updating metadata for 'rpmfusion-free-updates'... done
Updating metadata for 'updates-archive'... done
Importing rpm-md... done
rpm-md repo 'fedora'; generated: 2021-10-29T10:17:40Z solvables: 65732
rpm-md repo 'rpmfusion-free'; generated: 2021-10-23T21:56:55Z solvables: 521
rpm-md repo 'fedora-cisco-openh264'; generated: 2021-09-21T18:07:30Z solvables: 4
rpm-md repo 'updates'; generated: 2021-11-20T00:59:50Z solvables: 10624
rpm-md repo 'rpmfusion-free-updates'; generated: 2021-11-14T20:59:55Z solvables: 49
rpm-md repo 'updates-archive'; generated: 2021-11-20T01:23:39Z solvables: 10017
Resolving dependencies... done
Applying 1 override and 172 overlays
Processing packages... done
Running pre scripts... done
Running post scripts... done
Running posttrans scripts... done
Writing rpmdb... done
Writing OSTree commit... done
Staging deployment... done
Freed: 3,5 GB (pkgcache branches: 169)
Upgraded:
  breeze-icon-theme 5.87.0-1.fc35 -> 5.88.0-1.fc35
  kf5-filesystem 5.87.0-1.fc35 -> 5.88.0-1.fc35
  kf5-karchive 5.87.0-1.fc35 -> 5.88.0-1.fc35
  kf5-kauth 5.87.0-1.fc35 -> 5.88.0-1.fc35
  kf5-kbookmarks 5.87.0-1.fc35 -> 5.88.0-1.fc35
  kf5-kcodecs 5.87.0-1.fc35 -> 5.88.0-1.fc35
  kf5-kcompletion 5.87.0-1.fc35 -> 5.88.0-1.fc35
  kf5-kconfig-core 5.87.0-1.fc35 -> 5.88.0-1.fc35
  kf5-kconfig-gui 5.87.0-1.fc35 -> 5.88.0-1.fc35
  kf5-kconfigwidgets 5.87.0-1.fc35 -> 5.88.0-1.fc35
  kf5-kcoreaddons 5.87.0-1.fc35 -> 5.88.0-1.fc35
  kf5-kcrash 5.87.0-1.fc35 -> 5.88.0-1.fc35
  kf5-kdbusaddons 5.87.0-1.fc35 -> 5.88.0-1.fc35
  kf5-kdoctools 5.87.0-1.fc35 -> 5.88.0-1.fc35
  kf5-kglobalaccel 5.87.0-1.fc35 -> 5.88.0-1.fc35
  kf5-kglobalaccel-libs 5.87.0-1.fc35 -> 5.88.0-1.fc35
  kf5-kguiaddons 5.87.0-1.fc35 -> 5.88.0-1.fc35
  kf5-ki18n 5.87.0-1.fc35 -> 5.88.0-1.fc35
  kf5-kiconthemes 5.87.0-1.fc35 -> 5.88.0-1.fc35
  kf5-kinit 5.87.0-1.fc35 -> 5.88.0-1.fc35
  kf5-kio-core 5.87.0-1.fc35 -> 5.88.0-1.fc35
  kf5-kio-core-libs 5.87.0-1.fc35 -> 5.88.0-1.fc35
  kf5-kio-doc 5.87.0-1.fc35 -> 5.88.0-1.fc35
  kf5-kio-file-widgets 5.87.0-1.fc35 -> 5.88.0-1.fc35
  kf5-kio-gui 5.87.0-1.fc35 -> 5.88.0-1.fc35
  kf5-kio-ntlm 5.87.0-1.fc35 -> 5.88.0-1.fc35
  kf5-kio-widgets 5.87.0-1.fc35 -> 5.88.0-1.fc35
  kf5-kio-widgets-libs 5.87.0-1.fc35 -> 5.88.0-1.fc35
  kf5-kitemviews 5.87.0-1.fc35 -> 5.88.0-1.fc35
  kf5-kjobwidgets 5.87.0-1.fc35 -> 5.88.0-1.fc35
  kf5-knotifications 5.87.0-1.fc35 -> 5.88.0-1.fc35
  kf5-kservice 5.87.0-1.fc35 -> 5.88.0-1.fc35
  kf5-ktextwidgets 5.87.0-1.fc35 -> 5.88.0-1.fc35
  kf5-kwallet 5.87.0-1.fc35 -> 5.88.0-1.fc35
  kf5-kwallet-libs 5.87.0-1.fc35 -> 5.88.0-1.fc35
  kf5-kwidgetsaddons 5.87.0-1.fc35 -> 5.88.0-1.fc35
  kf5-kwindowsystem 5.87.0-1.fc35 -> 5.88.0-1.fc35
  kf5-kxmlgui 5.87.0-1.fc35 -> 5.88.0-1.fc35
  kf5-solid 5.87.0-1.fc35 -> 5.88.0-1.fc35
  kf5-sonnet-core 5.87.0-1.fc35 -> 5.88.0-1.fc35
  kf5-sonnet-ui 5.87.0-1.fc35 -> 5.88.0-1.fc35
  qt5-qttools-common 5.15.2-7.fc35 -> 5.15.2-8.fc35
  qt5-qttools-libs-designer 5.15.2-7.fc35 -> 5.15.2-8.fc35
Changes queued for next boot. Run "systemctl reboot" to start a reboot

But then this happens:

$ rpm-ostree override remove pulseaudio-module-bluetooth --install pulseaudio-module-bluetooth-freeworld
error: Package/capability 'pulseaudio-module-bluetooth-freeworld' is already requested

Edit: And after rebooting, I see this also does not help. :sweat_smile:


Cross-posted from Fedora Discussion.

I have just fresh installed fedora 35 kde plasma spin.
I have the same issue.
Youtube page loads fine, thumb nails and all. It can play 2-3 frames and then stops.
Same on other video websites

This also happens to me randomly or when doing a few specific things (using bluetooth, other browsers than firefox), mentioned in the post I just created :

https://discussion.fedoraproject.org/t/video-playback-randomly-stops-working-audio-stops-working-with-it-system-wide/73097

Am on Lenovo AMD hardware like OP on this post, a thinkpad t14, I guess it might be related …

Can you try resetting the pipewire-pulseaudio override and then once you’re logged in
systemctl --user enable --now wireplumber

Thanks

How to do this?

I’ve tried to reinstall the package but it’s not installed in the first place :

sudo dnf reinstall pipewire-pulseaudio
Package pipewire-pulseaudio available, but not installed.

So I tried to install it :

Error: 
 Problem: problem with installed package pulseaudio-15.0-2.fc35.x86_64
  - package pulseaudio-15.0-2.fc35.x86_64 conflicts with pulseaudio-daemon provided by pipewire-pulseaudio-0.3.38-1.fc35.x86_64
  - package pipewire-pulseaudio-0.3.38-1.fc35.x86_64 conflicts with pulseaudio provided by pulseaudio-15.0-2.fc35.x86_64
  - package pipewire-pulseaudio-0.3.38-1.fc35.x86_64 conflicts with pulseaudio-daemon provided by pulseaudio-15.0-2.fc35.x86_64
  - conflicting requests
  - package pulseaudio-15.0-2.fc35.x86_64 conflicts with pulseaudio-daemon provided by pipewire-pulseaudio-0.3.40-1.fc35.x86_64
  - package pipewire-pulseaudio-0.3.40-1.fc35.x86_64 conflicts with pulseaudio provided by pulseaudio-15.0-2.fc35.x86_64
  - package pipewire-pulseaudio-0.3.40-1.fc35.x86_64 conflicts with pulseaudio-daemon provided by pulseaudio-15.0-2.fc35.x86_64
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages)

Am not sure what to do? Doing it with --allowerasing as suggested by the error message?

The override was for silverblue.
sudo dnf swap --allowerasing pipewire-pulseaudio pulseaudio

… did pipewire not get picked up or was it swapped out when you were on F34?

1 Like

I have no idea, I just know I don’t remember ever having this issue back on F34.

Tried sudo dnf swap --allowerasing pipewire-pulseaudio pulseaudio it didn’t do anything, just said this :

No match for argument: pipewire-pulseaudio
No packages marked for removal.
Package pulseaudio-15.0-2.fc35.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!

oops other way, sorry about that
sudo dnf swap --allowerasing pulseaudio pipewire-pulseaudio

1 Like

Try reversing that. The command as written is attempting to replace pipewire-pulseaudio with pulseaudio and you seem to need the opposite.
sudo dnf swap --allowerasing pulseaudio pipewire-pulseaudio

2 Likes

No problem at all! It seems like it worked! Now, not only chromium is able to play youtube videos, but it also does not break youtube playback nor video playback at all!

Same for bluetooth, it just works now!

Thanks a lot!

Uhm how?

$ rpm-ostree override remove pulseaudio-module-bluetooth --install pulseaudio-module-bluetooth-freeworld
error: Package/capability 'pulseaudio-module-bluetooth-freeworld' is already requested
$ rpm-ostree override remove pulseaudio-module-bluetooth-freeworld --install pulseaudio-module-bluetooth
error: "pulseaudio-module-bluetooth" is already provided by: pipewire-pulseaudio-0.3.40-1.fc35.x86_64. Use --allow-inactive to explicitly require it.
$ rpm-ostree override reset pulseaudio-module-bluetooth --uninstall pulseaudio-module-bluetooth-freeworld
error: No overrides for package 'pulseaudio-module-bluetooth'

I can do rpm-ostree remove pulseaudio-module-bluetooth-freeworld, but hm… :man_shrugging:

Okay, did that now anyway, and I have two news:

  • good news: videos play again.
  • bad news: I have no audio at all. Even no input. The output it shows to me is “Dummy output” and the only one selectable… :sweat_smile:

a3469785f7b31588cd73159d004e48f15538d89e.png

Uhm wtf, after rebooting, the issue is there again? The options setting “works again”, but I can play no video…

$ systemctl --user enable --now wireplumber 
(just empty result here, before the reboot it created two symblinks)
$ systemctl status wireplumber  
Unit wireplumber.service could not be found.
$ systemctl --user status wireplumbe
Unit wireplumbe.service could not be found.

Edit: Ah okay, I have to provide the full name… :roll_eyes:

$ systemctl --user status wireplumber.service 
● wireplumber.service - Multimedia Service Session Manager
     Loaded: loaded (/usr/lib/systemd/user/wireplumber.service; enabled; vendor preset: enabled)
     Active: active (running) since Mon 2021-11-22 21:57:57 CET; 2min 40s ago
   Main PID: 3253 (wireplumber)
      Tasks: 4 (limit: 18330)
     Memory: 8.6M
        CPU: 311ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/wireplumber.service
             └─3253 /usr/bin/wireplumber

Nov 22 21:57:57 **** systemd[2045]: Started Multimedia Service Session Manager.

rpm-ostree override remove pulseaudio --install pipewire-pulseaudio

you may need additional removals for pulse to get this swapped.

1 Like

Hmm thanks, but that does not work:

$ rpm-ostree override remove pulseaudio --install pipewire-pulseaudio
error: "pipewire-pulseaudio" is already provided by: pipewire-pulseaudio-0.3.40-1.fc35.x86_64. Use --allow-inactive to explicitly require it.

Looks like it just is already installed, is not it?

Yes it does, sorry about that.

can you please try:
rpm-ostree override remove wireplumber --install pipewire-media-session

Basically swapping back to the old session manager as described here

1 Like

Thanks that does something (sry also installed some updates likely):

$ rpm-ostree override remove wireplumber --install pipewire-media-session
Checking out tree 4c0b158... done
Enabled rpm-md repositories: fedora rpmfusion-free fedora-cisco-openh264 updates rpmfusion-free-updates updates-archive
Updating metadata for 'fedora'... done
Updating metadata for 'rpmfusion-free'... done
Updating metadata for 'fedora-cisco-openh264'... done
Updating metadata for 'updates'... done
Updating metadata for 'rpmfusion-free-updates'... done
Updating metadata for 'updates-archive'... done
Importing rpm-md... done
rpm-md repo 'fedora'; generated: 2021-10-29T10:17:40Z solvables: 65732
rpm-md repo 'rpmfusion-free'; generated: 2021-10-23T21:56:55Z solvables: 521
rpm-md repo 'fedora-cisco-openh264'; generated: 2021-09-21T18:07:30Z solvables: 4
rpm-md repo 'updates'; generated: 2021-11-25T00:56:44Z solvables: 11116
rpm-md repo 'rpmfusion-free-updates'; generated: 2021-11-21T04:24:40Z solvables: 55
rpm-md repo 'updates-archive'; generated: 2021-11-25T01:37:57Z solvables: 10623
Resolving dependencies... done
Will download: 2 packages (207,6 kB)
Downloading from 'updates'... done
Importing packages... done
Applying 2 overrides and 173 overlays
Processing packages... done
Running pre scripts... done
Running post scripts... done
Running posttrans scripts... done
Writing rpmdb... done
Writing OSTree commit... done
Staging deployment... done
Freed: 63,7 MB (pkgcache branches: 0)
Upgraded:
  cryptsetup 2.4.1-1.fc35 -> 2.4.2-1.fc35
  cryptsetup-libs 2.4.1-1.fc35 -> 2.4.2-1.fc35
  fedora-release-common 35-33 -> 35-35
  fedora-release-identity-silverblue 35-33 -> 35-35
  fedora-release-ostree-desktop 35-33 -> 35-35
  fedora-release-silverblue 35-33 -> 35-35
  firefox 94.0-1.fc35 -> 94.0-2.fc35
  fwupd 1.7.1-1.fc35 -> 1.7.2-1.fc35
  fwupd-plugin-flashrom 1.7.1-1.fc35 -> 1.7.2-1.fc35
  fwupd-plugin-modem-manager 1.7.1-1.fc35 -> 1.7.2-1.fc35
  fwupd-plugin-uefi-capsule-data 1.7.1-1.fc35 -> 1.7.2-1.fc35
  gd 2.3.2-9.fc35 -> 2.3.2-10.fc35
  mokutil 2:0.4.0-6.fc35 -> 2:0.5.0-1.fc35
  pango 1.49.3-1.fc35 -> 1.49.3-2.fc35
  podman-compose 0.1.7-6.git20210129.fc35 -> 0.1.7-8.git20211114.fc35
  wireplumber-libs 0.4.5-1.fc35 -> 0.4.5-3.fc35
Removed:
  wireplumber-0.4.5-1.fc35.x86_64
Added:
  pipewire-media-session-0.4.1-3.fc35.x86_64
Use "rpm-ostree override reset" to undo overrides
Run "systemctl reboot" to start a reboot

Now rebooting…

Note if possible I’d like to stay to what Fedora ships, so I’d like to revert this change – so why does not wireplumber work?

So thanks a lot, it works now! Tested with both laptop integrated speakers and Bluetooth, with aptX HD, both seem to work. :blush:

Now, just what is the bug in WIreplumber (I guess) that leads to this?

1 Like

Maybe, 2016344 – pipewire and alsa not working together

A bigger list.

Upstream

2 Likes

BTW again having audio problems on Fedora 36 after the upgrade with your instructions you provided here: