Hi @eric.tx,
Now that we are happy with the MIPI-DSI display, I would like to try again to get the Newhaven LVDS display working to make that an option for the project. I have made progress but I am stuck with a the Wayland desktop still not displaying correctly. Strangely, I setup the default Toradex Plymouth splash screen and that looks fine during boot.
I have patched the kernel as described on the following page for native LVDS with the i.MX8M Plus:
I am modifying the verdin-imx8mp_panel-cap-touch-10inch-lvds_overlay.dtsi file. My current panel-lvds-native node is as follows:
panel-lvds-native {
compatible = "panel-lvds";
backlight = <0x01>;
data-mapping = "vesa-24";
height-mm = <125>;
width-mm = <223>;
panel-timing {
clock-frequency = <51428571>;
de-active = <0x01>;
hactive = <1024 1024 1024>;
hback-porch = <160 160 160>;
hfront-porch = <16 160 216>;
hsync-active = <0x00>;
hsync-len = <1 70 140>;
pixelclk-active = <0x01>;
vactive = <600 600 600>;
vback-porch = <23 23 23>;
vfront-porch = <1 12 127>;
vsync-active = <0x00>;
vsync-len = <1 10 20>;
};
port {
endpoint {
remote-endpoint = <0xffffffff>;
phandle = <0x04>;
};
};
};
The LVDS display is:
I will post the output to a number of commands below. Any suggestions will be appreciated.
The output for “journalctl | grep -i wayland*”.
Jul 03 19:19:25 verdin-imx8mp-15335618 systemd[1]: Starting Weston, a Wayland compositor, as a system service…
Jul 03 19:19:26 verdin-imx8mp-15335618 weston[800]: https://wayland.freedesktop.org
Jul 03 19:19:26 verdin-imx8mp-15335618 weston[800]: Bug reports to: Issues · wayland / weston · GitLab
Jul 03 19:19:27 verdin-imx8mp-15335618 systemd[1]: Started Weston, a Wayland compositor, as a system service.
Jul 03 19:19:27 verdin-imx8mp-15335618 weston[800]: [19:19:27.195] Loading module ‘/usr/lib/libweston-10/xwayland.so’
Jul 03 19:19:27 verdin-imx8mp-15335618 weston[800]: [19:19:27.259] Registered plugin API ‘weston_xwayland_v1’ of size 32
Jul 03 19:19:27 verdin-imx8mp-15335618 weston[800]: [19:19:27.259] Registered plugin API ‘weston_xwayland_surface_v1’ of size 16
The output for “cat /sys/kernel/debug/clk/clk_summary | grep -C 5 video”.
dram_pll 1 1 0 1000000000 0 0 50000 Y
dram_pll_bypass 1 1 0 1000000000 0 0 50000 Y
dram_pll_out 1 1 0 1000000000 0 0 50000 Y
dram_core_clk 2 2 0 1000000000 0 0 50000 Y
dram1_root_clk 1 1 0 1000000000 0 0 50000 Y
video_pll1_ref_sel 1 1 0 24000000 0 0 50000 Y
video_pll1 1 1 0 360000000 0 0 50000 Y
video_pll1_bypass 1 1 0 360000000 0 0 50000 Y
video_pll1_out 2 2 0 360000000 0 0 50000 Y
media_disp2_pix 1 1 0 51428572 0 0 50000 Y
media_disp2_pix_root_clk 1 1 0 51428572 0 0 50000 Y
lcdif2_pixel_clk 1 1 0 51428572 0 0 50000 Y
media_ldb 1 1 0 360000000 0 0 50000 Y
media_ldb_root_clk 1 1 0 360000000 0 0 50000 Y
The output for “modetest -M imx-drm”.
Encoders:
id crtc type possible crtcs possible clones
34 33 LVDS 0x00000001 0x00000001
Connectors:
id encoder status name size (mm) modes encoders
35 34 connected LVDS-1 223x125 1 34
modes:
index name refresh (Hz) hdisp hss hse htot vdisp vss vse vtot
#0 1024x600 56.39 1024 1184 1254 1414 600 612 622 645 51428 flags: nhsync, nvsync; type: preferred, driver
props:
1 EDID:
flags: immutable blob
blobs:
value:
2 DPMS:
flags: enum
enums: On=0 Standby=1 Suspend=2 Off=3
value: 0
5 link-status:
flags: enum
enums: Good=0 Bad=1
value: 0
6 non-desktop:
flags: immutable range
values: 0 1
value: 0
4 TILE:
flags: immutable blob
blobs:
value:
CRTCs:
id fb pos size
33 38 (0,0) (1024x600)
#0 1024x600 56.39 1024 1184 1254 1414 600 612 622 645 51428 flags: nhsync, nvsync; type: preferred, driver
props:
24 VRR_ENABLED:
flags: range
values: 0 1
value: 0
Planes:
id crtc fb CRTC x,y x,y gamma size possible crtcs
31 33 38 0,0 0,0 0 0x00000001
formats: XR24 AR24 RG16 XB24 AB24 AR15 XR15
props:
8 type:
flags: immutable enum
enums: Overlay=0 Primary=1 Cursor=2
value: 1
32 zpos:
flags: immutable range
values: 0 0
value: 0
Frame buffers:
id size pitch