[mythtv-users] Raspberry 5 - another success

Martin Bene Martin.Bene at icomedias.com
Sun Feb 11 17:17:08 UTC 2024

  *   Next thing to look into is screensaver /  dmps integration – that doesn’t seem to work quite right yet. When running frontend in a window, menu interactions using a remote control don’t reset the idle timer and when running fullscreen dpms blanking doesn’t happen at all.

For the first part: using a lirc remote control bypasses the wayland input devices and thus does not interact with the screen blank inactivity timer.
mythtv actually interfaces with wayland screen blanking inhibitor since nov 2020.
The interface works by creating an inhibitor object associated with a surface when starting to play video and destroying the inhibitor object when playback stops and also when navigating the menus.

Problem: when navigating the menus, an inhibitor object is destroyed if it exists, but nothing is done if there is no current inhibitor.

The interface doesn’t seem to have any function for explicitly resetting the idle timer;

One quick thing to try: modify
to actually create an inhibitor in MythScreenSaverWayland::Disable() if it doesn’t exist and then destroy it – hopefully that will reset the idle timer.

The 2nd part is just a configuration error – wayfire idle plugin has a setting disable_on_fullscreen that defaults to true.
So we have to disable that in wayfire.ini

dpms_timeout = 300
disable_on_fullscreen = false


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20240211/08d979b1/attachment-0001.htm>

More information about the mythtv-users mailing list