I was having some weird issues with Savage2 and Heroes of Newerth on my ATI/Gallium/Mesa 7.11 setup. They would crash stating that either OpenGL 2.0 was unavailable or an extension was missing. I was finally able to track this down by useing LIBGL_DEBUG=verbose
LIBGL_DEBUG=verbose ./savage2_update.bin
warning: The VAD has been replaced by a hack pending a complete rewrite
libGL: OpenDriver: trying /usr/lib64/dri/r600_dri.so
libGL error: dlopen /usr/lib64/dri/r600_dri.so failed (/home/kdekorte/Savage2/libs/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by /usr/lib64/dri/r600_dri.so))
libGL error: unable to load driver: r600_dri.so
libGL error: driver pointer missing
libGL: OpenDriver: trying /usr/lib64/dri/swrast_dri.so
libGL error: dlopen /usr/lib64/dri/swrast_dri.so failed (/home/kdekorte/Savage2/libs/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by /usr/lib64/dri/swrast_dri.so))
libGL error: unable to load driver: swrast_dri.so
libGL error: reverting to indirect rendering
Savage2 - Fatal Error: OpenGL 2.0 not available.
Segmentation fault (core dumped)
So I went into /home/kdekorte/Savage2/libs/ (this is where I installed Savage2) and renamed libstdc++.so.6 to old.libstdc++.so.6 and tried again. After that Savage2 started working. I did the same thing with Heroes of Newerth and that solved its problem as well.
No comments:
Post a Comment