Hello everyone,
I am currently connecting our LVDS screen from the native LVDS output of the SoC and fail to get a proper color output. It looks like it is encoded in RGB 444 instead of RGB 666 (18 bits), or coming from a quantization step.
Our screen is 18 bits, but we can feed it using 24 bits too (and discards the last lane of VESA-24).
I use the 5.7.0 BSP.
Here are some commands:
weston-info
*** Please use wayland-info instead
*** weston-info is deprecated and will be removed in a future version
interface: 'wl_compositor', version: 4, name: 1
interface: 'wl_subcompositor', version: 1, name: 2
interface: 'wp_viewporter', version: 1, name: 3
interface: 'zxdg_output_manager_v1', version: 2, name: 4
xdg_output_v1
output: 20
name: 'LVDS-1'
logical_x: 0, logical_y: 0
logical_width: 800, logical_height: 480
interface: 'wp_presentation', version: 1, name: 5
presentation clock id: 1 (CLOCK_MONOTONIC)
interface: 'zwp_alpha_compositing_v1', version: 1, name: 6
interface: 'zwp_relative_pointer_manager_v1', version: 1, name: 7
interface: 'zwp_pointer_constraints_v1', version: 1, name: 8
interface: 'zwp_input_timestamps_manager_v1', version: 1, name: 9
interface: 'wl_data_device_manager', version: 3, name: 10
interface: 'wl_shm', version: 1, name: 11
formats: 'YUYV'(0x56595559) 'NV12'(0x3231564e) 'YU12'(0x32315559) RGB565 XRGB8888 ARGB8888
interface: 'wl_viv', version: 1, name: 12
interface: 'wl_drm', version: 2, name: 13
interface: 'wl_seat', version: 7, name: 14
name: default
capabilities: keyboard
keyboard repeat rate: 40
keyboard repeat delay: 400
interface: 'zwp_linux_dmabuf_v1', version: 3, name: 15
formats:
'YU12'(0x32315559), modifier: 0x0000000000000000
'NV12'(0x3231564e), modifier: 0x0000000000000000
'YUYV'(0x56595559), modifier: 0x0000000000000000
'RG16'(0x36314752), modifier: 0x0000000000000000
'XR24'(0x34325258), modifier: 0x0000000000000000
'AR24'(0x34325241), modifier: 0x0000000000000000
interface: 'weston_direct_display_v1', version: 1, name: 16
interface: 'zwp_linux_explicit_synchronization_v1', version: 2, name: 17
interface: 'weston_content_protection', version: 1, name: 18
interface: 'zwp_hdr10_metadata_v1', version: 1, name: 19
interface: 'wl_output', version: 3, name: 20
x: 0, y: 0, scale: 1,
physical_width: 154 mm, physical_height: 91 mm,
make: 'unknown', model: 'unknown',
subpixel_orientation: unknown, output_transform: normal,
mode:
width: 800 px, height: 480 px, refresh: 63.991 Hz,
flags: current preferred
interface: 'xdg_wm_base', version: 1, name: 21
interface: 'zxdg_shell_v6', version: 1, name: 22
interface: 'wl_shell', version: 1, name: 23
interface: 'wl_seat', version: 7, name: 24
name: default
capabilities: pointer keyboard
keyboard repeat rate: 40
keyboard repeat delay: 400
interface: 'wl_seat', version: 7, name: 25
name: default
capabilities: pointer keyboard
keyboard repeat rate: 40
keyboard repeat delay: 400
fbset
mode "800x480-0"
# D: 0.000 MHz, H: 0.000 kHz, V: 0.000 Hz
geometry 800 480 800 480 32
timings 0 0 0 0 0 0 0
accel true
rgba 8/16,8/8,8/0,0/0
endmode
Overlay:
&lvds_channel0 {
fsl,data-mapping = "jeida";
fsl,data-width = <24>;
primary;
};
&panel_lvds {
data-mapping = "vesa-24";
panel-timing {
clock-frequency = <37125000>;
hactive = <800>;
vactive = <480>;
hback-porch = <220>;
hfront-porch = <40>;
vback-porch = <21>;
vfront-porch = <7>;
hsync-len = <60>;
vsync-len = <10>;
};
};
with jeida-18 as a data mapping, the result is exactly the same.
Do you have any idea of what is missing ? Maybe a config in wayland ?
Thanks
Adrian