From: Mylene Josserand <mylene.josserand@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [help] Nitrogen6X with Vivante : restart on Qt5 examples
Date: Mon, 25 Apr 2016 11:34:33 +0200 [thread overview]
Message-ID: <571DE4A9.2010605@free-electrons.com> (raw)
In-Reply-To: <CAAMH-yvb3G6gp+N9yGFAK7GNPAxy9m25Zjn5-QqHko-aMeJmSw@mail.gmail.com>
Gary,
Thank you for your help.
On 25/04/2016 11:18, Gary Bisson wrote:
> Mylene, All,
>
> On Mon, Apr 25, 2016 at 10:57 AM, Mylene Josserand
> <mylene.josserand@free-electrons.com> wrote:
>> Hi,
>>
>>
>> I am currently trying OpenGL with Vivante driver on a Nitrogen6X using
>> Buildroot.
>
> Can you specify which version of Buildroot? v2016.02 or master or older?
>
> This will help a lot to know the version of Qt, X11 etc...
Yes, sorry to forget this information.
I am currently on 2016.02-rc2. I will update to v2016.02 soon. If it
could help you, I can update it right now.
>> Previously, I got an segfault error while starting X.
>> "Segmentation fault at address 0xe0"
>>
>> Thanks to Gary Bisson (in cc), using the galcore module from Buildroot
>> (BR2_PACKAGE_KERNEL_MODULE_IMX_GPU_VIV=y) and not the kernel one + updating
>> the kernel to 3.14.28, solved the issue.
>>
>> With the galcore driver loaded using insmod, the Vivante is, now, working.
>
> Same here, please specify the exact Vivante libraries version
> (5.0.11p6.3 or 7.1).
Vivante libraries : version 5.0.11.p7.1
>
>> I compiled Qt5 examples (BR2_PACKAGE_QT5BASE_EXAMPLES=y) and I tested some
>> openGL examples :
>> - "qopenglwindow" : This example is working fine
>> - "textures" example : in many case, the board restarts when the
>> application is launched.
>> - "hellogl" : I see the Qt logo from the example but when I try to move
>> the object, the board restarts.
>>
>> Here is my Xorg.log, in case it could help :
>> http://paste.debian.net/hidden/609ae872/
>
> Can you share you xorg.conf? Also specify your setup, how many
> displays connected, which port (HDMI, LVDS, RGB etc..).
Here is my Xorg.conf :
Section "Device"
Identifier "i.MX Accelerated Framebuffer Device"
Driver "vivante"
Option "fbdev" "/dev/fb0"
Option "vivante_fbdev" "/dev/fb0"
Option "HWcursor" "false"
EndSection
Section "ServerFlags"
Option "BlankTime" "0"
Option "StandbyTime" "0"
Option "SuspendTime" "0"
Option "OffTime" "0"
EndSection
I have one HDMI display (1208x720 66Hz).
>
>> Each time the board reboots, I get an "POR" reset cause in UBoot.
>
> Well then it's a feature, the Qt app appears to be restarting the
> board properly ;-)
>
>> Maybe, I have a misconfiguration or I am doing something wrong.
>> Any help would be great !
>
> This might sound strange, but please also provide the U-Boot version
> you are using. The reason is that we offer a wide range of displays,
> since we want customers to have a plug and play experience we've added
> something for kernel >=3.14 where U-Boot is in charge of modifying the
> device tree on the fly to setup the displays properly.
Interesting, my uboot version is : U-Boot 2013.07.
> Finally, can you upload your image for me to try?
Yes, images are coming :)
--
Myl?ne Josserand, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
next prev parent reply other threads:[~2016-04-25 9:34 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-25 8:57 [Buildroot] [help] Nitrogen6X with Vivante : restart on Qt5 examples Mylene Josserand
2016-04-25 9:18 ` Gary Bisson
2016-04-25 9:34 ` Mylene Josserand [this message]
2016-04-25 9:49 ` Gary Bisson
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=571DE4A9.2010605@free-electrons.com \
--to=mylene.josserand@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.