AnsweredAssumed Answered

i.mx6q Enable Dual Display of Ubuntu

Question asked by Gao Jianzhong on Sep 2, 2013
Latest reply on Jan 30, 2016 by Guo Tang
Branched to a new discussion

Hi, all

 

I want to use ubuntu with dual display on i.mx6q board.

And use LVDS as the primary dispaly and  HDMI as the second one.

My u-boot's kernel parameters is as bellow:

 

video=mxcfb0:dev=ldb,LDB-XGA,if=RGB666 video=mxcfb1:dev=hdmi,1920x1080M@60,if=RGB24

 

And my x window configure file is as bellow:

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      "LVDS"

       Driver          "vivante"

        Option          "fbdev"         "/dev/fb0"

       Option          "vivante_fbdev" "/dev/fb0"

       Option          "HWcursor"      "false"

EndSection

 

Section "Device"

        Identifier      "HDMI"

        Driver          "fbdev"                        ///////////////  If i use "vivante", X window start will failed, it seems that "vivante" not support two display?

        Option          "fbdev"         "/dev/fb2"

EndSection

 

Section "Monitor"

        Identifier      "LVDS Monitor"

EndSection

Section "Monitor"

        Identifier      "HDMI Monitor"

EndSection

 

 

Section "Screen"

        Identifier      "LVDS Screen"

        Monitor         "LVDS Monitor"

        Device          "LVDS"

EndSection

 

Section "Screen"

        Identifier      "HDMI Screen"

        Monitor         "HDMI Monitor"

        Device          "HDMI"

EndSection

 

Section "ServerLayout"

        Identifier      "Dual Layout"

        Screen 0        "LVDS Screen"

        Screen 1        "HDMI Screen" RightOf "LVDS Screen"

        Option          "Xinerama"  "on"

EndSection

 

 

Then i get the two display worked, But somthing is wrong.

On the left of HDMI display there is a copy of lvds.

Is my settings wrong?

Do you know about this?

Thank you

LVDS.jpgHDMI.jpg

Outcomes