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

Jérôme Pouiller jezz at sysmic.org
Tue Jul 28 08:41:02 UTC 2015


On Tuesday 28 July 2015 10:23:56 Gary Bisson wrote:
> 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
As far as I remember, Xorg also crash on exit with Yocto. 


> 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
Enabling swrast allow to use GLX/OpenGL applications but using software 
rendering. IFAIK, swrast is not necessary if you only use EGL/GLESv2 
applications. Current Buildroot does not enforce swrast but allows user to 
select it if he want. I think it is correct behavior. 

In add, personally, I prefer swrast to be disabled so I am sure my GL 
applications are hardware accelerated.

[...]

-- 
Jérôme Pouiller, Sysmic
Embedded Linux specialist
http://www.sysmic.fr



More information about the buildroot mailing list