GithubHelp home page GithubHelp logo

Comments (10)

IntinteDAO avatar IntinteDAO commented on June 16, 2024 1

wlroots doc says:

WLR_SCENE_DISABLE_DIRECT_SCANOUT: disables direct scan-out for debugging.

https://gitlab.freedesktop.org/wlroots/wlroots/-/blob/master/docs/env_vars.md

EDIT: So run WLR_SCENE_DISABLE_DIRECT_SCANOUT=1 labwc.

Works with this parameter. I wonder if anyone would be able to find the problem in this feature and somehow work around it.

from labwc.

tokyo4j avatar tokyo4j commented on June 16, 2024

I have a little problem with log, it's very ugly. Maybe someone can give me a command to properly save a log?

Try labwc -d 2> log.txt.

https://github.com/labwc/labwc/blob/master/CONTRIBUTING.md#debug-logs

from labwc.

IntinteDAO avatar IntinteDAO commented on June 16, 2024

log.txt

from labwc.

tokyo4j avatar tokyo4j commented on June 16, 2024

From the log I guess this has something to do with multi-GPU, but I have no idea about the cause since I know nothing about rendering process of wlroots.

As a workaround, using vulkan renderer by running WLR_RENDERER=vulkan labwc might fix the issue. You need to install vulkan driver for your hardware for that.

from labwc.

IntinteDAO avatar IntinteDAO commented on June 16, 2024

@tokyo4j Doesn't work
log.txt

00:00:08.868 [DEBUG] [types/scene/wlr_scene.c:1709] Direct scan-out enabled

I wonder if it's possible somehow to disable direct scan-out?

from labwc.

tokyo4j avatar tokyo4j commented on June 16, 2024

wlroots doc says:

WLR_SCENE_DISABLE_DIRECT_SCANOUT: disables direct scan-out for debugging.

https://gitlab.freedesktop.org/wlroots/wlroots/-/blob/master/docs/env_vars.md

EDIT:
So run WLR_SCENE_DISABLE_DIRECT_SCANOUT=1 labwc.

from labwc.

Consolatis avatar Consolatis commented on June 16, 2024

This is strange, I'd expect the same to happen on the last sway release.
wlroots has got some bugfixes since 0.17.1 so maybe it is fixed when updating to wlroots 0.17.3?

from labwc.

droc12345 avatar droc12345 commented on June 16, 2024

Wouldn't hurt to move the wlroots.wrap file from 0.17 to 0.17.3 to pick up backported fixes.

from labwc.

Consolatis avatar Consolatis commented on June 16, 2024

Wouldn't hurt to move the wlroots.wrap file from 0.17 to 0.17.3 to pick up backported fixes.

0.17 is actually the branch and includes all fixes from 0.17.3.

from labwc.

IntinteDAO avatar IntinteDAO commented on June 16, 2024

Wouldn't hurt to move the wlroots.wrap file from 0.17 to 0.17.3 to pick up backported fixes.

0.17 is actually the branch and includes all fixes from 0.17.3.

Not sure if it's a best idea, but I install libwlroots from 0.17.3 (Debian Experimental) and nothing. Ofc. this environment variable works (fix this issue)

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.