<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>i.MX ProcessorsのトピックRe: How to render graphical UI on top of video</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-to-render-graphical-UI-on-top-of-video/m-p/421092#M63495</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mike,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The scope of community free support is to provide help and guidance during the development of your application. On the other hand, the Source code of the requested application and its development support need to be routed to the Freescale Engineering Services team at &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.freescale.com/webapp/sps/site/overview.jsp?code=CW_PROFESSIONAL" title="http://www.freescale.com/webapp/sps/site/overview.jsp?code=CW_PROFESSIONAL"&gt;Professional Engineering Services|Freescale&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 May 2015 16:02:52 GMT</pubDate>
    <dc:creator>Bio_TICFSL</dc:creator>
    <dc:date>2015-05-19T16:02:52Z</dc:date>
    <item>
      <title>How to render graphical UI on top of video</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-render-graphical-UI-on-top-of-video/m-p/421091#M63494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Goal:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We want to use Qt to put user interface elements (e.g. menus, icons) on top of the video output along the lines of what is discussed here in the FTF workshop "Simplify Graphical User Interface and Video Integration for i.MX 6":&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://cache.freescale.com/secured/training/doc/ftf/2014/FTF-CON-F0223.pdf?__gda__=1431384278_4603c4e8e13b711dbf64d6537667fe30&amp;amp;fileExt=.pdf" title="https://cache.freescale.com/secured/training/doc/ftf/2014/FTF-CON-F0223.pdf?__gda__=1431384278_4603c4e8e13b711dbf64d6537667fe30&amp;amp;fileExt=.pdf"&gt;https://cache.freescale.com/secured/training/doc/ftf/2014/FTF-CON-F0223.pdf?__gda__=1431384278_4603c4e8e13b711dbf64d6537…&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Background:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We (www.aimetis.com) developed a ThinClient product that renders video efficiently from multiple gstreamer pipelines concurrently without X11 (we are using EGL/OpenGL directly).&amp;nbsp; We currently have a separate process per video panel being rendered.&amp;nbsp; We are using the following environment:&lt;/P&gt;&lt;P&gt;i.MX6 Dual&lt;/P&gt;&lt;P&gt;Yocto 1.7&lt;/P&gt;&lt;P&gt;Linux 3.10.17&lt;/P&gt;&lt;P&gt;gstreamer 1.2.3&lt;/P&gt;&lt;P&gt;gstreamer-imx (GPU accelerated gstreamer sink)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="line-height: 1.5;"&gt;Questions:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Where can I download all the source code for the above workshop?&lt;/LI&gt;&lt;LI&gt;The approach referenced in the workshop depends on being able to render video to a background linux framebuffer (/dev/fb0) and UI to a different linux fb (/dev/fb1).&amp;nbsp; How do I configure the linux framebuffers?&lt;OL&gt;&lt;LI&gt;How do I set resolution and bit depth of a framebuffer?&amp;nbsp; I know there is an fbset command, but it seems to be limited.&amp;nbsp; I also know there are kernel params&amp;nbsp; (e.g. video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24 gpu_memory=256M).&amp;nbsp; My 4 framebuffer settings are listed below.&amp;nbsp; Note that there is only one framebuffer set to 1080p.&amp;nbsp; I will need both the fg and bg framebuffers set to 1080p.&lt;/LI&gt;&lt;LI&gt;How to link the Linux framebuffers so that Vivante composites them as a foreground and background buffer?&amp;nbsp; fbset doesn't tell me the foreground/background info (or let me set it), but &lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;cat /sys/class/graphics/fb0/name &lt;BR /&gt;&lt;SPAN&gt;somehow gives further detail "DISP3 BG".&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI&gt;How do I make a program output graphics to a particular frame buffer (assuming I can do everything from #2 above):&lt;OL&gt;&lt;LI&gt;gstreamer video decoding process render to fb0.&amp;nbsp; The sink filter is using EGL/OpenGL ES.&lt;/LI&gt;&lt;LI&gt;Qt UI process render to fb1.&amp;nbsp; We will be using the eglfs platform.&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My framebuffer settings:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;root@imx6qsabresd:~# fbset -s -fb /dev/fb0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mode "1920x1080-60"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; # D: 148.500 MHz, H: 67.500 kHz, V: 60.000 Hz&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; geometry 1920 1080 1920 1080 16&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; timings 6734 148 88 36 4 44 5&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; hsync high&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; vsync high&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; rgba 5/11,6/5,5/0,0/0&lt;/P&gt;&lt;P&gt;endmode&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;root@imx6qsabresd:~# fbset -s -fb /dev/fb1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mode "240x320-60"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; # D: 4.608 MHz, H: 19.200 kHz, V: 60.000 Hz&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; geometry 240 320 240 960 16&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; timings 217013 0 0 0 0 0 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; rgba 5/11,6/5,5/0,0/0&lt;/P&gt;&lt;P&gt;endmode&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;root@imx6qsabresd:~# fbset -s -fb /dev/fb2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mode "1024x768-60"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; # D: 65.003 MHz, H: 48.365 kHz, V: 60.006 Hz&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; geometry 1024 768 1024 768 16&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; timings 15384 220 40 21 7 60 10&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; rgba 5/11,6/5,5/0,0/0&lt;/P&gt;&lt;P&gt;endmode&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;root@imx6qsabresd:~# fbset -s -fb /dev/fb3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mode "240x320-60"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; # D: 4.608 MHz, H: 19.200 kHz, V: 60.000 Hz&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; geometry 240 320 240 960 16&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; timings 217013 0 0 0 0 0 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; rgba 5/11,6/5,5/0,0/0&lt;/P&gt;&lt;P&gt;endmode&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2015 20:13:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-render-graphical-UI-on-top-of-video/m-p/421091#M63494</guid>
      <dc:creator>mikejanzen</dc:creator>
      <dc:date>2015-05-11T20:13:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to render graphical UI on top of video</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-render-graphical-UI-on-top-of-video/m-p/421092#M63495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mike,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The scope of community free support is to provide help and guidance during the development of your application. On the other hand, the Source code of the requested application and its development support need to be routed to the Freescale Engineering Services team at &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.freescale.com/webapp/sps/site/overview.jsp?code=CW_PROFESSIONAL" title="http://www.freescale.com/webapp/sps/site/overview.jsp?code=CW_PROFESSIONAL"&gt;Professional Engineering Services|Freescale&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2015 16:02:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-render-graphical-UI-on-top-of-video/m-p/421092#M63495</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2015-05-19T16:02:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to render graphical UI on top of video</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-render-graphical-UI-on-top-of-video/m-p/421093#M63496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello&lt;/P&gt;&lt;P&gt;please&lt;/P&gt;&lt;P&gt;do you solve it?&lt;/P&gt;&lt;P&gt;if ti is, please help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Jul 2019 06:29:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-render-graphical-UI-on-top-of-video/m-p/421093#M63496</guid>
      <dc:creator>yyuan</dc:creator>
      <dc:date>2019-07-13T06:29:58Z</dc:date>
    </item>
  </channel>
</rss>

