Skip to content
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

Wrong render node comparison #364

Open
any1 opened this issue Jan 13, 2025 · 0 comments
Open

Wrong render node comparison #364

any1 opened this issue Jan 13, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@any1
Copy link
Owner

any1 commented Jan 13, 2025

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

@any1 any1 added the bug Something isn't working label Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant