Skip to content

PipeWire integration assumes PwDevice has a card.profile, but webcam don't. #408

@ItsLemmy

Description

@ItsLemmy

I am encountering a critical error in the PipeWire service when using PwObjectTracker. The issue appears to be caused by a webcam node.

The error suggests the service logic assumes that if a PwNode has a bound PwDevice, the card.profile.device property must exist. However, for my webcam (and likely other non-audio nodes), this property is missing, causing the service to fail.

Reproduction:

  • Have a webcam connected
  • Use the following QML snippet to track nodes:
PwObjectTracker {
    objects: Pipewire.ready ? Pipewire.nodes.values : []
}
  • Observe the error

ERROR quickshell.service.pipewire.node: PwNode(0x7f09351671a0, id=72/bound) has attached device PwDevice(0x7f093573ec60, id=58/bound) but no card.profile.device property.

System Information:
Quickshell Version: 0.2.1
Distribution: Void Linux
PipeWire Version: 1.4.9

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions