[Solved] Video Screensaver Issue

Post here if you are a new Porteus member and you're looking for some help.
Post Reply
Ghosty
Ronin
Ronin
Posts: 3
Joined: 09 Nov 2017, 20:51
Distribution: 4.5.0

[Solved] Video Screensaver Issue

Post#1 by Ghosty » 30 Nov 2017, 15:46

Hey there, I have an interesting problem.
I have Porteus running on an Intel NUC, in a kiosk, deployed in a mall with a touchscreen monitor and USB keyboard.
It plays a video screensaver with audio, in .mp4 format. I've had it reach the video from my webserver, and then made a custom image and stored it locally.
Reaching the video in either fashion works fantastically, until the kiosk sits for a period of time, playing the screensaver. After about 10 or more minutes, and a user interacts with it to wake it up, it freezes the system.
The video pauses, a page not responding window appears at the top, and the press F11 to exit shows up. However, the video is frozen to the screen, and alt-tabbing, etc., can not minimize it.
The only way out at that point that I've found is to reboot the NUC.

I presumed storing it locally would correct the issue, but it does not. And if a user interacts with it shortly after the screensaver starts, it functions as intended and wakes up to a website page.

Here is my Kiosk Configuration:

Code: Select all

kiosk_config=http://*hidden*/config.txt
connection=wifi
dhcp=yes
wifi_encryption=wpa
wpa_password=*hidden*
ssid_name=*hidden*
browser=chrome
homepage=www.*hidden*
session_idle=1
disable_navigation_bar=yes
disable_private_mode=no
screensaver_idle=3
volume_level=100%
screensaver_video=file:///opt/storage/screensaver.mp4
wallpaper=http://*hidden*
blacklist=www.youtube.com www.facebook.com www.twitter.com www.google.com www.yelp.com *hidden*
scheduled_action=Monday-00:00 Tuesday-00:00 Wednesday-00:00 Thursday-00:00 Friday-00:00 Saturday-00:00 Sunday-00:00 action:reboot
scheduled_action=Monday-07:00 Tuesday-07:00 Wednesday-07:00 Thursday-07:00 Friday-07:00 Saturday-07:00 Sunday-07:00 action:reboot
scheduled_action=Monday-13:00 Tuesday-13:00 Wednesday-13:00 Thursday-01:00 Friday-13:00 Saturday-13:00 Sunday-13:00 action:reboot
scheduled_action=Monday-18:00 Tuesday-18:00 Wednesday-18:00 Thursday-18:00 Friday-18:00 Saturday-18:00 Sunday-18:00 action:reboot
additional_components=uefi.zip 06-fonts.xzm 
Here is my Chrome Configuration; note: I don't actually apply these changes via the config file, I manually compiled these in the modules when I added the video.

Code: Select all

{
  "DefaultGeolocationSetting" : 1,
  "VirtualKeyboardEnabled" : 1,
  "ExtensionInstallWhitelist" : "cldokedgmomhbifmiiogjjkgffhcbaec",
  "DefaultPopupsSetting" : 2,
  "DefaultBrowserSettingEnabled" : false,
  "MetricsReportingEnabled" : false,
  "ExtensionInstallForcelist" : "cldokedgmomhbifmiiogjjkgffhcbaec;https://clients2.google.com/service/update2/crx",
  }
Any input would be greatly appreciated,

Thanks.
Last edited by Ghosty on 30 Nov 2017, 18:05, edited 1 time in total.

User avatar
fanthom
Site Admin
Site Admin
Posts: 4623
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland, currently - Cork, IE
Contact:

Video Screensaver Issue

Post#2 by fanthom » 30 Nov 2017, 17:09

Hi Ghosty,

1) You should post kiosk related issues in the kiosk section of the forum only
2) You should never double parameters in kiosk config as only first one will be processed
3) This policy works for ChromeOS only:
"VirtualKeyboardEnabled" : 1,

Your issue is probably caused by video drivers which (depending on NUC model) may be not good enough for continuous playback
If you had more kiosks which play video then i would consider investing into customized build which would use VLC + hardware acceleration for the screensaver video instead of Chrome + software decoding,

Thanks
Please add [Solved] to your thread title if the solution was found.

Ghosty
Ronin
Ronin
Posts: 3
Joined: 09 Nov 2017, 20:51
Distribution: 4.5.0

Video Screensaver Issue

Post#3 by Ghosty » 30 Nov 2017, 18:05

Fanthom,

1, Duly noted, thank you.
2, Also duly noted, I had my suspicions.
3, Thank you, good to know.

That is interesting, I'll have to try it with something a little beefier then.

Thank you!

Post Reply