FS#28918 - [mesa] Blender crash on startup after upgrade to mesa 8.0.1

Attached to Project: Arch Linux
Opened by Luke (masteryod) - Wednesday, 14 March 2012, 21:36 GMT
Last edited by Andreas Radke (AndyRTR) - Friday, 25 May 2012, 16:10 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Andreas Radke (AndyRTR)
Architecture i686
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: After upgrade to mesa 8.0.1 Blender don't start with this error:

blender: swrast/s_span.c:1327: _swrast_write_rgba_span: Assertion `colorType == 0x1401 || colorType == 0x1406' failed.

After downgrading libgl and ati-dri to 7.11.2-1 versions it works ok.

*direct rendering: Yes
OpenGL renderer string: Mesa DRI R200 (RV280 5961) x86/MMX/SSE2 TCL DRI2


Additional info:
* package version(s) 7.11.2-1 vs 8.0.1-2

Steps to reproduce: try to start blender on mesa 8.0.1 (and ati drivers)
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Friday, 25 May 2012, 16:10 GMT
Reason for closing:  Upstream
Comment by Laurent Carlier (lordheavy) - Thursday, 15 March 2012, 05:41 GMT
Please fill a bug upstream:
https://bugs.freedesktop.org

Then please post the link.
Comment by Luke (masteryod) - Thursday, 15 March 2012, 21:03 GMT Comment by Uli (Army) - Friday, 16 March 2012, 11:44 GMT
A simple rebuild fixed it for me here. I'm up-to-date with [testing]
Comment by Sven-Hendrik Haase (Svenstaro) - Saturday, 17 March 2012, 06:30 GMT
Try running: LIBGL_ALWAYS_SOFTWARE=1 blender and report results.
Comment by Luke (masteryod) - Saturday, 17 March 2012, 17:36 GMT
Sorry guys, this particular PC is in my family house and I'm there occasionally. Right now I can do very limited testing.

@Uli Armbruster (Army): what kind of rebuild you're referring to?
Comment by Uli (Army) - Saturday, 17 March 2012, 21:42 GMT
I simply rebuilt the package using makepkg. The latest version (3:2.62-3) works here. What could be is that I had a different error...Didn't look at yours too closely. So my comments could be useless :X
Comment by Luke (masteryod) - Friday, 13 April 2012, 18:55 GMT
  • Field changed: Percent Complete (100% → 0%)
Sorry for big delay but I don't have direct access to that particular PC, I did "LIBGL_ALWAYS_SOFTWARE=1 blender" and it works, out of the repos blender still doesn't work on this hardware
Comment by Sven-Hendrik Haase (Svenstaro) - Friday, 13 April 2012, 19:06 GMT
Use the workaround for now and tell blender devs upstream. This seems to be purely a r200 bug that they might be able to fix. Also tell mesa and see if it's their fault.
Comment by Luke (masteryod) - Friday, 13 April 2012, 19:59 GMT Comment by Sven-Hendrik Haase (Svenstaro) - Saturday, 14 April 2012, 15:58 GMT
You should add that LIBGL_ALWAYS_SOFTWARE=1 works.
Comment by Luke (masteryod) - Sunday, 15 April 2012, 14:49 GMT
Dan Eicher from Blender: "Yeah, that's a mesa bug."
Comment by Campbell Barton (ideasman42) - Monday, 16 April 2012, 03:40 GMT
This is a mesa bug for sure, I managed to work around it by passing an invalid argument to an OpenGL call in blenders icon drawing function (but then no icons are drawn).

Attached patch.

This report should be made to mesa.
Comment by Sven-Hendrik Haase (Svenstaro) - Monday, 16 April 2012, 17:34 GMT
Well shouldn't this bug be closed then? Blender and Mesa (I think) are now aware of the problem and there's nothing more we can do.
Comment by Andreas Radke (AndyRTR) - Saturday, 19 May 2012, 19:46 GMT
Mesa 8.0.3 is in the repos. Has this been fixed?

If not we need a MESA upstream issue to follow - then we can close this one.
Comment by Luke (masteryod) - Sunday, 20 May 2012, 19:30 GMT
I'll check this next time I'll be near that PC (which probably is wednesday)

Loading...