Accelerated and Frame Buffer Displays on Yocto

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

Accelerated and Frame Buffer Displays on Yocto

1,598 Views
tengri
Contributor IV

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

0 Kudos
1 Reply

794 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hi,

Please check section the Linux user guide document for Multimedia video options with diff display, as suggested:

pastedImage_1.png

Hope this helps

0 Kudos