Giter Site home page Giter Site logo

Unable to create wlroots backend about cage HOT 6 OPEN

J-Cake avatar J-Cake commented on June 28, 2024
Unable to create wlroots backend

from cage.

Comments (6)

emersion avatar emersion commented on June 28, 2024

If WAYLAND_DISPLAY is set, wlroots will select the Wayland backend instead of DRM (so it will try to connect to a parent Wayland compositor and run cage in a nested window).

Note that it's not possible to start cage with the DRM backend when another compositor is running. You need to start from a TTY.

from cage.

J-Cake avatar J-Cake commented on June 28, 2024

Thanks for the speedy reply! I'm indeed running from a TTY, but even without the WAYLAND_DISPLAY environment variable I'm still getting an error, although a different one:

[jcake@jcake-edu cage]$ WLR_RENDERER_ALLOW_SOFTWARE=1 ./build/cage obsidian -- --enable-features=UseOzonePlatform --ozone-platform=wayland
00:00:00.001 [EGL] command: eglQueryDeviceStringEXT, error: EGL_BAD_PARAMETER (0x300c), message: "eglQueryDeviceStringEXT"
00:00:00.001 [EGL] command: eglQueryDeviceStringEXT, error: EGL_BAD_PARAMETER (0x300c), message: "eglQueryDeviceStringEXT"
pci id for fd 14: 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)
pci id for fd 17: 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:00.044 [xwayland/server.c:454] Cannot find Xwayland binary "/usr/bin/Xwayland"
00:00:00.045 [../cage.c:515] Cannot create XWayland server
00:00:00.045 [../cage.c:548] Unable to open Wayland socket: Invalid argument

If it's at all possible to avoid Xwayland, that would be even better

from cage.

emersion avatar emersion commented on June 28, 2024

"Unable to open Wayland socket: Invalid argument": this message is triggered by a misconfigured XDG_RUNTIME_DIR (probably cage cannot create a file in that dir).

from cage.

J-Cake avatar J-Cake commented on June 28, 2024

I did run it previously with XDG_RUNTIME_DIR=/run/user/1000 but recall getting a similar error. I'll let you know when I'm back at my computer

from cage.

J-Cake avatar J-Cake commented on June 28, 2024

Hi sorry for the non-response. I can confirm I get the same error

from cage.

cammelspit avatar cammelspit commented on June 28, 2024

I am getting the same error and haven't quite figured it out yet. I have used cage on other systems just not my current pure Arch build so frankly, I assume I'm missing something somewhere.

from cage.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.