AnsweredAssumed Answered

iMX6-Dual Display with vivante and X11(xserver) only one is possible with acceleration, How to use another without acceleration ?

Question asked by Pankaj Suryawanshi on Nov 14, 2018
Latest reply on Nov 26, 2018 by Pankaj Suryawanshi

Hi Community,

 

I am using imx6 with our custom board, and trying to use dual display (LVDS+HDMI).

kernel version -4.1.15

X11(xserver) version-1.18.0

Vivante (Galcore) - 5.0.11

 

I know accelerated dual display is not possible with imx6 (Kernel 4.1.15). its limitation.

see iMX6 Accelerated Dual-Display with X11 and Vivante Driver Segfault 

 

How can i use one accelerated and one without acceleration ?

 

Xserver recipes -

  • xf86-video-imxfb-vivante
  • xserver-xorg
  • xf86-input-evdev
  • imx-gpu-viv

 

My xorg,conf is as below

==================================================================

Section "Device"
    Identifier  "i.MX Accelerated Framebuffer Device 0"
    Driver      "vivante"                               // tried with fbdev driver and Noaccel option but not working.
    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/fb2"
    Option      "vivante_fbdev" "/dev/fb2"
    Option      "HWcursor"  "false"
EndSection

 

Section "Screen"
        Identifier      "LCD"
        Device          "i.MX Accelerated Framebuffer Device 0"
        Monitor         "Monitor_0"
        DefaultDepth           16 #Choose the depth (16||24)
        SubSection             "Display"
                Depth              16
                Modes              "800x480_60.00" #Choose the resolution
        EndSubSection
EndSection

 

Section "Screen"
        Identifier      "HDMI"
        Device          "i.MX Accelerated Framebuffer Device 1"
        Monitor         "Monitor_1"
        DefaultDepth           16 #Choose the depth (16||24)
        SubSection             "Display"
                Depth              16
        EndSubSection
EndSection

 

Section "Monitor"
        Identifier "Monitor_1"                                                               
EndSection

 

Section "Monitor"
        Identifier "Monitor_0"
EndSection

 

Section "ServerLayout"
        Identifier      "Default Layout"
        Screen           0 "LCD"
        Screen           1 "HDMI" RightOf "LCD"
        #InputDevice     "hy462x" "Pointer"
        #InputDevice     "eGalaxTouch" "Pointer"
        Option          "Xinerama" "on"
EndSection

 

Section "ServerFlags"
    Option "BlankTime"  "0"
    Option "StandbyTime"  "0"
    Option "SuspendTime"  "0"
    Option "OffTime"  "0"
EndSection

=======================================================

 

Please let me know how it is possible ?

 

Any help would be highly appreciated ?

 

Regards,

Pankaj

Outcomes