瑞芯微Rockchip开发者社区
直播中

陈霞

7年用户 945经验值
私信 关注
[问答]

imx6q开发板该如何修改才能进行双显

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










回帖(3)

邢洋

2022-1-11 11:16:04
linux4.1.15上只实现了在两个屏上播发视频,这种方法是测试过,应该不会出现您说的情况,如果uboot设置没有问题,是不是接触不好,才出现不能显示和报错的情况
举报

赵护林

2022-1-11 11:16:13
视频可以同时播放,接触应该没问题。
设置uboot后,无法同时在lcd和hdmi输出一样的界面。在linux4.1.15没有试过lcd+hdmi双屏显示吗?
举报

李欣媛

2022-1-11 11:16:27
6Q 4.1.15  可以支持图中组合方式的 双屏设置
举报

更多回帖

发帖
×
20
完善资料,
赚取积分