Black screen when enabling galcore
Many thanks for your help!
I have a custom STM32MP157c boards that works OK when the galcore.ko module is not deployed.
When the galcore,ko module is deployed, the screen doesn't show up the usual image and after the boot image has been displayed, it stays black.
From cat /home/weston/weston.log, it seems that something foes wrong with a signal 15 ([11:24:37.793] caught signal 15:(
[11:24:17.605] Output 'DPI-1' enabled with head(s) DPI-1
[11:24:17.605] Compositor capabilities:
arbitrary surface rotation: yes
screen capture uses y-flip: no
cursor planes: yes
arbitrary resolutions: no
view mask clipping: yes
explicit sync: no
color operations: no
presentation clock: CLOCK_MONOTONIC, id 1
presentation clock resolution: 0.000000001 s
[11:24:17.606] Loading module '/usr/lib/weston/desktop-shell.so'
[11:24:17.609] launching '/usr/libexec/weston-keyboard'
[11:24:17.612] Warning: support for deprecated wl_shell interface is enabled. Please migrate legacy clients to xdg-shell.
[11:24:17.613] Loading module '/usr/lib/weston/systemd-notify.so'
[11:24:17.614] launching '/usr/libexec/weston-desktop-shell'
[11:24:37.793] caught signal 15
[11:24:37.825] output for input device event0 removed
[11:24:37.830] event0 - generic ft5x06 (79): device removed
[11:24:37.833] BUG: layer_list is not empty after shutdown. Calls to weston_layer_fini() are missing somwhere.
Date: 2023-06-07 UTC
[11:25:26.648] weston 10.0.0
https://wayland.freedesktop.org
Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
Build: 10.0.0From dmesg, the galcore seems loaded OK
[ 22.255642] dwc2 49000000.usb-otg: bound driver configfs-gadget
[ 24.262156] galcore: loading out-of-tree module taints kernel.
[ 24.311348] Galcore version 6.4.9.436021
[ 27.481105] cfg80211: Loading compiled-in X.509 certificates for regulatory databaseThe modinfo seems OK
root@stm32mp1:~# modinfo galcore
filename: /lib/modules/5.15.67/extra/galcore.ko
import_ns: VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver
license: Dual MIT/GPL
description: Vivante Graphics Driver
alias: of:N*T*Cvivante,gcC*
alias: of:N*T*Cvivante,gc
alias: of:N*T*Cst,gcnanoC*
alias: of:N*T*Cst,gcnano
depends:
name: galcore
vermagic: 5.15.67 preempt mod_unload modversions ARMv7 p2v8
root@stm32mp1:~# uname -a
Linux stm32mp1 5.15.67 #12 PREEMPT Wed May 17 13:36:18 CEST 2023 armv7l armv7l armv7l GNU/LinuxThe modversion of the modules seems OK:
root@stm32mp1:~# modprobe --dump-modversions /lib/modules/5.15.67/kernel/net/mac80211/mac80211.ko | grep "module_layout"
0x168d302d module_layout
root@stm32mp1:~# modprobe --dump-modversions /lib/modules/5.15.67/kernel/lib/ | grep "module_layout"
crc-ccitt.ko crc-itu-t.ko crc4.ko crypto/ libcrc32c.ko ts_bm.ko ts_fsm.ko ts_kmp.ko
root@stm32mp1:~# modprobe --dump-modversions /lib/modules/5.15.67/kernel/lib/libcrc32c.ko | grep "module_layout"
0x168d302d module_layout
root@stm32mp1:~# modprobe --dump-modversions /lib/modules/5.15.67/extra/galcore.ko | grep "module_layout"
0x168d302d module_layoutIs signal 15 the clue to investigate?
Can you help me debug the reason for signal 15?
Many thanks again
Michele
