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

[Bug]: Failed to get fd for plane, Failed to export buffer to dma_buf #41082

Closed
3 tasks done
amiria703 opened this issue Jan 23, 2024 · 4 comments
Closed
3 tasks done

Comments

@amiria703
Copy link

amiria703 commented Jan 23, 2024

Preflight Checklist

Electron Version

28.1.4

What operating system are you using?

Other Linux

Operating System Version

ArchLinux
AMD RS880 Radeon HD 4250 (It's an iGPU and doesn't support vulkan)

What arch are you using?

x64

Last Known Working Electron version

No response

Expected Behavior

Create an electron window and just work!

Actual Behavior

[27745:0123/181227.968858:ERROR:gbm_wrapper.cc(75)] Failed to get fd for plane.: No such file or directory (2)
[27745:0123/181227.970367:ERROR:gbm_wrapper.cc(258)] Failed to export buffer to dma_buf: No such file or directory (2)
Warning: vkCreateInstance: Found no drivers!
Warning: vkCreateInstance failed with VK_ERROR_INCOMPATIBLE_DRIVER
    at CheckVkSuccessImpl (../../third_party/dawn/src/dawn/native/vulkan/VulkanError.cpp:101)
    at CreateVkInstance (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:493)
    at Initialize (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:379)
    at Create (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:301)
    at operator() (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:556)

[27745:0123/181427.556458:ERROR:gl_display.cc(515)] EGL Driver message (Error) eglCreateContext: Requested GLES version (3.1) is greater than max supported (3, 0).
Warning: eglCreateContext failed with EGL_BAD_ATTRIBUTE
    at CheckEGL (../../third_party/dawn/src/dawn/native/opengl/UtilsEGL.cpp:84)
    at Create (../../third_party/dawn/src/dawn/native/opengl/ContextEGL.cpp:101)
    at Create (../../third_party/dawn/src/dawn/native/opengl/PhysicalDeviceGL.cpp:110)

Testcase Gist URL

No response

Additional Information

Recently I have this problem with electron (maybe new versions?) Today tried to create a new project using electron-nuxt and same thing happened.

@ckerr ckerr added blocked/need-repro Needs a test case to reproduce the bug 28-x-y labels Jan 23, 2024
@electron-issue-triage
Copy link

Hello @amiria703. Thanks for reporting this and helping to make Electron better!

Would it be possible for you to make a standalone testcase with only the code necessary to reproduce the issue? For example, Electron Fiddle is a great tool for making small test cases and makes it easy to publish your test case to a gist that Electron maintainers can use.

Stand-alone test cases make fixing issues go more smoothly: it ensure everyone's looking at the same issue, it removes all unnecessary variables from the equation, and it can also provide the basis for automated regression tests.

Now adding the blocked/need-repro Needs a test case to reproduce the bug label for this reason. After you make a test case, please link to it in a followup comment. This issue will be closed in 10 days if the above is not addressed.

@ckerr
Copy link
Member

ckerr commented Jan 24, 2024

Appears to be a duplicate of #38189?

@codebytere
Copy link
Member

We haven't gotten a response to our questions in our comment above. With only the information that is currently in the issue, we don't have enough information to take action. In this event, i'm going to go ahead and close this but can reopen should you follow up with more info!

@codebytere codebytere closed this as not planned Won't fix, can't repro, duplicate, stale Feb 6, 2024
@frame430
Copy link

I meet the same problem when I run the start guide example.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: 👍 Does Not Block Stable
Development

No branches or pull requests

4 participants