raspberrypi / bookworm-feedback

13 stars 1 forks source link

Kiosk mode quitting fullscreen after TV turned on. #215

Open ivandolman opened 9 months ago

ivandolman commented 9 months ago

I use kiosk mode on my RPI and it works great, but with Bookworm, every time I turn my TV on, it's not maximized, so I have to restart my RPI. Quite annoying, I've looked for a fix, but couldn't find one. I'm not sure whether this is a feature or a bug, it's very annoying nonetheless.

popcornmix commented 9 months ago

Are you booting with the TV turned off, and later turning it on? Or are you booting with TV turned on, everything is fine, you then turn TV off, and later on, and then have an issue?

ivandolman commented 9 months ago

Second one, I'm booting with TV on, everything is fine, but when I turn of my TV and then turn it on again the problem appears.

lurch commented 9 months ago

ping @nathan-contino in case this is related to https://github.com/raspberrypi/documentation/issues/3184

popcornmix commented 9 months ago

I suspect adding vc4.force_hotplug=1 (assuming you are using hdmi0 - the one closest to power connector) will work around the issue. But the real fix is to stop apps crashing when hotplug changes.

btoconnor commented 8 months ago

I believe I am seeing the same problem. I'm using ddcutil to turn the monitor off / on during certain circumstances. Anytime the monitor is powered off and then on again, the chrome browser is no longer in kiosk mode. I use the --start-maximized flag on my kiosk command, so the window is fullscreen, but it is not in kiosk mode.

Adding vc4.force_hotplug=1 to my /boot/firmware/cmdline.txt file does appear to fix my problem.

Thanks!

thebilberry commented 6 months ago

Same problem for me! Unfortunately, the above mentioned adding of vc4.force_hotplug=1 to /boot/firmware/cmdline.txt did not help. As soon as the display is switched on again, the browser leaves the full screen mode. Any other helpful hints?

sjobbe commented 3 months ago

This is a chromium issue. I have the same problem running a screen for my home automation. I turn on the screen in my technical room and chrome exits kiosk/full screen mode. Firefox does not do this but the problem with Firefox is that it crashes after a day or two displaying Grafana.

I'm left with two shitty options.

jjuzwik commented 1 month ago

@jnormington This is also happening to me, just running chromium in kiosk mode, on a pi5, with a Vizio smartcast enabled tv. If I disconnect the HDMI cord, or if I power off the tv and back on, chromium loses fullscreen. F11 does not fix it either, which is really frustrating. The force hot plug mentioned above, made no difference to this behavior.

Could I use your script to fix this? Maybe some guidance on how to implement it? Thx!