Bug 22720

Summary: mesa 7.5 regression in blender
Product: Mesa Reporter: Christoph Brill <egore>
Component: Drivers/DRI/r300Assignee: Default DRI bug account <dri-devel>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Christoph Brill 2009-07-11 01:26:59 UTC
I've tested to use blender with mesa 7.5 RC4 and it does not draw it's menus correctly, just white boxes with nothing in it. I switched back to mesa 7.4.4 and the menus work again.

This happens on a ATI x1650 Pro. I first thought this was caused by radeon-rewrite but iirc radeon-rewrite is not part of mesa 7.5 (but will be part of 7.6). If you need any additional information, let me know.
Comment 1 Michel Dänzer 2009-07-11 02:28:21 UTC
Can you try isolating the change which caused it, e.g. with git bisect?
Comment 2 Christoph Brill 2009-07-11 02:31:24 UTC
Yeah, I'm doing that right now :-)
Comment 3 Christoph Brill 2009-07-11 06:13:42 UTC
git bisecting mesa really sucks. You need to patch several revision to get it to compile. And even with ccache enabled you need to wait for hours. Testing is almost impossible as the rendering is heavily broken. And finally: it presents you a revision that is completely useless as it is not related with the problem.

I don't see any chance that I can possibly find the error. All I could find out that the error already appears in 7.5_rc1 by manually unpacking and building it.
Comment 4 Nicolai Hähnle 2009-07-12 04:15:14 UTC
Huh, your complaints about bisecting fit the complaints that I usually have about the Linux kernel. Compared to that, Mesa should be relatively painless to bisect. One important thing about compilation time: configure mesa such that Gallium is not built, and of the DRI drivers only the necessary one(a) are built (in your case, that would be --with-dri-drivers=r300).

Finally, I can confirm that this problem exists in git master.
Comment 5 Christoph Brill 2009-07-12 04:55:23 UTC
I always built mesa with the following

# PATH="/usr/lib/ccache/bin:/opt/bin:${PATH}"
# ./autogen.sh --prefix=/usr --libdir=/usr/lib64 --with-dri-drivers=radeon,r300 --disable-gallium
# make clean
# rm lib64/*
# make -j3

This worked pretty well, except that the tags mesa_7_4_4 comes from another branch than mesa_7_5_rc1, which gave a difference of ~4500 revisions .... that was lying way back in the past where we did not even had autotools yet. And this is a bit problematic...

Maybe I can restart my bisecting by testing against mesa master instead of the 7.5er branch. And maybe this improves the bisecting situation.
Comment 6 Tormod Volden 2009-07-13 01:49:46 UTC

*** This bug has been marked as a duplicate of bug 21774 ***

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.