AnsweredAssumed Answered

Accelerated and Frame Buffer Displays on Yocto

Question asked by Anuradha Ranasinghe on Mar 6, 2017
Latest reply on Mar 8, 2017 by Bio_TICFSL

Hi All,

 

We have a requirement of using dual displays on Yocto (kernel 4.1.15 - nitrogen6_max), one having a vivante accelerated frame buffer (for HDMI) and other a just frame buffer driver. This 2nd frame buffer is assigned to a TV encoder, which converts the video into a NTSC or PAL CVBS signal. So in this arrangement I can see the video in both HDMI and TV ! but not simultaneously !

 

Since the devices are assigned to independent frame buffers (cloning framebuffers is not possible as timings of both display devices are different ?) what I can do is running the video into different frame buffers using following pipeline.

 

gst-launch-1.0 videotestsrc pattern=00 ! imxg2dvideosink framebuffer=/dev/fbx

 

Even using this I cannot run both fbs simultaneously. Or is there anyway we can achieve this by using framebuffer property with imxeglvivsink ?

 

My xorg.conf content ----> fb2 (HDMI) and fb0 (LCD)

Section "Device"
Identifier "i.MX Accelerated Framebuffer Device"
Driver "vivante"
Option "fbdev" "/dev/fb2"
Option "vivante_fbdev" "/dev/fb2"
Option "HWcursor" "false"
EndSection


Section "Device"
Identifier "Framebuffer Device0"
Driver "fbdev"
Option "fbdev" "/dev/fb0"
Option "HWcursor" "false"
EndSection

 

Thanks in Advance

Outcomes