HMI validation for each release will be delayed on actual target
Validating and identifying open bugs are delayed and missing the warranty period from collabora.
Attachments
Device connection to display
When i tried triggering the compositor display
[ 0.272941] ACPI BIOS Error (bug): AE_AML_BUFFER_LIMIT, Field [IOF2] at bit offset/length 712/16 exceeds size of target Buffer (664 bits) (20211217/dsopcode-198)
[ 0.274220] ACPI Error: Aborting method _SB.PC00.UA00.BTH0._CRS due to previous error (AE_AML_BUFFER_LIMIT) (20211217/psparse-529)
[ 0.274799] ACPI Error: Method execution failed _SB.PC00.UA00.BTH0._CRS due to previous error (AE_AML_BUFFER_LIMIT) (20211217/uteval-68)
[ 2.735881] i915 0000:00:02.0: firmware: failed to load i915/icl_dmc_ver1_09.bin (-2)
[ 2.736629] firmware_class: See https://wiki.debian.org/Firmware for information about missing firmware
[FAILED] Failed to start Access poi…server for Wi-Fi and Ethernet.
Apertis v2023dev3 apertis ttyS0
apertis login: user
Password:
Linux apertis 5.18.0-0.deb11.4-amd64 #1 (closed) SMP PREEMPT_DYNAMIC Debian 5.18.16-1~bpo11+1+apertis1 (2022-0 x86_64
The programs included with the Apertis system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Apertis comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Tue Oct 25 21:34:39 UTC 2022 on tty1
BusyBox v1.30.1 (Apertis 1:1.30.1-6+apertis13bv2023dev3b5) built-in shell (ash)
Enter 'help' for a list of built-in commands.
$
now this is showing
no agl-compositor on the screen
3:31 PM
$ agl-compositor
Date: 2022-10-25 UTC
[21:36:19.237] Using config file '/etc/xdg/weston/agl-compositor.ini'.
[21:36:19.238] Output repaint window is 7 ms maximum.
[21:36:19.238] Loading module '/usr/lib/x86_64-linux-gnu/libweston-9/drm-backend.so'
[21:36:19.239] initializing drm backend
[21:36:19.239] logind: failed to get session seat
[21:36:19.239] logind: cannot setup systemd-logind helper (-61), using legacy fallback
[21:36:19.239] fatal: drm backend should be run using weston-launch binary, or your system should provide the logind D-Bus API.
[21:36:19.239] fatal: failed to create compositor backend.
Internal warning: debug scope 'drm-backend' has not been destroyed.
$
Sudarshan CPchanged title from HMI image not booting on UP SQUARED 6000 board to agl-compositor not showing on UP SQUARED 6000 board setup of lilliput display
changed title from HMI image not booting on UP SQUARED 6000 board to agl-compositor not showing on UP SQUARED 6000 board setup of lilliput display
[ 42.456096] usb 1-1: cp210x converter now attached to ttyUSB0
user@apertispro:~$ picocom /dev/ttyUSB0 -b 115200
picocom v3.1
port is : /dev/ttyUSB0
flowcontrol : none
baudrate is : 115200
parity is : none
databits are : 8
stopbits are : 1
escape is : C-a
local echo is : no
noinit is : no
noreset is : no
hangup is : no
nolock is : no
send_cmd is : sz -vv
receive_cmd is : rz -vv -E
imap is :
omap is :
emap is : crcrlf,delbs,
logfile is : none
initstring : none
exit_after is : not set
exit is : no
Type [C-a] [C-h] to see available commands
Terminal ready
[ 0.272252] ACPI BIOS Error (bug): AE_AML_BUFFER_LIMIT, Field [IOF2] at bit offset/length 712/16 exceeds size of target Buffer (664 bits) (20211217/dsopcode-198)
[ 0.273506] ACPI Error: Aborting method _SB.PC00.UA00.BTH0._CRS due to previous error (AE_AML_BUFFER_LIMIT) (20211217/psparse-529)
[ 0.273970] ACPI Error: Method execution failed _SB.PC00.UA00.BTH0._CRS due to previous error (AE_AML_BUFFER_LIMIT) (20211217/uteval-68)
[ 3.052538] i915 0000:00:02.0: firmware: failed to load i915/icl_dmc_ver1_09.bin (-2)
[ 3.061399] firmware_class: See https://wiki.debian.org/Firmware for information about missing firmware
[FAILED] Failed to start Access poi…server for Wi-Fi and Ethernet.
[FAILED] Failed to start usbmount@dev-sda1.service.
[FAILED] Failed to start Access poi…server for Wi-Fi and Ethernet.
Apertis v2023dev3 apertis ttyS0
apertis login: user
Password:
Linux apertis 5.18.0-0.deb11.4-amd64 #1 (closed) SMP PREEMPT_DYNAMIC Debian 5.18.16-1~bpo11+1+apertis1 (2022-0 x86_64
The programs included with the Apertis system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Apertis comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Wed Oct 26 21:26:03 UTC 2022 on tty1
BusyBox v1.30.1 (Apertis 1:1.30.1-6+apertis13bv2023dev3b5) built-in shell (ash)
Enter 'help' for a list of built-in commands
@sudarshan I've tested on my board and there's no apparent issue so far.
Flashed the image to a USB stick. Booting the board from the USB stick with a HDMI cable attached. Apertis is showing the agl-compositor on the HDMI screen:
$ cat /etc/image_versionapertis v2023dev3 20220907.0018 collabora$ ps ax | grep agl 612 ? Ssl 0:00 /usr/bin/agl-compositor 787 ttyS0 S+ 0:00 grep agl$ systemctl status --user --no-pager agl-compositor.service● agl-compositor.service - agl-compositor, a Wayland compositor, as a system service Loaded: loaded (/usr/lib/systemd/user/agl-compositor.service; enabled; vendor preset: enabled) Active: active (running) since Wed 2022-10-26 16:48:34 UTC; 4min 2s agoTriggeredBy: ● agl-compositor.socket Docs: https://docs.automotivelinux.org/en/master/#5_Component_Documentation/1_agl-compositor/ Main PID: 612 (agl-compositor) Tasks: 10 (limit: 8875) Memory: 151.6M CPU: 780ms CGroup: /user.slice/user-1000.slice/user@1000.service/app.slice/agl-compositor.service ├─612 /usr/bin/agl-compositor ├─632 /bin/sh -c /usr/bin/maynard └─633 /usr/bin/maynardOct 26 16:48:36 apertis maynard[633]: failed to setup mixer: No such file o…toryOct 26 16:48:36 apertis agl-compositor[612]: [16:48:36.468] Added surface 0x…istOct 26 16:48:36 apertis agl-compositor[612]: [16:48:36.468] Added surface 0x…istOct 26 16:48:36 apertis maynard[633]: New advertisement app id maynardOct 26 16:48:36 apertis maynard[633]: New advertisement app id maynardOct 26 16:48:37 apertis agl-compositor[612]: [16:48:37.469] (background) pos…A-1Oct 26 16:48:37 apertis agl-compositor[612]: [16:48:37.469] (panel) geom.wid…y 0Oct 26 16:48:37 apertis agl-compositor[612]: [16:48:37.469] (panel) edge 2 p…y 0Oct 26 16:48:37 apertis agl-compositor[612]: [16:48:37.469] panel type 2 ini…A-1Oct 26 16:48:37 apertis agl-compositor[612]: [16:48:37.469] Usable area: 182…0,0Hint: Some lines were ellipsized, use -l to show in full.
without HMI connection : agl-compositor is running.
Apertis v2023pre apertis ttyS0
apertis login: user
Password:
Linux apertis 5.18.0-0.deb11.4-amd64 #1 (closed) SMP PREEMPT_DYNAMIC Debian 5.18.16-1~bpo11+1+apertis4 (2022-1 x86_64
The programs included with the Apertis system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Apertis comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Thu Oct 27 14:48:29 UTC 2022 on tty1
BusyBox v1.30.1 (Apertis 1:1.30.1-6+apertis13bv2023dev3b5) built-in shell (ash)
Enter 'help' for a list of built-in commands.
After connecting HMI display connection agl-compositor is deleting, and if i try to start the agl-compositor manually, following logs are coming :
$ ps -ef |grep agl-compo
user 582 569 0 14:48 ? 00:00:00 /usr/bin/agl-compositor
user 778 683 0 14:53 ttyS0 00:00:00 grep agl-compo
$ ps -ef |grep agl-compo
user 812 683 0 14:54 ttyS0 00:00:00 grep agl-compo
$ ps -ef |grep agl-compo
user 815 683 0 14:54 ttyS0 00:00:00 grep agl-compo
$ ps -ef |grep agl-compo
user 825 683 0 14:55 ttyS0 00:00:00 grep agl-compo
$ /usr/bin/agl-compositor
Date: 2022-10-27 UTC
[14:55:21.032] Using config file '/etc/xdg/weston/agl-compositor.ini'.
[14:55:21.032] Output repaint window is 7 ms maximum.
[14:55:21.032] Loading module '/usr/lib/x86_64-linux-gnu/libweston-9/drm-backend.so'
[14:55:21.034] initializing drm backend
[14:55:21.034] logind: failed to get session seat
[14:55:21.034] logind: cannot setup systemd-logind helper (-61), using legacy fallback
[14:55:21.034] fatal: drm backend should be run using weston-launch binary, or your system should provide the logind D-Bus API.
[14:55:21.034] fatal: failed to create compositor backend.
Internal warning: debug scope 'drm-backend' has not been destroyed.
$
Please find the logs, disconnected HDMI display:
without connecting the HDMI display :
user@apertispro:/wikisync/checkin/fixup/apertispro-website$ cd
user@apertispro:$ picocom /dev/ttyUSB0 -b 115200
picocom v3.1
port is : /dev/ttyUSB0
flowcontrol : none
baudrate is : 115200
parity is : none
databits are : 8
stopbits are : 1
escape is : C-a
local echo is : no
noinit is : no
noreset is : no
hangup is : no
nolock is : no
send_cmd is : sz -vv
receive_cmd is : rz -vv -E
imap is :
omap is :
emap is : crcrlf,delbs,
logfile is : none
initstring : none
exit_after is : not set
exit is : no
Type [C-a] [C-h] to see available commands
Terminal ready
Version 2.22.1282 Copyright (C) 2022 AMI
Press or to enter setup.
[ 0.269851] ACPI BIOS Error (bug): AE_AML_BUFFER_LIMIT, Field [IOF2] at bit offset/length 712/16 exceeds size of target Buffer (664 bits) (20211217/dsopcode-198)
[ 0.271139] ACPI Error: Aborting method _SB.PC00.UA00.BTH0._CRS due to previous error (AE_AML_BUFFER_LIMIT) (20211217/psparse-529)
[ 0.271948] ACPI Error: Method execution failed _SB.PC00.UA00.BTH0._CRS due to previous error (AE_AML_BUFFER_LIMIT) (20211217/uteval-68)
[ 2.720722] i915 0000:00:02.0: firmware: failed to load i915/icl_dmc_ver1_09.bin (-2)
[ 2.721372] firmware_class: See https://wiki.debian.org/Firmware for information about missing firmware
[ OK ] Finished Hold until boot process finishes up.
[ OK ] Finished Terminate Plymouth Boot Screen.
[FAILED] Failed to start Access poi…server for Wi-Fi and Ethernet.
[FAILED] Failed to start usbmount@dev-sda1.service.
Apertis v2023pre apertis ttyS0
apertis login: user
Password:
Linux apertis 5.18.0-0.deb11.4-amd64 #1 (closed) SMP PREEMPT_DYNAMIC Debian 5.18.16-1~bpo11+1+apertis4 (2022-1 x86_64
The programs included with the Apertis system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Apertis comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Thu Oct 27 23:27:57 UTC 2022 on tty1
BusyBox v1.30.1 (Apertis 1:1.30.1-6+apertis13bv2023dev3b5) built-in shell (ash)
Enter 'help' for a list of built-in commands.
agl-compositor is crashing when plugging or unplugging the HDMI cable.
The gdb trace shows:
Thread 1 "agl-compositor" received signal SIGSEGV, Segmentation fault.0x00007fc05fac0483 in drm_output_start_repaint_loop ( output_base=0x5618282e4810) at ../libweston/backend-drm/drm.c:541541 ../libweston/backend-drm/drm.c: No such file or directory.(gdb) bt#0 0x00007fc05fac0483 in drm_output_start_repaint_loop ( output_base=0x5618282e4810) at ../libweston/backend-drm/drm.c:541#1 0x00007fc060263349 in idle_repaint (data=0x5618282e4810) at ../libweston/compositor.c:3060#2 0x00007fc0602a03ab in wl_event_loop_dispatch_idle ( loop=loop@entry=0x561827f4ba50) at ../src/event-loop.c:969#3 0x00007fc0602a04e5 in wl_event_loop_dispatch (loop=0x561827f4ba50, timeout=timeout@entry=-1) at ../src/event-loop.c:1032#4 0x00007fc06029e105 in wl_display_run (display=display@entry=0x561827f4b970) at ../src/wayland-server.c:1351#5 0x000056182684ce9c in main (argc=<optimized out>, argv=<optimized out>) at ../src/main.c:1605
This is always reproducible. I didn't find a similar report anywhere and will report the issue upstream if nothing comes up after a bit more research.
I'm not sure yet, I've been trying to test on the sabrelite (but this board was damaged during transport, the HDMI output is not detected) and on the rcar H3 (but no support for HDMI yet).
I will check on rpi4 and check v2022 on the up squared board, if supported...
After more discussion this with upstream, this issue should be a generic one for boards with hdmi ports. The fix in maynard should be simple, updating the output with the new value. However, the agl-compositor requires additional fixes.