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
已解决! 转到解答。
we donot have the multiple display feature supported yet in X11 on i.MX6. Other option is to use wayland-weston
Hi Prabhu,
We are developing a medical device using imx6q. It is based on Linux/QT/OpenGL. What's the recommended distribution to use that can enable dual display output (LVDS + HDMI)?
Ubuntu 14.04 + Qt5.5 + X11
or Yocto + Qt + wayland + weston
We don't need the stack be very polish, but should be of product quality.
Thanks,
Hi Prabhu,
I'm confused by your comment, because I have X11 working with dual displays using Ubuntu rootfs. Please can I describe my set-up and hopefully you can explain what is different about what you are saying...
I am using a custom i.MX6 board (similar to Sabre-SD) with Linux 3.0.35 4.0.0 kernel. Displays are HDMI at 1920x1080 and DVI (converted from parallel LCD interface) at 1920x1080.
I tried using Vivante drivers (in xorg.conf) for both displays, but the second time the driver is loaded it crashes. I then set up xorg.conf using Vivante for one screen and fbdev for the other.
Section "Device"
Identifier "Framebuffer Device0"
Driver "vivante"
Option "fbdev" "/dev/fb0"
Option "vivante_fbdev" "/dev/fb0"
Option "HWcursor" "false"
EndSection
Section "Device"
Identifier "Framebuffer Device2"
Driver "fbdev"
Option "fbdev" "/dev/fb2"
Option "HWcursor" "false"
EndSection
This works, and shows the Unity desktop on both monitors (with different contents - extended desktop, not cloned). As you would expect, I only get accelerated 3D on the screen that has the Vivante driver - is that what you meant when you said multiple displays are not supported?
Regards,
Dave C
I am using a custom i.MX6 board ( Sabre-SD) with Linux 3.0.35 4.1.0 kernel. I follow your settings, but has no image data output hdmi, My uboot argument is :
video=mxcfb0:dev=ldb,LDB-1080P60,if=RGB24 ldb=spl0 video=mxcfb1:dev=hdmi,1920x1080M@60,if=RGB24 video=mxcfb2:off
Now only LVDS Output,HDMI no output 。
Section "Device"
Identifier "Framebuffer Device0"
Driver "vivante"
Option "fbdev" "/dev/fb0"
Option "vivante_fbdev" "/dev/fb0"
Option "HWcursor" "false"
EndSection
Section "Device"
Identifier "Framebuffer Device2"
Driver "fbdev"
Option "fbdev" "/dev/fb2"
Option "HWcursor" "false"
EndSection
I printed out from the kernel as follows :
mxc_sdc_fb mxc_sdc_fb.0: register mxc display driver ldb
_regulator_get: get() with no identifier
imx-ipuv3 imx-ipuv3.1: IPU DMFC DP HIGH RESOLUTION: 1(0,1), 5B(2~5), 5F(6,7)
Console: switching to colour frame buffer device 240x67
mxc_sdc_fb mxc_sdc_fb.1: register mxc display driver hdmi
mxc_hdmi mxc_hdmi: Detected HDMI controller 0x13:0xa:0xa0:0xc1
fbcvt: 1920x1080@60: CVT Name - 2.073M9
Jianzhong
What is the status of your issues? If you still has this problem, please keep communicating with PrabhuSundararaj, othewise please share your resolution here and close th DI.
Thanks,
Yixing
Did you ever resolve this issue? I am trying to do the same thing with dual video (HDMI + LVDS). I have the same issue with the primary screen being duplicated on the secondary screen.
Has Freescale provided an update for the Vivante driver to support dual video?
PrabhuSundararaj can you continue with the follow up?
I'm not sure whether you are using QTWaylandCompositor or Weston. If you are using Weston, extending the displays will be possible by adding outputs, which you can see the reference from compositor-drm.c.I'm not sure how to do it using QTWayland.
using FBDEV EXA, is it possible to extend or clone, when the resolution of the displays are same. When the resolution is same and if you want to use 2 LVDS, it can be achieved by ldb=dul0 in the uboot argument.
For the different resolution and extended display, Xrandr extension support is needed, which Vivante EXA is not supported currently. It will be available in the future releases (end of 2013).
Prabhu,
we want to get one big framebuffer that spans 2 identical size displays. Our displays are 1280x800, and so we want the framebuffer to be 2560x800.
How do we do that? Can this be supported with LVDS + HDMI combination? We are using Qt/Wayland instead of X.
Thanks,
-Ben
A followup to my earlier question. What is the right way to configure a mirror display? My primary displays is LVDS, and my secondary display is HDMI. Both are the same resolution, 1280x800. I want them to display the same content. What is the proper configuration for Linux BSP?
Thanks
PrabhuSundararaj Sep 13, 2013 11:59 AM (in response to Dan Wang)
Vivante EXA does not support multiple displays. And this feature is not supported currently.