Resolved! Buster 3 beta 3,5 inch touchscreen problem, error

Volumio Information

Volumio Version: 3.073
Hardware: raspberry pi 4b
DAC: khadas tone 1.

i’m trying to get 3.5 inch touchscreen working with buster beta 3.
unfortunately I can’t get it working, during booting the screen goes from light to dark and I get the error (xinit: unable to connect to X server: Connection refused) see also log!
is a newly installed volumio buster beta 3 image.

installed according to the following and touch-plug-in manually: Volumio with 3.5" TFT Touch Screen (GPIO) RPi 3B+

touch plugin installed according to the following.

  1. Download the plugin package

wget https://github.com/volumio/volumio-plugins/raw/gh-pages/plugins/volumio/armhf/miscellanea/touch_display/touch_display.zip

  1. Create a directory for unzipping the plugin package

mkdir touch_display

  1. Unzip the plugin package to the newly created directory

miniunzip touch_display.zip -d touch_display

  1. Change into the directory with the unzipped files

cd touch_display

  1. Install the plugin

volumio plugin install

When the installation process has finished you will see some finalize message (don’t remember the wording in detail) on the command line. You will probably have to hit “Ctrl+c” to return to the prompt.

  1. Optionally delete the downloaded file and the unzipped files:

rm touch_display.zip

rm -r touch_display

  1. Enable the plugin from the UI as usual.


Please post the result of

chromium-browser version

(chromium-browser-v7:1835): Gtk-WARNING **: 11:29:13.348: cannot open display: 
volumio@volumio-khadas:~$

Did you install lightdm?

no, i have not installed lightdm.

Good :wink:

Please post the ouput of

ls -al /tmp/X11-unix

cat /boot/config.txt

cat /boot/userconfig.txt

and

cat /var/log/Xorg.0.log

**volumio@volumio-khadas**:**~**$ ls -al /tmp/X11-unix

ls: cannot access '/tmp/X11-unix': No such file or directory

**volumio@volumio-khadas**:**~**$ cat /boot/config.txt

initramfs volumio.initrd

gpu_mem=32

max_usb_current=1

dtparam=audio=on

audio_pwm_mode=2

dtparam=i2c_arm=on

disable_splash=1

hdmi_force_hotplug=1

dtoverlay=tft35a:rotate=90

include userconfig.txt
**volumio@volumio-khadas**:**~**$ cat /boot/userconfig.txt

enable_uart=1

dtoverlay=pi3-miniuart-bt

# Add your custom config.txt options to this file, which will be preserved during updates

volumio@volumio-khadas:~$ cat /var/log/Xorg.0.log
[    30.845] 
X.Org X Server 1.20.4
X Protocol Version 11, Revision 0
[    30.846] Build Operating System: Linux 5.10.17-v8+ aarch64 Raspbian
[    30.846] Current Operating System: Linux volumio-khadas 5.4.83-v7l+ #1379 SMP Mon Dec 14 13:11:54 GMT 2020 armv7l
[    30.846] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 bcm2708_fb.fbwidth=640 bcm2708_fb.fbheight=480 bcm2708_fb.fbswap=1 smsc95xx.macaddr=DC:A6:32:1B:9D:E8 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  splash plymouth.ignore-serial-consoles dwc_otg.fiq_enable=1 dwc_otg.fiq_fsm_enable=1 dwc_otg.fiq_fsm_mask=0xF dwc_otg.nak_holdoff=1 quiet console=ttyAMA0,115200 console=tty1 imgpart=/dev/mmcblk0p2 imgfile=/volumio_current.sqsh rootwait bootdelay=5 elevator=noop logo.nologo vt.global_cursor_default=0 net.ifnames=0 snd-bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 loglevel=8
[    30.846] Build Date: 19 April 2021  03:23:36PM
[    30.846] xorg-server 2:1.20.4-1+rpt3+deb10u3 (https://www.debian.org/support) 
[    30.846] Current version of pixman: 0.36.0
[    30.846] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    30.846] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    30.846] (==) Log file: "/var/log/Xorg.0.log", Time: Wed May 19 10:55:31 2021
[    30.854] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    30.854] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    30.860] (==) No Layout section.  Using the first Screen section.
[    30.860] (==) No screen section available. Using defaults.
[    30.860] (**) |-->Screen "Default Screen Section" (0)
[    30.860] (**) |   |-->Monitor "<default monitor>"
[    30.865] (==) No device specified for screen "Default Screen Section".
	Using the first device section listed.
[    30.865] (**) |   |-->Device "Allwinner A10/A13/A20 FBDEV"
[    30.865] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[    30.865] (==) Automatically adding devices
[    30.865] (==) Automatically enabling devices
[    30.865] (==) Automatically adding GPU devices
[    30.869] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    30.869] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[    30.870] 	Entry deleted from font path.
[    30.870] (==) FontPath set to:
	/usr/share/fonts/X11/misc,
	/usr/share/fonts/X11/100dpi/:unscaled,
	/usr/share/fonts/X11/75dpi/:unscaled,
	/usr/share/fonts/X11/Type1,
	/usr/share/fonts/X11/100dpi,
	/usr/share/fonts/X11/75dpi,
	built-ins
[    30.871] (==) ModulePath set to "/usr/lib/xorg/modules"
[    30.871] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    30.871] (II) Loader magic: 0x1fdf80
[    30.871] (II) Module ABI versions:
[    30.871] 	X.Org ANSI C Emulation: 0.4
[    30.871] 	X.Org Video Driver: 24.0
[    30.871] 	X.Org XInput driver : 24.1
[    30.871] 	X.Org Server Extension : 10.0
[    30.872] (--) using VT number 2

[    30.872] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[    30.873] (II) no primary bus or device found
[    30.873] (II) LoadModule: "glx"
[    30.875] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    30.912] (II) Module glx: vendor="X.Org Foundation"
[    30.912] 	compiled for 1.20.4, module version = 1.0.0
[    30.912] 	ABI class: X.Org Server Extension, version 10.0
[    30.912] (II) LoadModule: "fbturbo"
[    30.912] (WW) Warning, couldn't open module fbturbo
[    30.912] (EE) Failed to load module "fbturbo" (module does not exist, 0)
[    30.912] (EE) No drivers available.
[    30.913] (EE) 
Fatal server error:
[    30.913] (EE) no screens found(EE) 
[    30.913] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[    30.914] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    30.914] (EE) 
[    30.915] (EE) Server terminated with error (1). Closing log file.
volumio@volumio-khadas:~$

Post the results of

ls -al /etc/X11/xorg.conf.d

and

ls -al /usr/share/X11/xorg.conf.d

please.

**volumio@volumio-khadas**:**~**$ ls -al /etc/X11/xorg.conf.d

total 6

drwxr-xr-x 2 root root 1024 May 19 13:26 **.**

drwxr-xr-x 1 root root 1024 May 19 09:48 **..**

-rw-r--r-- 1 root root 316 May 19 13:26 95-touch_display-plugin.conf

-rwxr-xr-x 1 root root 227 May 19 09:56 **99-calibration.conf**
**volumio@volumio-khadas**:**~**$ ls -al /usr/share/X11/xorg.conf.d

total 16

drwxr-xr-x 2 root root 1024 May 19 09:58 **.**

drwxr-xr-x 1 root root 1024 May 19 09:45 **..**

-rw-r--r-- 1 root root 92 Feb 7 2019 10-amdgpu.conf

-rw-r--r-- 1 root root 1099 Aug 23 2018 10-evdev.conf

-rw-r--r-- 1 root root 1350 Apr 19 15:23 10-quirks.conf

-rw-r--r-- 1 root root 92 Apr 6 2019 10-radeon.conf

-rw-r--r-- 1 root root 1429 Mar 31 2019 40-libinput.conf

-rw-r--r-- 1 root root 2747 Jun 26 2017 70-wacom.conf

-rwxr-xr-x 1 root root 609 May 19 09:53 **99-fbturbo.conf**

Rename “99-fbturbo.conf” to “99-fbturbo.conf.bak”

sudo mv /usr/share/X11/xorg.conf.d/99-fbturbo.conf /usr/share/X11/xorg.conf.d/99-fbturbo.conf.bak

and restart the plugin.

okay the file has changed no more error appears, only the screen still remains dark, even after a reboot.

Please post another

cat /var/log/Xorg.0.log

volumio@volumio-khadas:~$ cat /var/log/Xorg.0.log
[    31.073] 
X.Org X Server 1.20.4
X Protocol Version 11, Revision 0
[    31.074] Build Operating System: Linux 5.10.17-v8+ aarch64 Raspbian
[    31.074] Current Operating System: Linux volumio-khadas 5.4.83-v7l+ #1379 SMP Mon Dec 14 13:11:54 GMT 2020 armv7l
[    31.074] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 bcm2708_fb.fbwidth=640 bcm2708_fb.fbheight=480 bcm2708_fb.fbswap=1 smsc95xx.macaddr=DC:A6:32:1B:9D:E8 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  splash plymouth.ignore-serial-consoles dwc_otg.fiq_enable=1 dwc_otg.fiq_fsm_enable=1 dwc_otg.fiq_fsm_mask=0xF dwc_otg.nak_holdoff=1 quiet console=ttyAMA0,115200 console=tty1 imgpart=/dev/mmcblk0p2 imgfile=/volumio_current.sqsh rootwait bootdelay=5 elevator=noop logo.nologo vt.global_cursor_default=0 net.ifnames=0 snd-bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 loglevel=8
[    31.075] Build Date: 19 April 2021  03:23:36PM
[    31.075] xorg-server 2:1.20.4-1+rpt3+deb10u3 (https://www.debian.org/support) 
[    31.075] Current version of pixman: 0.36.0
[    31.075] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    31.075] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    31.076] (==) Log file: "/var/log/Xorg.0.log", Time: Wed May 19 14:34:54 2021
[    31.087] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    31.087] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    31.093] (==) No Layout section.  Using the first Screen section.
[    31.093] (==) No screen section available. Using defaults.
[    31.093] (**) |-->Screen "Default Screen Section" (0)
[    31.093] (**) |   |-->Monitor "<default monitor>"
[    31.097] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[    31.097] (==) Automatically adding devices
[    31.097] (==) Automatically enabling devices
[    31.097] (==) Automatically adding GPU devices
[    31.101] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    31.102] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[    31.102] 	Entry deleted from font path.
[    31.103] (==) FontPath set to:
	/usr/share/fonts/X11/misc,
	/usr/share/fonts/X11/100dpi/:unscaled,
	/usr/share/fonts/X11/75dpi/:unscaled,
	/usr/share/fonts/X11/Type1,
	/usr/share/fonts/X11/100dpi,
	/usr/share/fonts/X11/75dpi,
	built-ins
[    31.103] (==) ModulePath set to "/usr/lib/xorg/modules"
[    31.103] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    31.103] (II) Loader magic: 0x1fdf80
[    31.103] (II) Module ABI versions:
[    31.103] 	X.Org ANSI C Emulation: 0.4
[    31.103] 	X.Org Video Driver: 24.0
[    31.103] 	X.Org XInput driver : 24.1
[    31.103] 	X.Org Server Extension : 10.0
[    31.104] (--) using VT number 2

[    31.104] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[    31.106] (II) no primary bus or device found
[    31.106] (II) LoadModule: "glx"
[    31.108] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    31.145] (II) Module glx: vendor="X.Org Foundation"
[    31.145] 	compiled for 1.20.4, module version = 1.0.0
[    31.145] 	ABI class: X.Org Server Extension, version 10.0
[    31.146] (==) Matched modesetting as autoconfigured driver 0
[    31.146] (==) Matched fbdev as autoconfigured driver 1
[    31.146] (==) Assigned the driver to the xf86ConfigLayout
[    31.146] (II) LoadModule: "modesetting"
[    31.146] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    31.149] (II) Module modesetting: vendor="X.Org Foundation"
[    31.149] 	compiled for 1.20.4, module version = 1.20.4
[    31.149] 	Module class: X.Org Video Driver
[    31.149] 	ABI class: X.Org Video Driver, version 24.0
[    31.149] (II) LoadModule: "fbdev"
[    31.150] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[    31.151] (II) Module fbdev: vendor="X.Org Foundation"
[    31.151] 	compiled for 1.20.3, module version = 0.5.0
[    31.151] 	Module class: X.Org Video Driver
[    31.151] 	ABI class: X.Org Video Driver, version 24.0
[    31.151] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    31.151] (II) FBDEV: driver for framebuffer: fbdev
[    31.152] (WW) Falling back to old probe method for modesetting
[    31.152] (EE) open /dev/dri/card0: No such file or directory
[    31.152] (WW) Falling back to old probe method for fbdev
[    31.152] (II) Loading sub module "fbdevhw"
[    31.152] (II) LoadModule: "fbdevhw"
[    31.153] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[    31.154] (II) Module fbdevhw: vendor="X.Org Foundation"
[    31.154] 	compiled for 1.20.4, module version = 0.0.2
[    31.154] 	ABI class: X.Org Video Driver, version 24.0
[    31.154] (II) FBDEV(0): using default device
[    31.155] (II) FBDEV(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[    31.155] (==) FBDEV(0): Depth 24, (==) framebuffer bpp 32
[    31.155] (==) FBDEV(0): RGB weight 888
[    31.155] (==) FBDEV(0): Default visual is TrueColor
[    31.155] (==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0)
[    31.155] (II) FBDEV(0): hardware: BCM2708 FB (video memory: 1200kB)
[    31.155] (DB) xf86MergeOutputClassOptions unsupported bus type 0
[    31.155] (II) FBDEV(0): checking modes against framebuffer device...
[    31.155] (II) FBDEV(0): checking modes against monitor...
[    31.155] (II) FBDEV(0): Virtual size is 640x480 (pitch 640)
[    31.155] (**) FBDEV(0):  Built-in mode "current"
[    31.155] (==) FBDEV(0): DPI set to (96, 96)
[    31.155] (II) Loading sub module "fb"
[    31.155] (II) LoadModule: "fb"
[    31.155] (II) Loading /usr/lib/xorg/modules/libfb.so
[    31.159] (II) Module fb: vendor="X.Org Foundation"
[    31.159] 	compiled for 1.20.4, module version = 1.0.0
[    31.159] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    31.159] (**) FBDEV(0): using shadow framebuffer
[    31.159] (II) Loading sub module "shadow"
[    31.159] (II) LoadModule: "shadow"
[    31.159] (II) Loading /usr/lib/xorg/modules/libshadow.so
[    31.161] (II) Module shadow: vendor="X.Org Foundation"
[    31.161] 	compiled for 1.20.4, module version = 1.1.0
[    31.161] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    31.161] (II) UnloadModule: "modesetting"
[    31.161] (II) Unloading modesetting
[    31.174] (==) FBDEV(0): Backing store enabled
[    31.177] (==) FBDEV(0): DPMS enabled
[    31.178] (II) Initializing extension Generic Event Extension
[    31.178] (II) Initializing extension SHAPE
[    31.179] (II) Initializing extension MIT-SHM
[    31.179] (II) Initializing extension XInputExtension
[    31.182] (II) Initializing extension XTEST
[    31.183] (II) Initializing extension BIG-REQUESTS
[    31.183] (II) Initializing extension SYNC
[    31.184] (II) Initializing extension XKEYBOARD
[    31.184] (II) Initializing extension XC-MISC
[    31.185] (II) Initializing extension SECURITY
[    31.186] (II) Initializing extension XFIXES
[    31.186] (II) Initializing extension RENDER
[    31.187] (II) Initializing extension RANDR
[    31.188] (II) Initializing extension COMPOSITE
[    31.189] (II) Initializing extension DAMAGE
[    31.190] (II) Initializing extension MIT-SCREEN-SAVER
[    31.190] (II) Initializing extension DOUBLE-BUFFER
[    31.191] (II) Initializing extension RECORD
[    31.192] (II) Initializing extension DPMS
[    31.192] (II) Initializing extension Present
[    31.193] (II) Initializing extension DRI3
[    31.193] (II) Initializing extension X-Resource
[    31.193] (II) Initializing extension XVideo
[    31.194] (II) Initializing extension XVideo-MotionCompensation
[    31.194] (II) Initializing extension SELinux
[    31.194] (II) SELinux: Disabled on system
[    31.194] (II) Initializing extension GLX
[    31.195] (II) AIGLX: Screen 0 is not DRI2 capable
[    31.925] (II) IGLX: Loaded and initialized swrast
[    31.925] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[    31.925] (II) Initializing extension XFree86-VidModeExtension
[    31.925] (II) Initializing extension XFree86-DGA
[    31.926] (II) Initializing extension XFree86-DRI
[    31.927] (II) Initializing extension DRI2
[    32.100] (II) config/udev: Adding input device ADS7846 Touchscreen (/dev/input/event0)
[    32.100] (**) ADS7846 Touchscreen: Applying InputClass "evdev touchscreen catchall"
[    32.100] (**) ADS7846 Touchscreen: Applying InputClass "libinput touchscreen catchall"
[    32.100] (**) ADS7846 Touchscreen: Applying InputClass "Touch rotation"
[    32.100] (**) ADS7846 Touchscreen: Applying InputClass "calibration"
[    32.100] (II) LoadModule: "evdev"
[    32.100] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[    32.107] (II) Module evdev: vendor="X.Org Foundation"
[    32.107] 	compiled for 1.20.3, module version = 2.10.6
[    32.107] 	Module class: X.Org XInput Driver
[    32.107] 	ABI class: X.Org XInput driver, version 24.1
[    32.107] (II) Using input driver 'evdev' for 'ADS7846 Touchscreen'
[    32.107] (**) ADS7846 Touchscreen: always reports core events
[    32.107] (**) evdev: ADS7846 Touchscreen: Device: "/dev/input/event0"
[    32.107] (--) evdev: ADS7846 Touchscreen: Vendor 0 Product 0
[    32.107] (--) evdev: ADS7846 Touchscreen: Found absolute axes
[    32.107] (--) evdev: ADS7846 Touchscreen: Found x and y absolute axes
[    32.107] (--) evdev: ADS7846 Touchscreen: Found absolute touchscreen
[    32.107] (**) Option "SwapAxes" "1"
[    32.107] (II) evdev: ADS7846 Touchscreen: Configuring as touchscreen
[    32.107] (**) evdev: ADS7846 Touchscreen: YAxisMapping: buttons 4 and 5
[    32.107] (**) evdev: ADS7846 Touchscreen: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[    32.107] (**) Option "config_info" "udev:/sys/devices/platform/soc/fe204000.spi/spi_master/spi0/spi0.1/input/input0/event0"
[    32.107] (II) XINPUT: Adding extended input device "ADS7846 Touchscreen" (type: TOUCHSCREEN, id 6)
[    32.107] (II) evdev: ADS7846 Touchscreen: initialized for absolute axes.
[    32.108] (**) ADS7846 Touchscreen: (accel) keeping acceleration scheme 1
[    32.108] (**) ADS7846 Touchscreen: (accel) acceleration profile 0
[    32.108] (**) ADS7846 Touchscreen: (accel) acceleration factor: 2.000
[    32.108] (**) ADS7846 Touchscreen: (accel) acceleration threshold: 4
[    32.110] (II) config/udev: Adding input device ADS7846 Touchscreen (/dev/input/mouse0)
[    32.110] (**) ADS7846 Touchscreen: Applying InputClass "calibration"
[    32.110] (II) Using input driver 'evdev' for 'ADS7846 Touchscreen'
[    32.110] (**) ADS7846 Touchscreen: always reports core events
[    32.110] (**) evdev: ADS7846 Touchscreen: Device: "/dev/input/mouse0"
[    32.110] (EE) evdev: ADS7846 Touchscreen: Unable to query fd: Inappropriate ioctl for device
[    32.200] (EE) PreInit returned 2 for "ADS7846 Touchscreen"
[    32.200] (II) UnloadModule: "evdev"

You might try to substitute dtoverlay=tft35a:rotate=90 in “/boot/config.txt” with

dtoverlay=ads7846
dtparam=cs=1
dtparam=penirq=17
dtparam=penirq_pull=2
dtparam=speed=1000000
dtparam=swapxy=1
dtparam=pmax=255
dtparam=xohms=60
dtparam=xmin=200
dtparam=xmax=3900
dtparam=ymin=200
dtparam=ymax=3900

Also, what is the result of

cat /usr/share/X11/xorg.conf.d/99-fbturbo.conf.bak?

applied this, but now the screen remains blank, I have set it back to original.

what I don’t understand is that with volumio 2 (don’t know exactly which version but one of the last ones) it just works.

volumio@volumio-khadas:~$ cat /usr/share/X11/xorg.conf.d/99-fbturbo.conf.bak
# This is a minimal sample config file, which can be copied to
# /etc/X11/xorg.conf in order to make the Xorg server pick up
# and load xf86-video-fbturbo driver installed in the system.
#
# When troubleshooting, check /var/log/Xorg.0.log for the debugging
# output and error messages.
# Run "man fbturbo" to get additional information about the extra
# configuration options for tuning the driver.

Section "Device"
        Identifier      "Allwinner A10/A13/A20 FBDEV"
        Driver          "fbturbo"
        Option          "fbdev" "/dev/fb1"

        Option          "SwapbuffersWait" "true"
EndSection
volumio@volumio-khadas:~$ cat /usr/share/X11/xorg.conf.d/99-fbturbo.conf.bak?
cat: '/usr/share/X11/xorg.conf.d/99-fbturbo.conf.bak?': No such file or directory
volumio@volumio-khadas:~$

I guess the driver “fbturbo”, i.e. the file “/usr/lib/xorg/modules/drivers/fbturbo_drv.so”, is missing which prevents the xserver from starting if “fbturbo” is given as the driver to use (here in “99-fbturbo.conf”).

After you renamed “99-fbturbo.conf” (so it wasn’t applied anymore) the driver “fbdev” has been used. Now the xserver runs but you (still) have no image. This could be caused by using the wrong framebuffer.

So what you could try next is renaming “99-fbturbo.conf.bak” back to “99-fbturbo.conf” and changing the driver from “fbturbo” to “fbdev”:

Driver          "fbdev"

So the driver “fbdev” would be loaded and framebuffer 1 would be used.

If the screen remains black you could experiment with setting

Option          "fbdev" "/dev/fb1"

to

Option          "fbdev" "/dev/fb0"

Or instead of all that above:

Try to install fbturbo driver by

sudo apt-get install xserver-xorg-video-fbturbo

I think on Buster the package does not get installed automatically along with Xorg because it is marked as “testing”.

So it would be interesting to know if we can get along without it.

yesssss! you were right :smile:, I put the name back to “99-fbturbo.conf” and set the driver “fbturbo” to “fbdev” and left the Option “fbdev” “/ dev / fb1” as it is.

i have not tried this: sudo apt-get install xserver-xorg-video-fbturbo

the only thing is that the touch alignment is not correct.

Are you using the display in portait or landscape mode?

How is your “99-calibration.conf” looking?

cat /etc/X11/xorg.conf.d/99-calibration.conf

in landscape.


volumio@volumio-khadas:~$ cat /etc/X11/xorg.conf.d/99-calibration.conf
Section "InputClass"
        Identifier      "calibration"
        MatchProduct    "ADS7846 Touchscreen"
        Option  "Calibration"   "3936 227 268 3880"
        Option  "SwapAxes"      "1"
        Driver "evdev"
EndSection
volumio@volumio-khadas:~$

Do you think touch is just inaccurate or is it twisted related to the display ir axes swapped or inverted?