HDMI LCD Screen Resolution 1920x720 (vidargs not working)!

Hi,
I have 1920 x 720 screen, running console-tdx-image built via Yocto

I set my screen’s

setenv vidargs 'video=mxcfb0:dev=ldb,1920x720@60,if=RGB24 video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off fbmem=32M'

from u-boot section, nothing is effected

then I made

fbset -g 1920 720 1920 720 16

then it worked but now screen is malfunctioning

alt text

default outputs of fbset:

mode "1920x1080-50"
    # D: 148.500 MHz, H: 56.250 kHz, V: 50.000 Hz
    geometry 1920 1080 1920 1080 16
    timings 6734 148 528 36 4 44 5
    hsync high
    vsync high
    rgba 5/11,6/5,5/0,0/0
endmode

Also this is “dmesg | grep fb” outputs

[    0.000000] Kernel command line: vmalloc=400M user_debug=30 ip=off root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait fec_mac=00:14:2d:4e:e4:5f consoleblank=0 no_console_suspend=1 console=tty1 console=ttM
[    0.575300] fbcvt: Aspect ratio not CVT standard
[    0.575333] fbcvt: 1920x720@60: CVT Name - Not a CVT standard - 1.382 Mega Pixel Image
[    0.575478] mxc_sdc_fb fb@0: registered mxc display driver hdmi
[    0.592454] mxc_sdc_fb fb@0: 1920x1080 h_sync,r,l: 44,88,148  v_sync,l,u: 5,4,36 pixclock=148500000 Hz
[    0.656715] mxc_sdc_fb fb@0: 1920x1080 h_sync,r,l: 44,88,148  v_sync,l,u: 5,4,36 pixclock=148500000 Hz
[    0.740395] mxc_sdc_fb fb@1: mxcfb1 is turned off!
[    0.740548] mxc_sdc_fb fb@2: mxcfb2 is turned off!
[    0.740692] mxc_sdc_fb fb@3: mxcfb3 is turned off!
[    0.783370] mxc_sdc_fb fb@0: 640x480 h_sync,r,l: 96,16,48  v_sync,l,u: 2,10,33 pixclock=25175000 Hz
[    1.831635] mxc_sdc_fb fb@0: 640x480 h_sync,r,l: 96,16,48  v_sync,l,u: 2,10,33 pixclock=25200000 Hz
[    1.886082] mxc_sdc_fb fb@0: 640x480 h_sync,r,l: 96,16,48  v_sync,l,u: 2,10,33 pixclock=25200000 Hz
[    2.547412] mxc_sdc_fb fb@0: 640x480 h_sync,r,l: 96,16,48  v_sync,l,u: 2,10,33 pixclock=25175000 Hz
[    2.990282] mxc_sdc_fb fb@0: 1920x1080 h_sync,r,l: 44,528,148  v_sync,l,u: 5,4,36 pixclock=148500000 Hz

I want default screen resolution 1920 x 720 so what should I do ?
Thank you.

hi
Could you provide the output of xrandr ?

hello

root@apalis-imx6:~# xrandr
-sh: xrandr: command not found

output is this

What is the version of you hardware and software?

imx6 apalis, Ixora carrier board, custom linux image compiled with yocto “console-tdx-image” I removed wayland and x11, just using eglfs

Any help to me ?

hi

How did you connect the display to the Ixora Board?

Could you provide the datasheet of the display?

What are your uboot settings for the vidargs?

Could you provide the complete serial bootlog in a text file? Thanks.

I connected my display via HDMI

and my vidarg settings

vmalloc=400M user_debug=30 ip=off root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait fec_mac=00:14:2d:4e:e4:5f consoleblank=0 no_console_suspend=1 console=tty1 console=ttymxc0,115200n8 video=mxcfb0:dev=hdmi,1920x720M@60,if=RGB24 video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off fbmem=32M

Could you provide the complete serial bootlog in a text file? what is the output of print vidargs in u-boot environment?

Hello

vidargs=video=mxcfb0:dev=hdmi,1920x720M@60,if=RGB24 video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off fbmem=32M

this is the output

Any help to me people, that is not joke situation. Thanks to Toradex

You could advice me everything, I just want to run a Qt application with a normal resolutions.

hello
We are trying to help you, for this we need some information.

  1. Could you share the datasheet of this display?
  2. Provide the complete dmesg log, please.

1920x720 is not a standard resolution. We need to find out, if this resolution is supported by the display. For that:

  1. Could you provide the output of EDID file as described here.

Thanks

Hello

this is the datasheet
link text

this is complete dmesg log
link text

this is edid file log
link text

Thanks alot.

Thanks for the files. According to EDID Information, the Resolution of 1920x720 is supported. Did you manage to get the correct resolution when the display is connected to a PC?

Further you could also try to install the LXDE image and then add the new resolution mode using ‘xrandr’ as described here?

Hello. I met similar issue but it is 1024*768 HDMI display. Below is what I do:

  1. Add display timing to the end of fb_videomode. For your 1920x720 display, you can use below timing, it comes from edid data you uploaded.

    [48] = { 
    	NULL, 60, 1920, 720, 9902, 148, 88, 36, 4, 44, 5,
    	FB_VMODE_NONINTERLACED | FB_VMODE_ASPECT_8_3, 0
    },
    
  2. Add FB_VMODE_ASPECT_8_3 definition to mxc_edid.h

    #define FB_VMODE_ASPECT_8_3	0x40
    #define FB_VMODE_ASPECT_MASK	(FB_VMODE_ASPECT_4_3 | FB_VMODE_ASPECT_16_9 | FB_VMODE_ASPECT_8_3)
    
  3. Set vidargs in uboot

    setenv vidargs ‘video=mxcfb0:dev=hdmi,1920x720M@60,if=RGB24 video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off fbmem=32M’

Compile zImage and update it to iMX6 module at path /media/mmcblk0p1

when boot with this new image, it is set to 1920x720. However, I don’t have this display, you can try it.

root@apalis-imx6:~# fbset

mode "1920x720-60"
    # D: 100.990 MHz, H: 45.904 kHz, V: 60.006 Hz
    geometry 1920 720 1920 768 16
    timings 9902 148 88 36 4 44 5
    rgba 5/11,6/5,5/0,0/0
endmode