On Sat, Jan 21, 2017 at 10:02:18AM +1100, Jonathan Gray wrote: > On Fri, Jan 20, 2017 at 10:04:43PM +0100, Stefan Sperling wrote: > > Mesa doesn't run anymore on my 15" powerbook g4 which has a radeon R300. > > > > glxinfo fails like this: > > > > glxinfo:/usr/X11R6/lib/modules/dri/r300_dri.so: undefined symbol > > '__sync_add_and_fetch_8' > > libGL error: unable to load driver: r300_dri.so > > libGL error: driver pointer missing > > libGL error: failed to load driver: r300 > > glxinfo:/usr/X11R6/lib/modules/dri/swrast_dri.so: undefined symbol > > '__sync_add_and_fetch_8' > > libGL error: unable to load driver: swrast_dri.so > > libGL error: failed to load driver: swrast > > X Error of failed request: GLXBadContext > > Major opcode of failed request: 155 (GLX) > > Minor opcode of failed request: 6 (X_GLXIsDirect) > > Serial number of failed request: 47 > > Current serial number in output stream: 0 > > name of display: :0 > > > > The code which tries to use this atomic builtin on a 64bit integer is in > > /usr/xenocara/lib/mesa/src/compiler/glsl/cache.c (cache->size is 64 bits). > > > > I cannot find any calls to this code. And there is a configure option to > > disable this cache. Using that allows at least glxgears to run again. > > Which version previously ran? 11.2.2 ?
The on disk shader cache was introduced in Mesa commit 87ab26b2ab35a29d446ae66f1795d40c184c0739 and first appeared in 13.0.
