[PLUGIN] Touch Display

yes, any suggestion?

Balena

i would try a re install this doesn’t look good.

@wheaten you have a better look at this can you advice.

ok, I will use the Rpi burner

win32diskimager / rasp .pi imager and balena etcher i use most of the time.

ok, this is again from scratch. Installations same steps as previous.
Now the error is the following:

------------------------------------ BT MESSAGE: BT STATUS: running
waiting for X server to shut down (II) Server terminated successfully (0). Closing log file.
error: touch_display: Xserver unix domain socket cannot be determined.
error: touch_display: Xserver unix domain socket cannot be determined.
error: touch_display: Xserver unix domain socket cannot be determined.
error: touch_display: Xserver unix domain socket cannot be determined.
error: touch_display: Xserver unix domain socket cannot be determined.
error: touch_display: Xserver unix domain socket cannot be determined.
error: touch_display: Xserver unix domain socket cannot be determined.
xinit: unexpected signal 15
volumio-kiosk.service: Main process exited, code=exited, status=1/FAILURE
volumio-kiosk.service: Failed with result ‘exit-code’.
Stopped Volumio Kiosk.
------------------------------------ BT MESSAGE: BT STATUS: waiting
Started Volumio Kiosk.
error: touch_display: Xserver unix domain socket cannot be determined.
pam_unix(sudo:session): session closed for user root
X.Org X Server 1.20.4
X Protocol Version 11, Revision 0
Build Operating System: Linux 5.4.0-109-generic armv8l Raspbian
Current Operating System: Linux music-server 5.10.92-v7l+ #1514 SMP Mon Jan 17 17:38:03 GMT 2022 armv7l
Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 bcm2708_fb.fbwidth=480 bcm2708_fb.fbheight=800 bcm2708_fb.fbswap=1 smsc95xx.macaddr=E4:5F:01:A1:65:72 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=ttyS0,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=0
Build Date: 04 April 2023 07:50:56AM
xorg-server 2:1.20.4-1+rpt4+deb10u9 (Debian -- User Support)
Current version of pixman: 0.36.0
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (–) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: “/var/log/Xorg.0.log”, Time: Fri May 19 15:24:25 2023
(==) Using config directory: “/etc/X11/xorg.conf.d”
(==) Using system config directory “/usr/share/X11/xorg.conf.d”
info: touch_display: Using Xserver unix domain socket /tmp/.X11-unix/X0
info: touch_display: Using Xserver unix domain socket /tmp/.X11-unix/X0
info: touch_display: Setting screensaver timeout to 120 seconds.

[[ removed ]] follow gvolt’s advice :slight_smile:
Hi gvolt we got less errors now so re-install helpt a bit.

I don’t expect that an older version of the Touch Display plugin will solve the issue and therefore don’t recommed to try that.

If the display stll shows nothing IMHO the problem is that the display is still not (properly) recognized.

@dsolano04 Could you post the content of your current “/boot/config.txt” please.

Also please post the output of

cat /var/log/Xorg.0.log

volumio@music-server:~$ 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
force_eeprom_read=0

include userconfig.txt

dtoverlay=hyperpixel4
enable_dpi_lcd=1
dpi_group=2
dpi_mode=87
dpi_output_format=0x7f216
dpi_timings=480 0 10 16 59 800 0 15 113 15 0 0 0 60 0 32000000 6

Xorg.0.log attachedXorg.0.log.txt (11.6 KB)

Please try commenting out dtparam=i2c_arm=on.

already did, same issue.

When you disable the Touch Display plugin, does the display show a text console?

nothing, same black screen with backlight :frowning:
seeing:
error: touch_display: Error setting screensaver timeout: Error: Command failed: /usr/bin/xset -display :0 s off +dpms dpms 0 0 120
/usr/bin/xset: unable to open display “:0”

the problem seems to be with some environment variable not being set, don’t you think ?

1 Like

Ok, that proves that the issue is not the plugin but the settings in “/boot/config.txt”.

Try adding

max_framebuffers=2

to “/boot/config.txt”

same behaviour… do you know any way to test the display from the ssh terminal ?

1 Like

If you don’t see the terminal when the Touch Display plugin is disabled and if nothing is displayed even during Volumio’s boot process there is nothing you can do test the display from the ssh terminal.

You could reboot and post the output of

sudo dmesg

so we could check if some early errors can be spotted.

atthached the dmesg outputdmesg.txt (26.4 KB)

Does adding

dtoverlay=vc4-kms-v3d

to “/boot/config.txt” change something? Possibly post the output of sudo dmesg again.

changes nothing. However, I’m seeing this message from live log and dmesg

broken atomic modeset userspace detected, disabling atomic
I believe it’s related to screen resolution. I’ve added these lines to config.txt without sucess
framebuffer_width=800
framebuffer_height=480

Could you check if a framebuffer device is present?

ls -al /dev/fb*