SOLVED[linux64bit] mesa git: Renderer initialization failure

Technical support for the Linux and Mac platforms for all Trine games.
ivanovic
Posts: 6
Joined: Thu Apr 21, 2011 1:38 pm

SOLVED[linux64bit] mesa git: Renderer initialization failure

Postby ivanovic » Thu Apr 21, 2011 2:06 pm

Hi!
Looks like i have a problem running trine on my System:
* Gentoo ("unstable") amd64
* mesa (64bit) gallium based driver from git with s3 support and all stuff active
* Kernel 2.6.39-rc4
* KDE 4.6.2
* AMD Phenom 2 X6 1055T
* AMD Radeon 5850

The problem is:
Fatal error: Renderer initialization failure.
See the log for details.


The content of ~/.frozenbyte/trine/logs/log.txt :
21.4.2011 [12:33]
ERROR: OpenGL 2.0 required
ERROR: ARB_framebuffer_object required
ERROR: Your graphics card cannot run this game. You can try updating your drivers.


The interesting part is that I got working opengl. glxgears runs nicely and reasonably fast, other OpenGL based programs like eg World of Goo work nicely, too. In fact glxinfo tells me that GL_ARB_framebuffer_object is an extension that is available. Besides this I also ran glewinfo to get an exact list of available/working extensions.
glxinfo: http://pastebin.com/x8W1C3Qq
glewinfo: http://pastebin.com/1NXpmU7h

Is there a way to get some more detailed output from trine? I am already using the latest version of trine from 19th April and somehow I can't explain myself what might be broken there and how to work around it.
Last edited by ivanovic on Thu Apr 21, 2011 9:56 pm, edited 1 time in total.

alt_turo
Posts: 195
Joined: Mon Dec 13, 2010 11:06 am

Re: [linux 64bit] mesa git: Renderer initialization failure

Postby alt_turo » Thu Apr 21, 2011 2:45 pm

GLEW has trouble detecting mesa stuff correctly. Remove lib64/libGLEW.so.1.5.
Turo Lamminen
Alternative Games

ivanovic
Posts: 6
Joined: Thu Apr 21, 2011 1:38 pm

Re: [linux 64bit] mesa git: Renderer initialization failure

Postby ivanovic » Thu Apr 21, 2011 3:36 pm

alt_turo wrote:GLEW has trouble detecting mesa stuff correctly. Remove lib64/libGLEW.so.1.5.

This one did not help. Still exactly the same error message shown, even though my system libs are now used for GLEW (also moved the SDL libs out of place, so that the system libs are used there, no change either). This is my current ldd output on trine-bin64:

Code: Select all

$ ldd trine-bin64
        linux-vdso.so.1 =>  (0x00007ffffc741000)
        libavcodec.so.52 => ./lib64/libavcodec.so.52 (0x00007f367472f000)
        libavformat.so.52 => ./lib64/libavformat.so.52 (0x00007f3674513000)
        libavutil.so.50 => ./lib64/libavutil.so.50 (0x00007f3674301000)
        libswscale.so.0 => ./lib64/libswscale.so.0 (0x00007f36740cd000)
        libz.so.1 => /lib64/libz.so.1 (0x00007f3673eb5000)
        libcv.so.1 => ./lib64/libcv.so.1 (0x00007f3673bd8000)
        libboost_thread-mt.so.1.35.0 => ./lib64/libboost_thread-mt.so.1.35.0 (0x00007f36739c7000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f36737aa000)
        libSDL-1.2.so.0 => /usr/lib64/libSDL-1.2.so.0 (0x00007f3673546000)
        libSDL_image-1.2.so.0 => /usr/lib64/libSDL_image-1.2.so.0 (0x00007f3673329000)
        libSDL_ttf-2.0.so.0 => /usr/lib64/libSDL_ttf-2.0.so.0 (0x00007f3673122000)
        libgtk-x11-2.0.so.0 => /usr/lib64/libgtk-x11-2.0.so.0 (0x00007f3672ad9000)
        libgobject-2.0.so.0 => /usr/lib64/libgobject-2.0.so.0 (0x00007f3672885000)
        libvorbisfile.so.3 => ./lib64/libvorbisfile.so.3 (0x00007f367267e000)
        libopenal.so.1 => ./lib64/libopenal.so.1 (0x00007f3672137000)
        libPhysXLoader.so.1 => ./lib64/libPhysXLoader.so.1 (0x00007f3671f2a000)
        libGLEW.so.1.5 => /usr/lib64/libGLEW.so.1.5 (0x00007f3671cc2000)
        libGL.so.1 => //usr/lib64/opengl/xorg-x11/lib/libGL.so.1 (0x00007f3671a3f000)
        libGLU.so.1 => /usr/lib64/libGLU.so.1 (0x00007f36717cc000)
        libCg.so => ./lib64/libCg.so (0x00007f367086a000)
        libCgGL.so => ./lib64/libCgGL.so (0x00007f3674ae9000)
        libstdc++.so.6 => ./lib64/libstdc++.so.6 (0x00007f367055e000)
        libm.so.6 => /lib64/libm.so.6 (0x00007f36702db000)
        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f36700c4000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f366fd38000)
        libcxcore.so.1 => ./lib64/libcxcore.so.1 (0x00007f366f9ff000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007f366f7fb000)
        libgomp.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.2/libgomp.so.1 (0x00007f366f5ec000)
        librt.so.1 => /lib64/librt.so.1 (0x00007f366f3e3000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f3674a79000)
        libasound.so.2 => /usr/lib64/libasound.so.2 (0x00007f366f0fe000)
        libpng14.so.14 => /usr/lib64/libpng14.so.14 (0x00007f366eed6000)
        libjpeg.so.8 => /usr/lib64/libjpeg.so.8 (0x00007f366ec9a000)
        libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x00007f366e9fd000)
        libgdk-x11-2.0.so.0 => /usr/lib64/libgdk-x11-2.0.so.0 (0x00007f366e745000)
        libpangocairo-1.0.so.0 => /usr/lib64/libpangocairo-1.0.so.0 (0x00007f366e537000)
        libXfixes.so.3 => /usr/lib64/libXfixes.so.3 (0x00007f366e330000)
        libatk-1.0.so.0 => /usr/lib64/libatk-1.0.so.0 (0x00007f366e10d000)
        libcairo.so.2 => /usr/lib64/libcairo.so.2 (0x00007f366ddf3000)
        libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007f366daae000)
        libgdk_pixbuf-2.0.so.0 => /usr/lib64/libgdk_pixbuf-2.0.so.0 (0x00007f366d88e000)
        libgio-2.0.so.0 => /usr/lib64/libgio-2.0.so.0 (0x00007f366d55d000)
        libpangoft2-1.0.so.0 => /usr/lib64/libpangoft2-1.0.so.0 (0x00007f366d32f000)
        libpango-1.0.so.0 => /usr/lib64/libpango-1.0.so.0 (0x00007f366d0e1000)
        libfontconfig.so.1 => /usr/lib64/libfontconfig.so.1 (0x00007f366ceab000)
        libgmodule-2.0.so.0 => /usr/lib64/libgmodule-2.0.so.0 (0x00007f366cca7000)
        libglib-2.0.so.0 => /usr/lib64/libglib-2.0.so.0 (0x00007f366c988000)
        libgthread-2.0.so.0 => /usr/lib64/libgthread-2.0.so.0 (0x00007f366c783000)
        libvorbis.so.0 => ./lib64/libvorbis.so.0 (0x00007f366c556000)
        libXext.so.6 => /usr/lib64/libXext.so.6 (0x00007f366c343000)
        libXdamage.so.1 => /usr/lib64/libXdamage.so.1 (0x00007f366c140000)
        libXxf86vm.so.1 => /usr/lib64/libXxf86vm.so.1 (0x00007f366bf3a000)
        libX11-xcb.so.1 => /usr/lib64/libX11-xcb.so.1 (0x00007f366bd38000)
        libxcb-glx.so.0 => /usr/lib64/libxcb-glx.so.0 (0x00007f366bb20000)
        libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007f366b900000)
        libdrm.so.2 => /usr/lib64/libdrm.so.2 (0x00007f366b6f4000)
        libXi.so.6 => /usr/lib64/libXi.so.6 (0x00007f366b4e4000)
        libXrandr.so.2 => /usr/lib64/libXrandr.so.2 (0x00007f366b2db000)
        libXcursor.so.1 => /usr/lib64/libXcursor.so.1 (0x00007f366b0d0000)
        libXcomposite.so.1 => /usr/lib64/libXcomposite.so.1 (0x00007f366aecd000)
        libXrender.so.1 => /usr/lib64/libXrender.so.1 (0x00007f366acc2000)
        libpixman-1.so.0 => /usr/lib64/libpixman-1.so.0 (0x00007f366aa51000)
        libEGL.so.1 => /usr/lib64/libEGL.so.1 (0x00007f366a835000)
        libQtGui.so.4 => /usr/lib64/qt4/libQtGui.so.4 (0x00007f3669b7f000)
        libQtCore.so.4 => /usr/lib64/qt4/libQtCore.so.4 (0x00007f36696de000)
        libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007f36694da000)
        libXdmcp.so.6 => /usr/lib64/libXdmcp.so.6 (0x00007f36692d4000)
        libexpat.so.1 => /usr/lib64/libexpat.so.1 (0x00007f36690a9000)
        libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f3668e92000)
        libogg.so.0 => ./lib64/libogg.so.0 (0x00007f3668c8d000)
        libxcb-dri2.so.0 => /usr/lib64/libxcb-dri2.so.0 (0x00007f3668a89000)
        libxcb-xfixes.so.0 => /usr/lib64/libxcb-xfixes.so.0 (0x00007f3668882000)
        libudev.so.0 => /lib64/libudev.so.0 (0x00007f3668672000)
        libSM.so.6 => /usr/lib64/libSM.so.6 (0x00007f3668469000)
        libICE.so.6 => /usr/lib64/libICE.so.6 (0x00007f366824c000)
        libuuid.so.1 => /lib64/libuuid.so.1 (0x00007f3668047000)

alt_turo
Posts: 195
Joined: Mon Dec 13, 2010 11:06 am

Re: [linux 64bit] mesa git: Renderer initialization failure

Postby alt_turo » Thu Apr 21, 2011 4:30 pm

What version of GLEW do you have? The one shipped with the game is 1.5.4. Anything under 1.5.1 is definitely broken. I think someone reported success with either 1.5.6 or 1.5.8.
Turo Lamminen
Alternative Games

ivanovic
Posts: 6
Joined: Thu Apr 21, 2011 1:38 pm

Re: [linux 64bit] mesa git: Renderer initialization failure

Postby ivanovic » Thu Apr 21, 2011 4:46 pm

Okay, I found the real culpit: moving libstdc++.so.6 away (and using my systems) fixed it!

That is: I am now using all default libs and only removed the libstdc++.so.6 that was shipped and things are working nicely for me. No matter what else I tried would not make it work, only this step. The respective line from ldd:
libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.2/libstdc++.so.6 (0x00007f7ca9afe000)

Thanks for your hint that moving libs around might do the trick!

fredd
Posts: 4
Joined: Tue Aug 16, 2011 2:13 pm

Re: SOLVED[linux64bit] mesa git: Renderer initialization fai

Postby fredd » Tue Aug 16, 2011 2:16 pm

alt_turo wrote:What version of GLEW do you have? The one shipped with the game is 1.5.4. Anything under 1.5.1 is definitely broken. I think someone reported success with either 1.5.6 or 1.5.8.

The same i faced, except for the running version of GLEW 1.3.5.


Return to “Trine Technical Support for Linux & Mac”

Who is online

Users browsing this forum: No registered users and 0 guests