GUI Guider v1.8.0 not displaying on ST7789 240*240 LCD Display for the IMX93 board

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

GUI Guider v1.8.0 not displaying on ST7789 240*240 LCD Display for the IMX93 board

1,131 Views
mohamed_gaseen
Contributor III

Hi,

I'm currently working on the i.MX93 board with ST7789 240 * 240 LCD display attached.

My query is that I'm using the GUI Guider library version v1.8.0, Here I'm creating the button counter interface with the configuration which I have attached below ButtonCounter.png for your reference.

And the file gui_guider also got generated successfully and the same binary running in the Remote desktop successfully. I'll share the Working-RDP-ButtonCount.png below for your reference.

But while running it on my ST7789 240 * 240 display the button counter Image is not displaying on the LED. There's no issue with the display as we are running other graphical interfaces on the same display.

Please let me know Is there any configuration I need to change for my display. Please help me to sort out this issue.

Thanks in Advance.

0 Kudos
Reply
4 Replies

439 Views
mohamed_gaseen
Contributor III

Hello,

Still facing this issue. Is there any update regarding this issue?

0 Kudos
Reply

878 Views
mohamed_gaseen
Contributor III

Hi,

 

Is there any update on this issue.

0 Kudos
Reply

1,046 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi

Did you test it when you disable the RDP?

Best Regards
Zhiming

0 Kudos
Reply

1,022 Views
mohamed_gaseen
Contributor III

Thanks for your reply,

Yeah we've disabled the weston through the remote desktop and we ran it through the frame buffer fbdev. The below command is for your reference.

weston --tty=1 --backend=fbdev-backend.so --device=/dev/fb0 &

The gui-guider demo is running on our screen but the image color is not proper. It is displaying a glitch on the screen.

The below attached image files are for your reference.

But we tested the cairo graphics to draw a font and a line on the st7789 LCD screen. there the screen color is working properly.

Please verify and let me know whether I need to change anything in the weston.ini file.

Please find the weston.log while running the fbdev below

Date: 2024-08-06 UTC
[13:04:54.883] weston 10.0.5
https://wayland.freedesktop.org
Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
Build: lf-5.15.71-2.2.2+
[13:04:54.884] Command line: weston --tty=1 --backend=fbdev-backend.so --xwayland --device=/dev/fb0 --log=weston.log
[13:04:54.884] OS: Linux, 6.6.3-lts-next-gc46d8abfb496-dirty, #1 SMP PREEMPT Thu Feb 29 08:37:44 UTC 2024, aarch64
[13:04:54.884] Flight recorder: enabled
[13:04:54.885] Using config file '/etc/xdg/weston/weston.ini'
[13:04:54.886] Output repaint window is 16 ms maximum.
[13:04:54.887] Loading module '/usr/lib/libweston-10/fbdev-backend.so'
[13:04:54.891] initializing fbdev backend
[13:04:54.891] warning: the fbdev backend is deprecated, please migrate to the DRM backend
[13:04:54.891] Trying logind launcher...
[13:04:54.891] logind: failed to get session seat
[13:04:54.892] logind: cannot setup systemd-logind helper error: (No data available), using legacy fallback
[13:04:54.892] Trying weston_launch launcher...
[13:04:54.892] could not get launcher fd from env
[13:04:54.892] Trying direct launcher...
[13:04:54.892] Opening fbdev frame buffer.
[13:04:54.892] Calculating pixman format from:
- type: 0 (aux: 0)
- visual: 2
- bpp: 16 (grayscale: 0)
- red: offset: 11, length: 5, MSB: 0
- green: offset: 5, length: 6, MSB: 0
- blue: offset: 0, length: 5, MSB: 0
- transp: offset: 0, length: 0, MSB: 0
[13:05:14.551] Created head '/dev/fb0' for device /dev/fb0 (st7789vdrmfb)
[13:05:14.575] event0 - 44440000.bbnsm:pwrkey: is tagged by udev as: Keyboard
[13:05:14.576] event0 - 44440000.bbnsm:pwrkey: device is a keyboard
[13:05:14.581] event1 - Dell KB216 Wired Keyboard: is tagged by udev as: Keyboard
[13:05:14.582] event1 - Dell KB216 Wired Keyboard: device is a keyboard
[13:05:14.588] event2 - Dell KB216 Wired Keyboard Consumer Control: is tagged by udev as: Keyboard
[13:05:14.588] event2 - Dell KB216 Wired Keyboard Consumer Control: device is a keyboard
[13:05:14.594] event3 - Dell KB216 Wired Keyboard System Control: is tagged by udev as: Keyboard
[13:05:14.594] event3 - Dell KB216 Wired Keyboard System Control: device is a keyboard
[13:05:14.600] event4 - PixArt Dell MS116 USB Optical Mouse: is tagged by udev as: Mouse
[13:05:14.601] event4 - PixArt Dell MS116 USB Optical Mouse: device set to 1000 DPI
[13:05:14.601] event4 - PixArt Dell MS116 USB Optical Mouse: device is a pointer
[13:05:14.641] libinput: configuring device "44440000.bbnsm:pwrkey".
[13:05:14.642] libinput: configuring device "Dell KB216 Wired Keyboard".
[13:05:14.642] libinput: configuring device "Dell KB216 Wired Keyboard Consumer Control".
[13:05:14.642] libinput: configuring device "Dell KB216 Wired Keyboard System Control".
[13:05:14.642] libinput: configuring device "PixArt Dell MS116 USB Optical Mouse".
[13:05:14.642] Color manager: no-op
[13:05:14.642] Creating fbdev output.
[13:05:14.642] Output '/dev/fb0' using color profile: built-in default sRGB SDR profile
[13:05:14.642] Opening fbdev frame buffer.
[13:05:14.642] Calculating pixman format from:
- type: 0 (aux: 0)
- visual: 2
- bpp: 16 (grayscale: 0)
- red: offset: 11, length: 5, MSB: 0
- green: offset: 5, length: 6, MSB: 0
- blue: offset: 0, length: 5, MSB: 0
- transp: offset: 0, length: 0, MSB: 0
[13:05:34.183] Mapping fbdev frame buffer.
[13:05:34.183] fbdev output 240×240 px
guessing 60 Hz and 96 dpi
[13:05:34.183] associating input device event0 with output /dev/fb0 (none by udev)
[13:05:34.183] associating input device event1 with output /dev/fb0 (none by udev)
[13:05:34.183] associating input device event2 with output /dev/fb0 (none by udev)
[13:05:34.183] associating input device event3 with output /dev/fb0 (none by udev)
[13:05:34.183] associating input device event4 with output /dev/fb0 (none by udev)
[13:05:34.183] Output '/dev/fb0' enabled with head(s) /dev/fb0
[13:05:34.183] Compositor capabilities:
arbitrary surface rotation: yes
screen capture uses y-flip: no
cursor planes: no
arbitrary resolutions: no
view mask clipping: yes
explicit sync: no
color operations: no
presentation clock: CLOCK_MONOTONIC_RAW, id 4
presentation clock resolution: 0.000000001 s
[13:05:34.185] Loading module '/usr/lib/weston/desktop-shell.so'
[13:05:34.188] launching '/usr/libexec/weston-keyboard'
[13:05:34.189] Warning: support for deprecated wl_shell interface is enabled. Please migrate legacy clients to xdg-shell.
[13:05:34.191] Loading module '/usr/lib/libweston-10/xwayland.so'
[13:05:34.258] Registered plugin API 'weston_xwayland_v1' of size 32
[13:05:34.258] Registered plugin API 'weston_xwayland_surface_v1' of size 16
[13:05:34.258] xserver listening on display :0
[13:05:34.258] launching '/usr/libexec/weston-desktop-shell'

Thanks in Advance.


0 Kudos
Reply