Author Topic: Can't run Tremulous on Ubuntu 6.06  (Read 8304 times)

NiTRoX

  • Posts: 1453
  • Turrets: +41/-200
Can't run Tremulous on Ubuntu 6.06
« on: June 05, 2007, 08:56:36 pm »
I installed tremulous on ubuntu 6.06 succesfully but when I press icon to install the screen flickers and returns to the desktop.

Anyhelp please? :S

David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
Can't run Tremulous on Ubuntu 6.06
« Reply #1 on: June 05, 2007, 08:59:21 pm »
What's the error message?
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

Thorn

  • Guest
Can't run Tremulous on Ubuntu 6.06
« Reply #2 on: June 05, 2007, 09:46:42 pm »
cd tremulous
./tremulous.x86

NiTRoX

  • Posts: 1453
  • Turrets: +41/-200
Can't run Tremulous on Ubuntu 6.06
« Reply #3 on: June 06, 2007, 12:48:01 pm »
@David : I get no error messages but when I tried to install it as root it said something about libGL2.0

Edit: testing and experinmenting areound in the terminal I got this (I just saw some instructions of some other apps on how to run them so I just typed(in treminal)
Code: [Select]
sudo tremulous:

Code: [Select]
tremulous 1.1.0 linux-x86 Feb 28 2006
----- FS_Startup -----
Current search path:
/home/blivori/.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



@Thorn : Huh?Whats that? Im new to linux but i appreciate ur help.

Some extra notes: Tremulous worked perfectly on another distro called 'freespire 1' .

NiTRoX

  • Posts: 1453
  • Turrets: +41/-200
Can't run Tremulous on Ubuntu 6.06
« Reply #4 on: June 06, 2007, 01:00:24 pm »
Was messing again with terminal and managed to get tremulous to work :D ^.^(not bad for my second day using linus :) ) but dang its slow.. It lags and freezes and I can hardly press anything.


Command  written is:

Code: [Select]
blivori@ubuntu:~$ sudo tremulous +set r_allowSoftwareGL 1

Code: [Select]
tremulous 1.1.0 linux-x86 Feb 28 2006
----- FS_Startup -----
Current search path:
/home/blivori/.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
...using software Mesa (r_allowSoftwareGL==1).
Initializing OpenGL extensions
...GL_S3_s3tc not found
...ignoring GL_EXT_texture_env_add
...using GL_ARB_multitexture
...GL_EXT_compiled_vertex_array not found

GL_VENDOR: Mesa project: www.mesa3d.org
GL_RENDERER: Mesa GLX Indirect
GL_VERSION: 1.2 (1.5 Mesa 6.4.1)
GL_EXTENSIONS: GL_ARB_depth_texture GL_ARB_imaging GL_ARB_multitexture GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_shadow GL_ARB_shadow_ambient GL_ARB_texture_border_clamp GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_texture_rectangle GL_ARB_transpose_matrix GL_ARB_window_pos GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_func_separate GL_EXT_blend_logic_op GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_clip_volume_hint GL_EXT_copy_texture GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_multi_draw_arrays GL_EXT_packed_pixels GL_EXT_point_parameters GL_EXT_polygon_offset GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_shadow_funcs GL_EXT_stencil_two_side GL_EXT_stencil_wrap GL_EXT_subtexture GL_EXT_texture GL_EXT_texture3D GL_EXT_texture_edge_clamp GL_EXT_texture_env_add GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_lod_bias GL_EXT_texture_object GL_EXT_texture_rectangle GL_EXT_vertex_array GL_APPLE_packed_pixels GL_ATI_texture_env_combine3 GL_ATI_texture_mirror_once GL_ATIX_texture_env_combine3 GL_HP_occlusion_test GL_IBM_texture_mirrored_repeat GL_INGR_blend_func_separate GL_MESA_pack_invert GL_MESA_ycbcr_texture GL_NV_blend_square GL_NV_point_sprite GL_NV_texgen_reflection GL_NV_texture_rectangle GL_SGIS_generate_mipmap GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_SGIX_depth_texture GL_SGIX_shadow GL_SGIX_shadow_ambient GL_SUN_multi_draw_arrays
GL_MAX_TEXTURE_SIZE: 2048
GL_MAX_ACTIVE_TEXTURES_ARB: 8

PIXELFORMAT: color(24-bits) Z(16-bit) stencil(8-bits)
MODE: 3, 640 x 480 fullscreen hz:N/A
GAMMA: hardware w/ 0 overbright bits
CPU:
rendering primitives: multiple glArrayElement
texturemode: GL_LINEAR_MIPMAP_LINEAR
picmip: 0
texture bits: 0
multitexture: enabled
compiled vertex arrays: disabled
texenv add: disabled
compressed textures: disabled
Initializing Shaders
...loading 'scripts/uncreation.shader'
...loading 'scripts/q3map2_tremor.shader'
...loading 'scripts/tremor.shader'
...loading 'scripts/transit.shader'
...loading 'scripts/niveus.shader'
...loading 'scripts/nexus6.shader'
...loading 'scripts/karith.shader'
...loading 'scripts/atcs.shader'
...loading 'scripts/arachnid2.shader'
...loading 'scripts/jetpack.shader'
...loading 'scripts/core.shader'
...loading 'scripts/flame.shader'
...loading 'scripts/misc.shader'
...loading 'scripts/common-trem.shader'
...loading 'scripts/titan.shader'
...loading 'scripts/water.shader'
...loading 'scripts/displays.shader'
...loading 'scripts/plant_life.shader'
...loading 'scripts/stasis.shader'
...loading 'scripts/booster.shader'
...loading 'scripts/eggpod.shader'
...loading 'scripts/medistat.shader'
...loading 'scripts/mgturret.shader'
...loading 'scripts/reactor.shader'
...loading 'scripts/telenode.shader'
...loading 'scripts/trapper.shader'
...loading 'scripts/overmind.shader'
...loading 'scripts/tesla.shader'
...loading 'scripts/dcc.shader'
...loading 'scripts/hive.shader'
...loading 'scripts/level2.shader'
...loading 'scripts/human.shader'
...loading 'scripts/null.shader'
...loading 'scripts/weapons.shader'
...loading 'scripts/conkit.shader'
...loading 'scripts/advckit.shader'
...loading 'scripts/psaw.shader'
...loading 'scripts/mdriver.shader'
...loading 'scripts/flamer.shader'
...loading 'scripts/crosshairs.shader'
...loading 'scripts/grenade.shader'
...loading 'scripts/splash.shader'
...loading 'scripts/marks.shader'
...loading 'scripts/sprites.shader'
...loading 'scripts/muzzleflashes.shader'
----- finished R_Init -----
------ Initializing Sound ------
Initializing SDL audio driver...
SDL audio driver is "alsa".
SDL_AudioSpec:
  Format:   AUDIO_S16LSB
  Freq:     22050
  Samples:  512
  Channels: 2
Starting SDL audio callback...
SDL audio initialized.
----- Sound Info -----
    1 stereo
16384 samples
   16 samplebits
    1 submission_chunk
22050 speed
0x8a6a790 dma buffer
No background file.
----------------------
Sound intialization successful.
--------------------------------
Sound memory manager started
Loading vm file vm/ui.qvm...
...which has vmMagic VM_MAGIC_VER2
Loading 1075 jump table targets
VM file ui compiled to 786313 bytes of code
ui loaded in 4596672 bytes on the hunk
UI menu load time = 5591 milli seconds
UI menu load time = 315 milli seconds
UI menu load time = 289 milli seconds
--- Common Initialization Complete ---
Opening IP socket: localhost:30720
Hostname: ubuntu
IP: 127.0.1.1
Started tty console (use +set ttycon 0 to disable)
----- CL_Shutdown -----
Closing SDL audio device...
SDL audio device shut down.
RE_Shutdown( 1 )
-----------------------
----- CL_Shutdown -----
-----------------------
Shutdown tty console


Note: I closed the game not it closed by itself. I still have a problem, the game is too slow to play.

Pc Specs:

PII
350-400Mhz CPU
192MB RAM
64mb nVidia Geforce 4 MX440

Game runs perfectly/normal/good for me on: Win98se,Win2000 professional, Freespire.

NiTRoX

  • Posts: 1453
  • Turrets: +41/-200
Can't run Tremulous on Ubuntu 6.06
« Reply #5 on: June 06, 2007, 01:30:12 pm »
Sorry for triple posting but but putting all in one post would be untudy/careless IMO.

I typed
Code: [Select]
glxinfo | head

in terminal and got this:

Code: [Select]
name of display: :0.0
display: :0  screen: 0
direct rendering: No
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
    GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
    GLX_EXT_import_context, GLX_OML_swap_method, GLX_SGI_make_current_read,
    GLX_SGIS_multisample, GLX_SGIX_hyperpipe, GLX_SGIX_swap_barrier,
    GLX_SGIX_fbconfig


From here I do no know how to continue. Any help? :)

Thank You in advance :)

Shadowgandor

  • Posts: 826
  • Turrets: +61/-66
Can't run Tremulous on Ubuntu 6.06
« Reply #6 on: June 06, 2007, 01:46:23 pm »
Wouldn't troubleshooting be better for this kind of question? just a tip :)

Madtree

  • Posts: 4
  • Turrets: +0/-0
Can't run Tremulous on Ubuntu 6.06
« Reply #7 on: June 06, 2007, 02:24:53 pm »
Install nvidia drivers  :wink: .

You are currently using the Mesa drivers, and theses just provide an software 3d acceleration, not a hadware-based one. So you're not using the capabilities of your graphic card.

NiTRoX

  • Posts: 1453
  • Turrets: +41/-200
Can't run Tremulous on Ubuntu 6.06
« Reply #8 on: June 06, 2007, 03:03:53 pm »
Madtree thanks. I have the drivers but i don't know how to install because it doesnt let me install in X server.

How do i Do this?

benmachine

  • Posts: 915
  • Turrets: +99/-76
    • ben's machinery
Can't run Tremulous on Ubuntu 6.06
« Reply #9 on: June 06, 2007, 06:21:03 pm »
Just a friendly note:
Code: [Select]
sudo tremulous +set r_allowSoftwareGL 1
It's never a good idea to use sudo with a process like this, as security holes, bugs etc. have the potential to compromise your entire system.
In fact, it's probably use sudo ever at all unless absolutely necessary.

FAO next_ghost et al: this is how you do it without making people feel stupid or swearing at them. Good, isn't it?
benmachine

JumpHaround

  • Posts: 27
  • Turrets: +0/-0
Can't run Tremulous on Ubuntu 6.06
« Reply #10 on: June 06, 2007, 06:50:58 pm »
Quote from: "NiTRoX"
Madtree thanks. I have the drivers but i don't know how to install because it doesnt let me install in X server.

How do i Do this?
http://ubuntuforums.org/showthread.php?t=301499

munroe

  • Posts: 10
  • Turrets: +1/-2
Can't run Tremulous on Ubuntu 6.06
« Reply #11 on: June 06, 2007, 08:08:35 pm »
You could also do the upgrade to ubuntu 7.04, because there's a way to do it in Feisty all in a GUI. Not my method of choice, but it worked for a friend.
}MG{Munroe  - "There is more stupidity than hydrogen in the universe, and it has a longer shelf life." Frank Zappa

NiTRoX

  • Posts: 1453
  • Turrets: +41/-200
Can't run Tremulous on Ubuntu 6.06
« Reply #12 on: June 06, 2007, 08:18:19 pm »
I ordered a free cd of Ubuntu 7.04 for free fro mShipIt but currently im using 6.06.

So I downloaded the driver and ran the x server and it said I need some gcc or something so i Updated ubuntu (had 240 updates) . Now it says it cant find something called MAKE or its not in the path or something like that :/

please help i want to pla trem so badly :'(

munroe

  • Posts: 10
  • Turrets: +1/-2
Can't run Tremulous on Ubuntu 6.06
« Reply #13 on: June 06, 2007, 08:31:16 pm »
Okay, you'll need to be more descriptive with your errors. I have no idea why would need to install GCC and Make, but to solve those problems open a terminal and type:

Code: [Select]
sudo apt-get install build-essential

It will ask you for your password, and put that in. That should clear up with MAKE error.
}MG{Munroe  - "There is more stupidity than hydrogen in the universe, and it has a longer shelf life." Frank Zappa

David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
Can't run Tremulous on Ubuntu 6.06
« Reply #14 on: June 06, 2007, 08:54:04 pm »
The nvidia installer on there website complies the kernel module if your kernel isn't on there list.
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

[Kcorp]Noobius

  • Posts: 197
  • Turrets: +3/-4
Can't run Tremulous on Ubuntu 6.06
« Reply #15 on: June 07, 2007, 02:26:09 pm »
stop using crappy distros (the mixed repositories kind) and switch to debian etch.

iflameyounotkthxbai
It's actualy Noobius but i can't be bothered to change it ^^

Quick, name two famous female inventors. Too tough? Ok, just name one.

NiTRoX

  • Posts: 1453
  • Turrets: +41/-200
Can't run Tremulous on Ubuntu 6.06
« Reply #16 on: June 07, 2007, 05:32:07 pm »
K I can play trem now.

@noobius
And I tought ubuntu was made from debian?

David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
Can't run Tremulous on Ubuntu 6.06
« Reply #17 on: June 07, 2007, 06:26:27 pm »
It is.
Its Debian testing with a ton of re-branding and added bugs.
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

tomek-k

  • Guest
Can't run Tremulous on Ubuntu 6.06
« Reply #18 on: June 07, 2007, 06:53:10 pm »
one more think that I'd like to add.
benmachine wrote not to use sudo to run tremulous.

it is very important not tu use it because it runs programs with administrative priviliges.
That means that you've been running trem using the root's account (thats the same as you would log in as root, and not as a normal user - blivori, and then run tremulous). That's totally unnecesary, and can cause problems. besides in some distros the root's account is configured in a way that prevents running any graphical programs (for safety reasons).

root's account should be used only when one needs to do some administrative tasks (eg. when you install programs you need administrative priviliges).

David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
Can't run Tremulous on Ubuntu 6.06
« Reply #19 on: June 07, 2007, 07:31:10 pm »
Also, if you first run as root, all the ~/.tremulous stuff gets made by root, and therefore owned by root.
Then we have noobs asking how to reclaim there files.
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

NiTRoX

  • Posts: 1453
  • Turrets: +41/-200
Can't run Tremulous on Ubuntu 6.06
« Reply #20 on: June 08, 2007, 04:36:13 pm »
Well Tremulous under gnome runs crappy (in terms of fps).

I installed xfce to try and get better fps. It got better but not as much as i expected.

for example: If on Windows (tested on 2000 professional) I get 35+ constantly on ATCS I get 20 - on Ubuntu (with xfce).

Anyway to fix this?

(p.s. I don't run trem on sudo. Also, I can't edit my autogen.cfg config file fro maccount i sue (only works with root0.

David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
Can't run Tremulous on Ubuntu 6.06
« Reply #21 on: June 08, 2007, 09:02:52 pm »
Install your graphics drivers, and use them.  Problem solved.
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

tomek-k

  • Guest
Can't run Tremulous on Ubuntu 6.06
« Reply #22 on: June 10, 2007, 09:43:50 pm »
Quote from: "NiTRoX"
Also, I can't edit my autogen.cfg config file fro maccount i sue (only works with root0.


yes, you can. you just are trying to edit the wrong autogen.cfg - after you've run trem from your account (with out sudo) it has created the .tremulous directory in /home/blivori/
If you want to edit the trem's configuration for your account then edit /home/blivori/.tremulous/autogen.cfg

In UNIX systems every user has it's own configuration for each program - the administrator's configuration files are stored in /root/ and user's in /home/user/

TinMan

  • Posts: 1019
  • Turrets: +49/-70
    • http://neonpulse.net
Can't run Tremulous on Ubuntu 6.06
« Reply #23 on: June 10, 2007, 09:55:12 pm »
sudo chown -R $user:$user ~/.tremulous/
Code: [Select]
Linux: ~/.tremulous/base/
Mac: ~/Library/Application\ Support/Tremulous/base/
Windows: C:\Documents and Settings\username\Local Settings\Application Data\Tremulous\base\
NeonPulse
http://neonpulse.net/media/games/tremulous/base/autoexec.cfg