Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chromium exists Kiosk mode after resolution change or monitor on/off #54

Open
lentomajava opened this issue Nov 18, 2024 · 3 comments
Open

Comments

@lentomajava
Copy link

lentomajava commented Nov 18, 2024

Description

We have a problem with the new raspberry image with wayland/labwc when using the chromium browser in Kiosk mode.
When we turn off the monitor chromium drops out of full screen mode into a window and the kiosk mode is no longer full screen.
This is not the case with X11 installation.

/usr/bin/chromium --version
Chromium 130.0.6723.116 built on Debian GNU/Linux 12 (bookworm)
(1:130.0.6723.116-1~deb12u1+rpt1)

Expected Behaviour

Chromium should stay in full-screen Kiosk mode.

Steps to reproduce the problem

Here are the commands to reproduce the issue:

/usr/bin/chromium --enable-logging --v=1 --kiosk --enable-features=OverlayScrollbar --ozone-platform=wayland https://www.raspberrypi.com/

image

# page displayed full screen, in kiosk mode
wlr-randr --output HDMI-A-1 --mode 1920x1080@60Hz --off
# page turns into a small window
wlr-randr --output HDMI-A-1 --mode 1920x1080@60Hz --on

image

$ cat .config/chromium/chrome_debug.log
2486:2486:1118/114345.584357:VERBOSE1:device_event_log_impl.cc(203)] [11:43:45.579] Display: EVENT: wayland_screen.cc:198 Displays updated, count: 0
[2486:2486:1118/114345.688798:VERBOSE1:device_event_log_impl.cc(203)] [11:43:45.688] Display: EVENT: wayland_screen.cc:157 Displays updated, count: 1
[2486:2486:1118/114345.689214:VERBOSE1:device_event_log_impl.cc(203)] [11:43:45.688] Display: EVENT: wayland_screen.cc:160 Display[47] bounds=[0,0 1920x1080], workarea=[0,0 1920x1080], scale=1, rotation=0, panel_rotation=0 external detected
[2486:2486:1118/114345.690084:VERBOSE1:device_event_log_impl.cc(203)] [11:43:45.689] Display: EVENT: wayland_screen.cc:157 Displays updated, count: 1
[2486:2486:1118/114345.690356:VERBOSE1:device_event_log_impl.cc(203)] [11:43:45.690] Display: EVENT: wayland_screen.cc:160 Display[47] bounds=[0,0 1920x1080], workarea=[0,0 1920x1080], scale=1, rotation=0, panel_rotation=0 external detected
[2486:2486:1118/114345.690844:VERBOSE1:device_event_log_impl.cc(203)] [11:43:45.690] Display: EVENT: wayland_screen.cc:157 Displays updated, count: 1
[2486:2486:1118/114345.691037:VERBOSE1:device_event_log_impl.cc(203)] [11:43:45.690] Display: EVENT: wayland_screen.cc:160 Display[47] bounds=[0,0 1920x1080], workarea=[0,0 1920x1080], scale=1, rotation=0, panel_rotation=0 external detected

System Information
------------------

Raspberry Pi 4 Model B Rev 1.5
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"

Raspberry Pi reference 2024-10-22
Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, ecda2579ebbc125b321984c571e3128f6fd959d4, stage4

Linux <name> 6.6.60-v8+ #1814 SMP PREEMPT Mon Nov 11 16:18:28 GMT 2024 aarch64 GNU/Linux
Revision        : b03115
Serial          : 1000000037b5249e
Model           : Raspberry Pi 4 Model B Rev 1.5
Throttled flag  : throttled=0x0
Camera          : supported=0 detected=0, libcamera interfaces=0

Videocore information
---------------------

Nov 11 2024 15:48:13
Copyright (c) 2012 Broadcom
version 903570ba72a9e117f92e5499de439f59dd96e417 (clean) (release) (start)

alloc failures:     0
compactions:        0
legacy block fails: 0


Package version information
---------------------------
raspberrypi-ui-mods:
  Installed: 1.20241112
raspberrypi-sys-mods:
  Installed: 20241111
openbox:
  Installed: 3.6.1-10+rpt1
lxpanel:
  Installed: 0.10.1-2+rpt19
pcmanfm:
  Installed: 1.3.2-1+rpt28
rpd-plym-splash:
  Installed: 0.41

Display Information
-------------------

Running (F)KMS and X

Screen 0: minimum 0 x 0, current 6960 x 1920, maximum 32768 x 32768
default connected primary 6960x1920+0+0 (0x3f) normal (normal) 1841mm x 507mm
        Identifier: 0x3e
        Timestamp:  355247531
        Subpixel:   unknown
        Gamma:      1.0:1.0:1.0
        Brightness: 1.0
        Clones:
        CRTC:       0
        CRTCs:      0
        Transform:  1.000000 0.000000 0.000000
                    0.000000 1.000000 0.000000
                    0.000000 0.000000 1.000000
                   filter:
        non-desktop: 0
                supported: 0, 1
  6960x1920 (0x3f)  0.000MHz *current
        h: width  6960 start    0 end    0 total 6960 skew    0 clock   0.00KHz
        v: height 1920 start    0 end    0 total 1920           clock   0.00Hz

Connector 0 (32) HDMI-A-1 (connected)
  Encoder 0 (31) TMDS
    Crtc 3 (101) [email protected] 148.500 1920/88/44/148/+ 1080/4/5/36/+ 60 (60.00) P|D
      Plane 3 (90) fb-id: 727 (crtcs: 3) 0,0 1920x1080 -> 0,0 1920x1080 (XR24 AR24 AB24 XB24 RG16 BG16 AR15 XR15 RG24 BG24 YU16 YV16 YU24 YV24 YU12 YV12 NV12 NV21 NV16 NV61 P030 XR30 AR30 AB30 XB30 RGB8 BGR8 XR12 AR12 XB12 AB12 BX12 BA12 RX12 RA12)
        FB 727 1920x1080 XR24
Connector 1 (42) HDMI-A-2 (disconnected)
  Encoder 1 (41) TMDS

Connector 0 (32) HDMI-A-1 (connected)
   0 [email protected]  148.500 1920/88/44/148/+   1080/4/5/36/+      60 (60.00) P|D
   1 [email protected]  148.500 1920/88/44/148/+   1080/4/5/36/+      60 (60.00) D     16:9
   2 [email protected]  148.352 1920/88/44/148/+   1080/4/5/36/+      60 (59.94) D     16:9
   3 [email protected]  74.250 1920/88/44/148/+   1080/4/10/31/+     60 (60.00) D
   4 [email protected]  74.250 1920/88/44/148/+   1080/4/10/31/+     60 (60.00) D     16:9
   5 [email protected]  74.176 1920/88/44/148/+   1080/4/10/31/+     60 (59.94) D     16:9
   6 [email protected]  148.500 1920/528/44/148/+  1080/4/5/36/+      50 (50.00) D
   7 [email protected]  148.500 1920/528/44/148/+  1080/4/5/36/+      50 (50.00) D     16:9
   8 [email protected]  74.250 1920/528/44/148/+  1080/4/10/31/+     50 (50.00) D     16:9
   9 [email protected]  74.250 1920/528/44/148/+  1080/4/10/77/+     48 (48.04) D
  10 [email protected]   74.250 1920/88/44/148/+   1080/4/5/36/+      30 (30.00) D     16:9
  11 [email protected]   74.176 1920/88/44/148/+   1080/4/5/36/+      30 (29.97) D     16:9
  12 [email protected]   74.250 1920/528/44/148/+  1080/4/5/36/+      25 (25.00) D     16:9
  13 [email protected]   74.250 1920/638/44/148/+  1080/4/5/36/+      24 (24.00) D
  14 [email protected]   74.250 1920/638/44/148/+  1080/4/5/36/+      24 (24.00) D     16:9
  15 [email protected]   74.176 1920/638/44/148/+  1080/4/5/36/+      24 (23.98) D     16:9
  16 [email protected]  119.000 1680/48/32/80/+    1050/3/6/21/-      60 (59.88) D
  17 [email protected]  101.000 1400/48/32/80/+    1050/3/4/23/-      60 (59.95) D
  18 [email protected]  108.000 1280/48/112/248/+  1024/1/3/38/+      60 (60.02) D
  19 [email protected]    88.750 1440/48/32/80/+    900/3/6/17/-       60 (59.90) D
  20 [email protected]   108.000 1280/96/112/312/+  960/1/3/36/+       60 (60.00) D
  21 [email protected]    71.000 1280/48/32/80/+    800/3/6/14/-       60 (59.91) D
  22 [email protected]    74.250 1280/110/40/220/+  720/5/5/20/+       60 (60.00) D     16:9
  23 [email protected]    74.176 1280/110/40/220/+  720/5/5/20/+       60 (59.94) D     16:9
  24 [email protected]    74.250 1280/440/40/220/+  720/5/5/20/+       50 (50.00) D
  25 [email protected]    74.250 1280/440/40/220/+  720/5/5/20/+       50 (50.00) D     16:9
  26 [email protected]    65.000 1024/24/136/160/-  768/3/6/29/-       60 (60.00) D
  27 [email protected]     40.000 800/40/128/88/+    600/1/4/23/+       60 (60.32) D
  28 [email protected]     27.000 720/12/64/68/-     576/5/5/39/-       50 (50.00) D     4:3
  29 [email protected]     27.000 720/12/64/68/-     576/5/5/39/-       50 (50.00) D     16:9
  30 [email protected]    13.500 720/12/63/69/-     576/4/6/39/-       50 (50.00) D     2x|4:3
  31 [email protected]    13.500 720/12/63/69/-     576/4/6/39/-       50 (50.00) D     2x|16:9
  32 [email protected]     27.027 720/16/62/60/-     480/9/6/30/-       60 (60.00) D     4:3
  33 [email protected]     27.027 720/16/62/60/-     480/9/6/30/-       60 (60.00) D     16:9
  34 [email protected]     27.000 720/16/62/60/-     480/9/6/30/-       60 (59.94) D     4:3
  35 [email protected]     27.000 720/16/62/60/-     480/9/6/30/-       60 (59.94) D     16:9
  36 [email protected]    13.514 720/19/62/57/-     480/8/6/31/-       60 (60.00) D     2x|4:3
  37 [email protected]    13.514 720/19/62/57/-     480/8/6/31/-       60 (60.00) D     2x|16:9
  38 [email protected]    13.500 720/19/62/57/-     480/8/6/31/-       60 (59.94) D     2x|4:3
  39 [email protected]    13.500 720/19/62/57/-     480/8/6/31/-       60 (59.94) D     2x|16:9
  40 [email protected]     25.200 640/16/96/48/-     480/10/2/33/-      60 (60.00) D     4:3
  41 [email protected]     25.175 640/16/96/48/-     480/10/2/33/-      60 (59.94) D
  42 [email protected]     25.175 640/16/96/48/-     480/10/2/33/-      60 (59.94) D     4:3

HDMI0:             HDMI_HOTPLUG = 0x00000001
HDMI1:             HDMI_HOTPLUG = 0x00000000


config.txt
----------

arm_64bit=1
arm_boost=1
arm_freq=1800
audio_pwm_mode=514
auto_initramfs=1
camera_auto_detect=1
config_hdmi_boost=5
core_freq=500
core_freq_min=200
disable_commandline_tags=2
disable_fw_kms_setup=1
disable_l2cache=1
disable_overscan=1
display_auto_detect=1
display_hdmi_rotate=-1
display_lcd_rotate=-1
dvfs=3
enable_gic=1
force_eeprom_read=1
force_pwm_open=1
framebuffer_ignore_alpha=1
framebuffer_swap=1
gpu_freq=500
gpu_freq_min=250
init_uart_clock=0x2dc6c00
initial_turbo=60
lcd_framerate=60
mask_gpu_interrupt0=3072
mask_gpu_interrupt1=25635
max_framebuffers=2
over_voltage_avs=-30000
pause_burst_frames=1
pciex4_reset=1
pmic_turbo_threshold=600
power_force_3v3_pwm=1
program_serial_random=1
total_mem=2048
hdmi_force_cec_address:0=65535
hdmi_force_cec_address:1=65535
hdmi_force_hotplug:0=1
hdmi_group:0=2
hdmi_mode:0=82
hdmi_pixel_freq_limit:0=0x11e1a300
hdmi_pixel_freq_limit:1=0x11e1a300
device_tree=-
overlay_prefix=overlays/
hdmi_cvt:0=
hdmi_cvt:1=
hdmi_edid_filename:0=
hdmi_edid_filename:1=
hdmi_timings:0=
hdmi_timings:1=


EEPROM
------

BOOTLOADER: up to date
   CURRENT: ma 21.10.2024 14.24.54 +0000 (1729520694)
    LATEST: ma 21.10.2024 14.24.54 +0000 (1729520694)
   RELEASE: latest (/lib/firmware/raspberrypi/bootloader-2711/latest)
            Use raspi-config to change the release.

  VL805_FW: Using bootloader EEPROM
     VL805: up to date
   CURRENT: 000138c0
    LATEST: 000138c0
@XECDesign
Copy link
Member

This seems to happen with geany as well, so it's looking like a labwc issue.

@cillian64, also, the newer version of labwc in the internal repo doesn't seem to turn the monitor off via wlr-randr at all.

@XECDesign
Copy link
Member

labwc/labwc#2362

@cillian64
Copy link
Contributor

@cillian64, also, the newer version of labwc in the internal repo doesn't seem to turn the monitor off via wlr-randr at all.

Are you sure something else hasn't changed on your end? I just installed libwlroots-0.18=0.18.1-1+rpt3 and labwc=0.8.1-1+rpt1, ran wlr-randr --output HDMI-A-1 --off, and my display turned off.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants