Sometimes screen remains black after boot sequence (A04 standard OS image)

Hello,

I am experiencing an issue with my DevTerm A04. Sometimes, the screen remains black after the boot sequence. When this occurs, none of the key combinations (such as fn + ctrl + alt + f2) work.

I have tried using different display managers, which seem to work better. The login screen appears at every boot, but occasionally fails when booting into LXDE.

Could someone please assist me?

Thank you and best regards,
Rene

1 Like

Is there anything in the X logs?

I’m experiencing this issue as well (also on A04). It has basically bricked the device :confused:

The screen is black, but the system responds to keyboard commands. If I type cntrl+alt+t to open a terminal followed by sudo poweroff the DevTerm shuts down. So this appears to be a display issue.

I figured I must have screwed up a display config setting somewhere, so I reflashed the standard image to the SD card. That worked, but only temporarily. After 1 or 2 system reboots it was back to booting to a blank screen.

I haven’t tried anything else yet. If folks have suggestions I’d be happy to try them.

1 Like

@1337p337, I can take a look at this later. Just to be clear, are you suggesting to move the SD card to another computer and look for log files at /var/log/?

2 Likes

Hi,

Sorry for my late reply; I was on holiday. Here is my log file; the last boot was successful.

ChatGPT provided this analysis of the log file:

Error Messages (EE)

  1. Event Processing Lag: There’s an error message related to the “ClockworkPI DevTerm Keyboard”, which states: “client bug: event processing lagging behind by 34ms, your system is too slow”. This indicates a delay in processing input events. While this might be a symptom of the problem, it is likely not the cause of the black screen issue.

Warning Messages (WW)

  1. Missing Fonts Directory: There’s a warning that the directory “/usr/share/fonts/X11/cyrillic” does not exist. This is usually not a critical issue but may indicate that some fonts or resources are missing.
  2. Falling Back to Old Probe Method for fbdev: This suggests that the X Server is falling back to an older method for detecting framebuffer devices. This could indicate issues with the graphics hardware or drivers.
  3. No Multi-Card Support: A warning regarding the VGA arbiter, indicating no support for multiple graphics cards. This is typically relevant only if you are using multiple graphics cards.

Possible Troubleshooting Steps

  1. Check Your Graphics Card Drivers: Ensure that you have the correct drivers for your graphics card installed and that they are up to date. For an ARM-based system, this might require specific drivers.
  2. System Resources and Performance: Check your system resources and performance. The delay in event processing might indicate high system load.
  3. Check Xorg Configuration: Review your Xorg configuration files for potential errors or missing settings, especially regarding graphics hardware.
  4. Fonts and Resources: Install or update any missing fonts and resources if needed.
  5. Logs and System Messages: Also check other system logs (like dmesg or syslog) for additional error messages that could point to hardware or driver issues.

Best regards and thank you,
Rene

[    16.821] 
X.Org X Server 1.21.1.4
X Protocol Version 11, Revision 0
[    16.821] Current Operating System: Linux clockworkpi-a04 5.10.75-sunxi64 #trunk SMP Wed Dec 29 07:55:59 UTC 2021 aarch64
[    16.822] Kernel command line: root=UUID=d05f3c32-3b18-4296-b312-b11badf24990 rootwait rootfstype=ext4 console=ttyS0,115200 console=tty1 consoleblank=0 loglevel=1 ubootpart=fa2a5e67-01 usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u systemd.unified_cgroup_hierarchy=0 fbcon=rotate:1  cgroup_enable=memory swapaccount=1
[    16.822] xorg-server 2:21.1.4-2ubuntu1.7~22.04.2 (For technical support please see http://www.ubuntu.com/support) 
[    16.822] Current version of pixman: 0.40.0
[    16.822] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    16.822] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    16.823] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Nov 13 20:50:39 2023
[    16.858] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    16.858] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    16.925] (==) ServerLayout "ServerLayout0"
[    16.926] (==) No screen section available. Using defaults.
[    16.926] (**) |-->Screen "Default Screen Section" (0)
[    16.926] (**) |   |-->Monitor "<default monitor>"
[    16.927] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[    16.927] (**) Option "BlankTime" "0"
[    16.927] (**) Option "StandbyTime" "0"
[    16.927] (**) Option "SuspendTime" "0"
[    16.927] (**) Option "OffTime" "0"
[    16.927] (==) Automatically adding devices
[    16.927] (==) Automatically enabling devices
[    16.927] (==) Automatically adding GPU devices
[    16.927] (==) Automatically binding GPU devices
[    16.927] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    16.984] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[    16.984] 	Entry deleted from font path.
[    17.048] (==) 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
[    17.048] (==) ModulePath set to "/usr/lib/xorg/modules"
[    17.048] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    17.049] (II) Loader magic: 0xaaaab85f1010
[    17.049] (II) Module ABI versions:
[    17.049] 	X.Org ANSI C Emulation: 0.4
[    17.049] 	X.Org Video Driver: 25.2
[    17.049] 	X.Org XInput driver : 24.4
[    17.049] 	X.Org Server Extension : 10.0
[    17.055] (++) using VT number 7

[    17.055] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[    17.057] (II) xfree86: Adding drm device (/dev/dri/card0)
[    17.058] (II) Platform probe for /sys/devices/platform/display-engine/drm/card0
[    17.072] (II) xfree86: Adding drm device (/dev/dri/card1)
[    17.072] (II) Platform probe for /sys/devices/platform/soc/1800000.gpu/drm/card1
[    17.073] (II) no primary bus or device found
[    17.073] 	falling back to /sys/devices/platform/display-engine/drm/card0
[    17.073] (II) LoadModule: "glx"
[    17.082] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    17.275] (II) Module glx: vendor="X.Org Foundation"
[    17.275] 	compiled for 1.21.1.4, module version = 1.0.0
[    17.275] 	ABI class: X.Org Server Extension, version 10.0
[    17.275] (==) Matched modesetting as autoconfigured driver 0
[    17.275] (==) Matched fbdev as autoconfigured driver 1
[    17.275] (==) Assigned the driver to the xf86ConfigLayout
[    17.275] (II) LoadModule: "modesetting"
[    17.275] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    17.309] (II) Module modesetting: vendor="X.Org Foundation"
[    17.309] 	compiled for 1.21.1.4, module version = 1.21.1
[    17.309] 	Module class: X.Org Video Driver
[    17.310] 	ABI class: X.Org Video Driver, version 25.2
[    17.310] (II) LoadModule: "fbdev"
[    17.310] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[    17.320] (II) Module fbdev: vendor="X.Org Foundation"
[    17.320] 	compiled for 1.21.1.3, module version = 0.5.0
[    17.320] 	Module class: X.Org Video Driver
[    17.320] 	ABI class: X.Org Video Driver, version 25.2
[    17.320] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    17.320] (II) FBDEV: driver for framebuffer: fbdev
[    17.325] (II) modeset(0): using drv /dev/dri/card0
[    17.325] (WW) Falling back to old probe method for fbdev
[    17.325] (II) Loading sub module "fbdevhw"
[    17.325] (II) LoadModule: "fbdevhw"
[    17.330] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[    17.336] (II) Module fbdevhw: vendor="X.Org Foundation"
[    17.336] 	compiled for 1.21.1.4, module version = 0.0.2
[    17.336] 	ABI class: X.Org Video Driver, version 25.2
[    17.336] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[    17.337] (II) modeset(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[    17.337] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[    17.337] (==) modeset(0): RGB weight 888
[    17.337] (==) modeset(0): Default visual is TrueColor
[    17.337] (II) Loading sub module "glamoregl"
[    17.337] (II) LoadModule: "glamoregl"
[    17.337] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[    17.492] (II) Module glamoregl: vendor="X.Org Foundation"
[    17.492] 	compiled for 1.21.1.4, module version = 1.0.1
[    17.492] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    24.906] (II) modeset(0): glamor X acceleration enabled on Mali-T720 (Panfrost)
[    24.907] (II) modeset(0): glamor initialized
[    24.907] (==) modeset(0): VariableRefresh: disabled
[    24.907] (==) modeset(0): AsyncFlipSecondaries: disabled
[    24.907] (II) modeset(0): Output None-1 has no monitor section
[    24.910] (II) modeset(0): EDID for output None-1
[    24.911] (II) modeset(0): Printing probed modes for output None-1
[    24.911] (II) modeset(0): Modeline "480x1280"x59.3   50.00  480 560 580 620  1280 1330 1340 1360 -hsync -vsync (80.6 kHz eP)
[    24.911] (II) modeset(0): Output None-1 connected
[    24.911] (II) modeset(0): Using exact sizes for initial modes
[    24.911] (II) modeset(0): Output None-1 using initial mode 480x1280 +0+0
[    24.911] (==) modeset(0): Using gamma correction (1.0, 1.0, 1.0)
[    24.911] (==) modeset(0): DPI set to (96, 96)
[    24.911] (II) Loading sub module "fb"
[    24.911] (II) LoadModule: "fb"
[    24.911] (II) Module "fb" already built-in
[    24.911] (II) UnloadModule: "fbdev"
[    24.911] (II) Unloading fbdev
[    24.913] (II) UnloadSubModule: "fbdevhw"
[    24.913] (II) Unloading fbdevhw
[    25.414] (==) modeset(0): Backing store enabled
[    25.415] (==) modeset(0): Silken mouse enabled
[    25.436] (II) modeset(0): Initializing kms color map for depth 24, 8 bpc.
[    25.436] (==) modeset(0): DPMS enabled
[    25.437] (II) modeset(0): [DRI2] Setup complete
[    25.437] (II) modeset(0): [DRI2]   DRI driver: sun4i-drm
[    25.437] (II) modeset(0): [DRI2]   VDPAU driver: sun4i-drm
[    25.437] (II) Initializing extension Generic Event Extension
[    25.437] (II) Initializing extension SHAPE
[    25.438] (II) Initializing extension MIT-SHM
[    25.438] (II) Initializing extension XInputExtension
[    25.442] (II) Initializing extension XTEST
[    25.443] (II) Initializing extension BIG-REQUESTS
[    25.444] (II) Initializing extension SYNC
[    25.444] (II) Initializing extension XKEYBOARD
[    25.445] (II) Initializing extension XC-MISC
[    25.445] (II) Initializing extension SECURITY
[    25.446] (II) Initializing extension XFIXES
[    25.447] (II) Initializing extension RENDER
[    25.447] (II) Initializing extension RANDR
[    25.448] (II) Initializing extension COMPOSITE
[    25.449] (II) Initializing extension DAMAGE
[    25.449] (II) Initializing extension MIT-SCREEN-SAVER
[    25.450] (II) Initializing extension DOUBLE-BUFFER
[    25.451] (II) Initializing extension RECORD
[    25.451] (II) Initializing extension DPMS
[    25.452] (II) Initializing extension Present
[    25.453] (II) Initializing extension DRI3
[    25.453] (II) Initializing extension X-Resource
[    25.454] (II) Initializing extension XVideo
[    25.454] (II) Initializing extension XVideo-MotionCompensation
[    25.454] (II) Initializing extension SELinux
[    25.454] (II) SELinux: Disabled on system
[    25.455] (II) Initializing extension GLX
[    25.491] (II) AIGLX: Loaded and initialized sun4i-drm
[    25.491] (II) GLX: Initialized DRI2 GL provider for screen 0
[    25.491] (II) Initializing extension XFree86-VidModeExtension
[    25.492] (II) Initializing extension XFree86-DGA
[    25.492] (II) Initializing extension XFree86-DRI
[    25.493] (II) Initializing extension DRI2
[    25.502] (II) modeset(0): Damage tracking initialized
[    25.502] (II) modeset(0): Setting screen physical size to 127 x 338
[    25.818] (II) config/udev: Adding input device axp20x-pek (/dev/input/event1)
[    25.818] (**) axp20x-pek: Applying InputClass "libinput keyboard catchall"
[    25.818] (II) LoadModule: "libinput"
[    25.818] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[    25.849] (II) Module libinput: vendor="X.Org Foundation"
[    25.849] 	compiled for 1.20.14, module version = 1.2.1
[    25.849] 	Module class: X.Org XInput Driver
[    25.849] 	ABI class: X.Org XInput driver, version 24.1
[    25.849] (II) Using input driver 'libinput' for 'axp20x-pek'
[    25.849] (**) axp20x-pek: always reports core events
[    25.849] (**) Option "Device" "/dev/input/event1"
[    25.885] (II) event1  - axp20x-pek: is tagged by udev as: Keyboard
[    25.886] (II) event1  - axp20x-pek: device is a keyboard
[    25.887] (II) event1  - axp20x-pek: device removed
[    25.904] (**) Option "config_info" "udev:/sys/devices/platform/soc/5002000.i2c/i2c-0/0-0034/axp221-pek/input/input4/event1"
[    25.904] (II) XINPUT: Adding extended input device "axp20x-pek" (type: KEYBOARD, id 6)
[    25.904] (**) Option "xkb_model" "pc105"
[    25.904] (**) Option "xkb_layout" "us"
[    25.910] (II) event1  - axp20x-pek: is tagged by udev as: Keyboard
[    25.910] (II) event1  - axp20x-pek: device is a keyboard
[    25.915] (II) config/udev: Adding input device ClockworkPI DevTerm Consumer Control (/dev/input/event0)
[    25.915] (**) ClockworkPI DevTerm Consumer Control: Applying InputClass "libinput keyboard catchall"
[    25.915] (II) Using input driver 'libinput' for 'ClockworkPI DevTerm Consumer Control'
[    25.915] (**) ClockworkPI DevTerm Consumer Control: always reports core events
[    25.915] (**) Option "Device" "/dev/input/event0"
[    25.923] (II) event0  - ClockworkPI DevTerm Consumer Control: is tagged by udev as: Keyboard
[    25.924] (II) event0  - ClockworkPI DevTerm Consumer Control: device is a keyboard
[    25.925] (II) event0  - ClockworkPI DevTerm Consumer Control: device removed
[    25.944] (II) libinput: ClockworkPI DevTerm Consumer Control: needs a virtual subdevice
[    25.944] (**) Option "config_info" "udev:/sys/devices/platform/soc/5200000.dwc3/xhci-hcd.1.auto/usb1/1-1/1-1.1/1-1.1:1.0/0003:1EAF:0024.0001/input/input0/event0"
[    25.944] (II) XINPUT: Adding extended input device "ClockworkPI DevTerm Consumer Control" (type: MOUSE, id 7)
[    25.945] (**) Option "AccelerationScheme" "none"
[    25.945] (**) ClockworkPI DevTerm Consumer Control: (accel) selected scheme none/0
[    25.945] (**) ClockworkPI DevTerm Consumer Control: (accel) acceleration factor: 2.000
[    25.945] (**) ClockworkPI DevTerm Consumer Control: (accel) acceleration threshold: 4
[    25.952] (II) event0  - ClockworkPI DevTerm Consumer Control: is tagged by udev as: Keyboard
[    25.952] (II) event0  - ClockworkPI DevTerm Consumer Control: device is a keyboard
[    25.957] (II) config/udev: Adding input device ClockworkPI DevTerm Keyboard (/dev/input/event2)
[    25.957] (**) ClockworkPI DevTerm Keyboard: Applying InputClass "libinput keyboard catchall"
[    25.957] (II) Using input driver 'libinput' for 'ClockworkPI DevTerm Keyboard'
[    25.957] (**) ClockworkPI DevTerm Keyboard: always reports core events
[    25.957] (**) Option "Device" "/dev/input/event2"
[    25.964] (II) event2  - ClockworkPI DevTerm Keyboard: is tagged by udev as: Keyboard
[    25.965] (II) event2  - ClockworkPI DevTerm Keyboard: device is a keyboard
[    25.966] (II) event2  - ClockworkPI DevTerm Keyboard: device removed
[    26.008] (**) Option "config_info" "udev:/sys/devices/platform/soc/5200000.dwc3/xhci-hcd.1.auto/usb1/1-1/1-1.1/1-1.1:1.0/0003:1EAF:0024.0001/input/input1/event2"
[    26.008] (II) XINPUT: Adding extended input device "ClockworkPI DevTerm Keyboard" (type: KEYBOARD, id 8)
[    26.008] (**) Option "xkb_model" "pc105"
[    26.008] (**) Option "xkb_layout" "us"
[    26.016] (II) event2  - ClockworkPI DevTerm Keyboard: is tagged by udev as: Keyboard
[    26.016] (II) event2  - ClockworkPI DevTerm Keyboard: device is a keyboard
[    26.022] (II) config/udev: Adding input device ClockworkPI DevTerm (/dev/input/event3)
[    26.022] (II) No input driver specified, ignoring this device.
[    26.022] (II) This device may have been added with another device file.
[    26.026] (II) config/udev: Adding input device ClockworkPI DevTerm (/dev/input/js0)
[    26.026] (II) No input driver specified, ignoring this device.
[    26.026] (II) This device may have been added with another device file.
[    26.030] (II) config/udev: Adding input device ClockworkPI DevTerm Mouse (/dev/input/event4)
[    26.030] (**) ClockworkPI DevTerm Mouse: Applying InputClass "libinput pointer catchall"
[    26.030] (II) Using input driver 'libinput' for 'ClockworkPI DevTerm Mouse'
[    26.030] (**) ClockworkPI DevTerm Mouse: always reports core events
[    26.030] (**) Option "Device" "/dev/input/event4"
[    26.037] (II) event4  - ClockworkPI DevTerm Mouse: is tagged by udev as: Mouse
[    26.038] (II) event4  - ClockworkPI DevTerm Mouse: device is a pointer
[    26.038] (II) event4  - ClockworkPI DevTerm Mouse: device removed
[    26.072] (**) Option "config_info" "udev:/sys/devices/platform/soc/5200000.dwc3/xhci-hcd.1.auto/usb1/1-1/1-1.1/1-1.1:1.0/0003:1EAF:0024.0001/input/input3/event4"
[    26.072] (II) XINPUT: Adding extended input device "ClockworkPI DevTerm Mouse" (type: MOUSE, id 9)
[    26.073] (**) Option "AccelerationScheme" "none"
[    26.073] (**) ClockworkPI DevTerm Mouse: (accel) selected scheme none/0
[    26.073] (**) ClockworkPI DevTerm Mouse: (accel) acceleration factor: 2.000
[    26.073] (**) ClockworkPI DevTerm Mouse: (accel) acceleration threshold: 4
[    26.079] (II) event4  - ClockworkPI DevTerm Mouse: is tagged by udev as: Mouse
[    26.080] (II) event4  - ClockworkPI DevTerm Mouse: device is a pointer
[    26.085] (II) config/udev: Adding input device ClockworkPI DevTerm Mouse (/dev/input/mouse0)
[    26.085] (II) No input driver specified, ignoring this device.
[    26.085] (II) This device may have been added with another device file.
[    26.112] (**) ClockworkPI DevTerm Consumer Control: Applying InputClass "libinput keyboard catchall"
[    26.113] (II) Using input driver 'libinput' for 'ClockworkPI DevTerm Consumer Control'
[    26.113] (**) ClockworkPI DevTerm Consumer Control: always reports core events
[    26.113] (**) Option "Device" "/dev/input/event0"
[    26.113] (II) libinput: ClockworkPI DevTerm Consumer Control: is a virtual subdevice
[    26.113] (**) Option "config_info" "udev:/sys/devices/platform/soc/5200000.dwc3/xhci-hcd.1.auto/usb1/1-1/1-1.1/1-1.1:1.0/0003:1EAF:0024.0001/input/input0/event0"
[    26.113] (II) XINPUT: Adding extended input device "ClockworkPI DevTerm Consumer Control" (type: KEYBOARD, id 10)
[    26.113] (**) Option "xkb_model" "pc105"
[    26.113] (**) Option "xkb_layout" "us"
[    27.173] (II) modeset(0): Disabling kernel dirty updates, not required.
[    65.393] (II) modeset(0): Allocate new frame buffer 1280x480 stride
[   132.582] (EE) event2  - ClockworkPI DevTerm Keyboard: client bug: event processing lagging behind by 34ms, your system is too slow
2 Likes

That was the idea, but if you have verified that it’s up and running, maybe a better idea would be to ssh into it and try to tweak the backlight yourself.

If turning the backlight on manually via ssh fixes it, then maybe setting a cron job or tacking something onto the end of the init code would work. It might be the case that the display (or something between the board and the display) is a little balky after enough time and it isn’t ready when asked to turn on.

Fortunately, that is normal for USB devices. (Maybe not normal per se but it’s not a problem. It happens on busy machines.)

X Server is falling back to an older method for detecting framebuffer devices

Oh, that’s not a problem, either.

This looks like all Xorg logs and it looks fine. It looks like it detects the display and even gets the EDID, so maybe it’s just that the backlight wouldn’t come on. If you try to ssh in and turn the backlight on from the shell, that might work.

1 Like

Hi,

It’s not the backlight; I can change the backlight via SSH, and this works perfectly (the backlight changes on a black screen).

I tried killing Xorg and GDM via SSH, but nothing brings up the display. Interestingly, when I set LXDM as the display manager, the login screen comes up perfectly. However, when I start LXDE, sometimes the startup goes wrong.

Thanks and greetings,
Rene

1 Like

I booted mine up and can confirm it’s not the backlight. When the backlight is off you can still faintly see the contents of the screen - but I couldn’t.

I tried power cycling a number of times. I’d just boot to the black screen, wait maybe 20 seconds, then long press the power button to power off without doing anything else. To my surprise it miraculously began working again. I did a few boot cycles in a row that were all successful. Not sure whether it’ll stay that way… (very weird stuff…)

1 Like

Hi,

I have now uninstalled all display managers except for XDM. From XDM, I can start both my DWM and XFCE, and they work well.

This setup is working fine for me.

Greetings,
Rene

1 Like