Issues with RPi5 + Waveshare HDMI display

Yes, please.

No such file or directory… or I do something wrong ??

1 Like

The result of cat /var/log/Xorg.0.log lets me assume that the Touch Display plugin has not been started. But starting the plugin is pointless anyway as long as the display is not recognized by the OS at all which the result of ls -al /dev/fb* is indicating.

If IIRC the display did not work with PiOS either. Is that (still) correct?

Did you check the firmware of your Pi 5 is up to date?

1 Like

My second fault, I don’t start it on fresh copy :man_facepalming:

I started TouchScreen plugin, still the same. Backlight off, no signal LED

On TS plugin I have red info:

“Error connection to Xserver”

Command:

give me this:

volumio@volumio-pi5:~$ cat /var/log/Xorg.0.log
[ 29.074]
X.Org X Server 1.20.4
X Protocol Version 11, Revision 0
[ 29.074] Build Operating System: Linux 5.4.0-109-generic armv8l Raspbian
[ 29.074] Current Operating System: Linux volumio-pi5 6.1.58-v8+ #1690 SMP PR EEMPT Tue Oct 17 15:37:08 BST 2023 aarch64
[ 29.074] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 pci=pcie_bus_ safe snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 smsc95xx.macadd r=D8:3A:DD:CB:30:4C vc_mem.mem_base=0x3fc00000 vc_mem.mem_size=0x40000000 splas h 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=ttyAMA10,115200 con sole=tty1 imgpart=/dev/mmcblk0p2 imgfile=/volumio_current.sqsh rootwait bootdela y=5 elevator=noop logo.nologo vt.global_cursor_default=0 net.ifnames=0 snd-bcm28 35.enable_compat_alsa= snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_headphones=1 loglevel=0 cfg80211.ieee80211_regdom=PL
[ 29.074] Build Date: 04 April 2023 07:50:56AM
[ 29.074] xorg-server 2:1.20.4-1+rpt4+deb10u9 (Debian -- User Support )
[ 29.074] Current version of pixman: 0.36.0
[ 29.074] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 29.074] Markers: (–) probed, () from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 29.074] (==) Log file: “/var/log/Xorg.0.log”, Time: Thu Dec 7 10:41:03 202 3
[ 29.076] (==) Using config directory: “/etc/X11/xorg.conf.d”
[ 29.076] (==) Using system config directory “/usr/share/X11/xorg.conf.d”
[ 29.079] (==) No Layout section. Using the first Screen section.
[ 29.079] (==) No screen section available. Using defaults.
[ 29.079] (
) |–>Screen “Default Screen Section” (0)
[ 29.079] (**) | |–>Monitor “”
[ 29.080] (==) No monitor specified for screen “Default Screen Section”.
Using a default monitor configuration.
[ 29.080] (==) Automatically adding devices
[ 29.080] (==) Automatically enabling devices
[ 29.080] (==) Automatically adding GPU devices
[ 29.082] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 29.082] (WW) The directory “/usr/share/fonts/X11/cyrillic” does not exist.
[ 29.082] Entry deleted from font path.
[ 29.083] (==) 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
[ 29.083] (==) ModulePath set to “/usr/lib/xorg/modules”
[ 29.083] (II) The server relies on udev to provide the list of input devices .
If no devices become available, reconfigure udev or disable AutoAddDevic es.
[ 29.083] (II) Loader magic: 0x1fdf80
[ 29.083] (II) Module ABI versions:
[ 29.083] X.Org ANSI C Emulation: 0.4
[ 29.083] X.Org Video Driver: 24.0
[ 29.083] X.Org XInput driver : 24.1
[ 29.083] X.Org Server Extension : 10.0
[ 29.084] (–) using VT number 2

[ 29.084] (II) systemd-logind: logind integration requires -keeptty and -keep tty was not provided, disabling logind integration
[ 29.085] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 29.085] (II) xfree86: Adding drm device (/dev/dri/card1)
[ 29.085] (II) no primary bus or device found
[ 29.085] falling back to /sys/devices/platform/axi/1002000000.v3d/drm/car d0
[ 29.085] (II) LoadModule: “glx”
[ 29.087] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 29.100] (II) Module glx: vendor=“X.Org Foundation”
[ 29.100] compiled for 1.20.4, module version = 1.0.0
[ 29.100] ABI class: X.Org Server Extension, version 10.0
[ 29.100] (==) Matched modesetting as autoconfigured driver 0
[ 29.100] (==) Matched fbdev as autoconfigured driver 1
[ 29.100] (==) Assigned the driver to the xf86ConfigLayout
[ 29.100] (II) LoadModule: “modesetting”
[ 29.100] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 29.101] (II) Module modesetting: vendor=“X.Org Foundation”
[ 29.101] compiled for 1.20.4, module version = 1.20.4
[ 29.101] Module class: X.Org Video Driver
[ 29.101] ABI class: X.Org Video Driver, version 24.0
[ 29.101] (II) LoadModule: “fbdev”
[ 29.102] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[ 29.102] (II) Module fbdev: vendor=“X.Org Foundation”
[ 29.102] compiled for 1.20.3, module version = 0.5.0
[ 29.102] Module class: X.Org Video Driver
[ 29.102] ABI class: X.Org Video Driver, version 24.0
[ 29.102] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 29.102] (II) FBDEV: driver for framebuffer: fbdev
[ 29.103] (WW) Falling back to old probe method for modesetting
[ 29.103] (WW) Falling back to old probe method for fbdev
[ 29.103] (II) Loading sub module “fbdevhw”
[ 29.103] (II) LoadModule: “fbdevhw”
[ 29.103] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[ 29.104] (II) Module fbdevhw: vendor=“X.Org Foundation”
[ 29.104] compiled for 1.20.4, module version = 0.0.2
[ 29.104] ABI class: X.Org Video Driver, version 24.0
[ 29.104] (EE) open /dev/fb0: No such file or directory
[ 29.104] (WW) Falling back to old probe method for modesetting
[ 29.104] (WW) Falling back to old probe method for fbdev
[ 29.104] (II) Loading sub module “fbdevhw”
[ 29.104] (II) LoadModule: “fbdevhw”
[ 29.104] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[ 29.104] (II) Module fbdevhw: vendor=“X.Org Foundation”
[ 29.104] compiled for 1.20.4, module version = 0.0.2
[ 29.104] ABI class: X.Org Video Driver, version 24.0
[ 29.104] (EE) open /dev/fb0: No such file or directory
[ 29.104] (II) modeset(G0): using drv /dev/dri/card1
[ 29.104] (EE) No devices detected.
[ 29.104] (EE)
Fatal server error:
[ 29.104] (EE) no screens found(EE)
[ 29.104] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 29.104] (EE) Please also check the log file at “/var/log/Xorg.0.log” for ad ditional information.
[ 29.104] (EE)
[ 29.104] (EE) Server terminated with error (1). Closing log file.
volumio@volumio-pi5:~$

My firmware ver:

  • Manufacturer: Raspberry Pi Foundation
  • Model: Raspberry Pi 5 Model B Rev 1.0
  • Version: c04170
  • Firmware Version: 2023/10/30 16:45:10 Copyright (c) - (embedded)

I use:

sudo apt update (done)
sudo apt upgrade (done)
sudo rpi-eeprom-update -a (command not found but maybe I should do it on RaspiOS)

2 Likes

I may be wrong but by doing:
sudo apt update (done)
sudo apt upgrade (done)
sudo rpi-eeprom-update -a (command not found but maybe I should do it on RaspiOS)
you probably destroyed Volumio installation - it was my case

No, it started and working via Phone or Computer. Now I preparing clean Raspi SDcard to start one more time and try firmware update.

1 Like

You could run rpi-update but from PiOS, not Volumio.

1 Like

Yes and will do:

1 Like

ooo… it’s alive on RaspiOS 64bit.

trying to firmawe update.

Please post the output of

cat /boot/firmware/config.txt

emcze@raspberrypi:~ $ cat /boot/firmware/config.txt

For more options and information see

http://rptl.io/configtxt

Some settings may impact device functionality. See link above for details

Uncomment some or all of these to enable the optional hardware interfaces

#dtparam=i2c_arm=on
#dtparam=i2s=on
#dtparam=spi=on

Enable audio (loads snd_bcm2835)

dtparam=audio=on

Additional overlays and parameters are documented

/boot/firmware/overlays/README

Automatically load overlays for detected cameras

camera_auto_detect=1

Automatically load overlays for detected DSI displays

display_auto_detect=1

Automatically load initramfs files, if found

auto_initramfs=1

Enable DRM VC4 V3D driver

dtoverlay=vc4-kms-v3d
max_framebuffers=2

Don’t have the firmware create an initial video= setting in cmdline.txt.

Use the kernel’s default instead.

disable_fw_kms_setup=1

Run in 64-bit mode

arm_64bit=1

Disable compensation for displays with overscan

disable_overscan=1

Run as fast as firmware / board allows

arm_boost=1

[cm4]

Enable host mode on the 2711 built-in XHCI USB controller.

This line should be removed if the legacy DWC2 controller is required

(e.g. for USB device mode) or if USB support is not required.

otg_mode=1

[all]

emcze@raspberrypi:~ $

1 Like

When you are back in Volumio add

disable_fw_kms_setup=1

to “/boot/userconfig.txt”.

BTW: Is your display connected to HDMI0 or HDMI1?

HDMI near USB PS conecctor. ( HDMI0 )

1 Like

Done, was:

  • Firmware Version: 2023/10/30 16:45:10 Copyright (c) - (embedded)

Now is:

  • Firmware Version: 2023/11/20 19:40:17 Copyright (c) - (embedded)

like this:

dtoverlay=vc4-kms-v3d-pi5

disable_fw_kms_setup=1

max_framebuffer_height=1480
hdmi_group=2
hdmi_mode=87
hdmi_timings=320 0 80 16 32 1480 0 16 4 12 0 0 0 60 0 42000000 3

rotate_display=3

EDIT:

with rotate_display=3 and without this command… still the same, backlight off, no signal LED blinking

Yes. Did it help?

no :frowning:

never do this on Volumio, it will create problems

I can prepare clean copy of volumio one more time. Is it necessary now ??

if you did run this command, yes

could you please try with the 32-bit image?

1 Like