On Fri, Aug 2, 2013 at 8:38 AM, David Airlie <airlied@redhat.com> wrote:

Also unless he rebuild the upstream mesa in rpm with the same flags, I'm not sure
this is guaranteed fixed upstream.

Dave, for the sake of having the conversation in a single place, I'm responding to your comment on bugzilla here. I tried your package which did not fix the issue. Since I somehow forgot to add it in the actual case, for reference here is the stack trace:

[ 70025.932] (EE) Backtrace:
[ 70025.932] (EE) 0: /usr/bin/Xorg (OsLookupColor+0x129) [0x46edb9]
[ 70025.932] (EE) 1: /lib64/libpthread.so.0 (__restore_rt+0x0) [0x34e180ef9f]
[ 70025.933] (EE) 2: /usr/lib64/dri/radeonsi_dri.so (radeon_drm_winsys_create+0xb9) [0x7f7f564a53b9]
[ 70025.934] (EE) 3: /usr/lib64/dri/radeonsi_dri.so (_init+0x3cc1) [0x7f7f561dc011]
[ 70025.934] (EE) 4: /usr/lib64/dri/radeonsi_dri.so (dri_flush+0x3b2) [0x7f7f564a0fa2]
[ 70025.934] (EE) 5: /usr/lib64/dri/swrast_dri.so (driIndexConfigAttrib+0x57d) [0x7f7f53c4a7cd]
[ 70025.935] (EE) 6: /usr/lib64/xorg/modules/extensions/libglx.so (_glthread_GetID+0x71d1) [0x7f7f57e02cb1]
[ 70025.935] (EE) 7: /usr/lib64/xorg/modules/extensions/libglx.so (_glthread_GetID+0x679a) [0x7f7f57e0180a]
[ 70025.936] (EE) 8: /usr/bin/Xorg (InitExtensions+0x41) [0x4ba101]
[ 70025.936] (EE) 9: /usr/bin/Xorg (_init+0x38e0) [0x429980]
[ 70025.936] (EE) 10: /lib64/libc.so.6 (__libc_start_main+0xf5) [0x34e1021b75]
[ 70025.936] (EE) 11: /usr/bin/Xorg (_start+0x29) [0x4267b1]
[ 70025.937] (EE) 12: ? (?+0x29) [0x29]
[ 70025.937] (EE) 
[ 70025.937] (EE) Segmentation fault at address 0x0

After installing your package, I noticed one major difference between yours and the upstream git that I built. Since I am not using the same Fedora configure flags as you had asked, mine is not building with --with-gallium-drivers which is apparently not a default. My mesa build only included libradeon_dri.so and *not* libradeonsi_dri.so, which is what actually fixed the problem. So I removed your and my packages, and reinstalled the latest from the yum repository, then removed libradeonsi_dri.so. This also fixes the issue, so the problem is obviously with the gallium drivers and not necessarily the current version of mesa. I will try one more time rebuilding the latest from git with gallium drivers enabled and see if the issue still exists upstream.

Morgan