AnsweredAssumed Answered

Set some VGA resolution, leading to LVDS, HDMI can not display

Question asked by 争光 杨 on Oct 7, 2016
Latest reply on Oct 12, 2016 by 争光 杨

processor: i.MX 6Dual/6Quad

Linux:3.14.28

Set some VGA resolution, leading to LVDS, HDMI can not display.

For example:

From EDID you can see the resolution that VGA support as follows:

 cat /sys/class/graphics/fb2/modes:

S:1280x960p-60  
V:1152x864p-75
V:1280x1024p-75
V:1024x768p-75
V:1024x768p-70
V:1024x768p-60
U:832x624p-75
V:800x600p-75
V:800x600p-72
V:800x600p-60
V:800x600p-56
V:640x480p-75
V:640x480p-72
U:640x480p-67
V:640x480p-60
U:720x400p-70
D:1280x1024p-60

 

Test methods are as follows:

(1)setenv bootargs video=mxcfb0:dev=hdmi,1920x1080M@60,bpp=32 video=mxcfb1:dev=lcd,1280x960M@60,bpp=32

 

gst-launch-1.0 playbin uri=file:///run/media/sda1/movie/720p/20130614_riddick_trailer2_3008.mp4 video-sink="imxv4l2sink device=/dev/video17 disp-width=1920 disp-height=1080" &
gst-launch-1.0 playbin uri=file:///run/media/sda1/movie/720p/20130614_riddick_trailer2_3008.mp4 video-sink="imxv4l2sink device=/dev/video18"

 

VGA, hdmi, lvds can play normally 

(2)setenv bootargs video=mxcfb0:dev=hdmi,1920x1080M@60,bpp=32 video=mxcfb1:dev=lcd,1280x1024M@75,bpp=32

 

gst-launch-1.0 playbin uri=file:///run/media/sda1/movie/720p/20130614_riddick_trailer2_3008.mp4 video-sink="imxv4l2sink device=/dev/video17 disp-width=1920 disp-height=1080" &
gst-launch-1.0 playbin uri=file:///run/media/sda1/movie/720p/20130614_riddick_trailer2_3008.mp4 video-sink="imxv4l2sink device=/dev/video18"

 

VGA, hdmi, lvds can't play normally

 

Then, I tested all the resolutions:

S:1280x960p-60       
V:1152x864p-75      
V:1280x1024p-75     ×
V:1024x768p-75      ×   
V:1024x768p-70      ×
V:1024x768p-60      
U:832x624p-75         ×
V:800x600p-75      
V:800x600p-72      
V:800x600p-60      
V:800x600p-56         ×
V:640x480p-75      
V:640x480p-72      
U:640x480p-67         ×
V:640x480p-60      
U:720x400p-70      
D:1280x1024p-60      

√ means VGA, hdmi, lvds can play normally

× means VGA, hdmi, lvds can't play normally

 

Outcomes