Monday, May 21, 2012

Playing HoN with Xorg Edgers and open source ATI drivers

Let start off with my setup, I'm running x64 Ubuntu 12.04 with Xorg Edgers. Ive got a Radeon 5850, and  a Phenom II X6 1100T.

If you just try and run the installed HoN using this setup you will see the screen go to funny colored blocks and pop back having failed to run. If you run it from the command prompt you can see this message  "LibGL error: failed to load driver: r600".  So set LIBGL_DEBUG=verbose and try again.
warning: The VAD has been replaced by a hack pending a complete rewrite
libGL: OpenDriver: trying /usr/lib/x86_64-linux-gnu/dri/tls/r600_dri.so
libGL: OpenDriver: trying /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
libGL error: dlopen /usr/lib/x86_64-linux-gnu/dri/r600_dri.so failed (/home/hippiehunter/HoN/libs-x86_64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by /usr/lib/x86_64-linux-gnu/dri/r600_dri.so))
libGL error: unable to load driver: r600_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: r600
libGL: OpenDriver: trying /usr/lib/x86_64-linux-gnu/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
libGL error: dlopen /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so failed (/home/hippiehunter/HoN/libs-x86_64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so))
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
K2 - Fatal Error: ARB_vertex_buffer_object not available.
 alright, that gives us something to work with, it looks like the C++ runtime libraries that were linked into Xorg Edgers are a higher version then the ones shipped with HoN. Easy fix go delete ~/HoN/libs-x86_64/libstdc++.so.6. Problem solved, HoN now runs at an acceptable framerate and doesnt seem to have any graphical glitches or crashes.

No comments:

Post a Comment