1

Ubuntu Studio 24.04.

Pipewire qpwgraph shows two camera devices. Neither of them works with "cheese" app, or any other app.

I had thought to get pipewire out of the way -- per https://bbs.archlinux.org/viewtopic.php?pid=2156767#p2156767 I created ~/.config/wireplumber/main.lua.d/85-disable-camera-conf.lua as

libcamera_monitor.enabled = false
v4l2_monitor.enabled = false

Logout, login, and -- pipewire has still grabbed the camera.

Also note, the camera was working fine on 1/21, and was inoperable on 1/22. No system updates during that time.

What's next? Reboot? Or is this the wrong approach?

EDIT: I have another guess... the camera worked once in an online meeting. Then, a couple of days later, I had to switch the meeting have to use the other listed camera device, and that worked. Then, today, neither device could be used. So it looks like something in the system (Pipewire?) is grabbing hold of the camera and not releasing it.

I would have assumed that quitting the meeting app would release the camera. The meeting app process definitely doesn't persist. That's why I'm guessing maybe pipewire is holding on to it.

EDIT 2: This question is not about disabling pipewire entirely! I want to keep pipewire for audio. I just want the camera to work with it.

EDIT 3: If pipewire is managing the connection, should I not see the Cheese app in qpwgraph? Apps trying to use the camera just don't show up there. ??

2 Answers2

1

Since you're using 24.04, might be Pipewire not having all its dependencies, as said in my answer to my own problem, maybe try installing libcamera-ipa and pipewire-libcamera then:

systemctl --user restart wireplumber.service

then try the camera again.

Malady
  • 292
1

Per Malady's comment above, I installed gnome-snapshot, and this installs gstreamer-1.0-pipewire and gstreamer-1.0-camera -- one of these dependencies magically made my camera work again.