Coder Social home page Coder Social logo

Doesn't get the right resolution about dwl HOT 5 CLOSED

qaqland avatar qaqland commented on August 23, 2024
Doesn't get the right resolution

from dwl.

Comments (5)

sevz17 avatar sevz17 commented on August 23, 2024 1

Ah, then your driver/monitor did not expose all the modes.

from dwl.

sevz17 avatar sevz17 commented on August 23, 2024

Your monitor does not seems to support that resolution... very strange, can you try on sway if it gets the right resolution?

Also, on IRC you mentioned wlr-randr --custom-mode doesn't work
can you attach the stderr of dwl -d (in that session try to set the custom mode)

EDIT: just in case, run dwl directly from the tty

from dwl.

qaqland avatar qaqland commented on August 23, 2024

sway cannot get the right also..

idk how to get the stderr of dwl

from dwl.

sevz17 avatar sevz17 commented on August 23, 2024

So... here are two problems:

  • wlroots somehow does not recognize all modes of you monitor
  • dwl can not set a custom mode

To get the stderr of a program you need to redirect it to a file which is done with 2> path/to/file, e.g dwl 2> dwl.log, this will create a file named dwl.log in your current directory, attach that file
1> or almost always used as > is to redirect the stdout

EDIT: please use the latest commit to get the logs, -d was added recently

from dwl.

qaqland avatar qaqland commented on August 23, 2024

Thank you for your help.

I tried ways and find that add my resolution to grub's GFXMODE and this time wlr-randr custom-mode works well.

I also successfully get stderr from dwl -d, but this time it looks good, so I don't paste it here.

from dwl.

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.