Phosh: Idles to Lockscreen Without Powering Off Display
#1
I have my Pinephone with Arch+Phosh installed set to turn off the display after one minute, the problem is that instead of turning off the display it will switch to the lock screen and stay powered on indefinitely. This is remedied when I restart Phosh with
Code:
# systemctl restart phosh.service
then it will behave as expected and power off the screen after one minute and the problem is gone until I reboot.

I've re-installed Arch+Phosh but the problem persists. It's a custom build so it could be one of a hundred things causing this to happen.

I looked to see if anyone else was having this problem but I couldn't find anything about it. I played around with the phosh.service file thinking  the problem had something to do with the order Phosh is started but I haven't gotten anything to work. Anyone have this problem?

Edit: I solved the problem, it was caused by
Code:
/usr/bin/gjs /usr/share/gnome-shell/org.gnome.ScreenSaver
running at boot causing conflict with the screen turning off. I renamed org.gnome.ScreenSaver to org.gnome.ScreenSaver.bak effectively disabling it and the problem went away.
  Reply
#2
I actually think this is some sort of GNOME overall bug. It happens with GNOME 3, too, on my x64 machine: launch any application that inhibits screensaver. Naturally (and as expected), this now will block the automatic screen turn-off and lock screen while you still see your desktop. BUT if you now lock the screen manually, where GNOME 3 usually will turn it off after in seconds, it suddenly is shown forever - even though that makes absolutely no sense IMHO: the entire point of screensaver inhibit is to keep something visible like a video with with no user interaction, which of course already is a lost battle when the screen was locked (no video visible anymore then, is it?). Preventing a further power save via screen turn-off at this point just seems super pointless to me. Maybe preventing suspend actually makes sense so audio players can use it, but keeping the lock screen lit up feels like a conceptual bug/design mistake with only disadvantages.

So it might probably make sense to report it at https://gitlab.gnome.org/ but don't ask me for which subproject.
Away
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [Video] PinePhone Touchscreen on NuttX: MIPI DSI, Display Engine, Touch Panel lupyuen 2 1,704 09-29-2023, 11:37 PM
Last Post: lupyuen
Photo Mobian with X11 without Wayland and Phosh. Manieck71 0 1,403 09-09-2023, 07:35 AM
Last Post: Manieck71
  How to disable lock screen in Phosh? lat 14 16,630 03-31-2023, 04:17 AM
Last Post: Eugo
  Article: NuttX RTOS for PinePhone: Display Engine lupyuen 0 1,481 12-22-2022, 06:01 PM
Last Post: lupyuen
  Article: NuttX RTOS for PinePhone: MIPI Display Serial Interface lupyuen 0 1,329 12-14-2022, 05:49 PM
Last Post: lupyuen
  Fedora + Phosh for PinePhone njha 74 151,136 12-12-2022, 10:19 PM
Last Post: wcdeich4@hotmail.com
  Article: Rendering PinePhone's Display (DE and TCON0) lupyuen 0 1,438 10-29-2022, 06:09 PM
Last Post: lupyuen
  Article: NuttX RTOS for PinePhone: Display Driver in Zig lupyuen 0 1,368 10-17-2022, 07:02 PM
Last Post: lupyuen
  Article: Understanding PinePhone's Display (MIPI DSI) lupyuen 2 2,269 10-01-2022, 05:52 PM
Last Post: lupyuen
  Enable 'upcoming-events' on Mobian/Phosh Korac 3 3,026 09-14-2022, 01:19 AM
Last Post: dukla2000

Forum Jump:


Users browsing this thread: 1 Guest(s)