News:

Come Chat with us live! Learn how HERE!

Main Menu

How to

Started by Adamulos, September 26, 2006, 04:43:15 PM

Adamulos

How to run Temulous installer onl inux? I'm a noob on linux and i don't know how to do it.
I've downloaded the installer. My linux is kubuntu (but the commneds from mandrake or suse wil work, i think).

rasz_pl

get teh mouse in your hand and click teh file, if asked choose RUN

Adamulos

... htis is linux, not windows.. there is no "run button" if you weant to run the file you need to enter commend in console...

rasz_pl

htis is teh KDE, you press mouse knobs and droll over Krafic Knterface

stahlsau

try either chmod +x name_of_file[enter]
./name_of_file[enter]

or

sh name_of_file[enter]

benplaut

ok... all fanboy irony aside...

terminal instructions (as i don't know kde):
chmod +x tremu[press tab for autocomplete]
./tremu[press tab for autocomplete


or just replace the tremu[tab] with the name of the file, which i don't know  8)

rasz_pl

or just PRESS TEH FSCKing LMB over the file, KDE will ask what to do with it ?display/run ....
in case KraptastiK boys foked up teh users KliK RMB first and set permissions to execute (teh little birdie in the boxes)

tomek-k

yeah rasz, but this will install the game in the user's home directory (because of lack of the root priviliges).
If you prefer the easy way (clicking the mouse btn)  you will have to run the File Manager in the Admin mode to install it where it should be installed.
:P

But maby you prefer to install the game in the home dir - it's your choice of course :wink:

Adamulos

kk, Tremulous installed but now i can't run it :P sorry, buti'm a total newbie on linux and i need help :P

tomek-k

Run Trem in the console and check the output (what does it say?)

Adamulos

:( i ran it, but the black screen emerges and after second it dissapears...

rasz_pl

Quote from: Adamulos:( i ran it, but the black screen emerges and after second it dissapears...

well, then Run Trem in the console and check the output (what does it say?)

dodo1122

erm, console output plz :)
nime & manga fan <3

Currently learning the fine art of programming in c++
Currently on holidays (will be back @ 24/08/07 )

Adamulos

----- FS_Startup -----
Current search path:
/home/dom/.tremulous/base
/usr/local/games/tremulous/base/vms-1.1.0.pk3 (4 files)
/usr/local/games/tremulous/base/map-uncreation-1.1.0.pk3 (110 files)
/usr/local/games/tremulous/base/map-tremor-1.1.0.pk3 (45 files)
/usr/local/games/tremulous/base/map-transit-1.1.0.pk3 (135 files)
/usr/local/games/tremulous/base/map-niveus-1.1.0.pk3 (134 files)
/usr/local/games/tremulous/base/map-nexus6-1.1.0.pk3 (151 files)
/usr/local/games/tremulous/base/map-karith-1.1.0.pk3 (118 files)
/usr/local/games/tremulous/base/map-atcs-1.1.0.pk3 (87 files)
/usr/local/games/tremulous/base/map-arachnid2-1.1.0.pk3 (67 files)
/usr/local/games/tremulous/base/data-1.1.0.pk3 (1229 files)
/usr/local/games/tremulous/base

----------------------
2080 files in pk3 files
execing default.cfg
couldn't exec autogen.cfg
couldn't exec autoexec.cfg
Hunk_Clear: reset the hunk ok
----- Client Initialization -----
----- Initializing Renderer ----
-------------------------------
----- Client Initialization Complete -----
----- R_Init -----

------- Input Initialization -------
Joystick is not active.
------------------------------------
...loading libGL.so.1:
Calling SDL_Init(SDL_INIT_VIDEO)...
SDL_Init(SDL_INIT_VIDEO) passed.
Initializing OpenGL display
...setting mode 3: 640 480
SDL_SetVideoMode failed: Couldn't find matching GLX visual
SDL_SetVideoMode failed: Couldn't find matching GLX visual
Using 8/8/8 Color bits, 16 depth, 8 stencil display.
GL_RENDERER: Mesa GLX Indirect


***********************************************************
You are using software Mesa (no hardware acceleration)!
Driver DLL used: libGL.so.1
If this is intentional, add
      "+set r_allowSoftwareGL 1"
to the command line when starting the game.
***********************************************************
...WARNING: could not set the given mode (3)
----- CL_Shutdown -----
RE_Shutdown( 1 )
-----------------------
----- CL_Shutdown -----
-----------------------
Sys_Error: GLimp_Init() - could not load OpenGL subsystem


lo. It says that i should install open gl but i cdon't know how :P nubus totalus...

benplaut

what graphics card do you have, and what's your distro?  You don't have 3D support  8)

rasz_pl


tomek-k

This is a well known problem - I had it with my old (matrox) gfx card (yes, it can be resolved!)

It can be found on the forum by searching for this

Sys_Error: GLimp_Init() - could not load OpenGL subsystem

The topic is named the same way and it is here:
http://tremulous.net/phpBB2/viewtopic.php?t=831

There are several solutions for the problem but in my case typing this:
export LD_PRELOAD=/usr/lib/libGL.so.1
in console before running the game (yes... you have to do this everytime after rebooting the system :( ) solved the problem.
But to make it easier you can make yourself a script:
export LD_PRELOAD=/usr/lib/libGL.so.1
tremulous

and run the game by running the script (I put the script on the desktop)

But first make sure you have the latest drivers for your card.

And, of course, I don't know if it will resolve the problem - I only said that it helped in my case. But if you are sure that you have a gfx card with 3D acceleration and you have OpenGL drivers for your card installed then it should help.

Adamulos

I don't know how to install the drivers..this is the problem...

tomek-k

:O

what card do you have (nVidia, ATI, Matrox, some other)?

Undeference

Quote from: tomek-kin console before running the game (yes... you have to do this everytime after rebooting the system :(
At the very least
echo 'export LD_PRELOAD=/usr/lib/libGL.so.1' >> ~/.bashrc
Need help? Ask intelligently. Please share solutions you find.

Quote from: tuple on February 15, 2008, 11:54:10 PMThats what we need, helpful players, not more powerful admins.

Adamulos

I have nvidia gefroce 2 mx... how to install the drivers?

tomek-k

Then you are lucku - nVidia based cards are the best supported under linux.
get the drivers from www.nvidia.com (it does not matter which company is your card's vendor - if the chopset or GPU comes from nVidia they support it.

then install the drivers following the given instructions.
You will need also to install kernel headers for your kernel (they are provided by your distribution) before installing the drivers.

There is also an easier way - if your distro provides the drivers in some package then just install the package and everything should work fine.

Adamulos

When i install it, it says:
ERROR: Unable to find the system utility `ld`; please make sure you have the
        package 'binutils' installed.  If you do have binutils installed,
        then please check that `ld` is in your PATH.


What's going on??
Ireally want to plat Tremulous, but there are MANY problems....

tomek-k

When nVidia graphics drivers are beeing installed they need to compile some code.
The code "glues" the drivers with the kernel (that's why you need the kernel-headers package).

When a program is beeing compiled it has to be linked with some libraries. It is done with the 'ld' program.

Just install the "binutils" package before installing the drivers.

If the installation of the drivers is at the linking phase then I think that the Tremulous is not so far now :wink:

Adamulos

What's binutils if i can ask? I'm noob on linux...

Diggs

This is a Tremulous forum.  There are plenty of places on the Internet that teach you how to use Linux.  Try to stick to issues that concern the game, not the OS and I am sure you will get plenty of help.
続けてゲーム

Undeference

Quote from: AdamulosWhat's binutils if i can ask? I'm noob on linux...
binutils is basically all of the "base" programs you will use on any Unix system. Without binutils, your system either has some non-GNU versions, or is practically worthless.
Need help? Ask intelligently. Please share solutions you find.

Quote from: tuple on February 15, 2008, 11:54:10 PMThats what we need, helpful players, not more powerful admins.

tomek-k

hmm... are you sure that you use linux?? :P

You can install binutils using your distribution's package manager.
Just run the manager, find the binutils package there and install it.

If the nVidia installer says that it needs the package then just install it.

Stof

Quote from: Undeference
Quote from: AdamulosWhat's binutils if i can ask? I'm noob on linux...
binutils is basically all of the "base" programs you will use on any Unix system. Without binutils, your system either has some non-GNU versions, or is practically worthless.
Well, you should check what is in binutils before saying such things first :)

Quote/usr/bin/addr2line
/usr/bin/ar
/usr/bin/as
/usr/bin/c++filt
/usr/bin/gprof
/usr/bin/ld
/usr/bin/nm
/usr/bin/objcopy
/usr/bin/objdump
/usr/bin/ranlib
/usr/bin/readelf
/usr/bin/size
/usr/bin/strings
/usr/bin/strip
Unless you want to compile things, it's hardly an important package :D
urphy's rules of combat
8 ) Teamwork is essential; it gives the enemy someone else to shoot at.
18 ) Make it too tough for the enemy to get in and you can't get out.

dodo1122

have same problem on gentoo (gentoo prefers its own way, by doing emerge nvidia-drivers :wink: ) i have drivers installed, configured, glxgears work, nvidia screen appears on startup but... i get this message :) when im trying to install drivers from nvidia web site, it just crashes, no output, no nothing. Guess every distro have its own way :P



dodo
nime & manga fan <3

Currently learning the fine art of programming in c++
Currently on holidays (will be back @ 24/08/07 )