Gustavo M Posted 3 hours ago Posted 3 hours ago As title says. Here's the bash script I use to download the dependencies and compile the latest mesa: https://pastebin.com/1n7Sv0dZ How /boot/*Env* looks like right now: https://pastebin.com/mUqHs14Y And the error message I get when I try to run sway goes as follows: MESA: error: ZINK: failed to choose pdev libEGL warning: egl: failed to create dri2 screen [wlr] [EGL] command: eglInitialize, error: EGL_NOT_INITIALIZED (0x3001), message: "DRI2: failed to create screen" MESA: error: ZINK: failed to choose pdev libEGL warning: egl: failed to create dri2 screen [wlr] [EGL] command: eglInitialize, error: EGL_NOT_INITIALIZED (0x3001), message: "DRI2: failed to create screen" [wlr] [EGL] command: eglInitialize, error: EGL_NOT_INITIALIZED (0x3001), message: "DRI2: failed to load driver" [wlr] [EGL] command: eglInitialize, error: EGL_NOT_INITIALIZED (0x3001), message: "eglInitialize" [wlr] [render/egl.c:268] Failed to initialize EGL [wlr] [render/egl.c:571] Failed to initialize EGL context [wlr] [render/gles2/renderer.c:499] Could not initialize EGL [wlr] [render/wlr_renderer.c:272] Could not initialize renderer [sway/server.c:236] Failed to create renderer Oddly enough, "eglinfo -B" shows that everything is fine: https://pastebin.com/6k05DcAS How my .bashrc looks like right now: https://pastebin.com/3W7Qib6U I've tried copying the firmware in (with "cd /lib/firmware sudo wget https://github.com/JeffyCN/mirrors/raw/libmali/firmware/g610/mali_csffw.bin sudo chmod 644 mali_csffw.bin"), forcing "card0" to be used with the env. value WLR_DRM_DEVICES=/dev/dri/card0, and panfrost with "MESA_LOADER_DRIVER_OVERRIDE=panfrost" and "GALLIUM_DRIVER=panfrost" but none of those options helped. I also added my user to "render" and "video" (with sudo usermod -aG video $USER and sudo usermod -aG render $USER), which also didn't do me any good. I also manually removed any trace of panfrost that was left into the system and reinstalled with "libgl1-mesa-dri" and manually compiling everything in again...and it also didn't worked. I don't know what else I should do, and I'm in the verge of reinstalling everything back in. Please help me. And thanks for reading. 0 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.