Help me set up pipewire camera

I have pipwire-plugin-libcamera libcamera libcamera-gstreamer libcamera-ipa installed and can’t see my camera in obs or firefox

i am using a usb cable

yes i enabled pipwire camera in firefox’s about:config and don’t have resist fingerprinting enabled

pipewire version 1.0.7 fedora kde

in kde settings test camera works but when i click on configure or information the settings app sometimes hangs and sometimes says:

camera configuration failed, No camera summary found

Both OBS and Firefox do not use Pipewire input by default

Note that for OBS Flatpak you need to use the Flatpak variant of the plugin and follow this howto:

Then if they use, you can try if they see the camera

how can i share a long debug file like pastebin @boredsquirrel

using fpaste --raw-url

I’m interested in knowing if this will work. Very excited for the Pipewire Camera features coming.

1 Like

no i mean to share it to this site

if you have a debug output from your terminal, pipe it to fpaste and share the url here !

ex: journalctl -xe | fpaste --raw-url

I updated the guide for OBS

here is gphotos debug output

1 Like

Added firefox, obs, webcam



camera summary in kde used to work before updateing to 6.1.2
osb’s debug Hastebin

i have media.webrtc.camera.allow-pipewire enabled yet to no avail

1 Like

same issue with flatpak

1 Like

dt@computer:~$ gphoto2 --summary --debug | fpaste -raw-url is what I was trying to explain to you earlier. fpaste is a fedora tool for this same purpose.

All good though. :+1:t5:

1 Like

although desktop capture works out of the box.
sometimes i wonder if device capture is the broken feature because i also tried to plug gaming console to hdmi to my pc and the same blank options were present

You have the OBS Flatpak from Flathub or Fedora?

flathub

wire.service - PipeWire Multimedia Service
     Loaded: loaded (/usr/lib/systemd/user/pipewire.service; disabled; preset: disabled)
    Drop-In: /usr/lib/systemd/user/pipewire.service.d
             └─00-uresourced.conf
             /usr/lib/systemd/user/service.d
             └─10-timeout-abort.conf
     Active: active (running) since Tue 2024-07-16 17:44:25 +03; 1h 47min ago
TriggeredBy: ● pipewire.socket
   Main PID: 1712 (pipewire)
      Tasks: 3 (limit: 9327)
     Memory: 12.8M (peak: 14.9M)
        CPU: 40.863s
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire.service
             └─1712 /usr/bin/pipewire

Jul 16 19:21:37 computer pipewire[1712]: mod.client-node: 0x560d8cf57dc0: unknown peer 0x560d8cb37030 fd:46
Jul 16 19:21:38 computer pipewire[1712]: mod.client-node: 0x560d8cf57dc0: unknown peer 0x560d8cb37030 fd:46
Jul 16 19:21:49 computer pipewire[1712]: mod.client-node: 0x560d8cf353d0: unknown peer 0x560d8ce88f20 fd:77
Jul 16 19:23:35 computer pipewire[1712]: mod.client-node: 0x560d8cf353d0: unknown peer 0x560d8c918450 fd:82
Jul 16 19:23:36 computer pipewire[1712]: mod.client-node: 0x560d8c7dc810: unknown peer 0x560d8c918450 fd:82
Jul 16 19:23:41 computer pipewire[1712]: mod.client-node: 0x560d8c91d990: unknown peer 0x560d8cf32d50 fd:82
Jul 16 19:23:41 computer pipewire[1712]: mod.client-node: 0x560d8c91d990: unknown peer 0x560d8c918450 fd:82
Jul 16 19:26:10 computer pipewire[1712]: mod.client-node: 0x560d8cab80b0: unknown peer 0x560d8c9000f0 fd:46
Jul 16 19:29:55 computer pipewire[1712]: mod.client-node: 0x560d8c87b790: unknown peer 0x560d8c9000f0 fd:46
Jul 16 19:31:48 computer pipewire[1712]: mod.client-node: 0x560d8cab80b0: unknown peer 0x560d8c9000f0 fd:46

Consider enable this service then start using systemctl

Also from your debug I saw:

18:37:31.686: VAAPI: API version 1.21
18:37:31.704: FFmpeg VAAPI H264 encoding supported
18:37:31.728: FFmpeg VAAPI AV1 encoding not supported
18:37:31.749: FFmpeg VAAPI HEVC encoding not supported
18:37:31.973: Skipping module 'obs-webkitgtk', not on safe list
18:37:32.098: Skipping module 'obs-websocket', not on safe list
18:37:32.117: Skipping module 'obs-x264', not on safe list
18:37:32.210: [vlc-video]: VLC 3.0.21 Vetinari found, VLC video source enabled
18:37:32.210: ---------------------------------
18:37:32.210:   Loaded Modules:
18:37:32.210:     vlc-video.so
18:37:32.210:     text-freetype2.so
18:37:32.210:     rtmp-services.so
18:37:32.210:     obs-webrtc.so
18:37:32.210:     obs-vst.so
18:37:32.210:     obs-transitions.so
18:37:32.210:     obs-qsv11.so
18:37:32.210:     obs-outputs.so
18:37:32.210:     obs-libfdk.so
18:37:32.210:     obs-filters.so
18:37:32.210:     obs-ffmpeg.so
18:37:32.210:     linux-v4l2.so
18:37:32.210:     linux-pulseaudio.so
18:37:32.210:     linux-pipewire.so
18:37:32.210:     linux-jack.so
18:37:32.210:     linux-capture.so
18:37:32.210:     linux-alsa.so
18:37:32.210:     image-source.so
18:37:32.210:     decklink-output-ui.so
18:37:32.210:     decklink-captions.so
18:37:32.210: ---------------------------------
18:37:32.211: ==== Startup complete ===============================================
18:37:32.213: Encoder ID 'obs_x264' not found
18:37:32.243: All scene data cleared
18:37:32.243: ------------------------------------------------
18:37:32.250: pulse-input: Server name: 'PulseAudio (on PipeWire 1.0.7) 15.0.0'
18:37:32.251: pulse-input: Audio format: s32le, 48000 Hz, 2 channels
18:37:32.251: pulse-input: Started recording from 'alsa_output.pci-0000_00_1b.0.analog-stereo.monitor' (default)
18:37:32.251: [Loaded global audio device]: 'Desktop Audio'
18:37:32.252: pulse-input: Server name: 'PulseAudio (on PipeWire 1.0.7) 15.0.0'
18:37:32.252: pulse-input: Audio format: s32le, 48000 Hz, 2 channels
18:37:32.252: pulse-input: Started recording from 'alsa_input.pci-0000_00_1b.0.analog-stereo' (default)
18:37:32.252: [Loaded global audio device]: 'Mic/Aux'
18:37:32.253: PipeWire initialized
18:37:32.253: obs-data.c: [obs_data_create_from_json] Failed reading json string (1): '[' or '{' expected near end of file
18:37:32.254: obs-data.c: [obs_data_create_from_json] Failed reading json string (1): '[' or '{' expected near end of file
18:37:32.263: Switched to scene 'Desktop'
18:37:32.264: ------------------------------------------------
18:37:32.264: Loaded scenes:
18:37:32.264: - scene 'Desktop':
18:37:32.264:     - source: 'Screen Capture (PipeWire)' (pipewire-desktop-capture-source)
18:37:32.264:     - source: 'Video Capture Device (PipeWire) (BETA)' (pipewire-camera-source)
18:37:32.264: ------------------------------------------------
18:37:32.670: [pipewire] Screencast session created
18:37:32.671: [camera-portal] Successfully accessed cameras
18:37:32.846: adding 21 milliseconds of audio buffering, total audio buffering is now 21 milliseconds (source: Desktop Audio)
18:37:32.846: 

fierfox debug output Hastebin