Alejandro. Thanks it was very helpful. I was able to get a mirror display between LVDS and Parallel display using the following xorg.conf file
Section "InputDevice"
Identifier "touchscreen"
Driver "evdev"
Option "Device" "/dev/input/event0"
Option "DeviceName" "touchscreen"
Option "MinX" "0"
Option "MinY" "0"
Option "MaxX" "32767"
Option "MaxY" "32767"
Option "ReportingMode" "Raw"
Option "Emulate3Buttons" "false"
Option "Emulate3Timeout" "50"
Option "SendCoreEvents" "On"
EndSection
Section "Device"
Identifier "i.MX Accelerated Framebuffer Device"
Driver "vivante"
Option "fbdev" "/dev/fb0"
Option "vivante_fbdev" "/dev/fb0"
Option "HWcursor" "false"
EndSection
Section "Device"
Identifier "Parallel"
Driver "vivante"
Option "fbdev" "/dev/fb4"
Option "vivante_fbdev" "/dev/fb4"
Option "HWcursor" "false"
EndSection
Section "Monitor"
Identifier "LVDS Monitor"
EndSection
Section "Monitor"
Identifier "Parallel Monitor"
EndSection
Section "Screen"
Identifier "LVDS Screen"
Monitor "LVDS Monitor"
Device "i.MX Accelerated Framebuffer Device"
EndSection
Section "Screen"
Identifier "Parallel Screen"
Monitor "Parallel Monitor"
Device "Parallel"
EndSection
Section "ServerLayout"
Identifier "Dual Layout"
Screen 0 "LVDS Screen"
Screen 1 "Parallel Screen" Absolute 0 0
Option "Xinerama" "on"
EndSection
Section "ServerFlags"
Option "BlankTime" "0"
Option "StandbyTime" "0"
Option "SuspendTime" "0"
Option "OffTime" "0"
EndSection
I am using Trusty Ubuntu December 2015. But with these settings now I cannot play any qt demo. not even chromium browser.
I was able to run Qt demo's before i added this xorg.conf file. So I am wondering if the hardware acceleration is somehow gone. Also there is no mouse pointer on the second display. Is there something which I can add/remove in the mentioned xorg.conf to make things run smoothly ?