We use several Pis for signage.
The usage is simply full screen browsers pointing to a web page that rotates images every X seconds (done via JavaScript with fades, etc. provided by jQuery; 1920x1080 images).
We were/are using several Raspberry Pi 1B+'s in combination with Chromium, and things worked fine.
Then we got the Pi 2s, and have had no luck with browsers.
With Chromium:
After the first or second slide is shown, suddenly the next (and all following) slide is shrunk to (the left) half the screen. if it rotates through them all, back to the original one that worked, it's not half the screen as well.
The mouse pointer will move onto the right, "blank" side, so that half of the screen is still active.
Simply hitting F5 to refresh the browser once seems to fix it indefinitely, until after the next reboot, when things repeat as described.
- We tested it off and on for a couple months (doing updates each time, etc.), and the problem remained.
- Tried turning off the theme(s) - no help.
- Tried multiple PI2's, same problem.
Reinstalled Raspbian from scratch and setup everything by hand more than once, trying different SD cards as well, same problem.
Launching the browser in windowed mode instead, seems to work fine indefinitely.
With Epiphany and KWeb:
Decided that perhaps using a Webkit3 browser would give us better results.
With both Epiphany and KWeb the browser will start and do it's thing, but then as some random(?) point the browser will just vanish from the screen, showing the desktop (which looks and works fine). Sometimes its within a couple minutes, sometimes it seems to last hours.
Settled on continuing testing with KWeb.
- Trying the Webkit2 version didn't help -- same problem.
- Using Memory Split settings to give more memory to the GPU doesn't help.
- Ensuring all overclocking is turned off -- same problem.
When it vanishes, it doesn't appear to actually be crashing:
- I can't find anything related to it in
/var/log
(no mention of "KWeb", no mention of its process, no mention of the kernel killing it because of memory consumption or alike, nothing that seem related happens at the approximate time it vanishes). - The KWeb process is still running (and can be killed from a terminal instantly, and without complaint).
Other bits:
- We were using a jQuery plugin to do the image rotation (jQuery cycle).
- Ensuring it's the latest version didn't help.
- Made a new test HTML page that just uses jQuery fades, with my own timers, etc. instead of the plugin -- same problems.
- We were using jQuery 1.4 on the site, setup the new test page to use jQuery v2.2 (latest right now) instead -- no difference.
So, any ideas on what the heck is going on, or what else I can/should be looking at/testing to figure it out?