Congatec imx8mp custom hdmi issue

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

Congatec imx8mp custom hdmi issue

368 Views
himanshubhavani
Contributor I

Hi All,

We have using custom congatec imx8mp-cgtqx8p board which have HDMI and LVDS display connected. 

LVDS display resolution is 1280x800 

 

root@imx8mp-cgtqx8p:~# cat /sys/class/drm/card1-DPI-1/modes 
1280x800

 

HDMI suppoered mode list :-

 

root@imx8mp-cgtqx8p:~# cat /sys/class/drm/card1-HDMI-A-1/modes                                                                                
1920x1080
1920x1080
1920x1080
1920x1080
1280x1024
1280x1024
1280x960
1152x864
1280x720
1280x720
1280x720
1280x720
800x600
800x600
720x576
720x480
720x480
720x480
720x480

 

And I am trying to clone display from LVDS to HDMI but when I set custom resolution on my hdmi using below command.

 

 

setenv mmcargs "setenv bootargs pcie_cz_enabled=yes console=ttymxc1,115200 root=/dev/mmcblk1p2 rootwait rw video=HDMI-A-1:1280x800@60e"

 

 

It is not reflated on hdmi modes. This custom modes showing in cmdline.

HDMI-A-1/modes entry not showing new custom mode (1280x800)

Is this issue comes from bsp side or kernel side I don't know can someone help ?

Yocto build configuration is 

 

Build Configuration:
BB_VERSION           = "2.0.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "universal"
TARGET_SYS           = "aarch64-poky-linux"
MACHINE              = "imx8mp-cgtqx8p"
DISTRO               = "fsl-imx-xwayland"
DISTRO_VERSION       = "5.15-kirkstone"
TUNE_FEATURES        = "aarch64 armv8a crc crypto"

 

 weston.ini file configuration

 

[core]
#gbm-format=argb8888
#gbm-format=rgb565
idle-time=0
#use-g2d=1
xwayland=true
repaint-window=16
#enable-overlay-view=1
modules=screen-share.so

#[shell]
#size=1920x1080

[libinput]
touchscreen_calibrator=true

[output]
name=HDMI-A-1
clone-from=DPI-1

[output]
name=DPI-1
mode=1280x800@60

#[output]
#name=HDMI-A-2
#mode=off
#       WIDTHxHEIGHT    Resolution size width and height in pixels
#       off             Disables the output
#       preferred       Uses the preferred mode
#       current         Uses the current crt controller mode
#transform=rotate-90

[screen-share]
command=/usr/bin/weston --backend=rdp-backend.so --shell=fullscreen-shell.so --no-clients-resize --rdp-tls-cert=/etc/freerdp/keys/server.crt --rdp-tls-key=/etc/freerdp/keys/server.key
start-on-startup=true

 

 

0 Kudos
5 Replies

328 Views
joanxie
NXP TechSupport
NXP TechSupport

what bsp version do you use? do you mean you failed setting hdmi 1280x800 resolution, right? could you set hdmi 1280x800 without lvds successfully? let me remind, imx8mp doesn't support clone mode

0 Kudos

321 Views
himanshubhavani
Contributor I

HI @joanxie 

Thanks for your support. Yes you are right I am trying to set custom resolution for HDMi display(1280x800) to clone LVDS display which is fixed resolution(1280x800).

As you said imx8mp not support clone mode. when I check other board (toradex verdin imx8mp) the clone mode is working fine on that. It have two HDMI port. But also if tried to set custom resolution on both HDMI the clone mode is not working in toradex. 

I am confuse here If clone mode is not supported in imx8mp then how toradex board clone works? also same time when I set custom resolution(1280x800) on toradex board the clone is not working.

0 Kudos

310 Views
joanxie
NXP TechSupport
NXP TechSupport

when I check other board (toradex verdin imx8mp) the clone mode is working fine on that.

>what backend do they use? do they use weston? current bsp uses weston, which couldn't support clone mode (LVDS+HDMI) as default, customer needs change the weston source code by themselves, I just say default nxp bsp couldn't support this

0 Kudos

307 Views
himanshubhavani
Contributor I

Hi @joanxie Thanks for your support. They are using weston 10 and also I tried to replace toradex weston on my congatec board but It is not working. 

0 Kudos

271 Views
joanxie
NXP TechSupport
NXP TechSupport

I'm not familiar with toradex weston, maybe you can compare nxp weston code with toradex weston code, to find out what they changed to support this clone mode

0 Kudos