Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add arguments to set the desired resolution. #71

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Commits on Jun 21, 2023

  1. Add arguments to set the desired resolution.

    This adds the --desired-width and --desired-height arguments which
    tell kmscon what resolution the user *desires*. They are specifically
    called desired because it is not guaranteed that this resolution will
    be used: it will only work if the exact width and height match a
    supported mode as reported by the system, and it will only work in
    DRM mode (kmscon does not generally support modesetting in fbdev).
    
    Additionally, it might not be possible to use the mode if there is not
    enough memory to store the framebuffers. Using `video=<width>x<height>` on
    the kernel's command line was enough to make sure that sufficient memory
    was available on my machine. In this case, if we try to use the desired
    mode then the user will be presented with a blank screen.
    
    In either of the above cases, kmscon will revert to using the default
    mode, which is what kmscon always uses prior to this patch.
    skyvine committed Jun 21, 2023
    Configuration menu
    Copy the full SHA
    41166ae View commit details
    Browse the repository at this point in the history

Commits on Jun 22, 2023

  1. Add retry logic to display activation

    Also add intermediate error checks to the retry logic added in the
    previous commit.
    skyvine committed Jun 22, 2023
    Configuration menu
    Copy the full SHA
    02a7542 View commit details
    Browse the repository at this point in the history