[Buildroot] QT5.8 buid failure on master

Gary Bisson gary.bisson at boundarydevices.com
Wed Mar 8 10:45:41 UTC 2017


Hi Peter, Fabio, All,

On Tue, Mar 7, 2017 at 8:29 PM, Peter Seiderer <ps.report at gmx.net> wrote:
> Hello Fabio,
>
> On Tue, 7 Mar 2017 13:57:39 -0300, Fabio Estevam <festevam at gmail.com> wrote:
>
>> Hi Jagan,
>>
>> On Tue, Mar 7, 2017 at 1:15 PM, Jagan Teki <jagannadh.teki at gmail.com> wrote:
>>
>> > Able to see the application but 'Black screen' on 'Lord of the Ring' widget
>>
>> Thanks for testing.
>>
>> I think we should treat this issue on a separate thread as I also see
>> the same with Qt5.6.2.
>>
>> It seems we made progress with Qt5.8 with Peter's patches.
>>
>> Peter,
>>
>> Do you plan to submit your two patches formally?
>
> Yes can do. No problem with the first one, for the second one I need
> to investigate first on which additional configure option the building
> of libQt5EglFsKmsSupport.so depends...

Actually I wonder why the first patch is needed in this case. How does
the eglfs plugin build for Vivante for instance since the failure
happens in a common file?

Otherwise, I confirm I have "black picture" issues on Qt5.8 with the
Cinematic demo.

However, I've made a discovery regarding the DRI configuration (to
avoid hardcoding the device). It is actually documented well on Qt
website:
http://doc.qt.io/qt-5/embedded-linux.html#eglfs-with-eglfs-kms-backend
"The KMS/DRM backend also supports custom configurations via a JSON
file. Set the environment variable QT_QPA_EGLFS_KMS_CONFIG to the name
of the file to enable this."

Here is my JSON file for Hannstar display:
{
  "device": "/dev/dri/card1",
  "hwcursor": false,
  "pbuffers": true,
  "outputs": [
    {
      "name": "VGA-1",
      "mode": "off"
    },
    {
      "name": "HDMI-1",
      "mode": "off"
    },
    {
      "name": "LVDS-1",
      "mode": "1024x768"
    }
  ]
}

This avoids the patch mentioned before:
http://lists.busybox.net/pipermail/buildroot/2017-March/185842.html

Regards,
Gary


More information about the buildroot mailing list