<div dir="ltr">Are you seeing freezes while navigating the recordings menu and browsing recordings list? I see freezes lasting a few seconds, then everything comes back, during the freeze, the UI doesn't take any input, but queues up the keys, then a few seconds later, everything comes back. Super strange, but noticeable for me. I am booting from an sd card, but I don't know the speed, so I am not sure if that is causing things to freeze once in a while. However, there is no freeze when I start a playback.  Even when overclocking, the freeze is still there, it was there prior to overclocking also. Running v33 frontend.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Feb 11, 2024 at 9:18 AM Martin Bene <<a href="mailto:Martin.Bene@icomedias.com">Martin.Bene@icomedias.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="msg5010635663087852352">





<div lang="DE-AT" style="overflow-wrap: break-word;">
<div class="m_5010635663087852352WordSection1">
<div>
<div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<ul style="margin-top:0cm" type="disc">
<li class="m_5010635663087852352MsoListParagraph" style="margin-left:0cm"><span lang="EN-GB" style="font-size:11pt">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.<u></u><u></u></span></li></ul>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11pt">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.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11pt"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11pt">mythtv actually interfaces with wayland screen blanking inhibitor since nov 2020.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11pt">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.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11pt">Problem: when navigating the menus, an inhibitor object is destroyed if it exists, but nothing is done if there is no current inhibitor.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11pt">The interface doesn’t seem to have any function for explicitly resetting the idle timer;
<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11pt">One quick thing to try: modify
</span><span lang="EN-US"><br>
</span><span lang="EN-US" style="font-size:9pt;font-family:Consolas;color:rgb(31,35,40);background:rgb(246,248,250)">mythtv/libs/libmythui/platforms/mythscreensaverwayland.cpp</span><span lang="EN-US" style="font-size:11pt"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11pt">to actually create an inhibitor in MythScreenSaverWayland::Disable() if it doesn’t exist and then destroy it – hopefully that will reset the idle timer.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11pt">The 2<sup>nd</sup> part is just a configuration error – wayfire idle plugin has a setting disable_on_fullscreen that defaults to true.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11pt">So we have to disable that in wayfire.ini<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11pt;font-family:"Courier New"">[idle]<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11pt;font-family:"Courier New"">dpms_timeout = 300<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11pt;font-family:"Courier New"">disable_on_fullscreen = false<u></u><u></u></span></p>
</div>
</div>
</div>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:15pt;font-family:"Segoe UI Light",sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:15pt;font-family:"Segoe UI Light",sans-serif;color:rgb(0,112,192)">Martin</span><span lang="EN-GB" style="font-size:9pt;font-family:"Segoe UI Light",sans-serif;color:gray"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:8pt;font-family:"Segoe UI Light",sans-serif;color:rgb(191,191,191)">no.disclaimer</span><span style="font-size:11pt"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11pt"><u></u> <u></u></span></p>
</div>
</div>

_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org" target="_blank">mythtv-users@mythtv.org</a><br>
<a href="http://lists.mythtv.org/mailman/listinfo/mythtv-users" rel="noreferrer" target="_blank">http://lists.mythtv.org/mailman/listinfo/mythtv-users</a><br>
<a href="http://wiki.mythtv.org/Mailing_List_etiquette" rel="noreferrer" target="_blank">http://wiki.mythtv.org/Mailing_List_etiquette</a><br>
MythTV Forums: <a href="https://forum.mythtv.org" rel="noreferrer" target="_blank">https://forum.mythtv.org</a><br>
</div></blockquote></div>