Monitor off/on kills gphotoshow

Post your questions, bug reports and feature requests here
Post Reply
halj78727
Posts: 11
Joined: Mon Mar 01, 2021 1:41 am

Monitor off/on kills gphotoshow

Post by halj78727 »

I upgraded and installed V10.0.3 a few days ago running on Windows 11 current version. I've found that every time the monitor is turned off and then on again, gPhotoShow has been stopped - it just shows the Windows desktop. There are two ways the monitor off/on sequence can be done, but the result is the same. 1. Using UDP/TCP app to send monitor off/on, or 2. Having a scheduled monitor off/on.

Anyone else seeing this?
User avatar
gpb
Site Admin
Posts: 944
Joined: Mon Dec 19, 2011 1:23 am

Re: Monitor off/on kills gphotoshow

Post by gpb »

Hello,
It's a normal windows behavior. From some Windows 10 update when monitor is turned off by power management Windows kills the screen saver. As far as I know there is nothing to do to prevent this behavior.
If you are running gPhotoShow on unattended computer you could run it as Slideshow Maker instead of screen saver, in this case Windows will not kill it when monitor is turned off.
Gianpaolo Bottin
gPhotoShow.com
halj78727
Posts: 11
Joined: Mon Mar 01, 2021 1:41 am

Re: Monitor off/on kills gphotoshow

Post by halj78727 »

I am surprised by this answer. It was working until recently and I have been using Windows 11 for a long time. I think I am running it as SlideShow Maker. I followed the instructions on your website for setting up a Photo Frame and it runs gPhotoShow immediately after Windows is booted.

Also, I have gPhotoShow as the screen saver but it doesn't turn on after the 3 minutes I've set.

Thank you!
User avatar
gpb
Site Admin
Posts: 944
Joined: Mon Dec 19, 2011 1:23 am

Re: Monitor off/on kills gphotoshow

Post by gpb »

If you are running gPhotoShow Pro as slideshow maker as explained in the "Digital Photo Frame" article then you should have no problems when monitor is turned off and no issues to start the program.

When using gPhotoShow as a screen saver, Windows controls the program's startup and kills it when monitor is tuned off. There is very few you can do about this.
Gianpaolo Bottin
gPhotoShow.com
halj78727
Posts: 11
Joined: Mon Mar 01, 2021 1:41 am

Re: Monitor off/on kills gphotoshow

Post by halj78727 »

To follow up on this... I turned on detailed logging and generated the attached file. You can see where I sent the Monitor Off via UDP about half way down the file. Then I send a Monitor On. The monitor does turn on but the Windows Desktop is displayed. In the Error Log, you can see that the Monitor On is received and then a bunch of junk is recorded. I eventually press a key on the keyboard and gPhotoShow Pro exits. If I had left it running, the Screen Saver that I have set to start after 1 minute, does not start because gPhotoShow Pro is still running.

Is there anything you can do to solve this?

Thanks!
Attachments
gPhotoShow.log
(52.44 KiB) Downloaded 75 times
User avatar
gpb
Site Admin
Posts: 944
Joined: Mon Dec 19, 2011 1:23 am

Re: Monitor off/on kills gphotoshow

Post by gpb »

I have a mini-pc with the an Intel Celeron and the same UHD Graphics 600, and I have the same issue. Unfortunately the drivers of this display adapter have several bugs, when monitor is turned on gPhotoShow works normally but the OpenGL window doesn't display anything until it is destroyed and created again.
I am turning off the monitor during the night using MonitorOnOFF plugin, I had to add a checkbox to restart gPhotoShow on resume. In this way most of the times it works.
If you are sending UDP commands send the command to restart gPhotoShow after turning on the monitor.
You could also try the DX version of gPhotoShow, I didn't try it because I need the GL one
Gianpaolo Bottin
gPhotoShow.com
halj78727
Posts: 11
Joined: Mon Mar 01, 2021 1:41 am

Re: Monitor off/on kills gphotoshow

Post by halj78727 »

I just switched to the DX version. Fewer 2D transitions but the monitor On/Off now works as it should.

Thank you so much for your help! I could not have done it without you.
Post Reply