xorg-server-1.20.8-r1 does not work with fbdev
[ 11.565] (WW) Failed to open protocol names file lib/xorg/protocol.txt
[ 11.565]
X.Org X Server 1.20.8
X Protocol Version 11, Revision 0
[ 11.565] Build Operating System: Linux Alpine Linux
[ 11.565] Current Operating System: Linux samsung-j1mini3g 3.10.106-traps #3-postmarketOS SMP PREEMPT Thu Mar 26 19:13:59 UTC 2020 armv7l
[ 11.566] Kernel command line: androidboot.hardware=sc8830 androidboot.bootdevice=sdio_emmc androidboot.selinux=permissive init=/init lcd_id=ID066108 lcd_base=9f197000 initrd=0x85500000,0x10e20e wfixnv=0x88240000,0x40000 wruntimenv=0x88280000,0x60000 sec_debug.reset_reason=0x1A2B3C00 hw_revision=2 muic_rustproof=0 sec_debug.level=0 androidboot.debug_level=0x4f4c console=null loglevel=0 sec_log=0xffe00@0x86b00000 androidboot.bootloader=J105HXWU0AQK1 androidboot.emmc_checksum=3 jig_uart_set=0 connie=SM-J105H_SER_CIS_d53b2c03f7fe066aa940519439fe0002 cordon=e90067cae6ea14f2eef3e172117433bb androidboot.serialno=4203f2bedc9e9300 calmode=0 fgu_init=2880,7825
[ 11.566] Build Date: 07 April 2020 08:22:09PM
[ 11.566]
[ 11.566] Current version of pixman: 0.38.4
[ 11.566] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 11.566] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 11.567] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Apr 11 23:06:17 2020
[ 11.567] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 11.568] (==) No Layout section. Using the first Screen section.
[ 11.568] (==) No screen section available. Using defaults.
[ 11.568] (**) |-->Screen "Default Screen Section" (0)
[ 11.568] (**) | |-->Monitor "<default monitor>"
[ 11.570] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 11.570] (==) Automatically adding devices
[ 11.570] (==) Automatically enabling devices
[ 11.570] (==) Automatically adding GPU devices
[ 11.570] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 11.570] (WW) The directory "/usr/share/fonts/TTF" does not exist.
[ 11.570] Entry deleted from font path.
[ 11.570] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[ 11.570] Entry deleted from font path.
[ 11.570] (==) FontPath set to:
/usr/share/fonts/misc,
/usr/share/fonts/100dpi:unscaled,
/usr/share/fonts/75dpi:unscaled
[ 11.571] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 11.571] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 11.571] (II) Module ABI versions:
[ 11.571] X.Org ANSI C Emulation: 0.4
[ 11.571] X.Org Video Driver: 24.1
[ 11.571] X.Org XInput driver : 24.1
[ 11.571] X.Org Server Extension : 10.0
[ 11.571] (II) no primary bus or device found
[ 11.571] (II) LoadModule: "glx"
[ 11.573] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 11.581] (II) Module glx: vendor="X.Org Foundation"
[ 11.581] compiled for 1.20.8, module version = 1.0.0
[ 11.581] ABI class: X.Org Server Extension, version 10.0
[ 11.582] (==) Matched modesetting as autoconfigured driver 0
[ 11.582] (==) Matched fbdev as autoconfigured driver 1
[ 11.582] (==) Assigned the driver to the xf86ConfigLayout
[ 11.582] (II) LoadModule: "modesetting"
[ 11.583] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 11.585] (II) Module modesetting: vendor="X.Org Foundation"
[ 11.585] compiled for 1.20.8, module version = 1.20.8
[ 11.585] Module class: X.Org Video Driver
[ 11.585] ABI class: X.Org Video Driver, version 24.1
[ 11.585] (II) LoadModule: "fbdev"
[ 11.586] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[ 11.587] (II) Module fbdev: vendor="X.Org Foundation"
[ 11.587] compiled for 1.20.3, module version = 0.5.0
[ 11.587] Module class: X.Org Video Driver
[ 11.587] ABI class: X.Org Video Driver, version 24.0
[ 11.587] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 11.587] (II) FBDEV: driver for framebuffer: fbdev
[ 11.587] (++) using VT number 7
[ 11.587] (WW) Falling back to old probe method for modesetting
[ 11.587] (EE) open /dev/dri/card0: No such file or directory
[ 11.588] (WW) Falling back to old probe method for fbdev
[ 11.588] (II) Loading sub module "fbdevhw"
[ 11.588] (II) LoadModule: "fbdevhw"
[ 11.589] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[ 11.589] (II) Module fbdevhw: vendor="X.Org Foundation"
[ 11.589] compiled for 1.20.8, module version = 0.0.2
[ 11.589] ABI class: X.Org Video Driver, version 24.1
[ 11.589] (II) FBDEV(0): using default device
[ 11.589] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 11.590] (II) FBDEV(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 16/16
[ 11.590] (==) FBDEV(0): Depth 16, (==) framebuffer bpp 16
[ 11.590] (==) FBDEV(0): RGB weight 565
[ 11.590] (==) FBDEV(0): Default visual is TrueColor
[ 11.590] (==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0)
[ 11.590] (II) FBDEV(0): hardware: sprdfb (video memory: 2250kB)
[ 11.590] (DB) xf86MergeOutputClassOptions unsupported bus type 0
[ 11.590] (II) FBDEV(0): checking modes against framebuffer device...
[ 11.590] (II) FBDEV(0): checking modes against monitor...
[ 11.590] (II) FBDEV(0): Virtual size is 480x800 (pitch 480)
[ 11.590] (**) FBDEV(0): Built-in mode "current": 23.0 MHz, 48.0 kHz, 60.0 Hz
[ 11.590] (II) FBDEV(0): Modeline "current"x0.0 23.04 480 480 480 480 800 800 800 800 -hsync -vsync -csync (48.0 kHz b)
[ 11.590] (==) FBDEV(0): DPI set to (96, 96)
[ 11.590] (II) Loading sub module "fb"
[ 11.590] (II) LoadModule: "fb"
[ 11.592] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 11.592] (II) Module fb: vendor="X.Org Foundation"
[ 11.593] compiled for 1.20.8, module version = 1.0.0
[ 11.593] ABI class: X.Org ANSI C Emulation, version 0.4
[ 11.593] (**) FBDEV(0): using shadow framebuffer
[ 11.593] (II) Loading sub module "shadow"
[ 11.593] (II) LoadModule: "shadow"
[ 11.594] (II) Loading /usr/lib/xorg/modules/libshadow.so
[ 11.594] (EE) Failed to load /usr/lib/xorg/modules/libshadow.so: Error loading shared library libfb.so: No such file or directory (needed by /usr/lib/xorg/modules/libshadow.so)
[ 11.594] (EE) FBDEV: Failed to load module "shadow" (loader failed, 0)
[ 11.594] (EE) Illegal instruction at address 0xb6d86546
[ 11.594] (EE)
Fatal server error:
[ 11.594] (EE) Caught signal 4 (Illegal instruction). Server aborting
[ 11.594] (EE)
[ 11.594] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 11.595] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 11.595] (EE)
[ 11.595] (EE) Server terminated with error (1). Closing log file.
Relevant part seems to be [ 11.594] (EE) Failed to load /usr/lib/xorg/modules/libshadow.so: Error loading shared library libfb.so: No such file or directory (needed by /usr/lib/xorg/modules/libshadow.so)
This issue does not happen with xorg-server-1.20.6-r0 from Alpine 3.11.