MythTV on Wayland : "DPMS" is not disabled

For discussion of topics specific to MythTV on linux

MythTV on Wayland : "DPMS" is not disabled

Postby Magus » Mon Dec 19, 2016 3:06 pm

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.
Last edited by Magus on Thu Feb 16, 2017 2:55 pm, edited 2 times in total.
FranceMagus
Junior
 
Posts: 25
Joined: Fri Feb 12, 2016 3:19 pm

Re: MythTV on Wayland : "DPMS" is not disabled

Postby stuarta » Tue Dec 20, 2016 4:12 pm

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
User avatar
Great Britainstuarta
Developer
 
Posts: 170
Joined: Wed Feb 05, 2014 5:13 pm

Re: MythTV on Wayland : "DPMS" is not disabled

Postby Magus » Sun Dec 25, 2016 10:20 pm

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.
FranceMagus
Junior
 
Posts: 25
Joined: Fri Feb 12, 2016 3:19 pm

Re: MythTV on Wayland : "DPMS" is not disabled

Postby stuarta » Wed Dec 28, 2016 10:09 am

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
User avatar
Great Britainstuarta
Developer
 
Posts: 170
Joined: Wed Feb 05, 2014 5:13 pm

Re: MythTV on Wayland : "DPMS" is not disabled

Postby Magus » Wed Jan 04, 2017 5:34 pm

Hi stuarta,

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

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.
FranceMagus
Junior
 
Posts: 25
Joined: Fri Feb 12, 2016 3:19 pm

Re: MythTV on Wayland : "DPMS" is not disabled

Postby Magus » Wed Feb 15, 2017 3:45 pm

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).

Code: Select all
qdbus org.freedesktop.ScreenSaver /ScreenSaver org.freedesktop.ScreenSaver.GetActive
Error: org.freedesktop.DBus.Error.NotSupported
This method is not implemented
FranceMagus
Junior
 
Posts: 25
Joined: Fri Feb 12, 2016 3:19 pm

Re: MythTV on Wayland : "DPMS" is not disabled

Postby Magus » Wed Feb 15, 2017 4:07 pm

I don't know really how, but installing gnome-screensaver resolved my problem.
Thaat's all !
FranceMagus
Junior
 
Posts: 25
Joined: Fri Feb 12, 2016 3:19 pm

Re: MythTV on Wayland : "DPMS" is not disabled

Postby Magus » Thu Feb 16, 2017 2:56 pm

Errr.... sorry for bumping, but it doesn't solve my problem. It still occurs...
FranceMagus
Junior
 
Posts: 25
Joined: Fri Feb 12, 2016 3:19 pm


Return to Linux



Who is online

Users browsing this forum: No registered users and 2 guests