lcd和hdmi单独进行显示时都正常,但是两路同时打开时只有指定到mxcfb0的设备有显示,mxcfb1就没有输出。
uboot中设置的环境变量是
mxcfb0=video=mxcfb0:dev=hdmi,1280x720M@60,if=RGB24,bpp=16
mxcfb1=video=mxcfb1:dev=lcd,CLAA-WVGA-HD,if=RGB24,bpp=16,int_clk
使用的是imx6q
开发板,程序版本qt5.6,linux4.1.15
该如何修改才能进行双显?谢谢
参照用户手册附录2的说明,使用
gst-launch-1.0 playbin uri=file:///forlinx/video/xm.mp4 video-sink="imxv4l2sink device=/dev/video16" & gst-launch-1.0 playbin uri=file:///forlinx/video/xm.mp4 video-sink="imxv4l2sink device=/dev/video18" &
测试可以同时在两个屏幕播放视频,但是正常启动系统就是显示不了。
按照附录2的设置顺序,环境变量改为
mxcfb0=video=mxcfb0:dev=lcd,CLAA-WVGA-HD,if=RGB24,bpp=16,int_clk
mxcfb1=video=mxcfb1:dev=hdmi,1280x760M@60,if=RGB24,bpp=16
启动后出现错误
imx6qsabresd login: [ 9.583107] imx-hdmi-audio imx-hdmi-audio: HDMI Video is not ready!
[ 9.589511] imx-hdmi-audio imx-hdmi-audio: ASoC: can't open platform imx-hdmi-audio: -22
[ 9.598668] imx-hdmi-audio imx-hdmi-audio: HDMI Video is not ready!
[ 9.605021] imx-hdmi-audio imx-hdmi-audio: ASoC: can't open platform imx-hdmi-audio: -22
[ 9.614939] imx-hdmi-audio imx-hdmi-audio: HDMI Video is not ready!
[ 9.621229] imx-hdmi-audio imx-hdmi-audio: ASoC: can't open platform imx-hdmi-audio: -22
[ 9.631335] imx-hdmi-audio imx-hdmi-audio: HDMI Video is not ready!
[ 9.637663] imx-hdmi-audio imx-hdmi-audio: ASoC: can't open platform imx-hdmi-audio: -22
[ 9.647121] imx-hdmi-audio imx-hdmi-audio: HDMI Video is not ready!
[ 9.653406] imx-hdmi-audio imx-hdmi-audio: ASoC: can't open platform imx-hdmi-audio: -22
[ 9.662590] imx-hdmi-audio imx-hdmi-audio: HDMI Video is not ready!
[ 9.668904] imx-hdmi-audio imx-hdmi-audio: ASoC: can't open platform imx-hdmi-audio: -22
[ 9.677991] imx-hdmi-audio imx-hdmi-audio: HDMI Video is not ready!
[ 9.684309] imx-hdmi-audio imx-hdmi-audio: ASoC: can't open platform imx-hdmi-audio: -22
[ 9.696732] imx-hdmi-audio imx-hdmi-audio: HDMI Video is not ready!
[ 9.703014] imx-hdmi-audio imx-hdmi-audio: ASoC: can't open platform imx-hdmi-audio: -22
[ 10.015862] random: nonblocking pool is initialized