Skip to content

Wrong render node comparison #364

@any1

Description

@any1

https://wayland.app/protocols/ext-image-copy-capture-v1#ext_image_copy_capture_session_v1:event:dmabuf_device

In general the device is a DRM node. The DRM node type (primary vs. render) is unspecified. Clients must not rely on the compositor sending a particular node type. Clients cannot check two devices for equality by comparing the dev_t value.

The dev_t for the actual render node must be used instead and/or this: https://gitlab.freedesktop.org/mesa/drm/-/blob/main/xf86drm.h#L934

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions