[Mesa-dev] [Bug 47375] Blender crash on startup after upgrade to mesa 8.0.1

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jul 26 19:56:28 PDT 2012


https://bugs.freedesktop.org/show_bug.cgi?id=47375

--- Comment #30 from Brian Paul <brian.e.paul at gmail.com> 2012-07-26 19:56:28 PDT ---
(In reply to comment #29)
> (In reply to comment #28)
> > Can you try making this change to radeon_span.c:
> > 
> > diff --git a/src/mesa/drivers/dri/radeon/radeon_span.c
> > b/src/mesa/drivers/dri/ra
> > index 1f2ba49..fd91f88 100644
> > --- a/src/mesa/drivers/dri/radeon/radeon_span.c
> > +++ b/src/mesa/drivers/dri/radeon/radeon_span.c
> > @@ -66,6 +66,7 @@ radeon_renderbuffer_map(struct gl_context *ctx, struct
> > gl_rend
> > 
> >         rrb->base.Map = map;
> >         rrb->base.RowStride = stride;
> > +       rrb->Base.ColorType = GL_UNSIGNED_BYTE;
> >  }
> > 
> >  static void
> 
> so I add this line in radeon_span.c, after the line 68 :
> 
> rrb->base.ColorType = GL_UNSIGNED_BYTE;
> 
> I compiled mesa lib, Blender runs without crash,

OK, great I'll push that fix.


> but it still very slow in the
> GUI ( too much lag when I click in the gui, menus ), it's not normal because
> with 7.11 mesa lib Blender was much more fast,

That'll be a bit more work to diagnose.  Have you ever used any profiling
tools?


> I notice also some errors message in the console :
> 
> Mesa: User error: GL_INVALID_ENUM in
> glGetIntegerv(pname=GL_MAX_TEXTURE_IMAGE_UNITS)

I think you can safely ignore that.  I suspect that blender is querying
GL_MAX_TEXTURE_IMAGE_UNITS without doing some extension checking.

> Error: Not freed memory blocks: 2
> IDProperty group len: 108 0xb91d808
> uiAfterFunc len: 616 0xb9e5f88

No idea about that one.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the mesa-dev mailing list