Jump to content
Eternal Lands Official Forums
Guest Sand Song

Gentoo: libGL opens wrong driver, game crashes

Recommended Posts

Guest Sand Song

Hi folks,

 

I'm running Gentoo, and my graphics card is an Intel HD 4000. The driver for this is i915, however, libGL attempts to load i965 (which is not a module as part of my kernel). If I don't compile Mesa with support for i965, I get a "failed to open driver" or such error; if I do, then the game crashes with the error

el: io/cal3d_io_wrapper.cpp:224: int CalCoreModel_ELLoadCoreAnimation(CalCoreModel*, const char*, float): Assertion `self' failed.

 

Any ideas?

Share this post


Link to post
Share on other sites

Might https://github.com/raduprv/Eternal-Lands/issues/9 be relevant (concerning the crash with i965 enabled)?

Perhaps http://forums.gentoo.org/viewtopic-t-925004-view-next.html?sid=fb45208945b5ab81918d330a59b6762f helps as well? It says (among other things) that there is no driver named i965 in the kernel, the i915 serves for all versions.

(Finding those was 5 min with Google btw)

Share this post


Link to post
Share on other sites

I committed some fixes to the git source to address that problem, making it unnecessary to change the data files. Do those fixed work?

Share this post


Link to post
Share on other sites

I am also running on gentoo, and have been unable to sign in since January due to the cal3d library assertion. Based on the github link provided by revi, I downgraded dev-libs/libxml2 from 2.9.0-r2 to 2.8.0-r4 and can now sign in again without crashing. Yay! TYVM.

Share this post


Link to post
Share on other sites

Again, does the latest EL source fix the issue without having to work around it? Otherwise we'll have to investigate more. Perhaps I'm misunderstanding, the referenced issue was with the xml library change that stopped supporting includes by default.

Edited by bluap

Share this post


Link to post
Share on other sites

I'm compiling the client, but don't have either Gentoo or Intel graphics..

That said, under OpenSuse 12.3, libxml2 version 2.9.0-2.5.1 is used, and I don't see any problems*.

 

But do the two posters that did see problems use 'home-builds' or provided 'standard' builds?

 

*Running, that is, iirc I had to add one or two system libraries to the list in the Makefile to keep the linker happy

Share this post


Link to post
Share on other sites
Guest
You are commenting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoticons maximum are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.

×