Desktop Environment (if applicable):
KDE Plasma (matters not)
Problem Description:
After a recent system update, the webcam shows a black screen in all Wayland apps — Slack, Microsoft Edge, GNOME Snapshot. The camera LED turns on, indicating the device is being opened, but no frames are received.
Your headline says “org.freedesktop.portal.Camera entirely missing from all packages”. You won’t find it in the regular packages, because those are portals for sandboxed apps, like snaps. PipeWire/Wireplumber is a snap now and, as you may know, PipeWire handles most all multimedia these days, including access to the camera. It’s probably just some snap connection missing somewhere.
Does that mean it did work with Ubuntu 26.04 before? Or was that update actually a distribution upgrade?
There is a pipewire snap in the store, but that was developed and designed for use on UbuntuCore and UbuntuCoreDesktop, I doubt it has ever been tested on a classical Ubuntu desktop install…
Firefox etc. is installed through flatpak instead. This was due to some hardware issues that I was experiencing with Firefox that caused major slowdowns.
If pipewire and wireplumber aren’t released as Snaps yet that won’t affect my situation anyway.
Please note that we can not support flatpak applications here (we can support the flatpak binary from the archive, but not any flatpak packaged apps as these do not see any testing or integration work in the distro at all), you will have to seek support with the packager of the bowser (probably mozilla)
Ultimately what I found out was that it was the USB controller that was the problem, rather than anything further up the chain.
dmesg during streaming showed the real cause — xhci_hcd 0000:11:00.0: ... ep 2 status 4 ... not part of TD (USB transaction errors on the isochronous video endpoint)
Simply swapping to a new USB port seemed to fix the issue. I still think this was caused by the upgrade to 26.04, but I’m not sure what bug to file.
Wanted to document it here in the event others run into the same problem.