Author Topic: Ubuntu Linux Install Help  (Read 6806 times)

asv

  • PGP
  • Posts: 3
Ubuntu Linux Install Help
« on: August 09, 2006, 04:14:58 PM »
I'm trying to run paintball on Ubuntu Linux. I get the following error:


asv@probe:~/dloads/paintball2$ ls
\total 1.2M
drwxr-xr-x  3 asv asv   72 2005-04-13 00:29 ace
drwxr-xr-x  2 asv asv   80 2005-04-13 00:29 baseq2
drwxr-xr-x  2 asv asv  416 2006-02-28 03:49 docs
drwxr-xr-x  2 asv asv   80 2005-04-13 00:29 locs
-rwxr-xr-x  1 asv asv 611K 2006-02-28 18:22 paintball2
drwx------ 14 asv asv  368 2006-02-28 18:26 pball
-rw-r--r--  1 asv asv  20K 2006-02-28 02:39 README_Paintball2_alpha016.txt
-rwxr-xr-x  1 asv asv 499K 2006-02-28 18:23 ref_glx.so
asv@probe:~/dloads/paintball2$ ./paintball2
Paintball 2 -- Version 3.21+r0.16
execing configs/default.cfg
Console initialized.

------- sound initialization -------
Initializing Linux sound.
/dev/dsp: Input/output error
SNDDMA_Init: Could not mmap /dev/dsp.
------- Loading ref_glx.so -------
LoadLibrary("ref_glx.so") failed: libXxf86dga.so.1: cannot open shared object file: No such file or directory
recursive shutdown
Error: Couldn't load gl refresh!
asv@probe:~/dloads/paintball2$ sudo ./paintball2
Password:
Paintball 2 -- Version 3.21+r0.16
execing configs/default.cfg
Console initialized.

------- sound initialization -------
Initializing Linux sound.
/dev/dsp: Input/output error
SNDDMA_Init: Could not mmap /dev/dsp.
------- Loading ref_glx.so -------
LoadLibrary("ref_glx.so") failed: libXxf86dga.so.1: cannot open shared object file: No such file or directory
recursive shutdown
Error: Couldn't load gl refresh!
asv@probe:~/dloads/paintball2$


Any ideas? This is an AMD64 system running an Nvidia card (7800 GT), 

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Ubuntu Linux Install Help
« Reply #1 on: August 09, 2006, 04:34:07 PM »
Try using the linux installer test here: http://dpball.com/forums/index.php?topic=2734.0

asv

  • PGP
  • Posts: 3
Re: Ubuntu Linux Install Help
« Reply #2 on: August 09, 2006, 07:57:37 PM »
So here is what happens with the installer package:


asv@probe:~/.paintball2$ pwd
/home/asv/.paintball2
asv@probe:~/.paintball2$ ls
total 0
lrwxrwxrwx 1 asv asv 19 2006-08-09 21:53 libGL.so -> /usr/lib/libGL.so.1
drwxr-xr-x 2 asv asv 72 2006-08-09 21:54 pball
asv@probe:~/.paintball2$ paintball2

Paintball 2 -- Version (null)
Using /home/asv/.paintball2/pball/ for writing
execing configs/default.cfg
basedir is write protected.
Console initialized.

------- sound initialization -------
LoadLibrary("/usr/local/games/paintball2/snd_oss.so")

Initializing OSS Sound System
Buffer size: 65536
Stereo: 1
Samples: 32768
Samplepos: 0
Samplebits: 16
Submission_chunk: 1
Speed: 48000
Sound sampling rate: 48000
------------------------------------
------- Loading ref_pbgl.so -------
LoadLibrary("/usr/local/games/paintball2/ref_pbgl.so")
ref_gl version: PB2GL 0.16
/home/asv/.paintball2/libGL.so: cannot open shared object file: No such file or directory
ref_gl::R_Init() - could not load "libGL.so"
recursive shutdown
Error: Couldn't load gl refresh!



I have symlink in there for libGL.so in ~/.paintball, but its still complaining. Any ideas?

TinMan

  • Autococker
  • Posts: 1347
Re: Ubuntu Linux Install Help
« Reply #3 on: August 09, 2006, 09:14:16 PM »
does /usr/lib/libGL.so.1 exhist? I'm thinking that it doesn't in your case...

asv

  • PGP
  • Posts: 3
Re: Ubuntu Linux Install Help
« Reply #4 on: August 09, 2006, 10:09:26 PM »
does /usr/lib/libGL.so.1 exhist? I'm thinking that it doesn't in your case...


asv@probe:/usr/lib$ cd /usr/lib
asv@probe:/usr/lib$ ls -l libGL*
lrwxrwxrwx 1 root root   21 2006-07-16 12:26 libGLcore.so.1 -> libGLcore.so.1.0.8762-rw-r--r-- 1 root root 7.5M 2006-07-10 10:08 libGLcore.so.1.0.8762
lrwxrwxrwx 1 root root   16 2006-04-22 17:49 libGLEW.so.1.3 -> libGLEW.so.1.3.1
-rw-r--r-- 1 root root 249K 2005-11-30 15:49 libGLEW.so.1.3.1
lrwxrwxrwx 1 root root   17 2006-07-16 12:26 libGL.so.1 -> libGL.so.1.0.8762
-rw-r--r-- 1 root root 718K 2006-07-10 10:08 libGL.so.1.0.8762
lrwxrwxrwx 1 root root   20 2006-05-05 19:51 libGLU.so.1 -> libGLU.so.1.3.060401
-rw-r--r-- 1 root root 503K 2006-05-05 10:57 libGLU.so.1.3.060401


TinMan

  • Autococker
  • Posts: 1347
Re: Ubuntu Linux Install Help
« Reply #5 on: August 09, 2006, 10:27:13 PM »
<--edit-->
Did you try /usr/lib32/libGL.so.1? That's the one that I have to use on 64-bit Ubuntu for paintball2.
« Last Edit: August 09, 2006, 11:27:15 PM by TinMan »

QuDos

  • PGP
  • Posts: 14
Re: Ubuntu Linux Install Help
« Reply #6 on: August 10, 2006, 01:03:21 PM »
And symlinking in /usr/lib ?
[qudos@qudos paintball2]$ ls -l /usr/lib/libGL.so*
lrwxrwxrwx  1 root root     10 ago 12 10:26 /usr/lib/libGL.so -> libGL.so.1*
lrwxrwxrwx  1 root root     17 ago 12 10:26 /usr/lib/libGL.so.1 -> libGL.so.1.0.7676*
-rwxr-xr-x  1 root root 518220 ago 12 10:26 /usr/lib/libGL.so.1.0.7676*

Some day i'll update my drivers =)

supertanker

  • VM-68
  • Posts: 127
Re: Ubuntu Linux Install Help
« Reply #7 on: August 10, 2006, 10:39:47 PM »
I use /usr/lib/nvidia/libGL.so.1

Look in config.cfg (pball/configs) at least I think that is the file. In GLdriver, change it to /usr/lib/nvidia/libGL.so.1 or whatever it is on your machine. Then you don't need symlinks.

TinMan

  • Autococker
  • Posts: 1347
Re: Ubuntu Linux Install Help
« Reply #8 on: August 11, 2006, 09:21:58 AM »
By an AMD64 system do you mean an actual 64-bit install? Because if so, then you'll most likely have to use a libGL.so from /usr/lib32/, using a 64-bit one from /usr/lib/ would result in paintball2 saying that libGL.so doesn't exhist. (in my experiences)

DOOF

  • Guest
Re: Ubuntu Linux Install Help
« Reply #9 on: June 22, 2007, 12:20:50 PM »
I'm getting basically the same thing with a different library:

Quote
------- Loading ref_pbgl.so -------
LoadLibrary("ref_pbgl.so") failed: libX11.so.6: cannot open shared object file: No such file or directory
recursive shutdown
Error: Couldn't load gl refresh!

Available libraries:

Quote
$/usr/local/games/paintball2$ locate libX11.so*
/usr/lib/libX11.so.6
/usr/lib/libX11.so.6.2.0
/usr/local/games/paintball2/libX11.so.6 //symlink

I've tried them both. It's like PB2 was looking for the lib in a totally different directory...

Running on ubuntu 64 bit, intel E4300, nvidia gf7600gs.

An idiot-proof graphical installer would bring this game to whole new level. PB could really rock the Linux game scene among all the fresh Ubuntu n00bs like me if the installation would carry out without command line tweaking.

DOOF

  • Guest
Re: Ubuntu Linux Install Help
« Reply #10 on: June 23, 2007, 12:55:43 PM »
I've thought of trying to use a 32-bit libX11.so , but I don't have one and cant find it in the repositories either. Where could i get it?

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Ubuntu Linux Install Help
« Reply #11 on: June 25, 2007, 05:57:13 PM »
The idiot proof stuff is for Windows.  I just have to assume Linux users know what they're doing since practically every install is different.  Even with a graphical installer, you'd still have the same end product -- something that probably doesn't work with your particular configuration.

Eiii

  • Autococker
  • Posts: 4595
Re: Ubuntu Linux Install Help
« Reply #12 on: June 25, 2007, 06:55:44 PM »
Just include a linux setup that you know works with the installer- that should let everyone run it. ;)

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Ubuntu Linux Install Help
« Reply #13 on: June 26, 2007, 05:11:23 PM »
Quote
Just include a linux setup that you know works
When I find one, I might consider it. :P

DOOF

  • Guest
Re: Ubuntu Linux Install Help
« Reply #14 on: July 03, 2007, 04:48:21 AM »
I found it out now.

For running PB2 on 64-bit Ubuntu you need these packages:
ia32-libs*
lsb-core

They include the 32-bit libraries PB2 needs.

Install them with sudo apt-get <package> and you should be all set. The lsb-core package config asks for a couple of parameters, you can leave them to default.

Would it be helpful to sticky this?

DOOF

  • Guest
Re: Ubuntu Linux Install Help
« Reply #15 on: July 03, 2007, 06:23:27 AM »
...after this, you are ready to face the hardware check bug...  >:(

My pb2list.txt:
http://www.sendspace.com/file/7h1pid

DOOF

  • Guest
Re: Ubuntu Linux Install Help
« Reply #16 on: July 03, 2007, 02:05:33 PM »
How do i disable hardware check on my server? It'd be nice to at least have botmatches while waiting for the fix. It's kinda nerve-wrecking to play 2 minutes at a time.

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Ubuntu Linux Install Help
« Reply #17 on: July 03, 2007, 05:11:53 PM »
I'm not sure if I have a method to disable it since it's critical for the hardware bans.  I will probably just have to compile a 64bit version.

DOOF

  • Guest
Re: Ubuntu Linux Install Help
« Reply #18 on: July 04, 2007, 08:59:05 AM »
That'd be great, thanks.

DOOF

  • Guest
Re: Ubuntu Linux Install Help
« Reply #19 on: July 21, 2007, 02:26:38 PM »
Any progression on this one? I'm waiting out another temb-ban (maybe the 15th of the day) as i speak...