Digital Paint Discussion Board

Paintball 2: The Game => Help and Support => Topic started by: Zorchenhimer on June 04, 2007, 11:10:34 PM

Title: Build 18 + Linux issue
Post by: Zorchenhimer on June 04, 2007, 11:10:34 PM
I just got Ubuntu 7.04 (desktop) installed on my old machine finally (stupid CD-Rom drive) and I put paintball on it. But it doesn't run. I tried both the full and minimal server versions, but the error message was the same:

Quote
nick@ubuntu:~$ /home/nick/paintball2b18_min/paintball2

Paintball 2 -- Version 2.0
Illegal instruction (core dumped)

I got this message before when I tried it with a LiveCD, and thought that it was because I wasn't using a hard drive installed version of Linux. Can someone help me out? Thanks.
Title: Re: Build 18 + Linux issue
Post by: y00tz on June 04, 2007, 11:14:26 PM
I wonder if this is the same problem This guy is having (http://dplogin.com/forums/index.php?topic=6407.0)  he didn't list an error though.
Title: Re: Build 18 + Linux issue
Post by: Zorchenhimer on June 04, 2007, 11:16:04 PM
But I'm not using KDE. I'm using Gnome. Or would that even matter?
Title: Re: Build 18 + Linux issue
Post by: Spook on June 04, 2007, 11:25:08 PM
Wait for tinman to come by, he's a linux genius.
Title: Re: Build 18 + Linux issue
Post by: TinMan on June 04, 2007, 11:52:01 PM
try the non-min build yet?
Title: Re: Build 18 + Linux issue
Post by: lekky on June 05, 2007, 09:19:05 AM
I tried both the full and minimal server versions, but the error message was the same:

O.o
Title: Re: Build 18 + Linux issue
Post by: TinMan on June 05, 2007, 01:22:26 PM
XD

Try going into the directory and running it?
cd /home/nick/paintball2b18_min/
./paintball2
and try adding some server config for it to execute after that just for kicks?

If that doesn't work then ask Jitspoe for a debug build of b18.
Title: Re: Build 18 + Linux issue
Post by: jitspoe on June 05, 2007, 02:29:26 PM
If you're using the min server build, you need to be running it in dedicated mode.  You also need to run it from the paintball2 directory.
Title: Re: Build 18 + Linux issue
Post by: Zorchenhimer on June 05, 2007, 04:24:21 PM
Still gives me the same error message:

Quote
nick@ubuntu:~$ cd /home/nick/paintball2b18_min
nick@ubuntu:~/paintball2b18_min$ ./paintball2 +set dedicated 1

Paintball 2 -- Version 2.0
Illegal instruction (core dumped)
Title: Re: Build 18 + Linux issue
Post by: jitspoe on June 05, 2007, 04:45:38 PM
Oh, that, you must have an old CPU that doesn't support mmx or whatever.
Title: Re: Build 18 + Linux issue
Post by: Zorchenhimer on June 05, 2007, 05:24:24 PM
Poo!

Its a P2 333Mhz.
Title: Re: Build 18 + Linux issue
Post by: y00tz on June 05, 2007, 05:59:01 PM
Eek, paintball2 wouldn't have run very well on it anyway.  Put the P2 in the gamecube and revive that.
Title: Re: Build 18 + Linux issue
Post by: jitspoe on June 05, 2007, 06:11:21 PM
P2?  I thought they had it by then.  Must have been P3.
Title: Re: Build 18 + Linux issue
Post by: y00tz on June 05, 2007, 06:17:30 PM
MMX has been around since Pentium. 
Title: Re: Build 18 + Linux issue
Post by: jitspoe on June 05, 2007, 06:18:57 PM
Maybe it was SSE, then.
Title: Re: Build 18 + Linux issue
Post by: y00tz on June 05, 2007, 07:42:42 PM
MMX was PI, SSE was PIII...

Quote from: WikiPedia
SSE (Streaming SIMD Extensions, originally called ISSE, Internet Streaming SIMD Extensions) is a SIMD (Single Instruction, Multiple Data) instruction set designed by Intel and introduced in 1999 in their Pentium III series processors as a reply to AMD's 3DNow!

So MMX was 1996, SSE is 1999, it means it's not SSE and the CPU you have supports MMX.  :-\
Title: Re: Build 18 + Linux issue
Post by: Zorchenhimer on June 05, 2007, 11:33:06 PM
I knew i should have kept my other computer off the basement floor. That one would have easily run it (P3 ~600 mhz). And the GameCube was completely fried. One of the plugs in the back was all black and corroded and such.

So I take it pball won't work on my old computer?
Title: Re: Build 18 + Linux issue
Post by: jitspoe on June 06, 2007, 04:01:05 AM
I'd have to do a special no-sse build.
Title: Re: Build 18 + Linux issue
Post by: Zorchenhimer on June 06, 2007, 12:12:46 PM
Drat. Well, thanks anyway.
Title: Re: Build 18 + Linux issue
Post by: Zorchenhimer on July 25, 2007, 01:04:48 PM
Sorry for the revive, but I got build 19 working on my Linux computer. Only it runs at 2 fps (4 tops) in Wine. So would that mean that my P2 processor has SSE support? Or is that just something that Wine is emulating?
Title: Re: Build 18 + Linux issue
Post by: TinMan on July 25, 2007, 03:02:11 PM
Wine is not an Emulator! :P
You could try looking up your CPU from the sysinfo report or bios report on what it says it is to see if it has SSE. Try running the native client and comparing it to the windows one in Wine to see any performance differences. If you have 3D acceleration set up then Wine shouldn't drain games much at all, I play Enemy Territory: Quake Wars better in Wine in Linux than it runs on my same computer in Windows XP.
Title: Re: Build 18 + Linux issue
Post by: Zorchenhimer on July 25, 2007, 03:27:27 PM
Haha, performance differences? Lets just start with the fact that it doesn't even start natively, while it actually runs in Wine.
Title: Re: Build 18 + Linux issue
Post by: TinMan on July 25, 2007, 06:57:19 PM
xD Post in the b19 thread with your terminal output.
Title: Re: Build 18 + Linux issue
Post by: Zorchenhimer on July 25, 2007, 11:23:22 PM
... Ok. Give me an hour or two.
Title: Re: Build 18 + Linux issue
Post by: Zorchenhimer on July 26, 2007, 12:19:12 AM
Nope still get the same error:

Quote
nick@ubuntu:~/Desktop/paintball2$ ./paintball2

Paintball 2 -- Version 2.0
Illegal instruction (core dumped)
Title: Re: Build 18 + Linux issue
Post by: jitspoe on July 26, 2007, 04:20:49 PM
The way the linux compilers handle floating points and the way the windows compilers handle floating points is different.  The best way I could find to make them somewhat consistent was to use SSE.  I'm pretty sure the windows executable has a non-sse path, but considering you're only getting 2fps, even if you could get it to run natively on that Linux box, eh... why would you bother? :)
Title: Re: Build 18 + Linux issue
Post by: Zorchenhimer on July 26, 2007, 08:32:57 PM
eh... why would you bother? :)

Just because. :D
Title: Re: Build 18 + Linux issue
Post by: Zorchenhimer on August 10, 2007, 02:04:44 PM
Sorry for the revive, but I got it working. I was able to play on an EV1-Alt server today. I had to get nVidia's drivers. They where under the "Restricted" category, so I guess I forgot to enable them.

However, I still cannot get it to run natively, only through wine.