Balena Browser for IMX8PLUS

I successfully flashed my IMX8PLUS with the default balena image. But I can’t seem to make it work with an external HDMI display. When using the balenablock/browser I get an X11 error :
(EE) open /dev/fb0: No such file or directory
I cannot seem to find a solution. Am I missing something ?
The display works with the same setup on raspberry pi 3.

Hello @essenlive first of all, welcome to the balena community!

Could you please share more details of your docker-compose to see if we can reproduce this?

Thanks

Sure, thank you for your response. Here is the content of my docker-compose.yml

version: '2'
services:

  browser:
    build: ./browser
    restart: always
    privileged: true
    network_mode: host 
    environment:
      - 'UDEV=1'
      - 'DISPLAY=:0'
      - 'KIOSK=1'
      - 'SHOW_CURSOR=0'
      - 'WINDOW_SIZE=1080x1920'
    ports:
      - '5011' # management API (optional)
      - '35173' # Chromium debugging port (optional)
    devices:
      - '/dev/cec0:/dev/cec0'
      - '/dev/fb0:/dev/fb0'
      - '/dev/ttyUSB0:/dev/ttyUSB0'
      - '/dev/ttyUSB1:/dev/ttyUSB1'

and here is the content of my ./browser/Dockerfile.template that is empty but for future use.

FROM bh.cr/balenalabs/browser-aarch64:latest

Best

Hello, just curious if you get the same error starting with the bare minimum example: https://github.com/balena-io-experimental/browser?tab=readme-ov-file#docker-compose-file

1 Like

Thanks. With the bare minimum docker-compose without persistence :

version: '2'

services:
  browser:
    image: bh.cr/balenalabs/browser-aarch64 # where <arch> is one of aarch64, arm32 or amd64
    privileged: true # required for UDEV to find plugged in peripherals such as a USB mouse
    ports:
        - '5011' # management API (optional)
        - '35173' # Chromium debugging port (optional)

I still get the [ 81997.748] (EE) open /dev/fb0: No such file or directory error. But I got a response from the IMX8plus manufacturer and added this xorg.conf :

Section "Device"
    Identifier "etnaviv"
    Driver     "modesetting"
    Option     "kmsdev"      "/dev/dri/card1"
    Option     "AccelMethod" "glamor"
    Option     "Atomic"      "On"
EndSection

Section "ServerFlags"
    Option     "AutoAddGPU"  "false"
    Option     "DRI"         "3"
EndSection

It successfully connects to an external HDMI monitor, but now I have an issue with the waveshare monitor I am using, where the logs don’t seem to detect any HDMI connection.


[  4425.254] (II) modeset(0): Output HDMI-1 has no monitor section
[  4425.254] (II) modeset(0): EDID for output HDMI-1
[  4425.254] (II) modeset(0): Output HDMI-1 disconnected
[  4425.254] (WW) modeset(0): No outputs definitely connected, trying again...
[  4425.254] (II) modeset(0): Output HDMI-1 disconnected
[  4425.254] (WW) modeset(0): Unable to find connected outputs - setting 1024x768 initial framebuffer