Re: [e-users] E 0.25.3 locking resets dpms to Standby: 11 Suspend: 12 Off: 13

2023-10-04 Thread Carsten Haitzler
On Tue, 3 Oct 2023 20:55:26 +0200 Benoît-Pierre Demaine 
said:

> As said earlier, I have a similar issue; my fix was this in .xinitrc . 
> Since that bit of code, I never had the issue again. Issue happens to me 
> when I resume from suspend to ram (not each time, one out of 10).

I don't know what causes it to get into this state - thus don't know how to fix
(and as i don't see it happen myself i can't poke it and see how it wobbles),
but... wouldnmt i just be far easier if this happens to do:

ctrl+alt+end (that just does enlightenment->restart).

e restarts and it should go back to normal (until it triggers again)?

> {
>      # Screen timeout and brightness
>      while true
>      do
>      val=$(xset q | grep timeout: | awk '{print $2}' )
>      [ $val -lt 30 ] && xset s 300
>      xrandr --output LVDS-1 --brightness 1 # 1 is full, 0 i 
> slow; 0.5 is medium
>      echo 4882 > 
> /sys/class/backlight/intel_backlight/brightness # 0 is low, 4882 is max, 
> 600 is medium
>      sleep 10
>      export | grep DISPLAY || exit
>      export | grep DISPLAY || return
>      done
> } &
> 
> 
> 
> 
> On 03/10/2023 19:56, Marc MERLIN wrote:
> > So if there is no solution, should I just stop using the E screensaver
> > and switch back to xlock?
> >
> > On Thu, Sep 28, 2023 at 10:36:15AM -0700, Marc MERLIN wrote:
> >> On Sun, Sep 10, 2023 at 12:14:21PM +0100, Carsten Haitzler wrote:
>  Basically I have this problem:
>  sauron:~$ xset q | tail -4
>  DPMS (Energy Star):
> Standby: 300Suspend: 360Off: 420
> DPMS is Enabled
> Monitor is On
>  sauron:~$ enlightenment_remote -desktop-lock
>  sauron:~$ xset q | tail -4
>  DPMS (Energy Star):
> Standby: 11Suspend: 12Off: 13
> DPMS is Enabled
> Monitor is On
> 
>  I looked in the E settings, my blanking timeout is minutes, and my
>  special timeout when locked is 17 seconds
> 
>  I cannot find where DPMS 11, 12, 11 comes from.
> SNIP
> 
> 
> 
> -- 
>   >o_/ DEMAINE Benoît-Pierre (aka DoubleHP) http://benoit.demaine.info/
> If computing were an exact science, IT engineers would'nt have work \_o<
> 
> "So all that's left, Is the proof that love's not only blind but deaf."
> (FAKE TALES OF SAN FRANCISCO, Arctic Monkeys)
> 
> 
> 
> ___
> enlightenment-users mailing list
> enlightenment-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-users


-- 
- Codito, ergo sum - "I code, therefore I am" --
Carsten Haitzler - ras...@rasterman.com



___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] E 0.25.3 locking resets dpms to Standby: 11 Suspend: 12 Off: 13

2023-10-04 Thread Carsten Haitzler
On Thu, 28 Sep 2023 10:36:15 -0700 Marc MERLIN  said:

> On Sun, Sep 10, 2023 at 12:14:21PM +0100, Carsten Haitzler wrote:
> > > Basically I have this problem:
> > > sauron:~$ xset q | tail -4
> > > DPMS (Energy Star):
> > >   Standby: 300Suspend: 360Off: 420
> > >   DPMS is Enabled
> > >   Monitor is On
> > > sauron:~$ enlightenment_remote -desktop-lock
> > > sauron:~$ xset q | tail -4
> > > DPMS (Energy Star):
> > >   Standby: 11Suspend: 12Off: 13
> > >   DPMS is Enabled
> > >   Monitor is On
> > > 
> > > I looked in the E settings, my blanking timeout is minutes, and my
> > > special timeout when locked is 17 seconds
> > > 
> > > I cannot find where DPMS 11, 12, 11 comes from.
> > 
> > e just sets those to timeout + 10, 11, 12 - so screen blanking time is 1. i
> > don't see this ever happen - i can't really say much. i do not know what
> > logic path causes this.
>  
> Thanks for having a look. On my side it's not happening reliably, so
> havne't pinned it down, although it's definitely linked to the
> screensaver having reset this by the time I unlock the screen.
> I a using E's built in screensaver. I guess I could switch back to xlock
> 
> I just locked with E CTRL+ALT+L, unlocked, and immediately see:
> Screen Saver:
>   prefer blanking:  yesallow exposures:  yes
>   timeout:  300cycle:  300
> 
> DPMS (Energy Star):
>   Standby: 11Suspend: 12Off: 13
>   DPMS is Enabled
> 
> > there it's set to 10 sec. 0 will turn this feature off so it'll just have
> > the usual blanking timeout (e.g. 10min/600sec in this case). once you
> > unlock the screensaver blanking time should go back to the normal amount.
> > you may find the screensaver timeout will be LESS because of backlight
> > dimming. i had it off in the above example. if i have it on and set to 5
> > seconds like:
> > 
> > http://www.enlightenment.org/ss/e-64fda48aa43879.64018673.png
>  
> mmh, bummer, looks like the SS is gone already.
> 
> I assume you referred to "special timeout when screen is locked"?
> If so, I tried to set it to 0, but locking and unlocking brought me back to
> Screen Saver:
>   prefer blanking:  yesallow exposures:  yes
>   timeout:  300cycle:  300
> DPMS (Energy Star):
>   Standby: 11Suspend: 12Off: 13
>   DPMS is Enabled
>   Monitor is On
> 
> So, no dice.
> 
> Any idea what I can try to tweak outside of removing the E screensaver
> altogether?

go to the code and start tracing the logic and modify - add debug until you
find the bit that causes it. i know you're capable of it (just adding printfs
and following functions calling functions) :)

-- 
- Codito, ergo sum - "I code, therefore I am" --
Carsten Haitzler - ras...@rasterman.com



___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] E 0.25.3 locking resets dpms to Standby: 11 Suspend: 12 Off: 13

2023-10-04 Thread Carsten Haitzler
On Tue, 3 Oct 2023 10:56:29 -0700 Marc MERLIN  said:

> So if there is no solution, should I just stop using the E screensaver
> and switch back to xlock?

xlock is not a screensaver. it is a screen locker that responds to screensaver
events which are triggered by screensaver timeout values.

> On Thu, Sep 28, 2023 at 10:36:15AM -0700, Marc MERLIN wrote:
> > On Sun, Sep 10, 2023 at 12:14:21PM +0100, Carsten Haitzler wrote:
> > > > Basically I have this problem:
> > > > sauron:~$ xset q | tail -4
> > > > DPMS (Energy Star):
> > > >   Standby: 300Suspend: 360Off: 420
> > > >   DPMS is Enabled
> > > >   Monitor is On
> > > > sauron:~$ enlightenment_remote -desktop-lock
> > > > sauron:~$ xset q | tail -4
> > > > DPMS (Energy Star):
> > > >   Standby: 11Suspend: 12Off: 13
> > > >   DPMS is Enabled
> > > >   Monitor is On
> > > > 
> > > > I looked in the E settings, my blanking timeout is minutes, and my
> > > > special timeout when locked is 17 seconds
> > > > 
> > > > I cannot find where DPMS 11, 12, 11 comes from.
> > > 
> > > e just sets those to timeout + 10, 11, 12 - so screen blanking time is 1.
> > > i don't see this ever happen - i can't really say much. i do not know
> > > what logic path causes this.
> >  
> > Thanks for having a look. On my side it's not happening reliably, so
> > havne't pinned it down, although it's definitely linked to the
> > screensaver having reset this by the time I unlock the screen.
> > I a using E's built in screensaver. I guess I could switch back to xlock
> > 
> > I just locked with E CTRL+ALT+L, unlocked, and immediately see:
> > Screen Saver:
> >   prefer blanking:  yesallow exposures:  yes
> >   timeout:  300cycle:  300
> > 
> > DPMS (Energy Star):
> >   Standby: 11Suspend: 12Off: 13
> >   DPMS is Enabled
> > 
> > > there it's set to 10 sec. 0 will turn this feature off so it'll just have
> > > the usual blanking timeout (e.g. 10min/600sec in this case). once you
> > > unlock the screensaver blanking time should go back to the normal amount.
> > > you may find the screensaver timeout will be LESS because of backlight
> > > dimming. i had it off in the above example. if i have it on and set to 5
> > > seconds like:
> > > 
> > > http://www.enlightenment.org/ss/e-64fda48aa43879.64018673.png
> >  
> > mmh, bummer, looks like the SS is gone already.
> > 
> > I assume you referred to "special timeout when screen is locked"?
> > If so, I tried to set it to 0, but locking and unlocking brought me back to
> > Screen Saver:
> >   prefer blanking:  yesallow exposures:  yes
> >   timeout:  300cycle:  300
> > DPMS (Energy Star):
> >   Standby: 11Suspend: 12Off: 13
> >   DPMS is Enabled
> >   Monitor is On
> > 
> > So, no dice.
> > 
> > Any idea what I can try to tweak outside of removing the E screensaver
> > altogether?
> > 
> > Thanks,
> > Marc
> > -- 
> > "A mouse is a device used to point at the xterm you want to type in" -
> > A.S.R. 
> > Home page: http://marc.merlins.org/   | PGP
> > 7F55D5F27AAF9D08
> > 
> > 
> > ___
> > enlightenment-users mailing list
> > enlightenment-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/enlightenment-users
> > 
> 
> -- 
> "A mouse is a device used to point at the xterm you want to type in" - A.S.R.
>  
> Home page: http://marc.merlins.org/   | PGP
> 7F55D5F27AAF9D08
> 
> 
> ___
> enlightenment-users mailing list
> enlightenment-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-users
> 


-- 
- Codito, ergo sum - "I code, therefore I am" --
Carsten Haitzler - ras...@rasterman.com



___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] E 0.25.3 locking resets dpms to Standby: 11 Suspend: 12 Off: 13

2023-10-03 Thread Benoît-Pierre Demaine
in my config, I can see some values close to the ones I may get after 
suspend, in

Config>Screen>Blanking
and
Config>Screen>Backlight

Those config are claimed to be ignored, because the values are assigned 
to fields that are disabled, but, maybe some glitch goes to read and use 
those values dispite the unticked box ...


I should not have any interfeerence with other tools. 15y ago I used to 
mix E with some Gnome and KDE components; but today, my current conf is 
clean from this kind of mix. I do use DBus, but no funky component 
should be able to mess E via DBus. 2 years I have this funny glitch 
after suspend, and never could correlate it with anything in particular. 
Especially in my case, it does not occur frequently or reliably; it's 
"some times".


The only thing that could be a lead, may be the fact I unplug the power 
of my laptop during the suspend to ram; that was the best lead I had: go 
sleep wired to live, unplug, and wakeup without PSU. That increased the 
probability to a good 30%. I am using Debian, and I probably have the 
package LaptopTools. Maybe some sysconf catches power-unplug and tries 
to overwrite X timeouts, and, for some reason, E does not catch them ... 
(race concurencies).


Just thoughts.

The glitch is very ennoying, but, the fix was easy. So even if this 
technically renders the system completely unusable ... I don't class it 
as critical, cause the fix is just trivial. So, WA it, and forget it.


By over scripting / rewraping the sleep command, it could be possible to 
dump the system (list all process, check APM states) before sleep, just 
after, and track which process or event could correlate with a DPMS change.


Linux is becoming a very complex system, and I don't have time anymore 
to track the root cause of every single issue. And it may not be E ...


But if you do:
- rewrap the sleep commands
- check if the values after sleep match the E config that should be ignored
- try to correlate with any event that could be catched by laptop-tools 
(sleep by keyboard shortcut to BIOS, sleep by LID, PSU disconnexion, 
temperatures ... )



On 03/10/2023 23:22, Marc MERLIN wrote:

On Tue, Oct 03, 2023 at 08:55:26PM +0200, Benoît-Pierre Demaine wrote:

As said earlier, I have a similar issue; my fix was this in .xinitrc . Since
that bit of code, I never had the issue again. Issue happens to me when I
resume from suspend to ram (not each time, one out of 10).
  
Thanks. I can go into workarounds like this one indeed, but kind of was

hoping the root cause would be identified and fixed in E, or somehow a
setting I'm missing.
  



--
 >o_/ DEMAINE Benoît-Pierre (aka DoubleHP) http://benoit.demaine.info/
If computing were an exact science, IT engineers would'nt have work \_o<

"So all that's left, Is the proof that love's not only blind but deaf."
(FAKE TALES OF SAN FRANCISCO, Arctic Monkeys)



___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] E 0.25.3 locking resets dpms to Standby: 11 Suspend: 12 Off: 13

2023-10-03 Thread Marc MERLIN
On Tue, Oct 03, 2023 at 08:55:26PM +0200, Benoît-Pierre Demaine wrote:
> As said earlier, I have a similar issue; my fix was this in .xinitrc . Since
> that bit of code, I never had the issue again. Issue happens to me when I
> resume from suspend to ram (not each time, one out of 10).
 
Thanks. I can go into workarounds like this one indeed, but kind of was
hoping the root cause would be identified and fixed in E, or somehow a
setting I'm missing.
 
> {
>     # Screen timeout and brightness
>     while true
>     do
>     val=$(xset q | grep timeout: | awk '{print $2}' )
>     [ $val -lt 30 ] && xset s 300
>     xrandr --output LVDS-1 --brightness 1 # 1 is full, 0 i slow;
> 0.5 is medium
>     echo 4882 > /sys/class/backlight/intel_backlight/brightness
> # 0 is low, 4882 is max, 600 is medium
>     sleep 10
>     export | grep DISPLAY || exit
>     export | grep DISPLAY || return
>     done
> } &
> 
> 
> 
> 
> On 03/10/2023 19:56, Marc MERLIN wrote:
> > So if there is no solution, should I just stop using the E screensaver
> > and switch back to xlock?
> > 
> > On Thu, Sep 28, 2023 at 10:36:15AM -0700, Marc MERLIN wrote:
> > > On Sun, Sep 10, 2023 at 12:14:21PM +0100, Carsten Haitzler wrote:
> > > > > Basically I have this problem:
> > > > > sauron:~$ xset q | tail -4
> > > > > DPMS (Energy Star):
> > > > >Standby: 300Suspend: 360Off: 420
> > > > >DPMS is Enabled
> > > > >Monitor is On
> > > > > sauron:~$ enlightenment_remote -desktop-lock
> > > > > sauron:~$ xset q | tail -4
> > > > > DPMS (Energy Star):
> > > > >Standby: 11Suspend: 12Off: 13
> > > > >DPMS is Enabled
> > > > >Monitor is On
> > > > > 
> > > > > I looked in the E settings, my blanking timeout is minutes, and my
> > > > > special timeout when locked is 17 seconds
> > > > > 
> > > > > I cannot find where DPMS 11, 12, 11 comes from.
> SNIP
> 
> 
> 
> -- 
>  >o_/ DEMAINE Benoît-Pierre (aka DoubleHP) http://benoit.demaine.info/
> If computing were an exact science, IT engineers would'nt have work \_o<
> 
> "So all that's left, Is the proof that love's not only blind but deaf."
> (FAKE TALES OF SAN FRANCISCO, Arctic Monkeys)
> 
> 

-- 
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
 
Home page: http://marc.merlins.org/   | PGP 7F55D5F27AAF9D08


___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] E 0.25.3 locking resets dpms to Standby: 11 Suspend: 12 Off: 13

2023-10-03 Thread Benoît-Pierre Demaine
As said earlier, I have a similar issue; my fix was this in .xinitrc . 
Since that bit of code, I never had the issue again. Issue happens to me 
when I resume from suspend to ram (not each time, one out of 10).



{
    # Screen timeout and brightness
    while true
    do
    val=$(xset q | grep timeout: | awk '{print $2}' )
    [ $val -lt 30 ] && xset s 300
    xrandr --output LVDS-1 --brightness 1 # 1 is full, 0 i 
slow; 0.5 is medium
    echo 4882 > 
/sys/class/backlight/intel_backlight/brightness # 0 is low, 4882 is max, 
600 is medium

    sleep 10
    export | grep DISPLAY || exit
    export | grep DISPLAY || return
    done
} &




On 03/10/2023 19:56, Marc MERLIN wrote:

So if there is no solution, should I just stop using the E screensaver
and switch back to xlock?

On Thu, Sep 28, 2023 at 10:36:15AM -0700, Marc MERLIN wrote:

On Sun, Sep 10, 2023 at 12:14:21PM +0100, Carsten Haitzler wrote:

Basically I have this problem:
sauron:~$ xset q | tail -4
DPMS (Energy Star):
   Standby: 300Suspend: 360Off: 420
   DPMS is Enabled
   Monitor is On
sauron:~$ enlightenment_remote -desktop-lock
sauron:~$ xset q | tail -4
DPMS (Energy Star):
   Standby: 11Suspend: 12Off: 13
   DPMS is Enabled
   Monitor is On

I looked in the E settings, my blanking timeout is minutes, and my
special timeout when locked is 17 seconds

I cannot find where DPMS 11, 12, 11 comes from.

SNIP



--
 >o_/ DEMAINE Benoît-Pierre (aka DoubleHP) http://benoit.demaine.info/
If computing were an exact science, IT engineers would'nt have work \_o<

"So all that's left, Is the proof that love's not only blind but deaf."
(FAKE TALES OF SAN FRANCISCO, Arctic Monkeys)



___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] E 0.25.3 locking resets dpms to Standby: 11 Suspend: 12 Off: 13

2023-10-03 Thread Marc MERLIN
So if there is no solution, should I just stop using the E screensaver
and switch back to xlock?

On Thu, Sep 28, 2023 at 10:36:15AM -0700, Marc MERLIN wrote:
> On Sun, Sep 10, 2023 at 12:14:21PM +0100, Carsten Haitzler wrote:
> > > Basically I have this problem:
> > > sauron:~$ xset q | tail -4
> > > DPMS (Energy Star):
> > >   Standby: 300Suspend: 360Off: 420
> > >   DPMS is Enabled
> > >   Monitor is On
> > > sauron:~$ enlightenment_remote -desktop-lock
> > > sauron:~$ xset q | tail -4
> > > DPMS (Energy Star):
> > >   Standby: 11Suspend: 12Off: 13
> > >   DPMS is Enabled
> > >   Monitor is On
> > > 
> > > I looked in the E settings, my blanking timeout is minutes, and my
> > > special timeout when locked is 17 seconds
> > > 
> > > I cannot find where DPMS 11, 12, 11 comes from.
> > 
> > e just sets those to timeout + 10, 11, 12 - so screen blanking time is 1. i
> > don't see this ever happen - i can't really say much. i do not know what 
> > logic
> > path causes this.
>  
> Thanks for having a look. On my side it's not happening reliably, so
> havne't pinned it down, although it's definitely linked to the
> screensaver having reset this by the time I unlock the screen.
> I a using E's built in screensaver. I guess I could switch back to xlock
> 
> I just locked with E CTRL+ALT+L, unlocked, and immediately see:
> Screen Saver:
>   prefer blanking:  yesallow exposures:  yes
>   timeout:  300cycle:  300
> 
> DPMS (Energy Star):
>   Standby: 11Suspend: 12Off: 13
>   DPMS is Enabled
> 
> > there it's set to 10 sec. 0 will turn this feature off so it'll just have 
> > the
> > usual blanking timeout (e.g. 10min/600sec in this case). once you unlock the
> > screensaver blanking time should go back to the normal amount. you may find 
> > the
> > screensaver timeout will be LESS because of backlight dimming. i had it off 
> > in
> > the above example. if i have it on and set to 5 seconds like:
> > 
> > http://www.enlightenment.org/ss/e-64fda48aa43879.64018673.png
>  
> mmh, bummer, looks like the SS is gone already.
> 
> I assume you referred to "special timeout when screen is locked"?
> If so, I tried to set it to 0, but locking and unlocking brought me back to
> Screen Saver:
>   prefer blanking:  yesallow exposures:  yes
>   timeout:  300cycle:  300
> DPMS (Energy Star):
>   Standby: 11Suspend: 12Off: 13
>   DPMS is Enabled
>   Monitor is On
> 
> So, no dice.
> 
> Any idea what I can try to tweak outside of removing the E screensaver 
> altogether?
> 
> Thanks,
> Marc
> -- 
> "A mouse is a device used to point at the xterm you want to type in" - A.S.R.
>  
> Home page: http://marc.merlins.org/   | PGP 
> 7F55D5F27AAF9D08
> 
> 
> ___
> enlightenment-users mailing list
> enlightenment-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-users
> 

-- 
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
 
Home page: http://marc.merlins.org/   | PGP 7F55D5F27AAF9D08


___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] E 0.25.3 locking resets dpms to Standby: 11 Suspend: 12 Off: 13

2023-09-28 Thread Marc MERLIN
On Sun, Sep 10, 2023 at 12:14:21PM +0100, Carsten Haitzler wrote:
> > Basically I have this problem:
> > sauron:~$ xset q | tail -4
> > DPMS (Energy Star):
> >   Standby: 300Suspend: 360Off: 420
> >   DPMS is Enabled
> >   Monitor is On
> > sauron:~$ enlightenment_remote -desktop-lock
> > sauron:~$ xset q | tail -4
> > DPMS (Energy Star):
> >   Standby: 11Suspend: 12Off: 13
> >   DPMS is Enabled
> >   Monitor is On
> > 
> > I looked in the E settings, my blanking timeout is minutes, and my
> > special timeout when locked is 17 seconds
> > 
> > I cannot find where DPMS 11, 12, 11 comes from.
> 
> e just sets those to timeout + 10, 11, 12 - so screen blanking time is 1. i
> don't see this ever happen - i can't really say much. i do not know what logic
> path causes this.
 
Thanks for having a look. On my side it's not happening reliably, so
havne't pinned it down, although it's definitely linked to the
screensaver having reset this by the time I unlock the screen.
I a using E's built in screensaver. I guess I could switch back to xlock

I just locked with E CTRL+ALT+L, unlocked, and immediately see:
Screen Saver:
  prefer blanking:  yesallow exposures:  yes
  timeout:  300cycle:  300

DPMS (Energy Star):
  Standby: 11Suspend: 12Off: 13
  DPMS is Enabled

> there it's set to 10 sec. 0 will turn this feature off so it'll just have the
> usual blanking timeout (e.g. 10min/600sec in this case). once you unlock the
> screensaver blanking time should go back to the normal amount. you may find 
> the
> screensaver timeout will be LESS because of backlight dimming. i had it off in
> the above example. if i have it on and set to 5 seconds like:
> 
> http://www.enlightenment.org/ss/e-64fda48aa43879.64018673.png
 
mmh, bummer, looks like the SS is gone already.

I assume you referred to "special timeout when screen is locked"?
If so, I tried to set it to 0, but locking and unlocking brought me back to
Screen Saver:
  prefer blanking:  yesallow exposures:  yes
  timeout:  300cycle:  300
DPMS (Energy Star):
  Standby: 11Suspend: 12Off: 13
  DPMS is Enabled
  Monitor is On

So, no dice.

Any idea what I can try to tweak outside of removing the E screensaver 
altogether?

Thanks,
Marc
-- 
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
 
Home page: http://marc.merlins.org/   | PGP 7F55D5F27AAF9D08


___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] E 0.25.3 locking resets dpms to Standby: 11 Suspend: 12 Off: 13

2023-09-10 Thread Carsten Haitzler
On Fri, 11 Aug 2023 13:43:38 -0700 Marc MERLIN  said:

> Basically I have this problem:
> sauron:~$ xset q | tail -4
> DPMS (Energy Star):
>   Standby: 300Suspend: 360Off: 420
>   DPMS is Enabled
>   Monitor is On
> sauron:~$ enlightenment_remote -desktop-lock
> sauron:~$ xset q | tail -4
> DPMS (Energy Star):
>   Standby: 11Suspend: 12Off: 13
>   DPMS is Enabled
>   Monitor is On
> 
> I looked in the E settings, my blanking timeout is minutes, and my
> special timeout when locked is 17 seconds
> 
> I cannot find where DPMS 11, 12, 11 comes from.

e just sets those to timeout + 10, 11, 12 - so screen blanking time is 1. i
don't see this ever happen - i can't really say much. i do not know what logic
path causes this.

you should normally see:

Screen Saver:
  prefer blanking:  yesallow exposures:  yes
  timeout:  600cycle:  0
DPMS (Display Power Management Signaling):
  Standby: 610Suspend: 611Off: 612
  DPMS is Enabled
  Monitor is On

for example. there is a special timeout - this is used specifically when the
screen is locked and the sfreen wakes from suspend - it's a very short timeout
designed to send the screen back to blank within a very short space of time to
save power if you just bump the mouse or something while blanked and you don't
enter your password to unlock.

http://www.enlightenment.org/ss/e-64fda3f2774861.83178777.png

there it's set to 10 sec. 0 will turn this feature off so it'll just have the
usual blanking timeout (e.g. 10min/600sec in this case). once you unlock the
screensaver blanking time should go back to the normal amount. you may find the
screensaver timeout will be LESS because of backlight dimming. i had it off in
the above example. if i have it on and set to 5 seconds like:

http://www.enlightenment.org/ss/e-64fda48aa43879.64018673.png

then i see something different:

Screen Saver:
  prefer blanking:  yesallow exposures:  yes
  timeout:  5cycle:  0
DPMS (Display Power Management Signaling):
  Standby: 610Suspend: 611Off: 612
  DPMS is Enabled
  Monitor is On

e uses the screensaver timeout event to know when you've gone idle and then
dims the screen. it uses a process--side timer to then eventually force a blank
of the screen unless the screensaver is woken up then it resets this.

so hat screen saver timeout is set to and dpms is set to is not a simple 1:1
relationship. there are a lot of moving parts depending on all the things you
may or may not have enabled and what they are set to and depending on the
current state of things.

> I have to keep resetting it after I unlock, with
> sauron:~$ xset dpms 311 312 313 
> 
> Any ideas?
> 
> Thanks,
> Marc
> -- 
> "A mouse is a device used to point at the xterm you want to type in" - A.S.R.
>  
> Home page: http://marc.merlins.org/   | PGP
> 7F55D5F27AAF9D08
> 
> 
> ___
> enlightenment-users mailing list
> enlightenment-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-users
> 


-- 
- Codito, ergo sum - "I code, therefore I am" --
Carsten Haitzler - ras...@rasterman.com



___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] E 0.25.3 locking resets dpms to Standby: 11 Suspend: 12 Off: 13

2023-09-09 Thread Marc MERLIN
Hi Raster,

I still have this issue daily.  Any ideas?

On Fri, Aug 11, 2023 at 11:27:46PM +0200, Benoît-Pierre Demaine wrote:
> I have a similar problem sometimes when I come out from suspend to RAM, my
> sleep time gets set to 10s instead of 600. About once a month. Never could
> track it.
> 
> On 11/08/2023 22:43, Marc MERLIN wrote:
> > Basically I have this problem:
> > sauron:~$ xset q | tail -4
> > DPMS (Energy Star):
> >Standby: 300Suspend: 360Off: 420
> >DPMS is Enabled
> >Monitor is On
> > sauron:~$ enlightenment_remote -desktop-lock
> > sauron:~$ xset q | tail -4
> > DPMS (Energy Star):
> >Standby: 11Suspend: 12Off: 13
> >DPMS is Enabled
> >Monitor is On
> > 
> > I looked in the E settings, my blanking timeout is minutes, and my
> > special timeout when locked is 17 seconds
> > 
> > I cannot find where DPMS 11, 12, 11 comes from.
> > 
> > I have to keep resetting it after I unlock, with
> > sauron:~$ xset dpms 311 312 313
> > 
> > Any ideas?
> > 
> > Thanks,
> > Marc
> 
> 
> -- 
>  >o_/ DEMAINE Benoît-Pierre (aka DoubleHP) http://benoit.demaine.info/
> If computing were an exact science, IT engineers would'nt have work \_o<
> 
> "So all that's left, Is the proof that love's not only blind but deaf."
> (FAKE TALES OF SAN FRANCISCO, Arctic Monkeys)
> 
> 

-- 
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
 
Home page: http://marc.merlins.org/  


___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] E 0.25.3 locking resets dpms to Standby: 11 Suspend: 12 Off: 13

2023-08-11 Thread Marc MERLIN
If that helps, my settings
-- 
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
 
Home page: http://marc.merlins.org/   | PGP 7F55D5F27AAF9D08

___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] E 0.25.3 locking resets dpms to Standby: 11 Suspend: 12 Off: 13

2023-08-11 Thread Benoît-Pierre Demaine
I have a similar problem sometimes when I come out from suspend to RAM, 
my sleep time gets set to 10s instead of 600. About once a month. Never 
could track it.


On 11/08/2023 22:43, Marc MERLIN wrote:

Basically I have this problem:
sauron:~$ xset q | tail -4
DPMS (Energy Star):
   Standby: 300Suspend: 360Off: 420
   DPMS is Enabled
   Monitor is On
sauron:~$ enlightenment_remote -desktop-lock
sauron:~$ xset q | tail -4
DPMS (Energy Star):
   Standby: 11Suspend: 12Off: 13
   DPMS is Enabled
   Monitor is On

I looked in the E settings, my blanking timeout is minutes, and my
special timeout when locked is 17 seconds

I cannot find where DPMS 11, 12, 11 comes from.

I have to keep resetting it after I unlock, with
sauron:~$ xset dpms 311 312 313

Any ideas?

Thanks,
Marc



--
 >o_/ DEMAINE Benoît-Pierre (aka DoubleHP) http://benoit.demaine.info/
If computing were an exact science, IT engineers would'nt have work \_o<

"So all that's left, Is the proof that love's not only blind but deaf."
(FAKE TALES OF SAN FRANCISCO, Arctic Monkeys)



___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users