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] Raspberry Pi 4 support - flatpak aarch64 #1221

Open
1 task done
GoldenTK opened this issue May 6, 2024 · 0 comments
Open
1 task done

[Bug] Raspberry Pi 4 support - flatpak aarch64 #1221

GoldenTK opened this issue May 6, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@GoldenTK
Copy link

GoldenTK commented May 6, 2024

Describe the bug

Hello, I'm getting this kind of errors after installation via flatpak.

admin@raspberrypi:~ $ flatpak run io.github.unknownskl.greenlight F: Can't get document portal: GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying runtime LD_LIBRARY_PATH = /app/extralib: runtime ARCH = aarch64-linux [7:0506/215719.881063:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory /app/main/resources/app.asar/app/background.js[constructor()] Starting Greenlight v2.3.1 Webserver started on port: 9003 [7:0506/215723.049376:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory [7:0506/215723.049881:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory MESA-LOADER: failed to open vc4: /usr/lib/x86_64-linux-gnu/GL/default/lib/dri//vc4_dri.so: cannot open shared object file: No such file or directory (search paths /app/extralib/dri:/usr/lib/x86_64-linux-gnu/dri/intel-vaapi-driver:/usr/lib/x86_64-linux-gnu/GL/default/lib/dri/:, suffix _dri) failed to load driver: vc4 MESA-LOADER: failed to open vc4: /usr/lib/x86_64-linux-gnu/GL/default/lib/dri//vc4_dri.so: cannot open shared object file: No such file or directory (search paths /app/extralib/dri:/usr/lib/x86_64-linux-gnu/dri/intel-vaapi-driver:/usr/lib/x86_64-linux-gnu/GL/default/lib/dri/:, suffix _dri) failed to load driver: vc4 MESA-LOADER: failed to open swrast: /usr/lib/x86_64-linux-gnu/GL/default/lib/dri//swrast_dri.so: cannot open shared object file: No such file or directory (search paths /app/extralib/dri:/usr/lib/x86_64-linux-gnu/dri/intel-vaapi-driver:/usr/lib/x86_64-linux-gnu/GL/default/lib/dri/:, suffix _dri) [44:0506/215723.421719:ERROR:angle_platform_impl.cc(44)] Display.cpp:1052 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context. ERR: Display.cpp:1052 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context. [44:0506/215723.422637:ERROR:gl_display.cc(515)] EGL Driver message (Critical) eglInitialize: Could not create a backing OpenGL context. [44:0506/215723.423244:ERROR:gl_display.cc(786)] eglInitialize OpenGL failed with error EGL_NOT_INITIALIZED, trying next display type [44:0506/215723.447839:ERROR:angle_platform_impl.cc(44)] Display.cpp:1052 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context. ERR: Display.cpp:1052 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context. [44:0506/215723.448440:ERROR:gl_display.cc(515)] EGL Driver message (Critical) eglInitialize: Could not create a backing OpenGL context. [44:0506/215723.449649:ERROR:gl_display.cc(786)] eglInitialize OpenGLES failed with error EGL_NOT_INITIALIZED [44:0506/215723.450155:ERROR:gl_display.cc(820)] Initialization of all EGL display types failed. [44:0506/215723.450922:ERROR:gl_ozone_egl.cc(26)] GLDisplayEGL::Initialize failed. [44:0506/215723.535700:ERROR:angle_platform_impl.cc(44)] Display.cpp:1052 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context. ERR: Display.cpp:1052 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context. [44:0506/215723.536371:ERROR:gl_display.cc(515)] EGL Driver message (Critical) eglInitialize: Could not create a backing OpenGL context. [44:0506/215723.536790:ERROR:gl_display.cc(786)] eglInitialize OpenGL failed with error EGL_NOT_INITIALIZED, trying next display type [44:0506/215723.547348:ERROR:angle_platform_impl.cc(44)] Display.cpp:1052 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context. ERR: Display.cpp:1052 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context. [44:0506/215723.548187:ERROR:gl_display.cc(515)] EGL Driver message (Critical) eglInitialize: Could not create a backing OpenGL context. [44:0506/215723.548588:ERROR:gl_display.cc(786)] eglInitialize OpenGLES failed with error EGL_NOT_INITIALIZED [44:0506/215723.549295:ERROR:gl_display.cc(820)] Initialization of all EGL display types failed. [44:0506/215723.550743:ERROR:gl_ozone_egl.cc(26)] GLDisplayEGL::Initialize failed. [44:0506/215723.588831:ERROR:viz_main_impl.cc(196)] Exiting GPU process due to errors during initialization MESA-LOADER: failed to open vc4: /usr/lib/x86_64-linux-gnu/GL/default/lib/dri//vc4_dri.so: cannot open shared object file: No such file or directory (search paths /app/extralib/dri:/usr/lib/x86_64-linux-gnu/dri/intel-vaapi-driver:/usr/lib/x86_64-linux-gnu/GL/default/lib/dri/:, suffix _dri) failed to load driver: vc4 MESA-LOADER: failed to open vc4: /usr/lib/x86_64-linux-gnu/GL/default/lib/dri//vc4_dri.so: cannot open shared object file: No such file or directory (search paths /app/extralib/dri:/usr/lib/x86_64-linux-gnu/dri/intel-vaapi-driver:/usr/lib/x86_64-linux-gnu/GL/default/lib/dri/:, suffix _dri) failed to load driver: vc4 MESA-LOADER: failed to open swrast: /usr/lib/x86_64-linux-gnu/GL/default/lib/dri//swrast_dri.so: cannot open shared object file: No such file or directory (search paths /app/extralib/dri:/usr/lib/x86_64-linux-gnu/dri/intel-vaapi-driver:/usr/lib/x86_64-linux-gnu/GL/default/lib/dri/:, suffix _dri) [85:0506/215724.299328:ERROR:angle_platform_impl.cc(44)] Display.cpp:1052 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context. ERR: Display.cpp:1052 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context. [85:0506/215724.300179:ERROR:gl_display.cc(515)] EGL Driver message (Critical) eglInitialize: Could not create a backing OpenGL context. [85:0506/215724.300606:ERROR:gl_display.cc(786)] eglInitialize OpenGL failed with error EGL_NOT_INITIALIZED, trying next display type [85:0506/215724.303129:ERROR:angle_platform_impl.cc(44)] Display.cpp:1052 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context. ERR: Display.cpp:1052 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context. [85:0506/215724.304097:ERROR:gl_display.cc(515)] EGL Driver message (Critical) eglInitialize: Could not create a backing OpenGL context. [85:0506/215724.304765:ERROR:gl_display.cc(786)] eglInitialize OpenGLES failed with error EGL_NOT_INITIALIZED [85:0506/215724.305284:ERROR:gl_display.cc(820)] Initialization of all EGL display types failed. [85:0506/215724.306219:ERROR:gl_ozone_egl.cc(26)] GLDisplayEGL::Initialize failed. [85:0506/215724.326937:ERROR:angle_platform_impl.cc(44)] Display.cpp:1052 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context. ERR: Display.cpp:1052 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context. [85:0506/215724.327693:ERROR:gl_display.cc(515)] EGL Driver message (Critical) eglInitialize: Could not create a backing OpenGL context. [85:0506/215724.328061:ERROR:gl_display.cc(786)] eglInitialize OpenGL failed with error EGL_NOT_INITIALIZED, trying next display type [85:0506/215724.330078:ERROR:angle_platform_impl.cc(44)] Display.cpp:1052 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context. ERR: Display.cpp:1052 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context. [85:0506/215724.330767:ERROR:gl_display.cc(515)] EGL Driver message (Critical) eglInitialize: Could not create a backing OpenGL context. [85:0506/215724.331889:ERROR:gl_display.cc(786)] eglInitialize OpenGLES failed with error EGL_NOT_INITIALIZED [85:0506/215724.333160:ERROR:gl_display.cc(820)] Initialization of all EGL display types failed. [85:0506/215724.333698:ERROR:gl_ozone_egl.cc(26)] GLDisplayEGL::Initialize failed. [85:0506/215724.351109:ERROR:viz_main_impl.cc(196)] Exiting GPU process due to errors during initialization MESA-LOADER: failed to open vc4: /usr/lib/x86_64-linux-gnu/GL/default/lib/dri//vc4_dri.so: cannot open shared object file: No such file or directory (search paths /app/extralib/dri:/usr/lib/x86_64-linux-gnu/dri/intel-vaapi-driver:/usr/lib/x86_64-linux-gnu/GL/default/lib/dri/:, suffix _dri) MESA-LOADER: failed to open kms_swrast: /usr/lib/x86_64-linux-gnu/GL/default/lib/dri//kms_swrast_dri.so: cannot open shared object file: No such file or directory (search paths /app/extralib/dri:/usr/lib/x86_64-linux-gnu/dri/intel-vaapi-driver:/usr/lib/x86_64-linux-gnu/GL/default/lib/dri/:, suffix _dri) MESA-LOADER: failed to open swrast: /usr/lib/x86_64-linux-gnu/GL/default/lib/dri//swrast_dri.so: cannot open shared object file: No such file or directory (search paths /app/extralib/dri:/usr/lib/x86_64-linux-gnu/dri/intel-vaapi-driver:/usr/lib/x86_64-linux-gnu/GL/default/lib/dri/:, suffix _dri)

Do you know what I can do to fix graphic acceleration? It's freaking slow comparing to Xbox app on android os running from the same device. Is it possible to make it working on aarch64?

To Reproduce

run application via flatpak on raspberry pi os

Expected behavior

Stream is working smoothly.

Environment

- OS: Raspberry Pi OS (Linux raspberrypi 6.6.20+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.20-1+rpt1 (2024-03-07) aarch64 GNU/Linux)
- Device: Raspberry Pi 4
- Greenlight version: 2.3.1

Anything else?

No response

New issue

  • I confirm that this is a new issue and not a duplicate
@GoldenTK GoldenTK added the bug Something isn't working label May 6, 2024
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