Hello.
Can't run x11 on Debian 11.
I am using Nano Pi AIR (Allwiner h3). Since the board is not officially supported, I built the image on debian 11 myself.
root@nanopiair:/# uname -a
Linux nanopiair 5.15.44-sunxi #trunk SMP Wed Jun 8 08:41:04 UTC 2022 armv7l GNU/Linux
The LCD is connected via SPI, chip is ili9486. Device tree file has been created, I can see the loading process and the console on the screen.
I'm trying to start the X-server by "startx" from ssh session, but for some reason it ends immediately after the start.
I tried using fbdev or fbturbo as driver. I also tried to remove the config with the driver in general (section "Device").
Here is the X server log when starting without explicitly specifying a driver:
https://pastebin.com/zMXaQngf
The only error is: [403138.174] (EE) modeset(0): glamor initialization failed
I try to use fbturbo driver.
root@nanopiair:# cat /etc/X11/xorg.conf.d/50-fbturbo.conf
Section "Device"
Identifier "Allwinner A10/A13 FBDEV"
Driver "fbturbo"
Option "fbdev" "/dev/fb0"
Option "SwapbuffersWait" "true"
EndSection
I get Xorg.log with errors "FBTURBO(0): FBIOPUTCMAP: Invalid argument". Full log - https://pastebin.com/UfgT1K8U
I try to use fbdev driver:
root@nanopiair:/etc/X11/xorg.conf.d# cat /etc/X11/xorg.conf.d/50-fbdev.conf
Section "Device"
Identifier "Allwinner A10/A13 FBDEV"
Driver "fbdev"
Option "fbdev" "/dev/fb0"
# Option "SwapbuffersWait" "true"
EndSection
I get Xorg.log with errors "FBDEV(0): FBIOPUTCMAP: Invalid argument". Full log - https://pastebin.com/EqDCEGLf
Why X server terminating after start?
I have a second such board, it also has armbian, but on debian 10 and everything works fine without Xorg config.