Jump to content

Recommended Posts

Posted

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines