i.MX6 LVDS and VGA double screen display

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i.MX6 LVDS and VGA double screen display

4,281 Views
johnlee
Contributor I

Hi,All.

Hi,All.I have i.MX6D SabreSD with L3.0.35_1.1.0 release package and one touchscreen display connected to the LVDS and one LCD display with VGA interface. when system started, the touchscreen display shows the ubuntu startup screen and the LCD display does not show anything, but when I use command "echo 0 > /sys/class/graphics/fb2/blank" then the LCD display always shows kernel boot logo. When I modify /dev/fb0 to /dev/fb2 in /etc/X11/xorg.conf and restart, then the LCD display shows the ubuntu starup screen and the touchscreen always shows kernel boot logo.

How can the i.MX6 shows the same things on both the LVDS and the VGA?

The kernel command line is

console=ttymxc0,115200 root=/dev/mmcblk0p1 rootwait rw video=mxcfb0:dev=ldb,1024x600M@60 ldb=dul1 video=mxcfb1:dev=lcd

The default /etc/X11/xorg.conf is

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      "i.MX Accelerated Framebuffer Device"

        Driver          "vivante"

        Option          "fbdev"         "/dev/fb0"

        Option          "vivante_fbdev" "/dev/fb0"

        Option          "HWcursor"      "false"

EndSection

Section "Monitor"

        Identifier      "Configured Monitor"

EndSection

Section "Screen"

        Identifier      "Default Screen"

        Monitor         "Configured Monitor"

        Device          "i.MX Accelerated Framebuffer Device"

EndSection

Section "ServerLayout"

        Identifier      "Default Layout"

        Screen          "Default Screen"

EndSection

0 Kudos
4 Replies

994 Views
GaoJianzhong
Contributor IV

Hi

Did you get this worked?

I also to let lvds and hdmi display the same content.

Thank you.

0 Kudos

994 Views
LeviathanSteven
Contributor III

Hi,

The simplest way is to change fb1's FB memory to the same  as fb0' . How do think of it?

994 Views
GaoJianzhong
Contributor IV

Hi

About to display the same thing on lvds and hdmi.

Can you give me some ideas?

Thank you.

0 Kudos

994 Views
LeviathanSteven
Contributor III

Hi,

I think you can use the extensions, such as XRANDR and  XINRAMA,  of Xorg to support the dual display.

FreeScale said that it would release the new BSP to support RADNR this year, but it is low priority, and we do not know if it support single or dual display.

So if the project is emergency, I  suggest you to do the RADNR dual display development based on release L3.0.35_4.1.0_130816, because the 3D APP will fail after use XRANR to switch the mode when you development the XRANDR driver based on the older BSP, such 4.0.0.

0 Kudos