I compiled and installed Xorg, Mesa and DRM from CVS today, following the directions in the DRI wiki. I also copied libraries on Mesa/lib/ into /usr/X11R6/lib/ and symlinked in /usr/lib, so the programs use mesa cvs libraries. Xorg says that DRI is enabled. No problems, no errors. All seem ok. But when I run glxinfo I get a segmentation fault in savage_xmesa.c, line 834, where it reads: "assert(backRb->Base.Data);" I also get the same segfault in other programs, like the winpos demo. Kernel 2.6.11.4 from SUSE. Here is the backtrace: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1076967104 (LWP 14034)] 0x4036d3f4 in savageMakeCurrent (driContextPriv=0x805b528, driDrawPriv=0x82dbb38, driReadPriv=0x82dbb38) at savage_xmesa.c:834 834 assert(backRb->Base.Data); (gdb) bt #0 0x4036d3f4 in savageMakeCurrent (driContextPriv=0x805b528, driDrawPriv=0x82dbb38, driReadPriv=0x82dbb38) at savage_xmesa.c:834 #1 0x40367ec8 in DoBindContext (dpy=0x804d008, draw=58720258, read=58720258, ctx=0x80583b8, modes=0x8056c90, psp=0x8057768) at dri_util.c:344 #2 0x40367f61 in driBindContext (dpy=0x804d008, scrn=0, draw=58720258, read=58720258, ctx=0x80583b8) at dri_util.c:377 #3 0x4005bc29 in BindContextWrapper (dpy=0x804d008, gc=0x8058308, draw=58720258, read=58720258) at glxext.c:1522 #4 0x4005be4b in MakeContextCurrent (dpy=0x804d008, draw=58720258, read=58720258, gc=0x8058308) at glxext.c:1610 #5 0x4005c18f in glXMakeCurrent (dpy=0x804d008, draw=58720258, gc=0x8058308) at glxext.c:1772 #6 0x08049ab7 in main (argc=1, argv=0xbffff144) at glxinfo.c:266
I've updated the assertions a bit. Do a check-out and try again.
OK. Now it works.
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.