-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Camera: pipewire-camera back-end detects no camera #9776
Milestone
Comments
On Fedora 39, it looks like pipewire uses v4l2 behind the scenes:
The camera device name is a bit counter-intuitive here. |
with pipe wire, I got
not sure what to configure to get it working ... |
check your config, in my config i have:
( run You can also run {
"id": 52,
"type": "PipeWire:Interface:Node",
"version": 3,
"permissions": [ "r", "w", "x", "m" ],
"info": {
"max-input-ports": 0,
"max-output-ports": 1,
"change-mask": [ "input-ports", "output-ports", "state", "props", "params" ],
"n-input-ports": 0,
"n-output-ports": 1,
"state": "suspended",
"error": null,
"props": {
"api.libcamera.location": "front",
"api.libcamera.path": "\\_SB_.PCI0.GP18.XHC0.RHUB.PRT4-4:1.0-04f2:b685",
"client.id": 34,
"clock.quantum-limit": 8192,
"device.api": "libcamera",
"device.description": "Chicony USB2.0 Camera: Chicony ",
"device.id": 46,
"device.name": "libcamera_device.\\_SB_.PCI0.GP18.XHC0.RHUB.PRT4-4:1.0-04f2:b685",
"device.product.name": "Chicony USB2.0 Camera: Chicony ",
"factory.id": 10,
"factory.name": "api.libcamera.source",
"media.class": "Video/Source",
"media.role": "Camera",
"node.description": "Built-in Front Camera",
"node.driver": true,
"node.name": "libcamera_input.__SB_.PCI0.GP18.XHC0.RHUB.PRT4-4_1.0-04f2_b685",
"node.nick": "Chicony USB2.0 Camera Chicony ",
"node.pause-on-idle": false,
"object.id": 52,
"object.path": "libcamera:\\_SB_.PCI0.GP18.XHC0.RHUB.PRT4-4:1.0-04f2:b685",
"object.serial": 55,
"priority.session": 800
},
"params": {
"PropInfo": [
{
"id": "device",
"description": "The libcamera device",
"type": "\\_SB_.PCI0.GP18.XHC0.RHUB.PRT4-4:1.0-04f2:b685"
},
{
"id": "deviceName",
"description": "The libcamera device name",
"type": ""
},
{
"id": "brightness",
"description": "Brightness",
"type": { "default": 0.000000, "min": -1.000000, "max": 1.000000 }
},
{
"id": "contrast",
"description": "Contrast",
"type": { "default": 1.000000, "min": 0.500000, "max": 2.062500 }
},
{
"id": "saturation",
"description": "Saturation",
"type": { "default": 1.000000, "min": 0.000000, "max": 3.125000 }
}
],
"Props": [
{
"device": "\\_SB_.PCI0.GP18.XHC0.RHUB.PRT4-4:1.0-04f2:b685",
"deviceName": ""
}
],
"EnumFormat": [
{
"mediaType": "video",
"mediaSubtype": "mjpg",
"size": { "width": 640, "height": 480 }
},
{
"mediaType": "video",
"mediaSubtype": "mjpg",
"size": { "width": 160, "height": 120 }
},
{
"mediaType": "video",
"mediaSubtype": "mjpg",
"size": { "width": 176, "height": 144 }
},
{
"mediaType": "video",
"mediaSubtype": "mjpg",
"size": { "width": 320, "height": 240 }
},
{
"mediaType": "video",
"mediaSubtype": "mjpg",
"size": { "width": 352, "height": 288 }
},
{
"mediaType": "video",
"mediaSubtype": "mjpg",
"size": { "width": 640, "height": 360 }
},
{
"mediaType": "video",
"mediaSubtype": "mjpg",
"size": { "width": 640, "height": 480 }
},
{
"mediaType": "video",
"mediaSubtype": "mjpg",
"size": { "width": 1280, "height": 720 }
},
{
"mediaType": "video",
"mediaSubtype": "mjpg",
"size": { "width": 1280, "height": 720 }
},
{
"mediaType": "video",
"mediaSubtype": "raw",
"format": "YUY2",
"size": { "width": 640, "height": 480 }
},
{
"mediaType": "video",
"mediaSubtype": "raw",
"format": "YUY2",
"size": { "width": 160, "height": 120 }
},
{
"mediaType": "video",
"mediaSubtype": "raw",
"format": "YUY2",
"size": { "width": 176, "height": 144 }
},
{
"mediaType": "video",
"mediaSubtype": "raw",
"format": "YUY2",
"size": { "width": 320, "height": 240 }
},
{
"mediaType": "video",
"mediaSubtype": "raw",
"format": "YUY2",
"size": { "width": 352, "height": 288 }
},
{
"mediaType": "video",
"mediaSubtype": "raw",
"format": "YUY2",
"size": { "width": 640, "height": 360 }
},
{
"mediaType": "video",
"mediaSubtype": "raw",
"format": "YUY2",
"size": { "width": 640, "height": 480 }
},
{
"mediaType": "video",
"mediaSubtype": "raw",
"format": "YUY2",
"size": { "width": 1280, "height": 720 }
},
{
"mediaType": "video",
"mediaSubtype": "raw",
"format": "YUY2",
"size": { "width": 1280, "height": 720 }
}
],
"Format": [ ]
}
}
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
on linux ubuntu-2404 + laptop, pipewire-camera backend gets initialized but see no camera. v4l2 actually sees 1 camera.
The text was updated successfully, but these errors were encountered: