Author Topic: Need help with getting Trem to run on Ubuntu  (Read 8270 times)

elorm93

  • Posts: 7
  • Turrets: +0/-0
Need help with getting Trem to run on Ubuntu
« on: April 30, 2008, 10:19:50 pm »
I've been able to get the game to run but I'm having some framerate issues as well as flickering on the screen. Does anyone know how to fix these? I'm using an ATI Radeon 9600 gfx card and I've installed all the updates that Ubuntu has prompted me to. Plus, I don't know where to find the tremulous folder to update my client, anyone know where to find it?

kevlarman

  • Posts: 2737
  • Turrets: +291/-295
Re: Need help with getting Trem to run on Ubuntu
« Reply #1 on: April 30, 2008, 11:13:36 pm »
which graphics driver are you using?
Quote from: Asvarox link=topic=8622.msg169333#msg169333
Ok let's plan it out. Asva, you are nub, go sit on rets, I will build, you two go feed like hell, you go pwn their asses, and everyone else camp in the hallway, roger?
the dretch bites.
-----
|..d| #
|.@.-##
-----

benmachine

  • Posts: 915
  • Turrets: +99/-76
    • ben's machinery
Re: Need help with getting Trem to run on Ubuntu
« Reply #2 on: May 01, 2008, 05:15:13 pm »
Have you disabled compiz?
benmachine

elorm93

  • Posts: 7
  • Turrets: +0/-0
Re: Need help with getting Trem to run on Ubuntu
« Reply #3 on: May 01, 2008, 11:18:08 pm »
I'm using the fglrx driver. Btw, what's the compiz thing going to do?

ODDity

  • Posts: 161
  • Turrets: +21/-7
Re: Need help with getting Trem to run on Ubuntu
« Reply #4 on: May 02, 2008, 02:12:41 am »
There are known issues with having desktop effects / compiz enabled so disable them and see if that helps.

jackForward

  • Posts: 100
  • Turrets: +12/-4
Re: Need help with getting Trem to run on Ubuntu
« Reply #5 on: May 02, 2008, 01:09:15 pm »
http://en.wikipedia.org/wiki/Compiz

Close all other applications and desktop effects and see if this helps.
My client is located in /usr/games. Just search for the file "tremulous.x86" and replace it with the improved client. But rememer that you need root rights to do this.

elorm93

  • Posts: 7
  • Turrets: +0/-0
Re: Need help with getting Trem to run on Ubuntu
« Reply #6 on: May 02, 2008, 09:42:46 pm »
Thanks for the help guys.  :) I'll try fixing the issues now.

Foe of Eternity

  • Posts: 169
  • Turrets: +6/-13
Re: Need help with getting Trem to run on Ubuntu
« Reply #7 on: May 29, 2008, 12:13:51 am »
speaking of root rights, idk how to get them, i've been changing the permissions on both the root and my user with no avail =/ is there a special way of getting it?

No. Let n00bs pick overly destructive Human weapons and then use them in their own base and around their own teammates. Maybe then they'll learn that doing that is a stupid idea. Meanwhile, I will be slashing at their damaged Armoury, after I vault their smoking turrets and the scattered bodies of their TK' d teammates. N00bs: they're what's for breakfast.

ODDity

  • Posts: 161
  • Turrets: +21/-7
Re: Need help with getting Trem to run on Ubuntu
« Reply #8 on: May 29, 2008, 12:27:15 am »
Either you are on a Windoze machine or you have a fundamental misunderstanding of how Linux permissions work.

If you are able to adjust permissions on a file, you are the owner of it so whatever you're trying to do wont really matter either way.

Is there some specific goal or problem you need help with?

Foe of Eternity

  • Posts: 169
  • Turrets: +6/-13
Re: Need help with getting Trem to run on Ubuntu
« Reply #9 on: May 29, 2008, 12:48:14 am »
Either you are on a Windoze machine or you have a fundamental misunderstanding of how Linux permissions work.

If you are able to adjust permissions on a file, you are the owner of it so whatever you're trying to do wont really matter either way.

Is there some specific goal or problem you need help with?

both :-[ i just got ubuntu loaded, and unfortunately, it formatted my C partition even though i told it not to; either that or it made it unaccessible

i'm trying to get access to write in the games folder so i can replace the old trem

also, whenever i try to edit the owner and permissions, i just get "operation not permitted"
« Last Edit: May 29, 2008, 01:13:35 am by Foe of Eternity »

No. Let n00bs pick overly destructive Human weapons and then use them in their own base and around their own teammates. Maybe then they'll learn that doing that is a stupid idea. Meanwhile, I will be slashing at their damaged Armoury, after I vault their smoking turrets and the scattered bodies of their TK' d teammates. N00bs: they're what's for breakfast.

Foe of Eternity

  • Posts: 169
  • Turrets: +6/-13
Re: Need help with getting Trem to run on Ubuntu
« Reply #10 on: May 29, 2008, 03:40:30 am »
nvr mind, i got it:

Code: [Select]
su
[type root password]
sudo chown [username]:[usergroup] /usr/games/
sudo chown [username]:[usergroup] /usr/games/tremulous
« Last Edit: May 29, 2008, 04:15:26 am by Foe of Eternity »

No. Let n00bs pick overly destructive Human weapons and then use them in their own base and around their own teammates. Maybe then they'll learn that doing that is a stupid idea. Meanwhile, I will be slashing at their damaged Armoury, after I vault their smoking turrets and the scattered bodies of their TK' d teammates. N00bs: they're what's for breakfast.

Foe of Eternity

  • Posts: 169
  • Turrets: +6/-13
Re: Need help with getting Trem to run on Ubuntu
« Reply #11 on: May 29, 2008, 03:50:54 am »
shoot...now it won't run :'( nothing happens

No. Let n00bs pick overly destructive Human weapons and then use them in their own base and around their own teammates. Maybe then they'll learn that doing that is a stupid idea. Meanwhile, I will be slashing at their damaged Armoury, after I vault their smoking turrets and the scattered bodies of their TK' d teammates. N00bs: they're what's for breakfast.

Foe of Eternity

  • Posts: 169
  • Turrets: +6/-13
Re: Need help with getting Trem to run on Ubuntu
« Reply #12 on: May 29, 2008, 04:27:08 am »
oh nvr mind! i got it!
you also must rewrite the file in appdata
and get permission the same way i said before but using /usr/local/games/tremulous/

No. Let n00bs pick overly destructive Human weapons and then use them in their own base and around their own teammates. Maybe then they'll learn that doing that is a stupid idea. Meanwhile, I will be slashing at their damaged Armoury, after I vault their smoking turrets and the scattered bodies of their TK' d teammates. N00bs: they're what's for breakfast.

ODDity

  • Posts: 161
  • Turrets: +21/-7
Re: Need help with getting Trem to run on Ubuntu
« Reply #13 on: May 29, 2008, 06:19:23 am »
'tis a learning curve :)

Personally what i did, rather than getting trem through apt is to download the installer and put the game files in my home directory. This negates the need to change permissions globally, although on a multi-user system this is clearly not ideal.

You might want to use chgrp/chown/chmod with the -R modifier to recursively set the permissions to everything below your specified directory.

Little bit of reading on chown, chgrp and chmod will help you lots. (use the "man" command.. like "man chmod" in terminal )

Glad you sorted it though.

All the best mate.

David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
Re: Need help with getting Trem to run on Ubuntu
« Reply #14 on: May 29, 2008, 11:36:26 am »
If installed through apt-get you shouldn't need to change any permissions or touch root at all.
Just have to add your user to the 'games' group, which owns all of the files it default installs.
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.

Ingar

  • Tremulous Developers
  • *
  • Posts: 554
  • Turrets: +302/-7
    • Ingar's projects on the Web
Re: Need help with getting Trem to run on Ubuntu
« Reply #15 on: May 29, 2008, 05:34:24 pm »
Just have to add your user to the 'games' group, which owns all of the files it default installs.

The 'id' command will tell you what groups your account belongs to.

Code: [Select]
ingar@server:~$ id
uid=2005(ingar) gid=2005(ingar) groups=9(floppy),16(audio),17(video),20(cdrom),21(games),2005(ingar),200(users)

in the above example, I belong to the 'games' group. (here the games group has group id 21)

Foe of Eternity

  • Posts: 169
  • Turrets: +6/-13
Re: Need help with getting Trem to run on Ubuntu
« Reply #16 on: June 01, 2008, 12:08:29 am »
um
first off
'tis a learning curve :)

Personally what i did, rather than getting trem through apt is to download the installer and put the game files in my home directory. This negates the need to change permissions globally, although on a multi-user system this is clearly not ideal.

You might want to use chgrp/chown/chmod with the -R modifier to recursively set the permissions to everything below your specified directory.

Little bit of reading on chown, chgrp and chmod will help you lots. (use the "man" command.. like "man chmod" in terminal )

Glad you sorted it though.

All the best mate.
ty

second off, it's man -k  :P
and third,
If installed through apt-get you shouldn't need to change any permissions or touch root at all.
Just have to add your user to the 'games' group, which owns all of the files it default installs.


which install package is it?

sudo apt-get install <tremulous.x86?>
« Last Edit: June 01, 2008, 12:10:03 am by Foe of Eternity »

No. Let n00bs pick overly destructive Human weapons and then use them in their own base and around their own teammates. Maybe then they'll learn that doing that is a stupid idea. Meanwhile, I will be slashing at their damaged Armoury, after I vault their smoking turrets and the scattered bodies of their TK' d teammates. N00bs: they're what's for breakfast.

David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
Re: Need help with getting Trem to run on Ubuntu
« Reply #17 on: June 01, 2008, 12:57:36 am »
man -k is for search.  99.9% of the time the obvious guess is right, and in the other 0.1% man's search probably isn't going to help anyway.
which install package is it?
sudo apt-get install <tremulous.x86?>
No idea, but it wont be that.  But don't do that, the package is way old and shitty.
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.

tuple

  • Posts: 833
  • Turrets: +97/-80
Re: Need help with getting Trem to run on Ubuntu
« Reply #18 on: June 02, 2008, 12:15:35 pm »
elorm93, disable compiz is needed, but is often not enough.  I need to disable the xgl extensions on the X server for it to work for me.

Sorry, that may not tell you much :P

Try this:
Code: [Select]
touch $HOME/.config/xserver-xgl/disable
This creates the disable file in your home directory.  When you logon next, the X server (the graphics server) will look for it and, if it finds it, disable the xgl extensions.  This will disable xgl and compiz in that compiz cannot run without XGL.

To get it XGL and compiz running again:
Code: [Select]
touch $HOME/.config/xserver-xgl/disable
It may ask you if you are sure, say yes :)

You'll need to log out, then back in when you change it.

Or you can do it the cheating way, and
CTRL+ALT+BACKSPACE

Welcome back experimenters :D

kevlarman

  • Posts: 2737
  • Turrets: +291/-295
Re: Need help with getting Trem to run on Ubuntu
« Reply #19 on: June 02, 2008, 04:35:14 pm »
why would anyone even use xgl these days? fglrx now supports aiglx (and the other drivers already did)
Quote from: Asvarox link=topic=8622.msg169333#msg169333
Ok let's plan it out. Asva, you are nub, go sit on rets, I will build, you two go feed like hell, you go pwn their asses, and everyone else camp in the hallway, roger?
the dretch bites.
-----
|..d| #
|.@.-##
-----

tuple

  • Posts: 833
  • Turrets: +97/-80
Re: Need help with getting Trem to run on Ubuntu
« Reply #20 on: June 03, 2008, 10:13:07 pm »
Welcome to ATI.

That a dev/manufacturer/anecdotal evidence/ATI documentation itself says it will work certainly doesn't mean it will with ATI crapware.  XGL works with older versions of the manufacturer's driver, and the open source driver doesn't work with my card for one (and never has).