Hello folks,
I run Gnome with Wayland and MythTV over it. I don't know if MythTV runs natively on Wayland, probably on Xwayland. So now running on Wayland, when i'm launching LiveTV, even if the application has or not the focus, the monitor is always falling in suspend mode after a time fixed in the desktop (Gnome) settings, if i don't touch the inputs.
Do i have to open a ticket, or it's not a priority for MythTV developers to port to Wayland ?
Is there a workaround other than disable DPMS in Gnome settings ?
Thanks for any help.
MythTV on Wayland : "DPMS" is not disabled
MythTV on Wayland : "DPMS" is not disabled
Last edited by Magus on Thu Feb 16, 2017 2:55 pm, edited 2 times in total.
Re: MythTV on Wayland : "DPMS" is not disabled
Do you have DBus running on your system? The frontend will disable the screensaver via the DBus interface, which does work just fine on Wayland.
You should see messages about DBus screensaver in the output from the frontend log if it's working.
Regards
Stuart
You should see messages about DBus screensaver in the output from the frontend log if it's working.
Regards
Stuart
Re: MythTV on Wayland : "DPMS" is not disabled
Hi,
I have DBus on my system. I have the same problem for any applications using xwayland. I don't use any screensaver application, just suspend mode. If i correctly understand how Wayland works, it doesn't use DBus. Wayland clients (including xwayland) probably must communicate with the Wayland compositor to avoid the suspend mode, but i'm not sure.
I have DBus on my system. I have the same problem for any applications using xwayland. I don't use any screensaver application, just suspend mode. If i correctly understand how Wayland works, it doesn't use DBus. Wayland clients (including xwayland) probably must communicate with the Wayland compositor to avoid the suspend mode, but i'm not sure.
Re: MythTV on Wayland : "DPMS" is not disabled
Hi,
What do your logs say. I've just run a test with the timeout set to 5 minutes, and mythtv has kept going without
the screen turning off past the 5 minute mark. I get the following regarding the screensaver when playback starts
{{{
2016-12-28 09:59:04.732903 I ScreenSaverDBus: Successfully inhibited screensaver via org.freedesktop.ScreenSaver. cookie 2124904818. nom nom
2016-12-28 09:59:04.735947 W ScreenSaverDBus: Failed to disable screensaver: Type of message, '(ss)', does not match expected type '(susu)'
}}}
It's that first line there which says it's managed to successfully stop the screen saver from triggering.
Can you share the "ScreenSaverDBus" log messages from your frontend when playing a recording?
Regards
Stuart
What do your logs say. I've just run a test with the timeout set to 5 minutes, and mythtv has kept going without
the screen turning off past the 5 minute mark. I get the following regarding the screensaver when playback starts
{{{
2016-12-28 09:59:04.732903 I ScreenSaverDBus: Successfully inhibited screensaver via org.freedesktop.ScreenSaver. cookie 2124904818. nom nom
2016-12-28 09:59:04.735947 W ScreenSaverDBus: Failed to disable screensaver: Type of message, '(ss)', does not match expected type '(susu)'
}}}
It's that first line there which says it's managed to successfully stop the screen saver from triggering.
Can you share the "ScreenSaverDBus" log messages from your frontend when playing a recording?
Regards
Stuart
Re: MythTV on Wayland : "DPMS" is not disabled
Hi stuarta,
I have these messages about ScreenSaverDBus :
But no luck, my screen is turning off always.
As i said, i have this problem for any applications needing to switch off the display suspend mode showing anything at full screen.
I have these messages about ScreenSaverDBus :
Code: Select all
2017-01-04 18:23:48.964129 I ScreenSaverDBus: Successfully inhibited screensaver via org.freedesktop.ScreenSaver. cookie 457156315. nom nom
2017-01-04 18:23:48.964679 W ScreenSaverDBus: Failed to disable screensaver: Le type du message, « (ss) », ne correspond pas au type attendu « (susu) »
2017-01-04 18:24:01.842682 I ScreenSaverDBus: Screensaver uninhibited via org.freedesktop.ScreenSaver
As i said, i have this problem for any applications needing to switch off the display suspend mode showing anything at full screen.
Re: MythTV on Wayland : "DPMS" is not disabled
Hi,
some news. I don't any file named 'org.freedesktop.ScreenSaver' maybe is this ? Because i don't use any screensaver (only screen blanking).
some news. I don't any file named 'org.freedesktop.ScreenSaver' maybe is this ? Because i don't use any screensaver (only screen blanking).
Code: Select all
qdbus org.freedesktop.ScreenSaver /ScreenSaver org.freedesktop.ScreenSaver.GetActive
Error: org.freedesktop.DBus.Error.NotSupported
This method is not implemented
Re: MythTV on Wayland : "DPMS" is not disabled
I don't know really how, but installing gnome-screensaver resolved my problem.
Thaat's all !
Thaat's all !
Re: MythTV on Wayland : "DPMS" is not disabled
Errr.... sorry for bumping, but it doesn't solve my problem. It still occurs...