Skip to contentSkip to conversation

New: Heroes of Newerth won't start when mesa is compiled with --enable-gallium-llvm

Bug 30901 [email protected] 1 participant 9 messages Oct 15, 2010 – May 26, 2011

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=30901

           Summary: Heroes of Newerth won't start when mesa is compiled
                    with --enable-gallium-llvm
           Product: Mesa
           Version: git
          Platform: x86 (IA32)
               URL: http://dl.heroesofnewerth.com/HoNClient-1.0.14.sh
        OS/Version: Linux (All)
            Status: NEW
          Severity: minor
          Priority: medium
         Component: Drivers/Gallium/r300
        AssignedTo: [email protected]
        ReportedBy: [email protected]

I usually configure mesa like this: "--enable-debug --enable-gallium-radeon --with-dri-drivers= --with-state-trackers=dri,glx", with this HoN starts and runs fine with r300g driver. However I was trying llvmpipe with some other apps and I noticed, when I add "--enable-gallium-llvm", HoN won't start with "K2 - Fatal Error: ARB_vertex_buffer_object not available."
This is quite strange because glxinfo is identical and shows GL_ARB_vertex_buffer_object in both cases (and OpenGL vendor string: X.Org R300 Project, OpenGL renderer string: Gallium 0.4 on RV530, so its not like I was using some other driver). I'm quite sure I didn't messed up anything I even asked at #radeon if I'm doing something wrong. LIBGL_DRIVERS_PATH and LD_LIBRARY_PATH are both pointing to right mesa directories and I did git clean -fdx between builds.

So far I wasn't able to reproduce this with any other app.

This is with Fedora 14 i686, kernel 2.6.35.6-39.fc14, mesa from git, RV530.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#1 lore raw

[Bug 30901] Heroes of Newerth won't start when mesa is compiled with --enable-gallium-llvm

https://bugs.freedesktop.org/show_bug.cgi?id=30901

--- Comment #1 from Michel Dänzer <[email protected]> 2010-10-22 06:32:42 PDT --- (In reply to comment #1)

Quoted 6 lines

[...] when I add "--enable-gallium-llvm", HoN won't start with "K2 - Fatal Error: ARB_vertex_buffer_object not available."
This is quite strange because glxinfo is identical and shows GL_ARB_vertex_buffer_object in both cases (and OpenGL vendor string: X.Org R300 Project, OpenGL renderer string: Gallium 0.4 on RV530, so its not like I was using some other driver).

So either the game is picking up a different libGL.so.1 / r300_dri.so, or the error message is misleading and the problem is due to something not visible in glxinfo. As a starting point, are there any differences in the output of 'glxinfo -l'?

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#2 lore raw

[Bug 30901] Heroes of Newerth won't start when mesa is compiled with --enable-gallium-llvm

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=30901

--- Comment #2 from Pavel Ondračka <[email protected]> 2010-10-22 08:35:31 PDT --- (In reply to comment #1)

Quoted 4 lines

So either the game is picking up a different libGL.so.1 / r300_dri.so, or the error message is misleading and the problem is due to something not visible in glxinfo. As a starting point, are there any differences in the output of 'glxinfo -l'?

The only difference in 'glxinfo -l' output is mesa build time.

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#3 lore raw

[Bug 30901] Heroes of Newerth won't start when mesa is compiled with --enable-gallium-llvm

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=30901

--- Comment #3 from Pavel Ondračka <[email protected]> 2010-10-22 09:12:09 PDT --- Now I found another app which have problems with --enable-gallium-llvm. With Unigine Sanctuary I get this crash. But it works fine when compiled without --enable-gallium-llvm.

X Error of failed request: BadLength (poly request too large or internal Xlib length error)
Major opcode of failed request: 117 (X_GetPointerMapping) Serial number of failed request: 27
Current serial number in output stream: 29

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#4 lore raw

[Bug 30901] Heroes of Newerth won't start when mesa is compiled with --enable-gallium-llvm

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=30901

--- Comment #4 from Marek Olšák <[email protected]> 2010-12-09 19:09:01 PST --- I've been running Mesa with --enable-gallium-llvm all the time and I don't have this issue.

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#5 lore raw

[Bug 30901] Heroes of Newerth won't start when mesa is compiled with --enable-gallium-llvm

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=30901

--- Comment #5 from Marek Olšák <[email protected]> 2010-12-14 09:42:13 PST --- export LIBGL_DEBUG=verbose

and run HoN. Does it print anything interesting?

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#6 lore raw

[Bug 30901] Heroes of Newerth won't start when mesa is compiled with --enable-gallium-llvm

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=30901

--- Comment #6 from Pavel Ondračka <[email protected]> 2010-12-15 03:32:30 PST --- with LIBGL_DEBUG=verbose:

libGL: OpenDriver: trying /home/Paulie/mesa/lib/gallium/r300_dri.so libGL error: dlopen /home/Paulie/mesa/lib/gallium/r300_dri.so failed (/home/Paulie/HoN/libs-x86/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by /home/Paulie/mesa/lib/gallium/r300_dri.so))
libGL error: unable to load driver: r300_dri.so
libGL error: driver pointer missing
libGL: OpenDriver: trying /home/Paulie/mesa/lib/gallium/swrast_dri.so libGL error: dlopen /home/Paulie/mesa/lib/gallium/swrast_dri.so failed (/home/Paulie/mesa/lib/gallium/swrast_dri.so: sdílený objektový soubor nelze otevřít: Adresář nebo soubor neexistuje)
libGL error: unable to load driver: swrast_dri.so
libGL: OpenDriver: trying /home/Paulie/mesa/lib/gallium/swrastg_dri.so libGL error: dlopen /home/Paulie/mesa/lib/gallium/swrastg_dri.so failed (/home/Paulie/HoN/libs-x86/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by /home/Paulie/mesa/lib/gallium/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.

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#7 lore raw

[Bug 30901] Heroes of Newerth won't start when mesa is compiled with --enable-gallium-llvm

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=30901

Pavel Ondračka <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #7 from Pavel Ondračka <[email protected]> 2010-12-15 03:36:58 PST --- When I remove libstdc++.so.6 bundled with HoN it works fine... so probably not a mesa bug after all.

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#8 lore raw

[Bug 30901] Heroes of Newerth won't start when mesa is compiled with --enable-gallium-llvm

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=30901

Damien Grassart <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #8 from Damien Grassart <[email protected]> 2011-05-26 05:03:02 PDT --- *** Bug 37603 has been marked as a duplicate of this bug. ***

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.