<?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>topic Re: Enable linuxfb double buffering with Qt? in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Enable-linuxfb-double-buffering-with-Qt/m-p/643334#M98217</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Seems FB_MULTI_BUFFER variable is used only at galcore.ko level (linux kernel module for GPU driver). And from your use case, mostly the code that handles the buffering resides in the application and not in the driver.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hopefully someone with Qt knowledge will respond ASAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Marius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Apr 2017 12:20:12 GMT</pubDate>
    <dc:creator>marius_grigoras</dc:creator>
    <dc:date>2017-04-03T12:20:12Z</dc:date>
    <item>
      <title>Enable linuxfb double buffering with Qt?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Enable-linuxfb-double-buffering-with-Qt/m-p/643330#M98213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm running QML&amp;nbsp;code using Qt5.8 on an iMX6ULL EVK with the 2D renderer back end. The system doesn't appear to use double buffering for the frame buffer so animations suffer with very bad image tearing (half written images being displayed). From what I can gather, I need to set up double buffering for the linuxfb itself and also modify the Qt Base qlinuxfbscreen.cpp code to use it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is that right? It seems strange that this hasn't been done before. The iMX6ULL is quite capable of simple animations from a processor perspective but if the frame buffer doesn't implement double buffering it's always going to look terrible.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Apr 2017 07:15:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Enable-linuxfb-double-buffering-with-Qt/m-p/643330#M98213</guid>
      <dc:creator>chris_f</dc:creator>
      <dc:date>2017-04-03T07:15:45Z</dc:date>
    </item>
    <item>
      <title>Re: Enable linuxfb double buffering with Qt?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Enable-linuxfb-double-buffering-with-Qt/m-p/643331#M98214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't have experience with Qt, but using export FB_MULTI_BUFFER=2 in linux should work for enabling double buffer.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If tearing is still present, you can use also triple buffering, using export FB_MULTI_BUFFER=3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please make a try,&lt;/P&gt;&lt;P&gt;Marius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Apr 2017 08:18:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Enable-linuxfb-double-buffering-with-Qt/m-p/643331#M98214</guid>
      <dc:creator>marius_grigoras</dc:creator>
      <dc:date>2017-04-03T08:18:28Z</dc:date>
    </item>
    <item>
      <title>Re: Enable linuxfb double buffering with Qt?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Enable-linuxfb-double-buffering-with-Qt/m-p/643332#M98215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Marius, I'll give it a go.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Apr 2017 08:24:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Enable-linuxfb-double-buffering-with-Qt/m-p/643332#M98215</guid>
      <dc:creator>chris_f</dc:creator>
      <dc:date>2017-04-03T08:24:56Z</dc:date>
    </item>
    <item>
      <title>Re: Enable linuxfb double buffering with Qt?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Enable-linuxfb-double-buffering-with-Qt/m-p/643333#M98216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried export FB_MULTI_BUFFER=2 in the shell before running my executable (the same way I set the Qt variables QT_QPA_PLATFORM=linuxfb etc.) but it had no effect. I also tried using setenv under uboot but this didn't change anything either.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which is the right way to export FB_MULTI_BUFFER=2?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Apr 2017 09:50:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Enable-linuxfb-double-buffering-with-Qt/m-p/643333#M98216</guid>
      <dc:creator>chris_f</dc:creator>
      <dc:date>2017-04-03T09:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: Enable linuxfb double buffering with Qt?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Enable-linuxfb-double-buffering-with-Qt/m-p/643334#M98217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Seems FB_MULTI_BUFFER variable is used only at galcore.ko level (linux kernel module for GPU driver). And from your use case, mostly the code that handles the buffering resides in the application and not in the driver.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hopefully someone with Qt knowledge will respond ASAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Marius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Apr 2017 12:20:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Enable-linuxfb-double-buffering-with-Qt/m-p/643334#M98217</guid>
      <dc:creator>marius_grigoras</dc:creator>
      <dc:date>2017-04-03T12:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: Enable linuxfb double buffering with Qt?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Enable-linuxfb-double-buffering-with-Qt/m-p/643335#M98218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;"&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Hopefully someone with Qt knowledge will respond ASAP." ... I hope so too. I'm getting no replies on the qt forums or IRC.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Apr 2017 12:54:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Enable-linuxfb-double-buffering-with-Qt/m-p/643335#M98218</guid>
      <dc:creator>chris_f</dc:creator>
      <dc:date>2017-04-03T12:54:06Z</dc:date>
    </item>
    <item>
      <title>Re: Enable linuxfb double buffering with Qt?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Enable-linuxfb-double-buffering-with-Qt/m-p/643336#M98219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marius,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes&amp;nbsp;FB_MULTI_BUFFER only applies to Galcore and Chris is using a i.MX6ULL which doesn't have any GPU so it won't help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The FB driver does support&amp;nbsp;FBIOPAN_DISPLAY so the question is how to make sure Qt Quick 2D renderer uses it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gary&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Apr 2017 08:41:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Enable-linuxfb-double-buffering-with-Qt/m-p/643336#M98219</guid>
      <dc:creator>gary_bisson</dc:creator>
      <dc:date>2017-04-04T08:41:45Z</dc:date>
    </item>
    <item>
      <title>Re: Enable linuxfb double buffering with Qt?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Enable-linuxfb-double-buffering-with-Qt/m-p/643337#M98220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another clue! Thanks Gary.&amp;nbsp;I'm getting no responses yet from the Qt forum/IRC/mailing list but am slowly getting to grips with bits of the Qt source so I'll start looking for FBIOPAN_DISPLAY references.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Apr 2017 09:03:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Enable-linuxfb-double-buffering-with-Qt/m-p/643337#M98220</guid>
      <dc:creator>chris_f</dc:creator>
      <dc:date>2017-04-04T09:03:50Z</dc:date>
    </item>
    <item>
      <title>Re: Enable linuxfb double buffering with Qt?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Enable-linuxfb-double-buffering-with-Qt/m-p/643338#M98221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I added some debug code to qlinuxfbscreen. cpp to see what the imx driver was returning.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's the relevant code:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'andale mono', monospace;"&gt;mDepth = determineDepth(vinfo);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'andale mono', monospace;"&gt; mBytesPerLine = finfo.line_length;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'andale mono', monospace;"&gt; QRect geometry = determineGeometry(vinfo, userGeometry);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'andale mono', monospace;"&gt; mGeometry = QRect(QPoint(0, 0), geometry.size());&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'andale mono', monospace;"&gt; mFormat = determineFormat(vinfo, mDepth);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'andale mono', monospace;"&gt; mPhysicalSize = determinePhysicalSize(vinfo, userMmSize, geometry.size());&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'andale mono', monospace;"&gt;// mmap the framebuffer&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'andale mono', monospace;"&gt; mMmap.size = finfo.smem_len;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'andale mono', monospace;"&gt; uchar *data = (unsigned char *)mmap(0, mMmap.size, PROT_READ | PROT_WRITE, MAP_SHARED, mFbFd, 0);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'andale mono', monospace;"&gt; if ((long)data == -1) {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'andale mono', monospace;"&gt; qErrnoWarning(errno, "Failed to mmap framebuffer");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'andale mono', monospace;"&gt; return false;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'andale mono', monospace;"&gt; }&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'andale mono', monospace;"&gt;qDebug() &amp;lt;&amp;lt; "QLinuxFbScreen::initialize()";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'andale mono', monospace;"&gt; qDebug() &amp;lt;&amp;lt; "mBytesPerLine: " &amp;lt;&amp;lt; mBytesPerLine;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'andale mono', monospace;"&gt; qDebug() &amp;lt;&amp;lt; "mMmap.size: " &amp;lt;&amp;lt; mMmap.size;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'andale mono', monospace;"&gt; qDebug() &amp;lt;&amp;lt; "mGeometry: " &amp;lt;&amp;lt; mGeometry;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'andale mono', monospace;"&gt; qDebug() &amp;lt;&amp;lt; "mPhysicalSize: " &amp;lt;&amp;lt; mPhysicalSize;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P&gt;and here's the ouput:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;QLinuxFbScreen::initialize()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;mBytesPerLine: 1280&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;mMmap.size: 33554432&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;mGeometry: QRect(0,0 320x480)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;mPhysicalSize: QSizeF(81, 122)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P&gt;I don't know what mPhysicalSize is yet. mBytesPerLine is fine as is mGeometry. The size_t returned by the FB driver though is big enough for more than 54 screens!!! Probably a bit bigger than we need. This looks to be like a problem with the imx driver but it's not the reason that I'm not getting double buffering. That doesn't seem to me to be implemented in Qt5.8.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Apr 2017 12:51:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Enable-linuxfb-double-buffering-with-Qt/m-p/643338#M98221</guid>
      <dc:creator>chris_f</dc:creator>
      <dc:date>2017-04-04T12:51:38Z</dc:date>
    </item>
    <item>
      <title>Re: Enable linuxfb double buffering with Qt?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Enable-linuxfb-double-buffering-with-Qt/m-p/643339#M98222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;... but the FB driver returns -1 when I try to set a yoffset ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Apr 2017 16:01:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Enable-linuxfb-double-buffering-with-Qt/m-p/643339#M98222</guid>
      <dc:creator>chris_f</dc:creator>
      <dc:date>2017-04-04T16:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: Enable linuxfb double buffering with Qt?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Enable-linuxfb-double-buffering-with-Qt/m-p/643340#M98223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The FB driver initialises to a 32MB video buffer irrespective of screen size - go resource efficiency.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It also initailises to a yres_virtual (the pannable size) equal to yres (the actual size). In order to pan the display, you need to set a larger yres_virtual value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color: #c0c0c0;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #808000;"&gt;struct&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;fb_var_screeninfo&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;vinfo;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="color: #c0c0c0;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #808000;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;(ioctl(fd,&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000080;"&gt;FBIOGET_VSCREENINFO&lt;/SPAN&gt;,&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&amp;amp;vinfo))&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;{&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="color: #c0c0c0;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;printf(&lt;SPAN style="color: #008000;"&gt;"Error&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000;"&gt;reading&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000;"&gt;variable&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000;"&gt;screen&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000;"&gt;information.\n"&lt;/SPAN&gt;);&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="color: #c0c0c0;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;}&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="color: #c0c0c0;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;vinfo.&lt;SPAN style="color: #800000;"&gt;yres_virtual&lt;/SPAN&gt;=vinfo.&lt;SPAN style="color: #800000;"&gt;yres&lt;/SPAN&gt;*&lt;SPAN style="color: #000080;"&gt;2&lt;/SPAN&gt;;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="color: #c0c0c0;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #808000;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;(ioctl(fd,&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000080;"&gt;FBIOPUT_VSCREENINFO&lt;/SPAN&gt;,&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&amp;amp;vinfo))&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;{&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="color: #c0c0c0;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;printf(&lt;SPAN style="color: #008000;"&gt;"Error&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000;"&gt;putting&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000;"&gt;variable&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000;"&gt;screen&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000;"&gt;information\n"&lt;/SPAN&gt;);&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="color: #c0c0c0;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;}&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="color: #c0c0c0;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;vinfo.&lt;SPAN style="color: #800000;"&gt;yoffset&lt;/SPAN&gt;=vinfo.&lt;SPAN style="color: #800000;"&gt;yres&lt;/SPAN&gt;;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="color: #c0c0c0;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #808000;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;(ioctl(fd,&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000080;"&gt;FBIOPAN_DISPLAY&lt;/SPAN&gt;,&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&amp;amp;vinfo))&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;{&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="color: #c0c0c0;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;printf(&lt;SPAN style="color: #008000;"&gt;"Error&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000;"&gt;panning&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000;"&gt;display.\n"&lt;/SPAN&gt;);&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="color: #c0c0c0;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;}&lt;/PRE&gt;&lt;PRE&gt;&lt;/PRE&gt;&lt;P&gt;I can now swap between the two panned display positions so adding double buffering to the Qt code should be fairly easy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Apr 2017 19:24:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Enable-linuxfb-double-buffering-with-Qt/m-p/643340#M98223</guid>
      <dc:creator>chris_f</dc:creator>
      <dc:date>2017-04-05T19:24:19Z</dc:date>
    </item>
    <item>
      <title>Re: Enable linuxfb double buffering with Qt?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Enable-linuxfb-double-buffering-with-Qt/m-p/643341#M98224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Cris_f:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Can you upload your Qt qlinuxfbscreen.cpp you solved the prolem ? I think i got the same problem. Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2017 02:05:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Enable-linuxfb-double-buffering-with-Qt/m-p/643341#M98224</guid>
      <dc:creator>cilymo</dc:creator>
      <dc:date>2017-10-17T02:05:10Z</dc:date>
    </item>
    <item>
      <title>Re: Enable linuxfb double buffering with Qt?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Enable-linuxfb-double-buffering-with-Qt/m-p/1353410#M181345</link>
      <description>&lt;P&gt;Did you finally solve this problem? Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Oct 2021 09:02:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Enable-linuxfb-double-buffering-with-Qt/m-p/1353410#M181345</guid>
      <dc:creator>chentuo</dc:creator>
      <dc:date>2021-10-11T09:02:56Z</dc:date>
    </item>
  </channel>
</rss>

