[Help] Volumio With Tingbot 3.2" Screen

Hi All

I am trying to reuse a screen from an old RPi kit that I kickstartered back in the day when that was cool. But I can’t get it to work at all. All I get is the screen being white. Volumio still works through the web interface though.

The screen is 3.2" 320x240 pixel screen. The only markings on it are:

  • The name of the Rpi kit (Tingbot)
  • 3231-SZ on the side of the LCD
  • There is an XPT2046 chip
  • There is an Xilinx XC9572XL chip

So what I’ve done so far, starting from a brand new image of 2.882:

  1. Install the Touch Screen plugin for volumio.
  2. From the screen using information in the tingbot FAQ - attempted to follow these instructions - this included:
  • Enabling and disabling some services as said in the link
  • Copying the driver over using filezilla into boot/overlays/
  • Adding dtparam=spi=on and dtoverlay=tingbot:xohms=80 to the /boot/config.txt
  • Adding fbcon=map:10 to /boot/cmdline.txt

At this point I’ve rebooted, and the screen stays white.

Any help would be appreciated - I’d rather not throw out what I think is a perfectly working screen.

Volumio Information

Volumio Version: 2.882
Hardware: Raspberry Pi 2
DAC: Generic ES9023

The Pi2 could be a little underpowered to be used in kiosk mode, i.e. with the Touch Display plugin. So maybe you just have to wait longer ; )

In the meantime please connect to Volumio via SSH and post the output of

cat /var/log/Xorg.0.log
and
chromium-browser -version

Thanks for getting back to me. Even if the RPi2 is underpowered, it should still run the screen, just badly right?

If it does end up being underpowered, I can try a Rpi3 that I have currently running my 3D Printer.

The results of cat /var/log/Xorg.0.log

[    65.302]
X.Org X Server 1.18.4
Release Date: 2016-07-19
[    65.303] X Protocol Version 11, Revision 0
[    65.303] Build Operating System: Linux 4.4.26-v7+ armv7l Raspbian
[    65.303] Current Operating System: Linux volumio 4.19.118-v7+ #1311 SMP Mon Apr 27 14:21:24 BST 2020 armv7l
[    65.303] Kernel command line: coherent_pool=1M bcm2708_fb.fbwidth=640 bcm2708_fb.fbheight=480 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size                                                                                     =0x40000000  splash quiet plymouth.ignore-serial-consoles dwc_otg.fiq_enable=1 d                                                                                     wc_otg.fiq_fsm_enable=1 dwc_otg.fiq_fsm_mask=0xF dwc_otg.nak_holdoff=1 console=t                                                                                     tyAMA0,115200 kgdboc=ttyAMA0,115200 console=ttyl imgpart=/dev/mmcblk0p2 imgfile=                                                                                     /volumio_current.sqsh elevator=noop rootwait bootdelay=5 logo.nologo vt.global_c                                                                                     ursor_default=0 loglevel=0 snd-bcm2835.enable_compat_alsa=1 snd_bcm2835.enable_h                                                                                     eadphones=1 fbcon=map:10
[    65.303] Build Date: 11 November 2016  11:59:59AM
[    65.303] xorg-server 2:1.18.4-2+rpi1 (https://www.debian.org/support)
[    65.303] Current version of pixman: 0.32.6
[    65.303]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[    65.303] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    65.304] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Jul  7 18:21:18 2021
[    65.318] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    65.318] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    65.329] (==) No Layout section.  Using the first Screen section.
[    65.331] (==) No screen section available. Using defaults.
[    65.331] (**) |-->Screen "Default Screen Section" (0)
[    65.331] (**) |   |-->Monitor "<default monitor>"
[    65.339] (==) No device specified for screen "Default Screen Section".
        Using the first device section listed.
[    65.339] (**) |   |-->Device "Allwinner A10/A13 FBDEV"
[    65.339] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[    65.339] (==) Automatically adding devices
[    65.339] (==) Automatically enabling devices
[    65.339] (==) Automatically adding GPU devices
[    65.347] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    65.359] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[    65.360]    Entry deleted from font path.
[    65.370] (==) 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
[    65.370] (==) ModulePath set to "/usr/lib/xorg/modules"
[    65.370] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
[    65.370] (II) Loader magic: 0x5f8f20
[    65.370] (II) Module ABI versions:
[    65.370]    X.Org ANSI C Emulation: 0.4
[    65.370]    X.Org Video Driver: 20.0
[    65.370]    X.Org XInput driver : 22.1
[    65.370]    X.Org Server Extension : 9.0
[    65.374] (--) using VT number 2

[    65.375] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[    65.375] (II) no primary bus or device found
[    65.377] (II) LoadModule: "glx"
[    65.383] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    65.483] (II) Module glx: vendor="X.Org Foundation"
[    65.483]    compiled for 1.18.4, module version = 1.0.0
[    65.484]    ABI class: X.Org Server Extension, version 9.0
[    65.484] (==) AIGLX enabled
[    65.484] (II) LoadModule: "fbturbo"
[    65.487] (II) Loading /usr/lib/xorg/modules/drivers/fbturbo_drv.so
[    65.496] (II) Module fbturbo: vendor="X.Org Foundation"
[    65.496]    compiled for 1.18.4, module version = 0.5.1
[    65.496]    Module class: X.Org Video Driver
[    65.496]    ABI class: X.Org Video Driver, version 20.0
[    65.496] (II) FBTURBO: driver for framebuffer: fbturbo
[    65.502] (WW) Falling back to old probe method for fbturbo
[    65.502] (II) Loading sub module "fbdevhw"
[    65.502] (II) LoadModule: "fbdevhw"
[    65.502] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[    65.507] (II) Module fbdevhw: vendor="X.Org Foundation"
[    65.507]    compiled for 1.18.4, module version = 0.0.2
[    65.507]    ABI class: X.Org Video Driver, version 20.0
[    65.508] (II) FBTURBO(0): using /dev/fb0
[    65.508] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[    65.508] (II) FBTURBO(0): Creating default Display subsection in Screen section
        "Default Screen Section" for depth/fbbpp 24/32
[    65.508] (==) FBTURBO(0): Depth 24, (==) framebuffer bpp 32
[    65.508] (==) FBTURBO(0): RGB weight 888
[    65.508] (==) FBTURBO(0): Default visual is TrueColor
[    65.508] (==) FBTURBO(0): Using gamma correction (1.0, 1.0, 1.0)
[    65.508] (II) FBTURBO(0): hardware: BCM2708 FB (video memory: 1200kB)
[    65.508] (**) FBTURBO(0): Option "fbdev" "/dev/fb0"
[    65.508] (**) FBTURBO(0): Option "SwapbuffersWait" "true"
[    65.509] (II) FBTURBO(0): processor: ARM Cortex-A7
[    65.509] (II) FBTURBO(0): checking modes against framebuffer device...
[    65.509] (II) FBTURBO(0): checking modes against monitor...
[    65.509] (--) FBTURBO(0): Virtual size is 640x480 (pitch 640)
[    65.509] (**) FBTURBO(0):  Built-in mode "current"
[    65.509] (==) FBTURBO(0): DPI set to (96, 96)
[    65.509] (II) Loading sub module "fb"
[    65.509] (II) LoadModule: "fb"
[    65.513] (II) Loading /usr/lib/xorg/modules/libfb.so
[    65.523] (II) Module fb: vendor="X.Org Foundation"
[    65.523]    compiled for 1.18.4, module version = 1.0.0
[    65.523]    ABI class: X.Org ANSI C Emulation, version 0.4
[    65.523] (==) Depth 24 pixmap format is 32 bpp
[    65.548] (II) FBTURBO(0): using backing store heuristics
[    65.560] (II) FBTURBO(0): can't load 'g2d_23' kernel module
[    65.560] (II) FBTURBO(0): failed to enable the use of sunxi display controller
[    65.560] (II) FBTURBO(0): No sunxi-g2d hardware detected (check /dev/disp and /dev/g2d)
[    65.560] (II) FBTURBO(0): G2D hardware acceleration can't be enabled
[    65.560] (II) FBTURBO(0): enabled fbdev copyarea acceleration
[    65.560] (==) FBTURBO(0): Backing store enabled
[    65.572] (==) FBTURBO(0): DPMS enabled
[    65.572] (II) FBTURBO(0): failed to enable hardware cursor
[    65.572] (II) FBTURBO(0): no 3D acceleration because the driver has been compiled without libUMP
[    65.572] (II) FBTURBO(0): if this is wrong and needs to be fixed, please check ./configure log
[    65.575] (==) RandR enabled
[    65.628] (II) SELinux: Disabled on system
[    65.639] (II) AIGLX: Screen 0 is not DRI2 capable
[    65.639] (EE) AIGLX: reverting to software rendering
[    67.798] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[    67.813] (II) AIGLX: Loaded and initialized swrast
[    67.813] (II) GLX: Initialized DRISWRAST GL provider for screen 0

The results of chromium-browser -version

/usr/bin/chromium-browser: line 138: lsb_release: command not found
/usr/bin/chromium-browser: line 139: lsb_release: command not found
Chromium 56.0.2924.84 Built on Ubuntu 14.04, running on

Thanks for the log. Additionally please post the results of

ls /dev/fb*
and
systemctl status -l volumio-kiosk.service

And the results of those two are:

/dev/fb0

And

● volumio-kiosk.service - Volumio Kiosk
   Loaded: loaded (/lib/systemd/system/volumio-kiosk.service; disabled)
   Active: active (running) since Wed 2021-07-07 18:48:08 UTC; 50s ago
 Main PID: 1277 (startx)
   CGroup: /system.slice/volumio-kiosk.service
           ├─1277 /bin/sh /usr/bin/startx /etc/X11/Xsession /opt/volumiokiosk.sh -- -nocursor
           ├─1304 xinit /etc/X11/Xsession /opt/volumiokiosk.sh -- /usr/bin/X :0 -nocursor -auth /tmp/serverauth.0Aw2g4pzUb
           ├─1305 /usr/lib/xorg/Xorg :0 -nocursor -auth /tmp/serverauth.0Aw2g4pzUb
           ├─1375 /bin/bash /opt/volumiokiosk.sh
           ├─1392 /usr/bin/ssh-agent /opt/volumiokiosk.sh
           ├─1398 /usr/bin/openbox --startup /usr/lib/arm-linux-gnueabihf/openbox-autostart OPENBOX
           ├─1399 /usr/lib/chromium-browser/chromium-browser --enable-pinch --ppapi-flash-path=/usr/lib/chromium-browser/libpepflashplayer.so --ppapi-flash-args=enable_stagevideo_auto=0 --simulate-outdated-no-au=Tue, 31 Dec 2099 23:59:59 GMT --force-device-scale-factor=1 --disable-pinch --kiosk --no-first-run --noerrdialogs --disable-3d-apis --disable-breakpad --disable-crash-reporter --disable-infobars --disable-session-crashed-bubble --disable-translate --user-data-dir=/data/volumiokiosk http://localhost:3000
           ├─1425 /usr/bin/pulseaudio --start
           ├─1454 /usr/lib/chromium-browser/chromium-browser --type=zygote --force-device-scale-factor=1 --noerrdialogs --user-data-dir=/data/volumiokiosk --ppapi-flash-path=/usr/lib/chromium-browser/libpepflashplayer.so
           ├─1477 /bin/sh /usr/bin/start-pulseaudio-x11
           ├─1478 /usr/bin/xprop -root -spy
           ├─1482 /usr/lib/chromium-browser/chromium-browser --type=zygote --force-device-scale-factor=1 --noerrdialogs --user-data-dir=/data/volumiokiosk --ppapi-flash-path=/usr/lib/chromium-browser/libpepflashplayer.so
           └─1523 /usr/lib/chromium-browser/chromium-browser --type=renderer --disable-3d-apis --disable-breakpad --disable-pinch --enable-pinch --force-device-scale-factor=1 --enable-features=AutofillCreditCardSigninPromo<AutofillCreditCardSigninPromo,AutofillProfileCleanup<AutofillProfileCleanup,DocumentWriteEvaluator<DisallowFetchForDocWrittenScriptsInMainFrame,ExpectCTReporting<ExpectCTReporting,IncidentReportingDisableUpload<SafeBrowsingIncidentReportingService,IncidentReportingModuleLoadAnalysis<SafeBrowsingIncidentReportingServiceFeatures,IncidentReportingSuspiciousModuleReporting<SafeBrowsingIncidentReportingServiceFeatures,MaterialDesignUserManager<MaterialDesignUserManager,NegotiateTLS13<TLS13Negotiation,NetworkTimeServiceQuerying<NetworkTimeQueries,NewAudioRenderingMixingStrategy<NewAudioRenderingMixingStrategy

Jul 07 18:48:08 volumio startx[1277]: (++) from command line, (!!) notice, (II) informational,
Jul 07 18:48:08 volumio startx[1277]: (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
Jul 07 18:48:08 volumio startx[1277]: (==) Log file: "/var/log/Xorg.0.log", Time: Wed Jul  7 18:48:08 2021
Jul 07 18:48:08 volumio startx[1277]: (==) Using config directory: "/etc/X11/xorg.conf.d"
Jul 07 18:48:08 volumio startx[1277]: (==) Using system config directory "/usr/share/X11/xorg.conf.d"
Jul 07 18:48:08 volumio startx[1277]: modprobe: FATAL: Module g2d_23 not found.
Jul 07 18:48:16 volumio pulseaudio[1425]: Unable to contact D-Bus: org.freedesktop.DBus.Error.Spawn.ExecFailed: /usr/bin/dbus-launch terminated abnormally without any error message
Jul 07 18:48:16 volumio pulseaudio[1425]: Unable to contact D-Bus: org.freedesktop.DBus.Error.Spawn.ExecFailed: /usr/bin/dbus-launch terminated abnormally without any error message
Jul 07 18:48:16 volumio pulseaudio[1425]: org.bluez.Manager.GetProperties() failed: org.freedesktop.DBus.Error.UnknownMethod: Method "GetProperties" with signature "" on interface "org.bluez.Manager" doesn't exist
Jul 07 18:48:16 volumio pulseaudio[1425]: org.bluez.Manager.GetProperties() failed: org.freedesktop.DBus.Error.UnknownMethod: Method "GetProperties" with signature "" on interface "org.bluez.Manager" doesn't exist

Does it help if you remove fbcon=map:10 from “/boot/cmdline.txt”?

Does it help if you remove fbcon=map:10 from “/boot/cmdline.txt”?

Nope, that was one of the things that the FAQ of the screen maker said to do…

What I have realised is that /dev/fb0 should be /dev/fb1 (I think). But I have no idea how to fix that

Yep. In “/usr/share/X11/xorg.conf.d/99-fbturbo.conf” try changing the line

Option "fbdev” “/dev/fb0"

to

Option "fbdev" "/dev/fb1"

Then disable and re-enable the Touch Display plugin.

So I’ve tried that and it hasn’t changed anything.

ls /dev/fb* returns /dev/fb0 still even though I have rebooted and checked 99-fbturbo.conf again and found it is still edited as above.

Could you post the output of

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

and again of

cat /var/log/Xorg.0.log

please?

Results of cat /usr/share/X11/xorg.conf.d/99-fbturbo.conf

# 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 FBDEV"
        Driver          "fbturbo"
        Option          "fbdev" "/dev/fb1"

        Option          "SwapbuffersWait" "true"
EndSection

Results of cat /var/log/Xorg.0.log

[    70.819] 
X.Org X Server 1.18.4
Release Date: 2016-07-19
[    70.820] X Protocol Version 11, Revision 0
[    70.820] Build Operating System: Linux 4.4.26-v7+ armv7l Raspbian
[    70.820] Current Operating System: Linux volumio 4.19.118-v7+ #1311 SMP Mon Apr 27 14:21:24 BST 2020 armv7l
[    70.820] Kernel command line: coherent_pool=1M bcm2708_fb.fbwidth=640 bcm2708_fb.fbheight=480 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  splash quiet 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 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=ttyl imgpart=/dev/mmcblk0p2 imgfile=/volumio_current.sqsh elevator=noop rootwait bootdelay=5 logo.nologo vt.global_cursor_default=0 loglevel=0 snd-bcm2835.enable_compat_alsa=1 snd_bcm2835.enable_headphones=1
[    70.820] Build Date: 11 November 2016  11:59:59AM
[    70.820] xorg-server 2:1.18.4-2+rpi1 (https://www.debian.org/support) 
[    70.820] Current version of pixman: 0.32.6
[    70.820] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    70.820] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    70.821] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Jul  7 20:36:05 2021
[    70.832] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    70.832] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    70.846] (==) No Layout section.  Using the first Screen section.
[    70.846] (==) No screen section available. Using defaults.
[    70.846] (**) |-->Screen "Default Screen Section" (0)
[    70.846] (**) |   |-->Monitor "<default monitor>"
[    70.853] (==) No device specified for screen "Default Screen Section".
	Using the first device section listed.
[    70.853] (**) |   |-->Device "Allwinner A10/A13 FBDEV"
[    70.853] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[    70.854] (==) Automatically adding devices
[    70.854] (==) Automatically enabling devices
[    70.854] (==) Automatically adding GPU devices
[    70.861] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    70.865] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[    70.865] 	Entry deleted from font path.
[    70.876] (==) 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
[    70.876] (==) ModulePath set to "/usr/lib/xorg/modules"
[    70.876] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    70.876] (II) Loader magic: 0x6b0f20
[    70.876] (II) Module ABI versions:
[    70.876] 	X.Org ANSI C Emulation: 0.4
[    70.876] 	X.Org Video Driver: 20.0
[    70.876] 	X.Org XInput driver : 22.1
[    70.876] 	X.Org Server Extension : 9.0
[    70.881] (--) using VT number 2

[    70.881] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[    70.882] (II) no primary bus or device found
[    70.883] (II) LoadModule: "glx"
[    70.888] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    70.973] (II) Module glx: vendor="X.Org Foundation"
[    70.973] 	compiled for 1.18.4, module version = 1.0.0
[    70.973] 	ABI class: X.Org Server Extension, version 9.0
[    70.973] (==) AIGLX enabled
[    70.973] (II) LoadModule: "fbturbo"
[    70.976] (II) Loading /usr/lib/xorg/modules/drivers/fbturbo_drv.so
[    70.983] (II) Module fbturbo: vendor="X.Org Foundation"
[    70.984] 	compiled for 1.18.4, module version = 0.5.1
[    70.984] 	Module class: X.Org Video Driver
[    70.984] 	ABI class: X.Org Video Driver, version 20.0
[    70.984] (II) FBTURBO: driver for framebuffer: fbturbo
[    70.990] (WW) Falling back to old probe method for fbturbo
[    70.990] (II) Loading sub module "fbdevhw"
[    70.990] (II) LoadModule: "fbdevhw"
[    70.990] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[    70.994] (II) Module fbdevhw: vendor="X.Org Foundation"
[    70.994] 	compiled for 1.18.4, module version = 0.0.2
[    70.994] 	ABI class: X.Org Video Driver, version 20.0
[    70.994] (EE) open /dev/fb1: No such file or directory
[    70.994] (EE) No devices detected.
[    70.994] (EE) 
Fatal server error:
[    70.994] (EE) no screens found(EE) 
[    70.994] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[    70.994] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    70.994] (EE) 
[    71.005] (EE) Server terminated with error (1). Closing log file.

Thanks a lot for your help!

Hm, it seems the screen is not recognized.

Is this with fbcon=map:10 added back to “/boot/cmdline.txt”?

Is the tingbot overlay loaded?

lsmod | grep tingbot

1 Like

Could you post pictures of the displays PCB (both sides)?

Is this with fbcon=map:10 added back to “/boot/cmdline.txt”?

Yeap I added it back in

Is the tingbot overlay loaded?

I used filezilla to copy-paste the overlay into /boot/overlays and have checked that it is still there.

Images below - the text on the front isnt particularly clear, but says 3231-SZ

And is it loaded? Please check with

lsmod | grep tingbot

According to this the tingbot overlay does not work with kernels newer than 4.19.

According to this the tingbot overlay does not work with kernels newer than 4.19.

Ah bugger! I don’t quite fancy downgrading the kernel just for a screen. So I suppose I’ll buy a different one.

Thanks a lot for your help! I really appreciate it!