Hi Vladimir On Tue, 25 Jun 2019 at 18:05, Pekka Paalanen <[email protected]> wrote: > > On Tue, 25 Jun 2019 14:51:08 +0000 > "Jovic, Vladimir" <[email protected]> wrote: > > > > -----Ursprüngliche Nachricht----- > > > Von: Pekka Paalanen <[email protected]> > > > Gesendet: Dienstag, 25. Juni 2019 16:37 > > > An: Jovic, Vladimir <[email protected]> > > > Cc: [email protected] > > > Betreff: Re: dpms with wayland > > > > > > On Tue, 25 Jun 2019 14:07:51 +0000 > > > "Jovic, Vladimir" <[email protected]> wrote: > > > > > > > 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. > > Does the screen at least go black? > > There may be a secondary timeout before it goes off, I've forgot > how it works. I'm pretty sure it should go off with the > DRM-backend, but maybe that has regressed then.
The dpms handling is implemented in the compositor-drm but it requires trigger from somewhere, e.g. shell :-) compositor will fire a idle_signal and shell can register for this and trigger the dpms handling. the "-i" will configure the timeout for this signal > > It should work with the desktop-shell, but since you are using > ivi-shell, I'm not sure it's implemented. No, ivi-shell is not implementing the idle_signal handler, since same question was asked in [email protected] I will provide details how to implement this feature with wayland-ivi-extension there thanks jeka > > > Thanks, > pq > _______________________________________________ > wayland-devel mailing list > [email protected] > https://lists.freedesktop.org/mailman/listinfo/wayland-devel _______________________________________________ wayland-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/wayland-devel
