Skip to content
This repository was archived by the owner on Nov 1, 2021. It is now read-only.
This repository was archived by the owner on Nov 1, 2021. It is now read-only.

Forceprobing DRM connections causes sway to lose monitor information/modeset when turning off dpms #2474

Description

@LaserEyess

Please fill out the following:

  • Sway Version:

    • sway version 1.5-a56098a2 (Nov 11 2020, branch 'master')
  • Debug Log:
    Log capture of sway when this behavior was exhibited. Should be around the 58 minute mark.
    https://0x0.st/invm.log

  • Configuration File:
    have not figured out a minimally reproducible config (yet).
    https://0x0.st/invB.txt

Swayidle config:

timeout 300 'swaylock -f -c 000000'
timeout 315 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"'
timeout 15 'if pgrep swaylock; then swaymsg "output * dpms off"; fi' resume 'if pgrep swaylock; then swaymsg "output * dpms on"; fi'
before-sleep 'swaylock -f -c 000000'

Run with swayidle -w

  • Stack Trace:
    N/A

  • Description:
    This bug appears to be caused by turning off dpms and then forceprobing connections on turning dpms back on. I can fix this bug by reverting 8bc5a92.

Activity

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions