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

Wayland: MythTV fails to inhibit idle ie screensaver on sway #216

Closed
bhepple opened this issue Sep 21, 2020 · 1 comment
Closed

Wayland: MythTV fails to inhibit idle ie screensaver on sway #216

bhepple opened this issue Sep 21, 2020 · 1 comment
Milestone

Comments

@bhepple
Copy link

bhepple commented Sep 21, 2020

This is on sway, the popular wayland compositor.

kodi and mpv both emit an idle-inhibit signal when playing and stop the screensaver cutting in.

  • Platform:
    Linux nina 5.7.9-100.fc31.x86_64 Added fix for Ticket 8182 #1 SMP Fri Jul 17 17:18:38 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

  • MythTV version:
    mythtv-frontend-31.0-9.20200829gitab0c38a476.fc31.x86_64

  • Package version:

  • Component:
    mythfrontend

What steps will reproduce the bug?

While running under sway, have a idle timer running like so:

swayidle -w timeout 10 swaymsg 'output * dpms off' resume swaymsg 'output * dpms on'

Then start a mythtv playback and wait for the screen to blank.

What is the expected behaviour?

mythtv should inhibit the idle timer - kodi and mpv do it correctly.

What do you see instead?

The screen blanks until the mouse is moved or a key is pressed

@mark-kendall mark-kendall changed the title MythTV fails to inhibit idle ie screensaver on sway Wayland: MythTV fails to inhibit idle ie screensaver on sway Sep 21, 2020
mark-kendall added a commit that referenced this issue Nov 16, 2020
- this looks for the wayland client libs and headers - which we need if
we are to access Wayland directly
- actual code to follow...

Refs #216 #218
mark-kendall added a commit that referenced this issue Nov 17, 2020
- Note: Requires Qt private headers that are not yet checked for in
configure
- new functionality not used yet

Refs #216 #218
mark-kendall added a commit that referenced this issue Nov 17, 2020
mark-kendall added a commit that referenced this issue Nov 17, 2020
- this should *help* with Wayland opacity issues but is not a complete
cure. Best case scenario; it also improves performance (as the
compositor knows it only needs to render the MythTV main window and
nothing else)

Refs #210 #216 #218
@mark-kendall
Copy link
Member

@bhepple This appears to be working correctly in master (but does need a custom build). Any problems, please open a new ticket. Thanks for reporting.

@stuarta stuarta added this to the 32.0 milestone Dec 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants