AnsweredAssumed Answered

imx6q: Xorg multi screen support

Question asked by Prasant J on Oct 1, 2013
Latest reply on Aug 10, 2017 by Michael Stevens
Hi,

 

 

I'm using yocto root filesytem on my custom hardware which is based on imx6q_sabresd. I think the following query is generic and is applicable to ltib root filesystem setup as well.

 

I intend to use two displays (HDMI + LVDS) simultaneously with X-server setup (I need the Xorg xserver, cannot work without it).

 

The displays work fine one at a time. But I'm not able to get the two screens work simultaneously. I see these lines in : /var/log/Xorg.0.log

 


[1054136.030] (II) Loading /usr/lib/xorg/modules/drivers/vivante_drv.so
[1054136.030] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[1054136.030] (II) VIVANTE(0): using default device
[1054136.030] (II) Loading /usr/lib/xorg/modules/drivers/vivante_drv.so
[1054136.030] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[1054136.030] (II) VIVANTE(1): using default device
[1054136.030] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[1054136.030] (EE) Screen 1 deleted because of no matching config section.
[1054136.030] (II) UnloadModule: "vivante"
[1054136.030] (II) Unloading vivante
[1054136.031] (II) UnloadModule: "fbdevhw"
[1054136.031] (II) Unloading fbdevhw

 

The second screen (Screen 1) never comes up, only first screen (Screen 0) comes up.


++++++++++++++++++

 

 

My xorg.conf:

 

Section "ServerLayout"
    Identifier        "Dual Screen"
    Screen    0        "HDMI"
    Screen    1        "LVDS" Below "HDMI"
EndSection

 

Section "ServerFlags"
    Option "BlankTime"  "0"
    Option "StandbyTime"  "0"
    Option "SuspendTime"  "0"
    Option "OffTime"  "0"
    Option "DefaultServerLayout" "Dual Screen"
EndSection   

 

Section "Device"
    Identifier  "HDMI Device"
    Driver      "vivante"
    Screen        0
    Option      "fbdev"     "/dev/fb2"
    Option      "vivante_fbdev" "/dev/fb2"
    Option      "HWcursor"  "false"
EndSection

 

Section "Screen"
    Identifier    "HDMI"
    Device        "HDMI Device"
    Monitor        "HDMI Monitor"
    DefaultDepth    24
    Subsection    "Display"
        Depth    24
        FbBpp    24
        Modes    "1920x1080"
    EndSubsection
EndSection

 

Section "Monitor"
    Identifier    "HDMI Monitor"
    #DisplaySize    517.5 351.7
    HorizSync    31.5-82.3
    VertRefresh    56-75
    Option "DPMS" "false"
EndSection

 

Section "Device"
    Identifier  "LVDS Device"
    Driver      "vivante"
    Screen        1
    Option      "fbdev"     "/dev/fb0"
    Option      "vivante_fbdev" "/dev/fb0"
    Option      "HWcursor"  "false"
EndSection

 

Section "Screen"
    Identifier    "LVDS"
    Device        "LVDS Device"
    Monitor        "LVDS Monitor"
    DefaultDepth    24
    Subsection    "Display"
        Depth    24
        FbBpp    24
        Modes    "1680x1050"
    EndSubsection
EndSection

 

Section "Monitor"
    Identifier    "LVDS Monitor"
EndSection

 

Section "DRI"
    Mode 0666
EndSection

 

+++++++++++++++++++++++++

 

Is there a mistake in xorg.conf or is it any other known issue/limitation ? Any work around if there is a known issue?

 

Any inputs will be of help to me!

 

-Pj

Outcomes