[mythtv] DPMS inhibit issues in 0.28
Michael T. Dean
mtdean at thirdcontact.com
Sun Apr 26 18:10:11 UTC 2015
On 04/25/2015 11:57 AM, dennis wrote:
>
>
> On 04/25/2015 10:10 AM, Jim Stichnoth wrote:
>> On Sat, Apr 25, 2015 at 7:21 AM, dennis <deg at outlook.com
>> <mailto:deg at outlook.com>> wrote:
>>
>> Hi,
>>
>> I'm running ubuntu 14.04 but not using gnome screensaver and
>> using DPMS to shut the monitor off after 10 minutes of
>> inactivity. It appears that inhibit DPMS is no longer working in
>> in the latest build of 0.28, after 10 minutes of watching TV my
>> screen goes blank by DPMS. I have noticed some changes in the
>> logs when starting and stopping playback and no longer seeing
>> DPMS messages.
>>
>>
>> https://code.mythtv.org/trac/ticket/12435
>> https://code.mythtv.org/trac/ticket/12438
>>
>> These are being looked into, but that's the risk you take running
>> master. :)
>>
>
> Just thought I would ask before creating a ticket to report it. It
> didn't show up yet in a google search.
>
> I was aware of commits in this area before building, so I wasn't
> surprised that there was some regression here. I enjoy debugging and
> digging into code. I see the risk as fun, and helping to making the
> project better :)
If you're compiling your own build of MythTV, just get rid of the
compile-time check that forces the use of the DBus screensaver control
and instead make it use the X11 screensaver control:
https://github.com/MythTV/mythtv/blob/master/mythtv/libs/libmythui/screensaver.cpp#L27
Until Stuart writes support for runtime checking of which screensaver
controller to use, if you're compiling with DBus support, you won't get
the X11 screensaver support (which allows use of DPMS or xscreensaver),
nor will you get the OS X screensaver support.
Mike
More information about the mythtv-dev
mailing list