My bluetooth earphone did not connect with manjaro suddenly. Removing device and then reconnecting worked. Now, I looked up the possible solutions, and since reinstalling bluez did not help, I took to some other solution which I cannot recall.
The supposed Resolution
Youtube
Next time I come, the bluetooth does connect seamlessly, but now youtube gets stuck at “If playback doesn’t begin shortly, try restarting your device.”
Output Devices
I tried playing a downloaded video(.mkv file) and it plays, but no audio output comes. On going to settings and testing Output Audio, i received no output.
Tried to resolve
pipewire-media-session conflicting with wireplumber seemed to be an issue, but none get installed/removed because of a series of conflicting dependencies. What I mean is, say wireplumber cannot be uninstalled because pipewire-media-session requires it. Uninstalling pipewire-media-session works, but then wireplumber is required by pipewire-alsa, or something similar, and this continues in a series which eventually ends in a loop. Not sure what needs to be done.
PS : completely new to Manjaro(2nd distro after few months of Ubuntu), not very sure what dependecies might be relevant regarding my problem, do tell me, and I will post them promptly, thanks
pipewire-alsa Depends On pipewire, pipewire-audio and pipewire-session-manager
pipewire-session-manager Depends On wireplumber
wireplumber Conflicts with pipewire-media-session
and pipewire-media-session Conflicts with wireplumber
PipeWire - Session manager - ArchWiki
PipeWire implements no connection logic internally. The burden of watching for new streams and connect them to the appropriate output device or application is left to an external component known as a session manager.
Currently, the only recommended session manager is WirePlumber
The following session manager is deprecated in favor of WirePlumber: PipeWire Media Session
$ pamac info pipewire-session-manager
Name : pipewire-session-manager
Version : 1:1.0.4-4
Description : Session manager for PipeWire (default provider)
Depends On : wireplumber
$ pamac info wireplumber
Name : wireplumber
Version : 0.5.1-2
Description : Session / policy manager implementation for PipeWire
Provides : pipewire-session-manager
Conflicts With : pipewire-media-session
$ pamac info pipewire-media-session
Name : pipewire-media-session
Version : 1:0.4.2-2
Description : Legacy session manager for PipeWire (deprecated)
Provides : pipewire-session-manager
Conflicts With : wireplumber
That guess was definitely correct.
The package I had installed in a hope to fix my bluetooth connectivity issues was ‘pulse audio’ , which conflicted with pipewire. Trying to upgrade pipewire gave me the conflicting packages, and asked if i wanted to remove pulseaudio, and I did, so now my sound output devices, and youtube work.
Thanks
To explain: If multiple packages provide the same functionality that other packages might depend on, then you can just specify that functionality in provides=() array and name it whatever and make other packages depend on said functionality.
Manjaro also has manjaro-pulse metapackage to replace PipeWire packages with PulseAudio packages. PulseAudio packages could be installed without the metapackage