AnsweredAssumed Answered

Framebuffer setting and i.MX6 Gstreamer

Question asked by Rony Lim on Oct 15, 2014
Latest reply on Oct 16, 2014 by Yuri Muhin

Hello Community,

 

I have a question regarding framebuffer setting (depth) that is changed after I run a gstreamer pipeline. Before I use the gstreamer, my system has been configured to 24 bit color. After running the gstreamer, the color depth is changed to 16 bit. I am guessing the display plugin (mfw_v4lsink) is configuring the framebuffer to 16bit. I wonder if anyone has similiar issues and have a solution/hint for it. Below is my system information and the testing procedure. Thank you.

 

Best,

 

Ronny Lim


------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

 

root@bcr:~# uname -a

Linux bcr 3.10.17-7910 #1 SMP Tue Oct 14 13:24:00 EDT 2014 armv7l GNU/Linux

 

root@bcr:~# fbset -fb /dev/fb2

mode "1280x768-60"

        # D: 75.426 MHz, H: 47.981 kHz, V: 59.976 Hz

        geometry 1280 768 1280 768 24

        timings 13258 96 96 10 10 100 12

        accel false

        rgba 8/16,8/8,8/0,0/0

endmode

 

I run gstreamer pipeline.

 

gst-launch -v videotestsrc ! mfw_v4lsink device=/dev/video18

 

I stopped the pipeline and the depth of framebuffer configuration is no longer 24 bit.

 

root@bcr:~# fbset -fb /dev/fb2

mode "1280x768-60"

        # D: 75.426 MHz, H: 47.981 kHz, V: 59.976 Hz

        geometry 1280 768 1280 2304 16

        timings 13258 96 96 10 10 100 12

        accel false

        rgba 5/11,6/5,5/0,0/0

endmode

Outcomes