AW: dpms with wayland

2019-06-25 Thread Jovic, Vladimir
> -Ursprüngliche Nachricht-
> Von: Pekka Paalanen 
> Gesendet: Dienstag, 25. Juni 2019 16:37
> An: Jovic, Vladimir 
> Cc: wayland-devel@lists.freedesktop.org
> Betreff: Re: dpms with wayland
> 
> On Tue, 25 Jun 2019 14:07:51 +
> "Jovic, Vladimir"  wrote:
> 
> > > -Ursprüngliche Nachricht-
> > > Von: Pekka Paalanen 
> > > Gesendet: Dienstag, 25. Juni 2019 16:02
> > > An: Jovic, Vladimir 
> > > Cc: wayland-devel@lists.freedesktop.org
> > > Betreff: Re: dpms with wayland
> > >
> > > On Tue, 25 Jun 2019 13:16:58 +
> > > "Jovic, Vladimir"  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=0x00ff

[output]
name=Unknown-1
transform=normal

Again, the screen would not go off after 3 seconds.
___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-devel

AW: dpms with wayland

2019-06-25 Thread Jovic, Vladimir


> -Ursprüngliche Nachricht-
> Von: Pekka Paalanen 
> Gesendet: Dienstag, 25. Juni 2019 16:02
> An: Jovic, Vladimir 
> Cc: wayland-devel@lists.freedesktop.org
> Betreff: Re: dpms with wayland
> 
> On Tue, 25 Jun 2019 13:16:58 +
> "Jovic, Vladimir"  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_Signaling#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?


___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-devel