Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Penumbra on 64-bit Ubuntu-Feisty - Nvidia
Lori Offline
Junior Member

Posts: 2
Threads: 1
Joined: Aug 2007
Reputation: 0
#1
Solved: 8 Years, 1 Month ago Penumbra on 64-bit Ubuntu-Feisty - Nvidia

Hi ! I'm new to Linux-environment and i got a dual-boot Windows-XP/Ubuntu on my laptop. I've read the FAQ and my problem is described there. The game just installs fine but when i try to run it it says "Not enough texture units".
Here's my config :
64 bit Ubuntu 7.04
Nvidia Geforce 7600 Go with latest driver (100.14.11) installed

When i prompt the command "ldd penumbra.bin" :
linux-gate.so.1 =>  (0xffffe000)
        libvorbisfile.so.3 => not found
        libfltk.so.1.1 => not found
        libSDL-1.2.so.0 => not found
        libSDL_ttf-2.0.so.0 => not found
        libSDL_image-1.2.so.0 => not found
        libGL.so.1 => /usr/lib32/libGL.so.1 (0xf7e9f000)
        libGLU.so.1 => /usr/lib32/libGLU.so.1 (0xf7e1f000)
        libCg.so => not found
        libCgGL.so => not found
        libopenal.so.0 => not found
        libalut.so.0 => not found
        libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf7d34000)
        libm.so.6 => /lib32/libm.so.6 (0xf7d0c000)
        libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf7d00000)
        libc.so.6 => /lib32/libc.so.6 (0xf7bbf000)
        libpthread.so.0 => /lib32/libpthread.so.0 (0xf7ba8000)
        libX11.so.6 => /usr/lib32/libX11.so.6 (0xf7ab7000)
        libXext.so.6 => /usr/lib32/libXext.so.6 (0xf7aa9000)
        libXxf86vm.so.1 => /usr/lib32/libXxf86vm.so.1 (0xf7aa3000)
        libdl.so.2 => /lib32/libdl.so.2 (0xf7a9f000)
        libdrm.so.2 => /usr/lib32/libdrm.so.2 (0xf7a96000)
        /lib/ld-linux.so.2 (0xf7f11000)
        libXau.so.6 => /usr/lib32/libXau.so.6 (0xf7a93000)
        libXdmcp.so.6 => /usr/lib32/libXdmcp.so.6 (0xf7a8e000)

And hpl.log says :
Init low level graphics
Setting video mode: 800 x 600 - 32 bpp
Init Glee...OK
Setting up OpenGL
  Max texture image units: 140460344
  Max texture coord units: 140460344
  Two sided stencil: 0
  Vertex Buffer Object: 0
  Anisotropic filtering: 1
  Max Anisotropic degree: 16
  Multisampling: 0
  Vertex Program: 1
  Fragment Program: 1
  NV Register Combiners: 0
  NV Register Combiners Stages: 8
  ATI Fragment Shader: 0
Creating graphic systems
  Creating Renderer2D
  Renderer2D created
  Creating Renderer3D
   Load Renderer3D gpu programs:
    Extrude
    Diffuse
    Fog
   Creating fog textures: Solid Additive Alpha
   init sky box
  Renderer3D created
Creating screen buffers size 800.000000 : 600.000000
Creating programs
CG ERROR : The compile returned an error.
-----------------------------------
core/programs/PostEffect_Motion_fp.cg(32) : error C5013: profile does not support "for" statements and "for" could not be unrolled.
-----------------------------------
Error loading: 'core/programs/PostEffect_Motion_fp.cg'!
ERROR: Couldn't create program 'PostEffect_Motion_fp.cg'
Dynamic loops in motion blur fp not supported, loading static instead.
  RendererPostEffects created
Adding engine materials

Probably i dont have 32 bit compatibility drivers not installed for my graphic card but like i said i'm new to linux and i don't want to destroy my x-server while trying to something which i don't understand.
What i also found interesting was this line:
ATI Fragment Shader: 0
Would be very nice if someone could help me how to install these 32-bit compatibility drivers or show me a link (i've been searching it f0r 1.5 hours and couldnt find anything. Maybe i'm searching with wrong keywords).
Thanks in advance! (Sorry for my bad English)
08-24-2007, 04:11 PM
Find
Lori Offline
Junior Member

Posts: 2
Threads: 1
Joined: Aug 2007
Reputation: 0
#2
Solved: 8 Years, 1 Month ago RE: Penumbra on 64-bit Ubuntu-Feisty - Nvidia

I'm not editing my post so it can be helpfull for others who are seeking help. I managed to find a command which finds and installs the libraries, which is called "getlibs". I managed to narrow the problem a bit. Here's my ldd penumbra.bin :
linux-gate.so.1 =>  (0xffffe000)
        libvorbisfile.so.3 => /usr/lib32/libvorbisfile.so.3 (0xf7f37000)
        libfltk.so.1.1 => /usr/lib32/libfltk.so.1.1 (0xf7e9a000)
        libSDL-1.2.so.0 => /usr/lib32/libSDL-1.2.so.0 (0xf7e02000)
        libSDL_ttf-2.0.so.0 => /usr/lib32/libSDL_ttf-2.0.so.0 (0xf7dfd000)
        libSDL_image-1.2.so.0 => /usr/lib32/libSDL_image-1.2.so.0 (0xf7de2000)
        libGL.so.1 => /usr/lib32/libGL.so.1 (0xf7d82000)
        libGLU.so.1 => /usr/lib32/libGLU.so.1 (0xf7d02000)
        libCg.so => not found
        libCgGL.so => not found
        libopenal.so.0 => /usr/lib32/libopenal.so.0 (0xf7cc6000)
        libalut.so.0 => /usr/lib32/libalut.so.0 (0xf7cbf000)
        libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf7bd5000)
        libm.so.6 => /lib32/libm.so.6 (0xf7bae000)
        libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf7ba1000)
        libc.so.6 => /lib32/libc.so.6 (0xf7a60000)
        libpthread.so.0 => /lib32/libpthread.so.0 (0xf7a49000)
        libvorbis.so.0 => /usr/lib32/libvorbis.so.0 (0xf7a21000)
        libXft.so.2 => /usr/lib32/libXft.so.2 (0xf7a0f000)
        libXinerama.so.1 => /usr/lib32/libXinerama.so.1 (0xf7a0c000)
        libXext.so.6 => /usr/lib32/libXext.so.6 (0xf79fd000)
        libX11.so.6 => /usr/lib32/libX11.so.6 (0xf790c000)
        libasound.so.2 => /usr/lib32/libasound.so.2 (0xf7847000)
        libartsc.so.0 => /usr/lib32/libartsc.so.0 (0xf7841000)
        libgmodule-2.0.so.0 => /usr/lib32/libgmodule-2.0.so.0 (0xf783e000)
        libdl.so.2 => /lib32/libdl.so.2 (0xf7839000)
        libgthread-2.0.so.0 => /usr/lib32/libgthread-2.0.so.0 (0xf7834000)
        libglib-2.0.so.0 => /usr/lib32/libglib-2.0.so.0 (0xf779f000)
        libesd.so.0 => /usr/lib32/libesd.so.0 (0xf7795000)
        libaudiofile.so.0 => /usr/lib32/libaudiofile.so.0 (0xf7773000)
        libaudio.so.2 => /usr/lib32/libaudio.so.2 (0xf775d000)
        libXt.so.6 => /usr/lib32/libXt.so.6 (0xf770c000)
        libdirectfb-0.9.so.25 => /usr/lib32/libdirectfb-0.9.so.25 (0xf76b4000)
        libfusion-0.9.so.25 => /usr/lib32/libfusion-0.9.so.25 (0xf76ae000)
        libdirect-0.9.so.25 => /usr/lib32/libdirect-0.9.so.25 (0xf769f000)
        libaa.so.1 => /usr/lib32/libaa.so.1 (0xf7685000)
        libfreetype.so.6 => /usr/lib32/libfreetype.so.6 (0xf761b000)
        libz.so.1 => /usr/lib32/libz.so.1 (0xf7606000)
        libpng12.so.0 => /usr/lib32/libpng12.so.0 (0xf75e3000)
        libXxf86vm.so.1 => /usr/lib32/libXxf86vm.so.1 (0xf75de000)
        libdrm.so.2 => /usr/lib32/libdrm.so.2 (0xf75d5000)
        /lib/ld-linux.so.2 (0xf7f50000)
        libogg.so.0 => /usr/lib32/libogg.so.0 (0xf75d0000)
        libfontconfig.so.1 => /usr/lib32/libfontconfig.so.1 (0xf75a4000)
        libXrender.so.1 => /usr/lib32/libXrender.so.1 (0xf759c000)
        libXau.so.6 => /usr/lib32/libXau.so.6 (0xf7599000)
        libXdmcp.so.6 => /usr/lib32/libXdmcp.so.6 (0xf7594000)
        librt.so.1 => /lib32/librt.so.1 (0xf758b000)
        libSM.so.6 => /usr/lib32/libSM.so.6 (0xf7581000)
        libICE.so.6 => /usr/lib32/libICE.so.6 (0xf7569000)
        libncurses.so.5 => /lib32/libncurses.so.5 (0xf7526000)
        libslang.so.2 => /lib32/libslang.so.2 (0xf7467000)
        libgpm.so.1 => /usr/lib32/libgpm.so.1 (0xf7461000)
        libexpat.so.1 => /usr/lib32/libexpat.so.1 (0xf7440000)
So only 2 libs are missing now. Still searching to find out how to install these 2 libraries..
Thanks in advance ! (i can give the link of how-to "getlibs" if it isn't against forum-policy)
08-24-2007, 04:37 PM
Find
Urkle Offline
FG - Associate

Posts: 1,172
Threads: 31
Joined: Jul 2006
Reputation: 21
#3
Solved: 8 Years, 1 Month ago RE: Penumbra on 64-bit Ubuntu-Feisty - Nvidia

The cg libs are in the penumbra libs directory. Which the penumbra startup script adds to the library path when you start the game. You need to check the ununtu package manager and just install the 32bit compatible nvidia libraries.

Developing away on one of
Multiple Macs running 10.6, 10.7, 10.8, and 10.9.
Linux, 8-core AMD, 8GB RAM, Fedora 18, nVidia 450 1GB
08-24-2007, 05:27 PM
Website Find




Users browsing this thread: 1 Guest(s)