godotengine / godotengine/godot
GoDot export template to yocto - arm64
- Dominant language
- C++
- Stars
- 117k
- Forks
- 26.8k
- PR merge metrics
- PR metrics pending
Description
### Tested versions
version v4.4 Beta 2
### System information
yocto - arm64
### Issue description
I am trying to create export template for Yocto arm64. I already have the toolchain and successfully creating the template. when I export the project and run it on the arm64 device I got the following (this is also happens if I export using the official Linux_arm64 template):
```
Godot Engine v4.4.beta.custom_build.eee39f004 (2025-02-03 17:14:44 UTC) - https://godotengine.org
libX11.so.6: cannot open shared object file: No such file or directory
ERROR: Can't load Xlib dynamically.
at: DisplayServerX11 (platform/linuxbsd/x11/display_server_x11.cpp:6430)
WARNING: Display driver x11 failed, falling back to wayland.
at: setup2 (main/main.cpp:3014)
WARNING: Can't obtain the XDG decoration manager. Libdecor will be used for drawing CSDs, if available.
at: init (platform/linuxbsd/wayland/wayland_thread.cpp:3888)
WARNING: Can't obtain the XDG activation global. Attention requesting won't work!
at: init (platform/linuxbsd/wayland/wayland_thread.cpp:3895)
libdecor-0.so.0: cannot open shared object file: No such file or directory
libspeechd.so.2: cannot open shared object file: No such file or directory
GBM_INFO::msmgbm_mapper(259)::gbm mapper instantiated
gbm_create_device(227): Info: backend name is: msm_drm
GBM_INFO::msmgbm_mapper(259)::gbm mapper instantiated
gbm_create_device(227): Info: backend name is: msm_drm
GBM_INFO::msmgbm_mapper(259)::gbm mapper instantiated
gbm_create_device(227): Info: backend name is: msm_drm
GBM_INFO::msmgbm_mapper(259)::gbm mapper instantiated
gbm_create_device(227): Info: backend name is: msm_drm
GBM_INFO::msmgbm_mapper(259)::gbm mapper instantiated
gbm_create_device(227): Info: backend name is: msm_drm
GBM_INFO::~msmgbm_mapper(266)::gbm mapper de-instantiated
GBM_INFO::msmgbm_mapper(259)::gbm mapper instantiated
gbm_create_device(227): Info: backend name is: msm_drm
ERROR: OpenGL not supported.
at: _get_gldisplay_id (drivers/egl/egl_manager.cpp:111)
WARNING: Your video card drivers seem not to support the required OpenGL version, switching to OpenGLES.
at: DisplayServerWayland (platform/linuxbsd/wayland/display_server_wayland.cpp:1533)
GBM_INFO::~msmgbm_mapper(266)::gbm mapper de-instantiated
GBM_INFO::msmgbm_mapper(259)::gbm mapper instantiated
gbm_create_device(227): Info: backend name is: msm_drm
wl_display@1: error 1: invalid arguments for xdg_toplevel@24.resize
ERROR: Wayland client error code 22.
at: _poll_events_thread (platform/linuxbsd/wayland/wayland_thread.cpp:2816)
Trace/breakpoint trap (core dumped)
```
### Steps to reproduce
export simple project to linux - arm64
### Minimal reproduction project (MRP)
simple 3D project with cube , camera 3D and Directional light
Contributor guide
Research direction
Reproduce the Linux ARM64 export with the simple 3D project, then start from platform/linuxbsd/wayland/wayland_thread.cpp at _poll_events_thread and drivers/egl/egl_manager.cpp at _get_gldisplay_id. Compare the X11, Wayland, OpenGL, and OpenGLES initialization logs and determine why the exported Yocto arm64 project reaches the Wayland client error and crashes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, linux
- Domain
- computer-graphics, game-dev, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100