AW: dpms with wayland
Jovic, Vladimir
vladimir.jovic at ifm.com
Tue Jun 25 14:51:08 UTC 2019
> -----Ursprüngliche Nachricht-----
> Von: Pekka Paalanen <ppaalanen at gmail.com>
> Gesendet: Dienstag, 25. Juni 2019 16:37
> An: Jovic, Vladimir <vladimir.jovic at ifm.com>
> Cc: wayland-devel at lists.freedesktop.org
> Betreff: Re: dpms with wayland
>
> On Tue, 25 Jun 2019 14:07:51 +0000
> "Jovic, Vladimir" <vladimir.jovic at ifm.com> wrote:
>
> > > -----Ursprüngliche Nachricht-----
> > > Von: Pekka Paalanen <ppaalanen at gmail.com>
> > > Gesendet: Dienstag, 25. Juni 2019 16:02
> > > An: Jovic, Vladimir <vladimir.jovic at ifm.com>
> > > Cc: wayland-devel at lists.freedesktop.org
> > > Betreff: Re: dpms with wayland
> > >
> > > On Tue, 25 Jun 2019 13:16:58 +0000
> > > "Jovic, Vladimir" <vladimir.jovic at ifm.com> wrote:
> > >
> > > > Hi,
> > > >
> > > > Is there a way to turn off a monitor on Weston 6.0? I know that
> > > > this can be done on X like this (as explained in
> > > >
> > > https://wiki.archlinux.org/index.php/Display_Power_Management_Signal
> > > ing#Disabli
> > > ng_DPMS):
> > > > xset dpms force off
> > > >
> > > > Also, the man pages for Weston tells that drm-backend.so (that I
> > > > use) can deal with dpms. So the question is how is this done.
> > >
> > > Hi,
> > >
> > > there is no way to force DPMS on or off from outside of the
> > > compositor process (except input events which turn the outputs on).
> > > Weston will manage DPMS on its own through the idle timer.
> > >
> >
> > Thanks, but is there any more info on that? I tried setting
> > "idle-second" in [core] to some value, as explained in man pages for
> > Weston.ini, but that did nothing. Wasn't that supposed to turn off the
> > monitor after N seconds?
>
> Yes, check your syntax. There is also the command line option -i for the same.
I tried both and neither worked.
First I tried this:
weston -i 3 --tty 3
and that didn't turn off the screen after 3 seconds. I know because I set the background.
Then I tried Weston with this configuration:
[core]
shell=ivi-shell.so
modules=ivi-controller.so
idle-time=3
[ivi-shell]
ivi-input-module=ivi-input-controller.so
bkgnd-surface-id=1000
bkgnd-color=0xffff00ff
[output]
name=Unknown-1
transform=normal
Again, the screen would not go off after 3 seconds.
More information about the wayland-devel
mailing list