From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] the problem with Xorg, QT5 and imx vivant dirver
Date: Wed, 3 Aug 2016 11:53:41 +0200 [thread overview]
Message-ID: <20160803115341.21a3018b@free-electrons.com> (raw)
In-Reply-To: <CAMWiJUs2371W5JZGnDuAozTCKUHKQtoU+V1hrb1rHKsh=nG6DA@mail.gmail.com>
Hello,
Cc'ing Gary, our i.MX6 expert.
On Wed, 3 Aug 2016 11:03:28 +0200, Zhaozhou Meng wrote:
> So if I want to use QT5 without Xorg:
> I have to use eglfs support and OpenGL ES2 support, at the same time, can I
> use the imx-gpu-viv driver for the acceleration ?
Well, imx-gpu-viv is precisely what provides the OpenGL ES
implementation.
> I have tried to set the Freescale imx libraries->imx-gpu-viv->output
> option->Framebuffer, there is no problem during the building, but I don't
> know if it will accelerate the output of QT5 ?
It will.
> The second way that I have tired is to use QT5 under Xorg:
> Xorg X Window Sytem -> X11R7 Drivers -> x86-video-fbdev &&
> x86-video-fbturbo
No, you need to use the Vivante X.org driver.
> Freescale imx libraries -> imx-gpu-viv -> output option -> Framebuffer
No, you need to enable the X11 output
(BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_X11).
> QT5 -> OpenGL API -> OpenGL ES 2.0 +
> QT5 -> Xorg XCB support
> QT5-> eglfs support
eglfs support is not needed in this case, as far as I know.
> But I changed the option to this:
> Xorg X Window Sytem -> X11R7 Drivers -> x86-video-imx-viv (with Mesa3D
> selected automatic)
> Freescale imx libraries -> imx-gpu-viv -> output option -> X11
> QT5 -> OpenGL API -> OpenGL ES 2.0 +
> QT5 -> Xorg XCB support
> QT5-> eglfs support
>
> With this option, I have the problem with QT Widget during the building.
>
> I attache the config file and the infomations about build.
I'll fire up a build and see what happens. Gary, do you have an idea?
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
next prev parent reply other threads:[~2016-08-03 9:53 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-02 15:21 [Buildroot] the problem with Xorg, QT5 and imx vivant dirver Zhaozhou Meng
2016-08-02 19:30 ` Thomas Petazzoni
2016-08-03 9:03 ` Zhaozhou Meng
2016-08-03 9:53 ` Thomas Petazzoni [this message]
2016-08-03 12:57 ` Gary Bisson
2016-08-03 15:42 ` Zhaozhou Meng
2016-08-04 9:54 ` Gary Bisson
2017-06-30 6:12 ` gomsis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160803115341.21a3018b@free-electrons.com \
--to=thomas.petazzoni@free-electrons.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox