Display both VGA and HDMI

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

Display both VGA and HDMI

3,110 Views
Mats1z
Contributor III

I tried this bootargs of dual display-

setenv bootargs console=ttymxc0 init=/init androidboot.console=ttymxc0 video=mxcdi0fb:RGB24,1280x720M@60 hdmi video=mxcdi1fb:GBR24,VGA-SVGA di1_primary vga ip=none pmem=128M,64M fbmem=28M gpu_memory=128M vmalloc=576M

I got both VGA and HDMI displays but HDMI screen area is scaled down.

Now I turned off VGA and HDMI. Then configured new resolution for HDMI and turned it ON.

echo 1 >/sys/class/graphics/fb0/blank     #vga off

echo 1 >/sys/class/graphics/fb1/blank     #hdmi off

# cat /sys/class/graphics/fb1/modes

S:1280x720p-50

S:720x576p-50

S:1920x1080p-50

S:640x480p-60

S:720x480p-60

S:1280x720p-60

S:1920x1080p-60

# echo S:1280x720p-60 >/sys/class/graphics/fb1/mode


# cat /sys/class/graphics/fb1/mode

S:1280x720p-60

# echo 0 >/sys/class/graphics/fb1/blank     #hdmi on


Still the hdmi is not using the entire display area. Both ends are left blank.

.How can I make my HDMI display "FULLSCREEN"?

3 Replies

542 Views
daiane_angolini
NXP Employee
NXP Employee

Are you using android?

As I remember there is some setprop for dual display. Is there any difference when you set it (as I remember you are able to determinate with display will be first one, please, let me know if I´m missing something)

Are you using the same monitor to display both VGA and HDMI? Is there any change that the blank areas are caused by monitor configuration?

I branched it to a new discussion because maybe someone else can add some light on this issue.

542 Views
Mats1z
Contributor III
  • I'm using android 2.3 a.k.a gingerbread.
  • setprop rw.SECOND_DISPLAY_CONNECTED=1 , this is configured automatically when hdmi cable is connected.
  • if hdmi is configured as primary display there is no problem of display scaling but dynamic detection becomes impossible.
  • my setup works only when vga is primary display  and HDMI is secondary
  • I use 2 displays , one for vga and lcd for hdmi
  • when hdmi is primary display the entire screen area of display is used. So i don't think its an issue with monitor/lcd
0 Kudos

542 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hello,Mats1z,

       There only 1 IPU module in i.mx53 SOC, The biggest resolution is 1920x1080, If you want dual display by VGA and HDMI ports. Resolution should be suitable to be arragened.

       Please try :

VGA  : 1024x768

HDMI : 1024x768

Then check if image can display the entire screen.

Regards,

Weidong