2025-05-02 8:31 AM
Hi everyone,
I'm a beginner when it comes to STM32 MPU, and from the very beginning I've had an issue with the HDMI output on my STM32MP257F-DK board, which I received from my university. Naturally, I wanted to start with the Starter Package to explore and see what the board can do (link to guide). I followed all the steps without any issues. After booting the board from flash memory, I was able to access the CLI via ST-LINK.
Now I'm struggling with HDMI, which only shows a black screen. I can see that my monitor detects the board and establishes a proper connection using one of the supported modes (see weston.log at the end). I also went through this guide (How to display on HDMI) to make sure everything is set up correctly and that the HDMI mode matches between the monitor and the board.
Has anyone experienced a similar issue? Or maybe I'm missing something? Any advice on how can I debug the issue further is welcome :)
Thanks in advance!
weston.log
Date: 2024-02-27 UTC
[19:02:43.615] weston 13.0.1
https://wayland.freedesktop.org
Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
Build: 13.0.1
[19:02:43.616] Command line: /usr/bin/weston --modules=systemd-notify.so --log=/home/weston/weston.log
[19:02:43.616] OS: Linux, 6.6.48, #1 SMP PREEMPT Thu Aug 29 15:33:59 UTC 2024, aarch64
[19:02:43.616] Flight recorder: enabled
[19:02:43.616] warning: XDG_RUNTIME_DIR "/home/weston" is not configured
correctly. Unix access mode must be 0700 (current mode is 0755),
and must be owned by the user UID 1000 (current owner is UID 1000).
Refer to your distribution on how to get it, or
http://www.freedesktop.org/wiki/Specifications/basedir-spec
on how to implement it.
[19:02:43.617] Using config file '/etc/xdg/weston/weston.ini'
[19:02:43.619] Output repaint window is 100 ms maximum.
[19:02:43.621] Loading module '/usr/lib/libweston-13/drm-backend.so'
[19:02:43.657] initializing drm backend
[19:02:43.657] Trying libseat launcher...
[19:02:43.659] [c/debug/seatd/0.8.0/libseat/libseat.c:73] Seat opened with backend 'seatd'
[19:02:43.659] [c/debug/seatd/0.8.0/libseat/backend/seatd.c:212] Enabling seat
[19:02:43.659] libseat: session control granted
[19:02:43.665] using /dev/dri/card0
[19:02:43.665] DRM: supports atomic modesetting
[19:02:43.665] DRM: supports GBM modifiers
[19:02:43.666] DRM: does not support async page flipping
[19:02:43.666] DRM: supports picture aspect ratio
[19:02:43.667] Loading module '/usr/lib/libweston-13/gl-renderer.so'
[19:02:43.764] Using rendering device: /dev/dri/card0
[19:02:43.764] EGL version: 1.5
[19:02:43.764] EGL vendor: Vivante Corporation
[19:02:43.764] EGL client APIs: OpenGL_ES OpenVG
[19:02:43.764] EGL features:
EGL Wayland extension: yes
context priority: no
buffer age: yes
partial update: yes
swap buffers with damage: yes
configless context: yes
surfaceless context: yes
dmabuf support: modifiers
[19:02:43.831] GL version: OpenGL ES 3.1 V6.4.19.4.952875
[19:02:43.831] GLSL version: OpenGL ES GLSL ES 3.10
[19:02:43.831] GL vendor: Vivante Corporation
[19:02:43.831] GL renderer: Vivante GCNANOULTRA31_VIP2
[19:02:43.831] warning: Disabling render GPU timeline due to missing GL_EXT_disjoint_timer_query extension
[19:02:44.046] GL ES 3.1 - renderer features:
read-back format: ARGB8888
glReadPixels supports y-flip: no
wl_shm 10 bpc formats: yes
wl_shm 16 bpc formats: no
wl_shm half-float formats: no
internal R and RG formats: yes
OES_EGL_image_external: yes
[19:02:44.046] Using GL renderer
[19:02:44.100] event0 - gpio-keys: is tagged by udev as: Keyboard
[19:02:44.100] event0 - gpio-keys: device is a keyboard
[19:02:44.111] event1 - Logitech USB Receiver: is tagged by udev as: Keyboard
[19:02:44.112] event1 - Logitech USB Receiver: device is a keyboard
[19:02:44.123] event2 - Logitech USB Receiver Mouse: is tagged by udev as: Mouse
[19:02:44.124] event2 - Logitech USB Receiver Mouse: device is a pointer
[19:02:44.134] event3 - Logitech USB Receiver Consumer Control: is tagged by udev as: Keyboard
[19:02:44.134] event3 - Logitech USB Receiver Consumer Control: device is a keyboard
[19:02:44.144] event4 - Logitech USB Receiver System Control: is tagged by udev as: Keyboard
[19:02:44.144] event4 - Logitech USB Receiver System Control: device is a keyboard
[19:02:44.199] libinput: configuring device "gpio-keys".
[19:02:44.199] libinput: configuring device "Logitech USB Receiver".
[19:02:44.199] libinput: configuring device "Logitech USB Receiver Mouse".
[19:02:44.199] libinput: configuring device "Logitech USB Receiver Consumer Control".
[19:02:44.199] libinput: configuring device "Logitech USB Receiver System Control".
[19:02:44.285] DRM: head 'HDMI-A-1' found, connector 32 is connected, EDID make 'SAM', model 'S24D330', serial '1515868465'
Supported EOTF modes: SDR
[19:02:44.286] Registered plugin API 'weston_drm_output_api_v1' of size 40
[19:02:44.286] Registered plugin API 'weston_drm_virtual_output_api_v2' of size 48
[19:02:44.286] Color manager: no-op
[19:02:44.286] Output 'HDMI-A-1' attempts EOTF mode: SDR
[19:02:44.286] Output 'HDMI-A-1' using color profile: stock sRGB color profile
[19:02:44.287] Chosen EGL config details: id: 21 rgba: 8 8 8 0 buf: 24 dep: 0 stcl: 0 int: 1-60 type: win|pix|pbf|swap_preserved vis_id: XRGB8888 (0x34325258)
[19:02:44.287] Output HDMI-A-1 (crtc 41) video modes:
1920x1080@60.0, preferred, current, 148.5 MHz
1920x1080@60.0 16:9, 148.5 MHz
1920x1080@50.0 16:9, 148.5 MHz
1280x720@60.0, 74.2 MHz
1280x720@60.0 16:9, 74.2 MHz
1280x720@50.0, 74.2 MHz
1280x720@50.0 16:9, 74.2 MHz
800x600@75.0, 49.5 MHz
720x576@50.0, 27.0 MHz
720x576@50.0 16:9, 27.0 MHz
720x480@59.9, 27.0 MHz
720x480@59.9 16:9, 27.0 MHz
[19:02:44.287] associating input device event0 with output HDMI-A-1 (none by udev)
[19:02:44.287] associating input device event1 with output HDMI-A-1 (none by udev)
[19:02:44.287] associating input device event2 with output HDMI-A-1 (none by udev)
[19:02:44.287] associating input device event3 with output HDMI-A-1 (none by udev)
[19:02:44.287] associating input device event4 with output HDMI-A-1 (none by udev)
[19:02:44.287] Output 'HDMI-A-1' enabled with head(s) HDMI-A-1
[19:02:44.288] Compositor capabilities:
arbitrary surface rotation: yes
screen capture uses y-flip: yes
cursor planes: yes
arbitrary resolutions: no
view mask clipping: yes
explicit sync: yes
color operations: no
presentation clock: CLOCK_MONOTONIC, id 1
presentation clock resolution: 0.000000001 s
[19:02:44.291] Loading module '/usr/lib/weston/desktop-shell.so'
[19:02:44.295] Loading module '/usr/lib/weston/screen-share.so'
[19:02:44.298] Loading module '/usr/lib/weston/systemd-notify.so'
[19:02:44.299] info: add 1 socket(s) provided by systemd
[19:02:44.300] launching '/usr/libexec/weston-keyboard'
[19:02:44.305] launching '/usr/libexec/weston-desktop-shell'