8000 Document a working greetd + noctalia-greeter setup for the rotated DSI panel? · Issue #30 · fstanis/chuwi-minibook · GitHub
[go: up one dir, main page]

Skip to content

Document a working greetd + noctalia-greeter setup for the rotated DSI panel? #30

Open

Description

@pirsqr-rnd

The guide currently doesn't document login-manager setup at all — out of scope, understandably, since it's not really hardware-specific most of the time.

On this device it kind of is, though: the DSI panel needs rotation everywhere, including the login screen, and getting a Wayland greeter to actually rotate turned out to have real, panel-specific gotchas rather than being generic desktop config:

  • A hard VT-switch bug, not cosmetic: without seatd, switching VTs between the greeter and an already-running Niri session can wedge Niri's DRM output permanently (journalctl fills with Page flip commit failed ... Permission denied, hard reset required). Reproduces with any second compositor grabbing a VT — a second Niri instance, Weston, the greeter's own compositor — not just a Niri-vs-Niri conflict. Root cause is libseat falling back to logind for seat management, which doesn't hand DRM master back and forth reliably on this hardware. seatd fixes it.
  • SDDM's Wayland mode isn't really viable here: cage (SDDM's usual CompositorCommand) has no rotation flag and doesn't read the panel-orientation property at all; weston can rotate, but it's a second unrelated compositor to keep in sync by hand.
  • greetd + noctalia-greeter ended up being the setup that actually works reliably, including a rotation/scale quirk in its greeter.toml (plural transforms vs singular transform, a currently-broken scales key) worth documenting so the next person doesn't have to find it by trial and error.
  • Smaller bonus find: a one-line fix for the brief text flash during the VT handoff, root-caused to a known niri-session deprecation warning (niri-wm/niri#254) landing on the raw console — not a two-compositors-handing-off artifact as I originally assumed.

Would a PR documenting this be welcome, and if so, where would you want it — a new section in GUIDE.md (or maybe better suited to GUIDE-ADVANCED.md given the level of detail)? Happy to write it either way, just didn't want to send a ~150-line addition without checking first whether login-manager setup is something you want to cover at all.

Activity

  1. fstanis commented on Oct 11, 2026

    @fstanis
    Owner

    Hey, yes, absolutely this kind of thing is welcome.

    The general "rule of thumb" for this repo is this order of preference:

    1. Kernel module to support hardware the way native drivers would.
    2. A script that automatically installs a fix.
    3. Documented guide.

    In this case, I don't think a kernel module is possible, I would ask you to consider if a bash script that does some of these steps or at least verifies if they're done correctly is the right way. So, I think GUIDE-ADVANCED.md's display rotation section is a good candidate for this, but ideally I want people to be able to get the most out of their laptop without having to do much manual work, so if there's any better way we can support this, let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0