Bug 38921 - Heroes of Newerth fails to start
Summary: Heroes of Newerth fails to start
Status: RESOLVED NOTOURBUG
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/r600 (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-02 12:31 UTC by Gregor Galwas
Modified: 2011-07-03 10:04 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Gregor Galwas 2011-07-02 12:31:51 UTC
When trying to start Heroes of Newerth the game reports

K2 - Fatal Error: ARB_vertex_buffer_object not available

and doesn't start. 

That games used to work a long time ago. I havent tested it for a long time, so I have no idea when it happaned.
But since it did work, it looks like it is a regression.

mesa, ddx and drm git
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD BARTS
OpenGL version string: 2.1 Mesa 7.12-devel (git-f2001df)
OpenGL shading language version string: 1.20

glxinfo | grep ARB_vertex_buffer_object
GL_ARB_sync, GL_ARB_texture_non_power_of_two, GL_ARB_vertex_buffer_object

kernel 3.0.0-rc4+ #41 SMP Sat Jul 2 15:47:15 CEST 2011 i686 GNU/Linux

OS: Debian/Linux
Comment 1 Sven Arvidsson 2011-07-02 15:50:30 UTC
Could you try launching the game with LIBGL_DEBUG=verbose set and see if the correct driver is used?

I bet that this is another instance of "GLIBCXX_3.4.14' not found" where the libraries shipped with the game no longer works with the system.
Comment 2 Gregor Galwas 2011-07-02 23:18:43 UTC
(In reply to comment #1)
> Could you try launching the game with LIBGL_DEBUG=verbose set and see if the
> correct driver is used?
> 
> I bet that this is another instance of "GLIBCXX_3.4.14' not found" where the
> libraries shipped with the game no longer works with the system.

You were right.

LIBGL_DEBUG=verbose sh hon.sh
libGL: OpenDriver: trying /usr/lib/i386-linux-gnu/dri/r600_dri.so
libGL error: dlopen /usr/lib/i386-linux-gnu/dri/r600_dri.so failed (/home/mcgreg/HoN/libs-x86/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by /usr/lib/i386-linux-gnu/dri/r600_dri.so))
libGL error: unable to load driver: r600_dri.so
libGL error: driver pointer missing
libGL: OpenDriver: trying /usr/lib/i386-linux-gnu/dri/swrast_dri.so
libGL error: dlopen /usr/lib/i386-linux-gnu/dri/swrast_dri.so failed (/usr/lib/i386-linux-gnu/dri/swrast_dri.so: undefined symbol: _glapi_tls_Context)
libGL error: unable to load driver: swrast_dri.so
libGL: OpenDriver: trying /usr/lib/i386-linux-gnu/dri/swrastg_dri.so 
libGL error: dlopen /usr/lib/i386-linux-gnu/dri/swrastg_dri.so failed (/home/mcgreg/HoN/libs-x86/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by /usr/lib/i386-linux-gnu/dri/swrastg_dri.so))
libGL error: unable to load driver: swrastg_dri.so
libGL error: reverting to indirect rendering 
K2 - Fatal Error: ARB_vertex_buffer_object not available.

so this isn't a driver/mesa problem?
Comment 3 Sven Arvidsson 2011-07-03 06:48:02 UTC
(In reply to comment #2)
> 
> so this isn't a driver/mesa problem?

Not as far as I know, no. You can get the game running by removing the libs causing the problem, libstdc++.so.6 and maybe others.
Comment 4 Gregor Galwas 2011-07-03 10:04:13 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > 
> > so this isn't a driver/mesa problem?
> 
> Not as far as I know, no. You can get the game running by removing the libs
> causing the problem, libstdc++.so.6 and maybe others.

Yes, you were right. 
Sorry for the senseless bug report. 

Renaming the lib from the game 
mv ~/HoN/libs-x86/libstdc++.so.6 ~/HoN/libs-x86/libstdc++.so.6_
does the trick.


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.