Balena Dash continuously rebooting and not displaying

Hi, similar to Balena Dash Project Won't Display my Balena Dash won’t display but instead keeps rebooting after showing the Balena logo, and then some text asking me to check my dashboard. I’ve checked by setting both the WPE_URL or LAUNCH_URL, however, I’ve both:

  • Deployed using balena push
  • Clicked the Launch to Balena button on the GitHub repo.

I’ve bumped the RESIN_HOST_CONFIG_gpu_mem option to 396, and even tried bumping it to 500 but nothing.

I’ve gone ahead and granted support access to 0fbc9f528ede6bc710160b2cd71b112e incase you’re interested in taking a look.

Something that stands out is this:

[Logs]    [5/4/2020, 3:19:08 AM] [kiosk] WARNING: GPU MEMORY TOO LOW
[Logs]    [5/4/2020, 3:19:14 AM] [kiosk] setting xserver-xorg-legacy/xwrapper/allowed_users from configuration file
[Logs]    [5/4/2020, 3:19:15 AM] [kiosk] Disabling config mode
[Logs]    [5/4/2020, 3:19:15 AM] [kiosk] Using default chromium flags
[Logs]    [5/4/2020, 3:19:15 AM] [kiosk] Using fullscreen: 1920,1080
[Logs]    [5/4/2020, 3:19:15 AM] [kiosk] 2020/05/03 22:19:15 Command is '/home/chromium/launch.sh'
[Logs]    [5/4/2020, 3:19:15 AM] [kiosk] 2020/05/03 22:19:15 Starting listening on port 8080
[Logs]    [5/4/2020, 3:19:04 AM] [scheduler] crond[16]: crond (busybox 1.31.1) started, log level 8
[Logs]    [5/4/2020, 3:31:37 AM] [scheduler] crond[16]: crond (busybox 1.31.1) started, log level 8
[Logs]    [5/4/2020, 3:43:31 AM] [scheduler] crond[15]: crond (busybox 1.31.1) started, log level 8
[Logs]    [5/4/2020, 3:19:20 AM] [photos]
[Logs]    [5/4/2020, 3:19:20 AM] [photos] > album-slideshow@1.0.0 start /usr/src/app
[Logs]    [5/4/2020, 3:19:20 AM] [photos] > node server.js
[Logs]    [5/4/2020, 3:19:20 AM] [photos]
[Logs]    [5/4/2020, 3:19:31 AM] [photos] GALLERY_URL not set, stopping express server.

However, this is despite me having bumped my options up. Here’s my dmesg output:

root@0fbc9f5:~# dmesg
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 4.19.71 (oe-user@oe-host) (gcc version 8.3.0 (GCC)) #1 SMP PREEMPT Fri Jan 31 09:53:40 UTC 2020
[    0.000000] Machine model: Raspberry Pi 3 Model B Rev 1.2
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
[    0.000000] cma: Reserved 256 MiB at 0x0000000010800000
[    0.000000] On node 0 totalpages: 134144
[    0.000000]   DMA32 zone: 2096 pages used for memmap
[    0.000000]   DMA32 zone: 0 pages reserved
[    0.000000]   DMA32 zone: 134144 pages, LIFO batch:31
[    0.000000] random: get_random_bytes called from start_kernel+0xa0/0x464 with crng_init=0
[    0.000000] percpu: Embedded 24 pages/cpu s57880 r8192 d32232 u98304
[    0.000000] pcpu-alloc: s57880 r8192 d32232 u98304 alloc=24*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: enabling workaround for ARM erratum 843419
[    0.000000] CPU features: enabling workaround for ARM erratum 845719
[    0.000000] CPU features: detected: Kernel page table isolation (KPTI)
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 132048
[    0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 cma=256M video=HDMI-A-1:1920x1080@60 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  dwc_otg.lpm_enable=0 console=tty1 console=ttyS0,115200 rootfstype=ext4 rootwait root=PARTUUID=564dc7a5-02 rootwait
[    0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
[    0.000000] Memory: 230788K/536576K available (8572K kernel code, 928K rwdata, 2712K rodata, 11904K init, 935K bss, 43644K reserved, 262144K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] ftrace: allocating 30109 entries in 118 pages
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] 	Tasks RCU enabled.
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] arch_timer: cp15 timer(s) running at 19.20MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
[    0.000007] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[    0.000264] Console: colour dummy device 80x25
[    0.000852] console [tty1] enabled
[    0.000980] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=19200)
[    0.001039] pid_max: default: 32768 minimum: 301
[    0.001441] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes)
[    0.001498] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes)
[    0.009154] ASID allocator initialised with 32768 entries
[    0.011145] rcu: Hierarchical SRCU implementation.
[    0.013709] EFI services will not be available.
[    0.016236] smp: Bringing up secondary CPUs ...
[    0.024494] Detected VIPT I-cache on CPU1
[    0.024565] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.032617] Detected VIPT I-cache on CPU2
[    0.032666] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.040765] Detected VIPT I-cache on CPU3
[    0.040813] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.041021] smp: Brought up 1 node, 4 CPUs
[    0.041170] SMP: Total of 4 processors activated.
[    0.041204] CPU features: detected: 32-bit EL0 Support
[    0.044412] CPU: All CPU(s) started at EL2
[    0.044488] alternatives: patching kernel code
[    0.046215] devtmpfs: initialized
[    0.062827] Enabled cp15_barrier support
[    0.062891] Enabled setend support
[    0.063504] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
[    0.063567] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.075511] pinctrl core: initialized pinctrl subsystem
[    0.075956] DMI not present or invalid.
[    0.076443] NET: Registered protocol family 16
[    0.082841] cpuidle: using governor menu
[    0.083433] vdso: 2 pages (1 code @ (____ptrval____), 1 data @ (____ptrval____))
[    0.083481] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.089144] DMA: preallocated 1024 KiB pool for atomic allocations
[    0.089393] Serial: AMBA PL011 UART driver
[    0.094615] bcm2835-mbox 3f00b880.mailbox: mailbox enabled
[    0.141990] bcm2835-dma 3f007000.dma: DMA legacy API manager at (____ptrval____), dmachans=0x1
[    0.144584] SCSI subsystem initialized
[    0.144931] usbcore: registered new interface driver usbfs
[    0.145026] usbcore: registered new interface driver hub
[    0.145205] usbcore: registered new device driver usb
[    0.147409] raspberrypi-firmware soc:firmware: Attached to firmware from 2019-08-28 15:08, variant start
[    0.148425] raspberrypi-firmware soc:firmware: Firmware hash is 31098ceed842ca10c8ffd02ffe3640bf6c0190b4
[    0.151439] clocksource: Switched to clocksource arch_sys_counter
[    0.275836] VFS: Disk quotas dquot_6.6.0
[    0.275974] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.276225] FS-Cache: Loaded
[    0.276561] CacheFiles: Loaded
[    0.290109] NET: Registered protocol family 2
[    0.291120] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes)
[    0.291196] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[    0.291340] TCP bind hash table entries: 8192 (order: 5, 131072 bytes)
[    0.291629] TCP: Hash tables configured (established 8192 bind 8192)
[    0.291858] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.291934] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.292291] NET: Registered protocol family 1
[    0.293305] RPC: Registered named UNIX socket transport module.
[    0.293341] RPC: Registered udp transport module.
[    0.293371] RPC: Registered tcp transport module.
[    0.293400] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.401343] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
[    0.403746] Initialise system trusted keyrings
[    0.404161] workingset: timestamp_bits=46 max_order=17 bucket_order=0
[    0.416018] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.416102] FS-Cache: Netfs 'nfs' registered for caching
[    0.417224] NFS: Registering the id_resolver key type
[    0.417286] Key type id_resolver registered
[    0.417316] Key type id_legacy registered
[    0.419508] aufs 4.19.17+-20190211
[    0.422124] Key type asymmetric registered
[    0.422162] Asymmetric key parser 'x509' registered
[    0.422256] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.422576] io scheduler noop registered
[    0.422609] io scheduler deadline registered
[    0.422855] io scheduler cfq registered (default)
[    0.422889] io scheduler mq-deadline registered
[    0.422920] io scheduler kyber registered
[    0.430200] Serial: 8250/16550 driver, 1 ports, IRQ sharing enabled
[    0.432735] bcm2835-rng 3f104000.rng: hwrng registered
[    0.433390] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB)
[    0.434554] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000
[    0.434964] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    0.450978] brd: module loaded
[    0.466812] loop: module loaded
[    0.467863] Loading iSCSI transport class v2.0-870.
[    0.469169] libphy: Fixed MDIO Bus: probed
[    0.469242] tun: Universal TUN/TAP device driver, 1.6
[    0.469564] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    0.470031] dwc_otg 3f980000.usb: base=(____ptrval____)
[    0.670728] Core Release: 2.80a
[    0.670761] Setting default values for core params
[    0.670812] Finished setting default values for core params
[    0.871494] Using Buffer DMA mode
[    0.871525] Periodic Transfer Interrupt Enhancement - disabled
[    0.871557] Multiprocessor Interrupt Enhancement - disabled
[    0.871589] OTG VER PARAM: 0, OTG VER FLAG: 0
[    0.871623] Dedicated Tx FIFOs mode
[    0.872215] WARN::dwc_otg_hcd_init:1045: FIQ DMA bounce buffers: virt = ffffff8008259000 dma = 0x00000000d0904000 len=9024
[    0.872282] FIQ FSM acceleration enabled for :
               Non-periodic Split Transactions
               Periodic Split Transactions
               High-Speed Isochronous Endpoints
               Interrupt/Control Split Transaction hack enabled
[    0.872368] dwc_otg: Microframe scheduler enabled
[    0.872592] WARN::hcd_init_fiq:497: MPHI regs_base at ffffff8008055000
[    0.872655] dwc_otg 3f980000.usb: DWC OTG Controller
[    0.872712] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1
[    0.872802] dwc_otg 3f980000.usb: irq 9, io mem 0x00000000
[    0.872878] Init: Port Power? op_state=1
[    0.872906] Init: Power Port (0)
[    0.873316] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
[    0.873363] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.873404] usb usb1: Product: DWC OTG Controller
[    0.873468] usb usb1: Manufacturer: Linux 4.19.71 dwc_otg_hcd
[    0.873503] usb usb1: SerialNumber: 3f980000.usb
[    0.874318] hub 1-0:1.0: USB hub found
[    0.874410] hub 1-0:1.0: 1 port detected
[    0.875305] dwc_otg: FIQ enabled
[    0.875317] dwc_otg: NAK holdoff enabled
[    0.875328] dwc_otg: FIQ split-transaction FSM enabled
[    0.875345] Module dwc_common_port init
[    0.876333] usbcore: registered new interface driver usb-storage
[    0.878649] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[    0.878940] bcm2835-cpufreq: min=600000 max=1200000
[    0.879941] sdhci: Secure Digital Host Controller Interface driver
[    0.879976] sdhci: Copyright(c) Pierre Ossman
[    0.880752] mmc-bcm2835 3f300000.mmcnr: could not get clk, deferring probe
[    0.881403] sdhost-bcm2835 3f202000.mmc: could not get clk, deferring probe
[    0.881729] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.883289] ledtrig-cpu: registered to indicate activity on CPUs
[    0.883479] hidraw: raw HID events driver (C) Jiri Kosina
[    0.883638] usbcore: registered new interface driver usbhid
[    0.883655] usbhid: USB HID core driver
[    0.884562] Initializing XFRM netlink socket
[    0.885079] NET: Registered protocol family 10
[    0.886017] Segment Routing with IPv6
[    0.886104] NET: Registered protocol family 17
[    0.886152] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    0.886253] Key type dns_resolver registered
[    0.887042] registered taskstats version 1
[    0.887068] Loading compiled-in X.509 certificates
[    0.893989] uart-pl011 3f201000.serial: cts_event_workaround enabled
[    0.894097] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 66, base_baud = 0) is a PL011 rev2
[    0.895553] console [ttyS0] disabled
[    0.895594] 3f215040.serial: ttyS0 at MMIO 0x0 (irq = 61, base_baud = 31250000) is a 16550
[    1.084516] Indeed it is in host mode hprt0 = 00021501
[    1.086436] console [ttyS0] enabled
[    1.165909] random: fast init done
[    1.262487] usb 1-1: new high-speed USB device number 2 using dwc_otg
[    1.266296] mmc-bcm2835 3f300000.mmcnr: mmc_debug:0 mmc_debug2:0
[    1.268749] Indeed it is in host mode hprt0 = 00001101
[    1.277125] mmc-bcm2835 3f300000.mmcnr: DMA channel allocated
[    1.415267] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[    1.609980] usb 1-1: New USB device found, idVendor=0424, idProduct=9514, bcdDevice= 2.00
[    1.614920] sdhost: log_buf @ (____ptrval____) (d0907000)
[    1.637487] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    1.649548] hub 1-1:1.0: USB hub found
[    1.666459] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    1.669896] hub 1-1:1.0: 5 ports detected
[    1.701021] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    1.934970] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[    1.945223] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)
[    1.953618] of_cfs_init
[    1.956249] of_cfs_init: OK
[    1.985397] Freeing unused kernel memory: 11904K
[    1.990374] Run /init as init process
[    2.024518] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[    2.041584] mmc0: host does not support reading read-only switch, assuming write-enable
[    2.055762] mmc0: new high speed SDHC card at address aaaa
[    2.064677] mmcblk0: mmc0:aaaa SB32G 29.7 GiB
[    2.079482]  mmcblk0: p1 p2 p3 p4 < p5 p6 >
[    2.107897] mmc1: new high speed SDIO card at address 0001
[    2.127131] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00, bcdDevice= 2.00
[    2.136378] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    3.049032] random: crng init done
[    3.294333] CP437: Invalid argument
[    3.395758] fsck.fat 4.1 (2017-01-24)
               0x41: Dirty bit is set. Fs was not properly unmounted and some data may be corrupt.
                Automatically removing dirty bit.
               Performing changes.
               /dev/disk/by-label/resin-boot: 164 files, 16147/80628 clusters
[    3.449282] resin-rootA: recovering journal
[    3.489775] resin-rootA: clean, 5765/39936 files, 297551/319488 blocks

[    3.546812] resin-rootB: clean, 11/39936 files, 15349/319488 blocks

[    3.591775] resin-state: recovering journal
[    3.663301] resin-state: clean, 67/5136 files, 1903/20480 blocks

[    4.036365]  mmcblk0: p1 p2 p3 p4 < p5 p6 >
[    5.196248] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    5.253331] EXT4-fs (mmcblk0p5): mounted filesystem with ordered data mode. Opts: (null)
[    5.818590] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[    5.850549] aufs au_opts_verify:1609:init[1]: dirperm1 breaks the protection by the permission bits on the lower branch
[    6.232787] systemd[1]: System time before build time, advancing clock.
[    6.461058] systemd[1]: File /lib/systemd/system/systemd-journald.service:12 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling.
[    6.478517] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
[    6.840923] systemd[1]: /lib/systemd/system/chronyd.service:9: PIDFile= references path below legacy directory /var/run/, updating /var/run/chrony/chronyd.pid \xe2\x86\x92 /run/chrony/chronyd.pid; please update the unit file accordingly.
[    9.202590] EXT4-fs (mmcblk0p6): mounted filesystem with ordered data mode. Opts: (null)
[   10.870817] vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[   10.929245] vchiq: vchiq_init_state: slot_zero = 000000005b96d8c3, is_master = 0
[   11.159041] smsc95xx v1.0.6
[   11.250783] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:19:12:d4
[   11.267084] usbcore: registered new interface driver smsc95xx
[   11.399065] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[   11.438267] vc4_hdmi 3f902000.hdmi: ASoC: Failed to create component debugfs directory
[   11.480183] vc4_hdmi 3f902000.hdmi: vc4-hdmi-hifi <-> 3f902000.hdmi mapping ok
[   11.497049] vc4_hdmi 3f902000.hdmi: ASoC: no DMI vendor name!
[   11.498373] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[   11.515265] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[   11.515494] vc4-drm soc:gpu: bound 3f902000.hdmi (ops vc4_hdmi_ops [vc4])
[   11.524192] cfg80211: failed to load regulatory.db
[   11.534943] vc4-drm soc:gpu: bound 3f806000.vec (ops vc4_vec_ops [vc4])
[   11.544035] vc4-drm soc:gpu: bound 3f004000.txp (ops vc4_txp_ops [vc4])
[   11.551969] vc4-drm soc:gpu: bound 3f400000.hvs (ops vc4_hvs_ops [vc4])
[   11.559738] vc4-drm soc:gpu: bound 3f206000.pixelvalve (ops vc4_crtc_ops [vc4])
[   11.568016] vc4-drm soc:gpu: bound 3f207000.pixelvalve (ops vc4_crtc_ops [vc4])
[   11.576289] vc4-drm soc:gpu: bound 3f807000.pixelvalve (ops vc4_crtc_ops [vc4])
[   11.669613] vc4-drm soc:gpu: bound 3fc00000.v3d (ops vc4_v3d_ops [vc4])
[   11.689368] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
[   11.722194] media: Linux media interface: v0.10
[   11.733278] [drm] Initialized vc4 0.0.0 20140616 for soc:gpu on minor 0
[   11.735379] bcm2835_vc_sm_cma_probe: Videocore shared memory driver
[   11.768848] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
[   11.778312] usbcore: registered new interface driver brcmfmac
[   11.785693] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[   11.789656] [vc_sm_connected_init]: start
[   11.811286] [drm] Driver supports precise vblank timestamp query.
[   11.821048] [vc_sm_connected_init]: installed successfully
[   11.857305] videodev: Linux video capture interface: v2.00
[   11.932544] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[   11.948501] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[   11.975843] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
[   11.985280] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
[   12.001732] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.
[   12.004128] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43430/1 wl0: May  2 2019 02:39:18 version 7.45.98.83 (r714225 CY) FWID 01-e539531f
[   12.034811] bcm2835-codec bcm2835-codec: Device registered as /dev/video10
[   12.034902] bcm2835-codec bcm2835-codec: Loaded V4L2 decode
[   12.049030] bcm2835-codec bcm2835-codec: Device registered as /dev/video11
[   12.049092] bcm2835-codec bcm2835-codec: Loaded V4L2 encode
[   12.056291] bcm2835-codec bcm2835-codec: Device registered as /dev/video12
[   12.056346] bcm2835-codec bcm2835-codec: Loaded V4L2 isp
[   12.062943] Console: switching to colour frame buffer device 240x67
[   12.243669] vc4-drm soc:gpu: fb0: DRM emulated frame buffer device
[   14.502066] uart-pl011 3f201000.serial: no DMA platform data
[   19.374205] Bluetooth: Core ver 2.22
[   19.385796] NET: Registered protocol family 31
[   19.392616] Bluetooth: HCI device and connection manager initialized
[   19.403640] Bluetooth: HCI socket layer initialized
[   19.410283] Bluetooth: L2CAP socket layer initialized
[   19.418631] Bluetooth: SCO socket layer initialized
[   19.469553] Bluetooth: HCI UART driver ver 2.3
[   19.476595] Bluetooth: HCI UART protocol H4 registered
[   19.504688] Bluetooth: HCI UART protocol Three-wire (H5) registered
[   19.528081] Bluetooth: HCI UART protocol Broadcom registered
[   20.387134] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   20.392926] Bluetooth: BNEP filters: protocol multicast
[   20.408151] Bluetooth: BNEP socket layer initialized
[   22.827514] i2c /dev entries driver
[   23.413139] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   23.470865] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[   23.479814] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   23.611326] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   23.671689] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   23.678109] brcmfmac: power management disabled
[   24.212168] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   24.219296] brcmfmac: power management disabled
[   24.759328] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   26.018851] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   26.029391] brcmfmac: power management disabled
[   27.460784] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   27.875688] Bridge firewalling registered
[   29.420533] IPv6: ADDRCONF(NETDEV_UP): br-66b7834d1f7d: link is not ready
[   29.999983] IPv6: ADDRCONF(NETDEV_UP): supervisor0: link is not ready
[   30.584879] IPv6: ADDRCONF(NETDEV_UP): balena0: link is not ready
[   35.537761] br-66b7834d1f7d: port 1(veth196893a) entered blocking state
[   35.549489] br-66b7834d1f7d: port 1(veth196893a) entered disabled state
[   35.561072] device veth196893a entered promiscuous mode
[   35.573059] IPv6: ADDRCONF(NETDEV_UP): veth196893a: link is not ready
[  116.684913] eth0: renamed from vethbefcd85
[  116.749955] IPv6: ADDRCONF(NETDEV_CHANGE): veth196893a: link becomes ready
[  116.757763] br-66b7834d1f7d: port 1(veth196893a) entered blocking state
[  116.764881] br-66b7834d1f7d: port 1(veth196893a) entered forwarding state
[  116.772740] IPv6: ADDRCONF(NETDEV_CHANGE): br-66b7834d1f7d: link becomes ready
[  120.278077] br-66b7834d1f7d: port 1(veth196893a) entered disabled state
[  120.289255] vethbefcd85: renamed from eth0
[  120.361747] br-66b7834d1f7d: port 1(veth196893a) entered disabled state
[  120.383331] device veth196893a left promiscuous mode
[  120.388812] br-66b7834d1f7d: port 1(veth196893a) entered disabled state

I managed to SSH into the box again, and cat config.txt to discover that my old setting of 500 was still there:

gpu_mem=500
disable_overscan=1
disable_splash=1
dtoverlay=vc4-kms-v3d
dtparam=audio=on
dtparam=i2c_arm=on
dtparam=spi=on
dtparam=audio=on
enable_uart=1

After I changed the config, and rebooted the device, I see in the logs:

04.05.20 07:49:56 (+0500) Supervisor starting
04.05.20 07:49:13 (+0500)  scheduler  crond[16]: crond (busybox 1.31.1) started, log level 8
04.05.20 07:50:00 (+0500) Applying boot config: {"gpu_mem":"500","disable_overscan":"1","disable_splash":"1","dtoverlay":["vc4-kms-v3d"],"dtparam":["audio=on","i2c_arm=on","spi=on","audio=on"],"enable_uart":"1"}
04.05.20 07:50:00 (+0500) Applied boot config: {"gpu_mem":"500","disable_overscan":"1","disable_splash":"1","dtoverlay":["vc4-kms-v3d"],"dtparam":["audio=on","i2c_arm=on","spi=on","audio=on"],"enable_uart":"1"}
04.05.20 07:50:01 (+0500) Killing service 'photos sha256:f946b26b3b7f3b5d503a3706eed34805896a40c0a99696762e703c4c83e6edcd'
04.05.20 07:50:01 (+0500) Service is already stopped, removing container 'photos sha256:f946b26b3b7f3b5d503a3706eed34805896a40c0a99696762e703c4c83e6edcd'
04.05.20 07:50:01 (+0500) Killed service 'photos sha256:f946b26b3b7f3b5d503a3706eed34805896a40c0a99696762e703c4c83e6edcd'
04.05.20 07:50:01 (+0500) Killing service 'wifi-connect sha256:7fbc48b912e85ded7e42cb6b515cf1bf797e79aa5cf6bbaee8de601e3da9f4df'
04.05.20 07:50:15 (+0500) Killed service 'wifi-connect sha256:7fbc48b912e85ded7e42cb6b515cf1bf797e79aa5cf6bbaee8de601e3da9f4df'
04.05.20 07:50:15 (+0500) Service exited 'wifi-connect sha256:7fbc48b912e85ded7e42cb6b515cf1bf797e79aa5cf6bbaee8de601e3da9f4df'
04.05.20 07:50:15 (+0500) Killing service 'kiosk sha256:2efbc5f368fcf09fa28addd61823750c4ef1c7309fbd015209c23eeab6d6e04b'
04.05.20 07:50:15 (+0500) Service is already stopped, removing container 'kiosk sha256:2efbc5f368fcf09fa28addd61823750c4ef1c7309fbd015209c23eeab6d6e04b'
04.05.20 07:50:15 (+0500) Killed service 'kiosk sha256:2efbc5f368fcf09fa28addd61823750c4ef1c7309fbd015209c23eeab6d6e04b'
04.05.20 07:50:15 (+0500) Killing service 'scheduler sha256:59c3c518381165cda1ff24e83d8e86e3acb73f6e846d6541d606f067226d2774'
04.05.20 07:50:28 (+0500) Killed service 'scheduler sha256:59c3c518381165cda1ff24e83d8e86e3acb73f6e846d6541d606f067226d2774'
04.05.20 07:50:28 (+0500) Rebooting

Even though I can confirm that my the value for Define device GPU memory in megabytes is 396.

I guess I’ll reflash the image and change the configuration there.

Hi @amingilani, how did it go? Did you manage to get it working after re-flashing?

I guess you re-flashed it as we don’t see the device you linked earlier (0fbc9f528ede6bc710160b2cd71b112e).

Let us know if we could help out.

Hi @gelbel! Yes, sorry about that. I did end up flashing the device. I’d moved it from my previously balena push version of the app to the new Launch to Balena button version, but it still seemed to be getting its configuration from the original application fleet it was a part of, despite device level overrides.

After flashing (several times) I seem to have landed in a state now where the kiosk services is installed but doesn’t seem to be running. I’m restarting the device and trying to fix it myself.

Either way, you should have support access to ad1fed601c19d3297753edd76d7a9f34.

@amingilani I think the issue here is that your device had 396MB of GPU memory allocated, I’ve reduced this to 128 and it seems to have started OK. I noticed that our blog post still was mentioning 396MB but the project itself was saying 128MB, so I have updated it to say 128MB across the board.

Thanks @chrisys, that did fix it! Also, after you fixed it, I realized that the WPE_URL environment variable, as specified in the blog post, did not work. What did work was changing the LAUNCH_URL as mentioned in the project repo.

@amingilani thanks for highlighting that, I have updated that in the post as well :+1: