Open fjosegalan opened 1 day ago
but I am unable no launch due to some graphics library not working...
What is the full log of these errors, when you try to start cage?
Hello emersion,
If I login as root on my builroot Qemu compilation, compiled with the config I stated previously I get this error while I try to run the init sample "/usr/bin/cage /usr/bin/gtk3-widget-factory":
00:00:00.000 [../cage.c:295] XDG_RUNTIME_DIR is not set in the environment
Then I set this variable manually for test purposes as:
export XDG_RUNTIME_DIR=/run/user/1000
Run the same cage test command for Cage "/usr/bin/cage /usr/bin/gtk3-widget-factory" got this answer:
libEGL warning: egl: failed to create dri2 screen
00:00:00.547 [EGL] command: eglInitialize, error: EGL_NOT_INITIALIZED (0x3001), message: "DRI2: failed to create screen"
libEGL warning: egl: failed to create dri2 screen
00:00:00.583 [EGL] command: eglInitialize, error: EGL_NOT_INITIALIZED (0x3001), message: "DRI2: failed to create screen"
libEGL warning: NEEDS EXTENSION: falling back to kms_swrast
00:00:01.357 [EGL] command: eglQueryDeviceStringEXT, error: EGL_BAD_PARAMETER (0x300c), message: "eglQueryDeviceStringEXT"
00:00:01.359 [EGL] command: eglQueryDeviceStringEXT, error: EGL_BAD_PARAMETER (0x300c), message: "eglQueryDeviceStringEXT"
pci id for fd 23: 1234:1111, driver (null)
MESA-LOADER: failed to open bochs-drm: /usr/lib/dri/bochs-drm_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/dri, suffix _dri)
00:00:01.403 [render/egl.c:312] Software rendering detected, please use the WLR_RENDERER_ALLOW_SOFTWARE environment variable to proceed
00:00:01.406 [render/egl.c:554] Failed to initialize EGL context
00:00:01.407 [EGL] command: eglMakeCurrent, error: EGL_NOT_INITIALIZED (0x3001), message: "eglMakeCurrent"
00:00:01.408 [render/gles2/renderer.c:679] Could not initialize EGL
00:00:01.434 [../cage.c:550] Unable to open Wayland socket: Invalid argument
For sure is not a matter of Cage, and it is a matter of my config... But I don´t know what to check due to I am not an expert on mesa drivers and so on....
Regards, Thanks in advance
Fran
Hello
I am playing around with Cage doing some test for a webroser launched over cage using Buildroot. Based on the sample for RPI, I tried to replicate the buildroot config for Qemu and do the tests, but I am unable no launch due to some graphics library not working... I know this is not an issue itself, but somebody has some hint to continue with Cage over qemu? This is my buildroot config:
And I launch Qemu with a device virtio-gpu
Any suggestion is welcome!!!!
Many thanks in advance
Fran