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]: Electron startup error on Kylin #36524

Closed
3 tasks done
Abbyzhoum opened this issue Dec 1, 2022 · 4 comments
Closed
3 tasks done

[Bug]: Electron startup error on Kylin #36524

Abbyzhoum opened this issue Dec 1, 2022 · 4 comments

Comments

@Abbyzhoum
Copy link

Preflight Checklist

Electron Version

21.1.0

What operating system are you using?

Other Linux

Operating System Version

Kylin-Desktop-V10-SP1-General-Release-2203-X86_64

What arch are you using?

x64

Last Known Working Electron version

No response

Expected Behavior

electron should come up without error

Actual Behavior

`

electron-linux-try@1.0.0 start /root/web/electron-linux-try
electron . --no-sandbox

[29213:1201/174338.958436:ERROR:bus.cc(399)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[29213:1201/174338.958506:ERROR:bus.cc(399)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
No protocol specified
No protocol specified
No protocol specified
No protocol specified
[29240:1201/174338.994457:ERROR:angle_platform_impl.cc(43)] DisplayVkXcb.cpp:59 (initialize): xcb_connect() failed, error 1
ERR: DisplayVkXcb.cpp:59 (initialize): xcb_connect() failed, error 1
[29240:1201/174338.994598:ERROR:angle_platform_impl.cc(43)] Display.cpp:997 (initialize): ANGLE Display::initialize error 12289: Not initialized.
ERR: Display.cpp:997 (initialize): ANGLE Display::initialize error 12289: Not initialized.
[29240:1201/174338.994645:ERROR:gl_display.cc(508)] EGL Driver message (Critical) eglInitialize: Not initialized.
[29240:1201/174338.994697:ERROR:gl_display.cc(920)] eglInitialize SwANGLE failed with error EGL_NOT_INITIALIZED
[29240:1201/174338.994738:ERROR:gl_ozone_egl.cc(23)] GLDisplayEGL::Initialize failed.
[29240:1201/174338.999262:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
[29213:1201/174339.005062:ERROR:bus.cc(399)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
No protocol specified
No protocol specified
No protocol specified
No protocol specified
[29271:1201/174339.102254:ERROR:angle_platform_impl.cc(43)] DisplayVkXcb.cpp:59 (initialize): xcb_connect() failed, error 1
ERR: DisplayVkXcb.cpp:59 (initialize): xcb_connect() failed, error 1
[29271:1201/174339.102413:ERROR:angle_platform_impl.cc(43)] Display.cpp:997 (initialize): ANGLE Display::initialize error 12289: Not initialized.
ERR: Display.cpp:997 (initialize): ANGLE Display::initialize error 12289: Not initialized.
[29271:1201/174339.102516:ERROR:gl_display.cc(508)] EGL Driver message (Critical) eglInitialize: Not initialized.
[29271:1201/174339.102596:ERROR:gl_display.cc(920)] eglInitialize SwANGLE failed with error EGL_NOT_INITIALIZED
[29271:1201/174339.102630:ERROR:gl_ozone_egl.cc(23)] GLDisplayEGL::Initialize failed.
[29271:1201/174339.105184:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
No protocol specified
No protocol specified
No protocol specified
No protocol specified
[29325:1201/174339.140577:ERROR:angle_platform_impl.cc(43)] DisplayVkXcb.cpp:59 (initialize): xcb_connect() failed, error 1
ERR: DisplayVkXcb.cpp:59 (initialize): xcb_connect() failed, error 1
[29325:1201/174339.140734:ERROR:angle_platform_impl.cc(43)] Display.cpp:997 (initialize): ANGLE Display::initialize error 12289: Not initialized.
ERR: Display.cpp:997 (initialize): ANGLE Display::initialize error 12289: Not initialized.
[29325:1201/174339.140816:ERROR:gl_display.cc(508)] EGL Driver message (Critical) eglInitialize: Not initialized.
[29325:1201/174339.140863:ERROR:gl_display.cc(920)] eglInitialize SwANGLE failed with error EGL_NOT_INITIALIZED
[29325:1201/174339.140929:ERROR:gl_ozone_egl.cc(23)] GLDisplayEGL::Initialize failed.
[29325:1201/174339.149923:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
No protocol specified
No protocol specified
[29392:1201/174339.191760:ERROR:gpu_init.cc(521)] Passthrough is not supported, GL is disabled, ANGLE is
[29392:1201/174339.194388:ERROR:x11_software_bitmap_presenter.cc(142)] XGetWindowAttributes failed for window 159383555
^C/root/web/electron-linux-try/node_modules/.pnpm/registry.npmmirror.com+electron@21.1.0/node_modules/electron/dist/electron exited with signal SIGINT

`

Testcase Gist URL

No response

Additional Information

I use the electron-quick-start to test linux Kylin V10 system.I want to know how to solve this problem?Thank you, and please tell me?

@Abbyzhoum Abbyzhoum changed the title [Bug]: electron start error on linux [Bug]: Electron startup error on Kylin Dec 1, 2022
@nornagon
Copy link
Member

nornagon commented Dec 1, 2022

Does Chromium work?

@Abbyzhoum
Copy link
Author

Does Chromium work?

Thanks,Execute xhost + in terminal, Now the startup is normal, although there are still errors, but it does not affect the use

@github-actions
Copy link
Contributor

github-actions bot commented Mar 2, 2023

This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment!

@github-actions
Copy link
Contributor

github-actions bot commented Apr 2, 2023

This issue has been closed due to inactivity, and will not be monitored. If this is a bug and you can reproduce this issue on a supported version of Electron please open a new issue and include instructions for reproducing the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants