LCD 35 Screen not working with Pironman 5 Max and Ubuntu 22.04

I tried using the instructions on this page to get the LCD Screen:

And I downloaded for ubuntu per your instructions.. the LCD screen starts showing the ubuntu logo and spinner.. but after a few seconds just freezes.. I can still ssh into the computer and when I do I found this in the syslog continuously repeating.. I’m using Ubuntu 22.04.

2025-08-02T12:25:37.749248-07:00 davido-photoprism /usr/libexec/gdm-x-session[21774]: (EE) open /dev/fb2: No such file or directory
2025-08-02T12:25:37.749361-07:00 davido-photoprism /usr/libexec/gdm-x-session[21774]: (EE) No devices detected.
2025-08-02T12:25:37.750073-07:00 davido-photoprism /usr/libexec/gdm-x-session[21774]: (EE)
2025-08-02T12:25:37.750111-07:00 davido-photoprism /usr/libexec/gdm-x-session[21774]: Fatal server error:
2025-08-02T12:25:37.750136-07:00 davido-photoprism /usr/libexec/gdm-x-session[21774]: (EE) no screens found(EE)
2025-08-02T12:25:37.750161-07:00 davido-photoprism /usr/libexec/gdm-x-session[21774]: (EE)
2025-08-02T12:25:37.750184-07:00 davido-photoprism /usr/libexec/gdm-x-session[21774]: Please consult the The X.Org Foundation support
2025-08-02T12:25:37.750208-07:00 davido-photoprism /usr/libexec/gdm-x-session[21774]: #011 at http://wiki.x.org
2025-08-02T12:25:37.750231-07:00 davido-photoprism /usr/libexec/gdm-x-session[21774]:  for help.
2025-08-02T12:25:37.750254-07:00 davido-photoprism /usr/libexec/gdm-x-session[21774]: (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
2025-08-02T12:25:37.750278-07:00 davido-photoprism /usr/libexec/gdm-x-session[21774]: (EE)
2025-08-02T12:25:37.751338-07:00 davido-photoprism /usr/libexec/gdm-x-session[21774]: (EE) Server terminated with error (1). Closing log file.
2025-08-02T12:25:37.754196-07:00 davido-photoprism /usr/libexec/gdm-x-session[21772]: Unable to run X server
2025-08-02T12:25:37.761742-07:00 davido-photoprism gdm3: Gdm: GdmDisplay: Session never registered, failing
2025-08-02T12:25:37.761878-07:00 davido-photoprism gdm3: Gdm: on_display_added: assertion 'GDM_IS_REMOTE_DISPLAY (display)' failed
2025-08-02T12:25:37.837794-07:00 davido-photoprism systemd[1]: session-622.scope: Deactivated successfully.
2025-08-02T12:25:37.941264-07:00 davido-photoprism gdm3: Gdm: on_display_removed: assertion 'GDM_IS_REMOTE_DISPLAY (display)' failed
2025-08-02T12:25:38.005856-07:00 davido-photoprism systemd[1]: Started session-623.scope - Session 623 of User davido.
2025-08-02T12:25:38.014279-07:00 davido-photoprism gdm3: Gdm: on_display_added: assertion 'GDM_IS_REMOTE_DISPLAY (display)' failed
2025-08-02T12:25:38.014478-07:00 davido-photoprism gdm3: Gdm: on_display_removed: assertion 'GDM_IS_REMOTE_DISPLAY (display)' failed
2025-08-02T12:25:38.044378-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: (--) Log file renamed from "/var/log/Xorg.pid-21793.log" to "/var/log/Xorg.0.log"
2025-08-02T12:25:38.044831-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: X.Org X Server 1.21.1.11
2025-08-02T12:25:38.044877-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: X Protocol Version 11, Revision 0
2025-08-02T12:25:38.044901-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: Current Operating System: Linux davido-photoprism 6.8.0-1031-raspi #35-Ubuntu SMP PREEMPT_DYNAMIC Thu Jul  3 15:00:20 UTC 2025 aarch64
2025-08-02T12:25:38.044927-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: Kernel command line: reboot=w coherent_pool=1M 8250.nr_uarts=1 pci=pcie_bus_safe bcm2708_fb.fbwidth=640 bcm2708_fb.fbheight=480 bcm2708_fb.fbdepth=16 bcm2708_fb.fbswap=1 smsc95xx.macaddr=2C:CF:67:EC:D2:9C vc_mem.mem_base=0x3fc00000 vc_mem.mem_size=0x40000000  zswap.enabled=1 zswap.zpool=z3fold zswap.compressor=zstd multipath=off dwc_otg.lpm_enable=0 console=tty1 root=LABEL=writable rootfstype=ext4 rootwait fixrtc quiet splash
2025-08-02T12:25:38.044950-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: xorg-server 2:21.1.12-1ubuntu1.4 (For technical support please see http://www.ubuntu.com/support)
2025-08-02T12:25:38.045007-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: Current version of pixman: 0.42.2
2025-08-02T12:25:38.045030-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: #011Before reporting problems, check http://wiki.x.org
2025-08-02T12:25:38.045052-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: #011to make sure that you have the latest version.
2025-08-02T12:25:38.045073-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: Markers: (--) probed, (**) from config file, (==) default setting,
2025-08-02T12:25:38.045094-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: #011(++) from command line, (!!) notice, (II) informational,
2025-08-02T12:25:38.045114-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: #011(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
2025-08-02T12:25:38.045136-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: (==) Log file: "/var/log/Xorg.0.log", Time: Sat Aug  2 12:25:38 2025
2025-08-02T12:25:38.045549-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: (==) Using config directory: "/etc/X11/xorg.conf.d"
2025-08-02T12:25:38.045594-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: (==) Using system config directory "/usr/share/X11/xorg.conf.d"
2025-08-02T12:25:38.045615-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: (==) No Layout section.  Using the first Screen section.
2025-08-02T12:25:38.045651-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: (**) |-->Screen "TFT Screen" (0)
2025-08-02T12:25:38.045672-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: (**) |   |-->Monitor "<default monitor>"
2025-08-02T12:25:38.045778-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: (**) |   |-->Device "TFT Device"
2025-08-02T12:25:38.045884-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: (**) |   |-->GPUDevice "Allwinner A10/A13/A20 FBDEV"
2025-08-02T12:25:38.045967-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: (==) No monitor specified for screen "TFT Screen".
2025-08-02T12:25:38.045998-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: #011Using a default monitor configuration.
2025-08-02T12:25:38.046084-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: (**) Allowing byte-swapped clients
2025-08-02T12:25:38.046156-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: (==) Automatically adding devices
2025-08-02T12:25:38.046231-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: (==) Automatically enabling devices
2025-08-02T12:25:38.046305-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: (==) Automatically adding GPU devices
2025-08-02T12:25:38.046386-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: (==) Automatically binding GPU devices
2025-08-02T12:25:38.046506-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: (==) Max clients allowed: 256, resource mask: 0x1fffff
2025-08-02T12:25:38.046632-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
2025-08-02T12:25:38.046736-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: #011Entry deleted from font path.
2025-08-02T12:25:38.046831-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
2025-08-02T12:25:38.046917-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: #011Entry deleted from font path.
2025-08-02T12:25:38.047030-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
2025-08-02T12:25:38.047107-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: #011Entry deleted from font path.
2025-08-02T12:25:38.047200-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
2025-08-02T12:25:38.047282-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: #011Entry deleted from font path.
2025-08-02T12:25:38.047361-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
2025-08-02T12:25:38.047441-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: #011Entry deleted from font path.
2025-08-02T12:25:38.048232-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: (==) FontPath set to:
2025-08-02T12:25:38.048262-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: #011/usr/share/fonts/X11/misc,
2025-08-02T12:25:38.048288-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: #011/usr/share/fonts/X11/Type1,
2025-08-02T12:25:38.048309-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: #011built-ins
2025-08-02T12:25:38.048360-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: (==) ModulePath set to "/usr/lib/xorg/modules"
2025-08-02T12:25:38.048395-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: (II) The server relies on udev to provide the list of input devices.
2025-08-02T12:25:38.048421-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: #011If no devices become available, reconfigure udev or disable AutoAddDevices.
2025-08-02T12:25:38.048442-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: (II) Loader magic: 0xaaaab3940010
2025-08-02T12:25:38.048485-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: (II) Module ABI versions:
2025-08-02T12:25:38.048506-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: #011X.Org ANSI C Emulation: 0.4
2025-08-02T12:25:38.048529-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: #011X.Org Video Driver: 25.2
2025-08-02T12:25:38.048550-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: #011X.Org XInput driver : 24.4
2025-08-02T12:25:38.048571-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: #011X.Org Server Extension : 10.0
2025-08-02T12:25:38.049373-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: (++) using VT number 2
2025-08-02T12:25:38.051422-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: (II) systemd-logind: took control of session /org/freedesktop/login1/session/_3623
2025-08-02T12:25:38.053367-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: (II) LoadModule: "glx"
2025-08-02T12:25:38.053607-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
2025-08-02T12:25:38.055050-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: (II) Module glx: vendor="X.Org Foundation"
2025-08-02T12:25:38.055139-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: #011compiled for 1.21.1.11, module version = 1.0.0
2025-08-02T12:25:38.055163-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: #011ABI class: X.Org Server Extension, version 10.0
2025-08-02T12:25:38.055183-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: (II) LoadModule: "fbturbo"
2025-08-02T12:25:38.055353-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: (WW) Warning, couldn't open module fbturbo
2025-08-02T12:25:38.055397-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: (EE) Failed to load module "fbturbo" (module does not exist, 0)
2025-08-02T12:25:38.055439-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: (==) Matched modesetting as autoconfigured driver 0
2025-08-02T12:25:38.055474-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: (==) Matched fbdev as autoconfigured driver 1
2025-08-02T12:25:38.055496-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: (==) Assigned the driver to the xf86ConfigLayout
2025-08-02T12:25:38.055516-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: (II) LoadModule: "modesetting"
2025-08-02T12:25:38.055573-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
2025-08-02T12:25:38.055882-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: (II) Module modesetting: vendor="X.Org Foundation"
2025-08-02T12:25:38.055928-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: #011compiled for 1.21.1.11, module version = 1.21.1
2025-08-02T12:25:38.055951-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: #011Module class: X.Org Video Driver
2025-08-02T12:25:38.056139-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: #011ABI class: X.Org Video Driver, version 25.2
2025-08-02T12:25:38.056540-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: (II) LoadModule: "fbturbo"
2025-08-02T12:25:38.057034-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: (WW) Warning, couldn't open module fbturbo
2025-08-02T12:25:38.057294-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: (EE) Failed to load module "fbturbo" (module does not exist, 0)
2025-08-02T12:25:38.057553-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: (II) LoadModule: "fbdev"
2025-08-02T12:25:38.057883-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
2025-08-02T12:25:38.058372-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: (II) Module fbdev: vendor="X.Org Foundation"
2025-08-02T12:25:38.058933-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: #011compiled for 1.21.1.11, module version = 0.5.0
2025-08-02T12:25:38.058995-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: #011Module class: X.Org Video Driver
2025-08-02T12:25:38.059029-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: #011ABI class: X.Org Video Driver, version 25.2
2025-08-02T12:25:38.059060-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: (II) modesetting: Driver for Modesetting Kernel Drivers: kms
2025-08-02T12:25:38.059086-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: (II) FBDEV: driver for framebuffer: fbdev
2025-08-02T12:25:38.059290-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: (WW) Falling back to old probe method for modesetting
2025-08-02T12:25:38.059743-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: (EE) open /dev/dri/card0: No such file or directory
2025-08-02T12:25:38.059872-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: (WW) Falling back to old probe method for fbdev
2025-08-02T12:25:38.060154-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: (II) Loading sub module "fbdevhw"
2025-08-02T12:25:38.060187-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: (II) LoadModule: "fbdevhw"
2025-08-02T12:25:38.060233-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
2025-08-02T12:25:38.060962-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: (II) Module fbdevhw: vendor="X.Org Foundation"
2025-08-02T12:25:38.061089-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: #011compiled for 1.21.1.11, module version = 0.0.2
2025-08-02T12:25:38.061314-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: #011ABI class: X.Org Video Driver, version 25.2
2025-08-02T12:25:38.061477-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: (EE) open /dev/fb2: No such file or directory
2025-08-02T12:25:38.061679-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: (WW) Falling back to old probe method for modesetting
2025-08-02T12:25:38.061946-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: (EE) open /dev/dri/card0: No such file or directory
2025-08-02T12:25:38.061998-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: (WW) Falling back to old probe method for fbdev
2025-08-02T12:25:38.062024-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: (II) Loading sub module "fbdevhw"
2025-08-02T12:25:38.062492-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: (II) LoadModule: "fbdevhw"
2025-08-02T12:25:38.062561-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
2025-08-02T12:25:38.063329-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: (II) Module fbdevhw: vendor="X.Org Foundation"
2025-08-02T12:25:38.063395-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: #011compiled for 1.21.1.11, module version = 0.0.2
2025-08-02T12:25:38.063489-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: #011ABI class: X.Org Video Driver, version 25.2
2025-08-02T12:25:38.063517-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: (EE) open /dev/fb2: No such file or directory
2025-08-02T12:25:38.063586-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: (EE) No devices detected.
2025-08-02T12:25:38.063661-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: (EE)
2025-08-02T12:25:38.063690-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: Fatal server error:
2025-08-02T12:25:38.063715-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: (EE) no screens found(EE)
2025-08-02T12:25:38.063742-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: (EE)
2025-08-02T12:25:38.063770-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: Please consult the The X.Org Foundation support
2025-08-02T12:25:38.063795-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: #011 at http://wiki.x.org
2025-08-02T12:25:38.063817-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]:  for help.
2025-08-02T12:25:38.063838-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
2025-08-02T12:25:38.063860-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: (EE)
2025-08-02T12:25:38.063879-07:00 davido-photoprism /usr/libexec/gdm-x-session[21793]: (EE) Server terminated with error (1). Closing log file.
2025-08-02T12:25:38.065561-07:00 davido-photoprism /usr/libexec/gdm-x-session[21791]: Unable to run X server
2025-08-02T12:25:38.073589-07:00 davido-photoprism gdm3: Gdm: GdmDisplay: Session never registered, failing
2025-08-02T12:25:38.074224-07:00 davido-photoprism gdm3: Gdm: on_display_added: assertion 'GDM_IS_REMOTE_DISPLAY (display)' failed
2025-08-02T12:25:38.154463-07:00 davido-photoprism systemd[1]: session-623.scope: Deactivated successfully.
2025-08-02T12:25:38.259145-07:00 davido-photoprism gdm3: Gdm: on_display_removed: assertion 'GDM_IS_REMOTE_DISPLAY (display)' failed
^C

We recommend providing a video of the issue so that we can better assist you in analyzing and resolving the problem.
Are you using the correct installation commands for your corresponding system?
If you are using Ubuntu, please follow the instructions below to install:

sudo rm -rf LCD-show-ubuntu

git clone https://github.com/sunfounder/LCD-show-ubuntu.git

chmod -R 755 LCD-show-ubuntu

cd LCD-show-ubuntu/

sudo ./LCD35-show

I did the following.. first I removed the RGB jumper pin you mentioned..

On the IO Expansion Board, remove the jumper cap connected to the RGB pins to disconnect the RGB LED from the SPI interface.

Then I ran the following commands..

pironman5 -re false
sudo systemctl restart pironman5.service

Next I ran the commands above:

sudo rm -rf LCD-show-ubuntu
git clone https://github.com/sunfounder/LCD-show-ubuntu.git
chmod -R 755 LCD-show-ubuntu
cd LCD-show-ubuntu
sudo ./LCD35-show

after a restart the following is what I see.. speed forward to the 55 second mark

as I cannot upload attachements I put the video on youtube as unlisted..

One other thing of note.. when I go to shut down next will show up on the screen.. so apparently the X Server is not correctly starting up..

Here’s a copy of X server log output..

[   205.599] (–) Log file renamed from “/var/log/Xorg.pid-20464.log” to “/var/log/Xorg.0.log”[   205.600]X.Org X Server 1.21.1.11X Protocol Version 11, Revision 0[   205.600] Current Operating System: Linux davido-photoprism 6.8.0-1031-raspi #35-Ubuntu SMP PREEMPT_DYNAMIC Thu Jul  3 15:00:20 UTC 2025 aarch64[   205.600] Kernel command line: reboot=w coherent_pool=1M 8250.nr_uarts=1 pci=pcie_bus_safe bcm2708_fb.fbwidth=640 bcm2708_fb.fbheight=480 bcm2708_fb.fbdepth=16 bcm2708_fb.fbswap=1 smsc95xx.macaddr=2C:CF:67:EC:D2:9C vc_mem.mem_base=0x3fc00000 vc_mem.mem_size=0x40000000  zswap.enabled=1 zswap.zpool=z3fold zswap.compressor=zstd multipath=off dwc_otg.lpm_enable=0 console=tty1 root=LABEL=writable rootfstype=ext4 rootwait fixrtc quiet splash[   205.600] xorg-server 2:21.1.12-1ubuntu1.4 (For technical support please see http://www.ubuntu.com/support)[   205.600] Current version of pixman: 0.42.2[   205.600] 	Before reporting problems, check http://wiki.x.orgto make sure that you have the latest version.[   205.600] Markers: (–) probed, () from config file, (==) default setting,(++) from command line, (!!) notice, (II) informational,(WW) warning, (EE) error, (NI) not implemented, (??) unknown.[   205.600] (==) Log file: “/var/log/Xorg.0.log”, Time: Mon Aug  4 15:37:42 2025[   205.600] (==) Using config directory: “/etc/X11/xorg.conf.d”[   205.601] (==) Using system config directory “/usr/share/X11/xorg.conf.d”[   205.601] (==) No Layout section.  Using the first Screen section.[   205.601] () |–>Screen “TFT Screen” (0)[   205.601] () |   |–>Monitor “”[   205.601] () |   |–>Device “TFT Device”[   205.601] () |   |–>GPUDevice “Allwinner A10/A13/A20 FBDEV”[   205.601] (==) No monitor specified for screen “TFT Screen”.Using a default monitor configuration.[   205.601] () Allowing byte-swapped clients[   205.601] (==) Automatically adding devices[   205.601] (==) Automatically enabling devices[   205.601] (==) Automatically adding GPU devices[   205.601] (==) Automatically binding GPU devices[   205.601] (==) Max clients allowed: 256, resource mask: 0x1fffff[   205.601] (WW) The directory “/usr/share/fonts/X11/cyrillic” does not exist.[   205.601] 	Entry deleted from font path.[   205.601] (WW) The directory “/usr/share/fonts/X11/100dpi/” does not exist.[   205.601] 	Entry deleted from font path.[   205.601] (WW) The directory “/usr/share/fonts/X11/75dpi/” does not exist.[   205.601] 	Entry deleted from font path.[   205.601] (WW) The directory “/usr/share/fonts/X11/100dpi” does not exist.[   205.601] 	Entry deleted from font path.[   205.601] (WW) The directory “/usr/share/fonts/X11/75dpi” does not exist.[   205.601] 	Entry deleted from font path.[   205.601] (==) FontPath set to:/usr/share/fonts/X11/misc,/usr/share/fonts/X11/Type1,built-ins[   205.601] (==) ModulePath set to “/usr/lib/xorg/modules”[   205.602] (II) The server relies on udev to provide the list of input devices.If no devices become available, reconfigure udev or disable AutoAddDevices.[   205.602] (II) Loader magic: 0xaaaace500010[   205.602] (II) Module ABI versions:[   205.602] 	X.Org ANSI C Emulation: 0.4[   205.602] 	X.Org Video Driver: 25.2[   205.602] 	X.Org XInput driver : 24.4[   205.602] 	X.Org Server Extension : 10.0[   205.603] (++) using VT number 2
[   205.606] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_3567[   205.608] (II) LoadModule: “glx”[   205.608] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so[   205.610] (II) Module glx: vendor=“X.Org Foundation”[   205.610] 	compiled for 1.21.1.11, module version = 1.0.0[   205.610] 	ABI class: X.Org Server Extension, version 10.0[   205.610] (II) LoadModule: “fbturbo”[   205.610] (WW) Warning, couldn’t open module fbturbo[   205.610] (EE) Failed to load module “fbturbo” (module does not exist, 0)[   205.610] (==) Matched modesetting as autoconfigured driver 0[   205.610] (==) Matched fbdev as autoconfigured driver 1[   205.611] (==) Assigned the driver to the xf86ConfigLayout[   205.611] (II) LoadModule: “modesetting”[   205.611] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so[   205.611] (II) Module modesetting: vendor=“X.Org Foundation”[   205.612] 	compiled for 1.21.1.11, module version = 1.21.1[   205.612] 	Module class: X.Org Video Driver[   205.612] 	ABI class: X.Org Video Driver, version 25.2[   205.612] (II) LoadModule: “fbturbo”[   205.612] (WW) Warning, couldn’t open module fbturbo[   205.612] (EE) Failed to load module “fbturbo” (module does not exist, 0)[   205.612] (II) LoadModule: “fbdev”[   205.612] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so[   205.612] (II) Module fbdev: vendor=“X.Org Foundation”[   205.612] 	compiled for 1.21.1.11, module version = 0.5.0[   205.612] 	Module class: X.Org Video Driver[   205.612] 	ABI class: X.Org Video Driver, version 25.2[   205.612] (II) modesetting: Driver for Modesetting Kernel Drivers: kms[   205.612] (II) FBDEV: driver for framebuffer: fbdev[   205.613] (WW) Falling back to old probe method for modesetting[   205.614] (EE) open /dev/dri/card0: No such file or directory[   205.614] (WW) Falling back to old probe method for fbdev[   205.614] (II) Loading sub module “fbdevhw”[   205.614] (II) LoadModule: “fbdevhw”[   205.614] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so[   205.615] (II) Module fbdevhw: vendor=“X.Org Foundation”[   205.615] 	compiled for 1.21.1.11, module version = 0.0.2[   205.615] 	ABI class: X.Org Video Driver, version 25.2[   205.615] (EE) open /dev/fb2: No such file or directory[   205.615] (WW) Falling back to old probe method for modesetting[   205.615] (EE) open /dev/dri/card0: No such file or directory[   205.616] (WW) Falling back to old probe method for fbdev[   205.616] (II) Loading sub module “fbdevhw”[   205.616] (II) LoadModule: “fbdevhw”[   205.616] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so[   205.616] (II) Module fbdevhw: vendor=“X.Org Foundation”[   205.616] 	compiled for 1.21.1.11, module version = 0.0.2[   205.616] 	ABI class: X.Org Video Driver, version 25.2[   205.616] (EE) open /dev/fb2: No such file or directory[   205.616] (EE) No devices detected.[   205.616] (EE)Fatal server error:[   205.616] (EE) no screens found(EE)[   205.616] (EE)Please consult the The X.Org Foundation supportat http://wiki.x.orgfor help.[   205.616] (EE) Please also check the log file at “/var/log/Xorg.0.log” for additional information.[   205.616] (EE)[   205.619] (EE) Server terminated with error (1). Closing log file.

We have fixed the issue.

We recommend that you remove the driver and then reinstall it to see if the display works properly.

sudo rm -rf LCD-show-ubuntu

git clone https://github.com/sunfounder/LCD-show-ubuntu.git

chmod -R 755 LCD-show-ubuntu

cd LCD-show-ubuntu/

sudo ./LCD35-show

I got impatient and started researching solutions and solved my problem ahead of your sharing this here… I found most of what I needed via ChatGPT and send privately send a link to what I used… based on what I read my solution overlaps how you resolved it.. at least some.. my challenge was that I’m using Wayland and your driver fork was relying on X..

Now I need to get the touchscreen working (it responds but is grossly out of calibration) and the Raspberry Pi camera module (it isn’t even seen by Ubuntu - I’ll start a separate thread on that). Also I had to change the dtoverlay specifically for the difference in pins that needed to be used (the piscreen overlay wanted to use pin 17 so I recompiled it to use pin 18) so that the touchscreen ads7846 overlay would use 17 and there were no conflicts.. the following was the final result for /boot/firmware/config.txt

###############################################################################
#  Boot configuration for Raspberry Pi 5 + 3.5" ILI9486 SPI LCD (MPI3511)     #
#  Ubuntu 22.04 - Wayland                                                     #
###############################################################################

[all]
kernel=vmlinuz
cmdline=cmdline.txt
initramfs initrd.img followkernel

# ── Core interfaces ──────────────────────────────────────────────────────────
dtparam=audio=on
dtparam=i2c_arm=on
dtparam=spi=on                    # must come before the piscreen overlay

# ── Display / GPU ────────────────────────────────────────────────────────────
disable_overscan=1
hdmi_drive=2
hdmi_force_hotplug=1              # ensure HDMI is detected even with no EDID

# Full-KMS driver (required for Wayland) + room for HDMI + SPI panel
dtoverlay=vc4-kms-v3d
max_framebuffers=2

# 3.5" ILI9486 SPI LCD (MPI3511 / piscreen) in DRM mode
# rotate=270 → portrait-right; change to 0/90/180 as needed
# fps=60 & speed=62 MHz give a fluid desktop on Pi 5
#dtoverlay=piscreen,drm,rotate=0,fps=60,speed=48000000
#dtoverlay=piscreen,drm,rotate=180,fps=60,speed=24000000
dtoverlay=mpi3511,drm,rotate=180,fps=60,speed=24000000


# Touch (new)
dtoverlay=ads7846,cs=1,penirq=17,penirq_pull=2,swapxy,invy
#          ^       ^           ^             ^      ^____ flip Y
#          |       |           |             \_____ swap X/Y (for rotation=180)
#          |       |           \– keep IRQ line pulled-down (pull=2)
#          |       \– GPIO 17 = pin 11 on the 40-pin header
#          \– use CE1 (SPI0 CS1)

# Auto-detect official cameras / DSI displays (safe to keep)
camera_auto_detect=1
display_auto_detect=1

# Misc
arm_64bit=1
enable_uart=1

###############################################################################
#  Sections that apply only to specific models                                #
###############################################################################

[pi4]
arm_boost=1                       # harmless on Pi 4, ignored on Pi 5

[cm4]
dtoverlay=dwc2,dr_mode=host       # USB-host OTG on CM4 IO board (ignored on Pi 5)