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

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

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

584 Views
zhengguang_yang
Contributor II

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

0 Kudos
2 Replies

397 Views
igorpadykov
NXP Employee
NXP Employee

Hi

please try to test these resolutions with imx-test package (mxc_vpu_test)

www.nxp.com/lgfiles/NMG/MAD/YOCTO/imx-test-5.4.tar.gz

with Linux from

i.MX 6 Series Software and Development Tool|NXP 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

397 Views
zhengguang_yang
Contributor II

Hi igorpadykov

Thank you very much for your reply

Now I turn the clock of VGA to the internal clock. LVDS and HDMI all display normally. But it seems that the internal clock doesn't support all the resolution, because when using the internal clock, part of the resolution of the VGA can not be displayed alone.  When using the external clock, all of the resolution of the VGA displayed alone normally. 

0 Kudos