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

Display 'Dell Inc. DELL P2418HT' is not recognized when power is turned back on #8114

Open
tkna91 opened this issue Apr 13, 2024 · 3 comments
Labels
bug Not working as intended

Comments

@tkna91
Copy link

tkna91 commented Apr 13, 2024

I have not found a clear commit range where this occurs, but it did not occur at dc9f217.
It occurs from dcb142b through 1267e47 .

Reproduction procedure

  1. Run the bellow script sway-run-debug and login
  2. Run $mod+enter foot
  3. swaymsg -t get_outputs
  4. Turn off the display 'Dell Inc. DELL P2418HT MYDM775F152L' by pressing the power button
  5. Press the power button on the display 'Dell Inc. DELL P2418HT MYDM775F152L' to turn it on.
    -> Display not recognized
  6. swaymsg -t get_outputs

Environment

  • multi-display
  • sway version 1.10-dev-087226d99 (Apr 13 2024, branch 'master')
  • Debug Log:
    20240413.debug.log
  • sway startup script (sway-run-debug):
    sway-run-debug.txt
  • Configuration File: /etc/sway/config
  • sway-git 1.10.r7332.087226d-1
  • wlroots-git 0.18.0.r7002.b1b34cd66-1
  • mesa 1:24.0.5-1
  • linux 6.8.5.arch1-1
@tkna91 tkna91 added the bug Not working as intended label Apr 13, 2024
@tkna91 tkna91 changed the title Display 'Dell Inc. DELL P2418HT MYDM775F152L' is not recognized when power is turned back on Display 'Dell Inc. DELL P2418HT' is not recognized when power is turned back on Apr 13, 2024
@kennylevinsen
Copy link
Member

[wlr] [backend/drm/legacy.c:175] connector HDMI-A-4: drmModePageFlip failed: Device or resource busy

So our attempt to enable the output fails. If you try to enable it again with swaymsg, does it come alive?

Please test with #8095 to see if that resolves the issue.

@tkna91
Copy link
Author

tkna91 commented Apr 23, 2024

@kennylevinsen I checked below and both did not seem to work.

Procedure:

  1. sway login
  2. Run $mod+enter foot
  3. swaymsg -t get_outputs
  4. Turn off the display 'Dell Inc. DELL P2418HT MYDM775F152L' by pressing the power button
  5. Press the power button on the display 'Dell Inc. DELL P2418HT MYDM775F152L' to turn it on.
    -> Display not recognized
  6. swaymsg -t get_outputs
  7. swaymsg output HDMI-A-3 power on
    -> Display not recognized
  8. swaymsg output HDMI-A-3 power off
  9. swaymsg output HDMI-A-3 power on
    -> Display not recognized
  10. sway logout

So our attempt to enable the output fails. If you try to enable it again with swaymsg, does it come alive?

Please test with #8095 to see if that resolves the issue.

@kennylevinsen
Copy link
Member

It just keeps failing with:

00:00:36.366 [DEBUG] [wlr] [types/output/cursor.c:169] Failed to get cursor display formats
00:00:36.366 [DEBUG] [wlr] [types/output/cursor.c:207] Failed to pick cursor format
00:00:36.366 [DEBUG] [wlr] [types/output/cursor.c:286] Failed to render cursor buffer
00:00:36.366 [DEBUG] [wlr] [types/output/cursor.c:386] Falling back to software cursor on output 'HDMI-A-4'
00:00:36.367 [ERROR] [wlr] [backend/drm/legacy.c:175] connector DVI-D-1: drmModePageFlip failed: Device or resource busy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Not working as intended
Development

No branches or pull requests

2 participants