AnsweredAssumed Answered

Cannot get Dual Video to Work!!

Question asked by Paul DeMetrotion on Mar 14, 2013
Latest reply on Sep 2, 2013 by Gao Jianzhong

I have a custom BSP with an i.MX6Q wroking fine. I support HDMI video and two LVDS channels but cannot ever get HDMI and LVDS to work simultaneously. Whichever video source I map to fb0 works fine but I never get the second video source to work. Here is my boot command line. With this command line I get HDMI video but not LVDS. If I switch fb0 and fb1, I then get LVDS video but not HDMI.

 

console=ttymxc0,115200 root=/dev/mmcblk0p1 rootwait rw ip=dchp video=mxcfb0:dev=hdmi,1280x720M@60,if=RGB24 video=mxcfb1:dev=ldb,LDB-XGA,if=RG666

 

Here is my xorg.conf file:

Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "kbd"
        Option          "XkbRules"      "xorg"
        Option          "XkbModel"      "pc105"
        Option          "XkbLayout"     "us"
EndSection

Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver          "mouse"
        Option          "CorePointer"
EndSection

Section "Device"
        Identifier      "i.MX Accelerated Framebuffer Device 0"
        Driver          "vivante"
        Option          "fbdev"         "/dev/fb0"
        Option          "vivante_fbdev" "/dev/fb0"
        Option          "HWcursor"      "false"
EndSection

Section "Device"
        Identifier      "i.MX Accelerated Framebuffer Device 1"
        Driver          "vivante"
        Option          "fbdev"         "/dev/fb1"
EndSection

Section "Monitor"
        Identifier      "Configured Monitor 0"
EndSection

Section "Monitor"
        Identifier      "Configured Monitor 1"
EndSection

Section "Screen"
        Identifier      "Screen 0"
        Monitor         "Configured Monitor 0"
        Device          "i.MX Accelerated Framebuffer Device 0"
EndSection

Section "Screen"
        Identifier      "Screen 1"
        Monitor         "Configured Monitor 1"
        Device          "i.MX Accelerated Framebuffer Device 1"
EndSection

Section "ServerLayout"
        Identifier      "Xinerama Layout"
        Screen          "Screen 0"
        Screen          "Screen 1"

EndSection

Section "ServerFlags"
        Option          "Xinerama"      "true"
EndSection

 

If I only have Screen 0, it works fine. If I add any reference to Screen 1, I get no video on either monitor.

 

Does all of this look correct? Any help will be grealty appreciated.

Outcomes