GithubHelp home page GithubHelp logo

Comments (8)

ahesford avatar ahesford commented on September 25, 2024

I cannot reproduce this using leafpad in a nested session or urxvt in a standalone session on the console. In both cases, I can launch labwc 0.7.0 (as packaged on Void Linux) or a build of the current master branch.

from labwc.

Consolatis avatar Consolatis commented on September 25, 2024

There seems to be something going on with wlroots 0.17 and virtualized GPU drivers.
Maybe some env vars from https://gitlab.freedesktop.org/wlroots/wlroots/-/blob/master/docs/env_vars.md may help?

E.g. WLR_EGL_NO_MODIFIERS=1 and / or WLR_DRM_NO_MODIFIERS=1 and / or WLR_DRM_NO_ATOMIC=1.
You could also try to use software rendering via WLR_RENDERER=pixman.

Edit:
A backtrace would also be useful, for example gdb --args labwc -d -s leafpad, r, bt.

from labwc.

ludg1e avatar ludg1e commented on September 25, 2024

By setting WLR_EGL_NO_MODIFIERS=1, WLR_DRM_NO_MODIFIERS=1 and WLR_DRM_NO_ATOMIC=1 in .config/labwc/environment here's the log
It's a 20MB log, kinda crazy though: https://fromsmash.com/labwc-14xx

With the env vars from before plus WLR_RENDERER=pixman the VM freezes and I need to reset it from VBox settings

Running gdb --args labwc -d -s leafpad, r, bt it says no debugging symbols found in labwc

from labwc.

stefonarch avatar stefonarch commented on September 25, 2024

As said here on labwc 0.7.0-59-g417fa21 with AMD Gpu same with xterm, no backtrace, while no issue with leafpad. Xterm opens a fraction of seconds.

EDIT: weird, I added again systemd-cat --identifier=labwc in my startup script and restarted the session, and xterm opens fine now, just complaining:
xterm: cannot load font "-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1"

from labwc.

ludg1e avatar ludg1e commented on September 25, 2024

Seems to be happening on all virtual guests (VMware too). Already reported by @tranzystorekk on wlroots (https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3788)
This issue didn't happen on labwc 0.6.6, so it could be either a labwc 0.7 issue or an upstream wlroots 0.17 issue

Related: #1361

Edit: can confirm it could highly be wlroots as when running wlroots 0.16 compositor (sway 1.8.1; wlroots 0.16), xterm and leafpad work correctly with no issues

from labwc.

johanmalm avatar johanmalm commented on September 25, 2024

@ludg1e If you bulid with commans below you'll get debug symbols for both labwc+wlroots. It also enables ASAN which means you get a backtrace on crash.

meson setup --force-fallback-for=wlroots build/
meson configure -Db_sanitize=address,undefined build/
meson compile -C build/

If you then run with ./build/labwc 2>log.txt and provide that here (or possibly even better - on the wlroots issue) that might help solve it.

from labwc.

ludg1e avatar ludg1e commented on September 25, 2024

@johanmalm done what you've said, now labwc doesn't crash, and leafpad just throws an error on the term (1)

Though, the log is 50 MB... https://fromsmash.com/labwc-bigga-log
1
image

Edit: chromium xwayland and xterm also crash now too

from labwc.

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.