-
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),
-
Try using the linux installer test here: http://dpball.com/forums/index.php?topic=2734.0
-
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?
-
does /usr/lib/libGL.so.1 exhist? I'm thinking that it doesn't in your case...
-
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
-
<--edit-->
Did you try /usr/lib32/libGL.so.1? That's the one that I have to use on 64-bit Ubuntu for paintball2.
-
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 =)
-
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.
-
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)
-
I'm getting basically the same thing with a different library:
------- 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:
$/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.
-
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?
-
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.
-
Just include a linux setup that you know works with the installer- that should let everyone run it. ;)
-
Just include a linux setup that you know works
When I find one, I might consider it. :P
-
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?
-
...after this, you are ready to face the hardware check bug... >:(
My pb2list.txt:
http://www.sendspace.com/file/7h1pid
-
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.
-
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.
-
That'd be great, thanks.
-
Any progression on this one? I'm waiting out another temb-ban (maybe the 15th of the day) as i speak...
-
I've been away on vacation, so no. Still catching up on things, so it'll probably be a while yet.
-
Ok, thanks for the update.
-
http://dplogin.com/files/clients/linux/paintball2_build019_linux_64bit_patch.tar.gz
Extract this over your build 19 full install. No guarantees, but I got it to run on an Ubuntu 64bit livecd for a couple of maps. It didn't have X-Fi drivers, so I have no idea if sound works or not.
A couple notes:
- On the first load, it may take a really long time to come up -- like several minutes. For some reason, the random number generation in linux is really, really slow, but I think the more activity you have (keyboard strokes, mouse movement, etc.) the faster it goes. After the initial load, it should be fine.
- The game may crash when changing video modes then typing at the console. Not sure why this is, but if you change your video settings then quit via the menu, it will save them and you can load it back up again with your preferred settings.
-
but I think the more activity you have (keyboard strokes, mouse movement, etc.) the faster it goes.
Hehe, I think that's the case with everything on a computer :P I wonder if there's psychological evidence of it...
-
I've had some problems with the video mode changing earlier too, so I'm very careful with them. Thank you a lot for your effort! I'm off to test the patch now.
-
Oh yes, it works! Big up to Jitspoe!
-
Hi.
I can confirm it also works in my 64 bit Gentoo installation.
;D