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

Use dmabuf instead of eglCreateWaylandBufferFromImageWL #738

Open
suhrid-s opened this issue Oct 7, 2024 · 3 comments
Open

Use dmabuf instead of eglCreateWaylandBufferFromImageWL #738

suhrid-s opened this issue Oct 7, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@suhrid-s
Copy link

suhrid-s commented Oct 7, 2024

Hi,

Based on this MR to mesa,
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29266
It looks like there were plans to use dmabuf instead of eglCreateWaylandBufferFromImageWL by default from
2.46 or latest by 2.48.

  1. Since 2.46 is already out and I still see eglCreateWaylandBufferFromImageWL being used, does that
    mean it will be removed by 2.48?

  2. Does this mean cog will handle wayland buffer creation similar to WebKit; i.e. use dmabuf by default
    and fall back to egl implementation or will the egl implementation be completely removed?

Also, is there a branch where the dmabuf implementation is under review/in progress?

Thanks!

@aperezdc aperezdc added the enhancement New feature or request label Jan 18, 2025
@aperezdc
Copy link
Member

@suhrid-s We are not currently working on adding support for DMA-BUF in Cog; instead we have added inside WebKit and can be used with the new WPEPlatform API—which Cog does not use for now.

@sshwsfc
Copy link

sshwsfc commented Feb 24, 2025

Do you mean that in the future, cog can just use the WPEPlatform API and this problem will not happen again?

@sshwsfc
Copy link

sshwsfc commented Feb 24, 2025

@aperezdc In fact, this problem is very serious, because Mali's official egl does not support the eglCreateWaylandBufferFromImageWL extension, so now cog cannot be run on Mali's GPU, especially on SOCs such as rockchip.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants