Can not Get the PI Screen to work on a PI 5 and the Browser Block

I’m trying to get the browser block to work with the PI 5 and the official screen. I have been able to get everything to work fine with Emtria running Android, but no luck with Balena.

I have tried all kinds of dtoverlay settings, display settings etc. I just keep getting this error. It seems that it is not recognizing that there is a display. See logs here:

browser  xorg-server 2:21.1.7-3+deb12u7 (https://www.debian.org/support) 
 browser  Current version of pixman: 0.42.2
 browser        Before reporting problems, check http://wiki.x.org
 browser        to make sure that you have the latest version.
 browser  Markers: (--) probed, (**) from config file, (==) default setting,
 browser        (++) from command line, (!!) notice, (II) informational,
 browser        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
 browser  (==) Log file: "/var/log/Xorg.0.log", Time: Sat Mar 15 22:17:44 2025
 browser  (==) Using config directory: "/etc/X11/xorg.conf.d"
 browser  (==) Using system config directory "/usr/share/X11/xorg.conf.d"
 browser  (EE) 
 browser  Fatal server error:
 browser  (EE) no screens found(EE) 
 browser  (EE) 
 browser  Please consult the The X.Org Foundation support 
 browser         at http://wiki.x.org
 browser   for help. 
 browser  (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
 browser  (EE) 
 browser  (EE) Server terminated with error (1). Closing log file.
 browser  xinit: giving up
 browser  xinit: unable to connect to X server: Connection refused
 browser  xinit: server error
 browser  xauth: (argv):1:  bad display name "12ba7b5:0" in "remove" command
 browser  Idling...

Anyone have any ideas or have any luck getting a PI 5 to work with the official display?

My docker config:

browser:
    build: ./browser
    privileged: true # required for UDEV to find plugged in peripherals such as a USB mouse
    network_mode: host
    ports:
        - '5011' # management API (optional)
        - '35173' # Chromium debugging port (optional)
    volumes:
      - 'browser-settings:/data' # Only required if using PERSISTENT flag (see below)  

My DockerFile:

FROM bh.cr/balenalabs/browser-%%BALENA_ARCH%%

ENV PERSISTENT=1
ENV KIOSK=1
ENV WINDOW_SIZE=800x480
ENV LOCAL_HTTP_DELAY=30