[Buildroot] [PATCH 00/13] Update Freescale packages to 3.10.53-1.1.0_GA

Gary Bisson gary.bisson at boundarydevices.com
Tue Jul 28 08:23:56 UTC 2015


Hi Jerome,

On Tue, Jul 28, 2015 at 10:12 AM, Jérôme Pouiller <jezz at sysmic.org> wrote:
> Hello Gary, Carlos,
>
> On Monday 27 July 2015 19:42:08 Gary Bisson wrote:
>> Hi Carlos,
>>
>> On Sat, Jul 18, 2015 at 10:06 PM, Carlos Soto <csotoalonso at gmail.com> wrote:
>> >
>> >
>> > 2015-07-18 21:55 GMT+02:00 Thomas Petazzoni
>> > <thomas.petazzoni at free-electrons.com>:
>> >>
>> >> Dear Carlos Soto,
>> >>
>> >> On Sat, 18 Jul 2015 21:36:04 +0200, Carlos Soto wrote:
> [...]
>> >> > Anyway, they seem to work except for the fact that as soon as a program
>> >> > is
>> >> > stopped (mainly I've tried with glxgears) the xserver crashes. That's
>> >> > the
>> >> > error log:
>> >>
>> >> I'm adding Gary in Cc, he can probably help about this, at least
>> >> confirm whether he can reproduce the same problem or not.
>> >
>> >
>> > Great! I'll also try it again once I update my local copy
>>
>> Yes I confirm I've built the master branch today and I see this error
>> when closing the X app. I will let you know if I find what causes this
>> error. Note that in my case it doesn't happen all the time. I suspect
>> the vivante libraries...
> As far as remember, by default X server terminate when the last client exit.
> When you produce problem, are you closing the last client? You can try to pass
> --noreset option when you launch X.

I was actually looking at the issue to the test was quick, yes the
error disappears with the -noreset option. Seems that stopping the
server is the problem. The log was saying that swrast was missing so I
added but it didn't remove the error. The last message before the
crash is:
[3551284.259] (II) VIVANTE(0): Setting screen physical size to 338 x 211
[3551284.297] (EE)
[3551284.297] (EE) Backtrace:
[3551284.297] (EE)
[3551284.297] (EE) Segmentation fault at address 0x76fd10dc

On the swrast topic, should we add to as a select in the Config.in as
it seems to the be case in Yocto?
https://github.com/Freescale/meta-fsl-arm/blob/master/recipes-graphics/xorg-driver/xf86-video-imxfb-vivante.inc#L64

Also tried updating to latest graphics xdriver and vivante libs which
are meant for 3.14 kernels but I confirm this is also working on
3.10.53. But it didn't help though, I'll wait for next cycle to switch
packages to their 3.14 versions.

> In add, notice glxgears is not the best program to test. Indeed Vivante driver
> does not support GLX/OpenGL API very well (it normally fallback to software
> rendering provided by mesa3d). Prefer test with a GLESv2 program.

To reproduce the issue, I tried the vivante tutorial7 as well as
xterm, both crashed the server when closed although sometimes closing
xterm was ok (weird I know).

Regards,
Gary



More information about the buildroot mailing list