Author Topic: Starting paintball2 on Linux  (Read 1638 times)

bug

  • 68 Carbine
  • Posts: 335
Starting paintball2 on Linux
« on: November 20, 2007, 11:01:32 PM »
Distro: Ubuntu Gutsy 7.10 Server

I've setup a pretty minimalist server configuration, and when I try to run paintball2 from console, I get the following:

Code: [Select]
james@ubuntu-server:~/paintball2$ ./paintball2 +set dedicated 1 +set public 1 +exec server.cfg +map siegecastle

Paintball 2 -- Version 2.0
Illegal instruction

Doesn't matter what arguments I give paintball2, it always dies with that.

Any help would be appreciated, thanks.

XtremeBain

  • Developer
  • Autococker
  • Posts: 1470
Re: Starting paintball2 on Linux
« Reply #1 on: November 21, 2007, 06:14:02 AM »
What are the specs of your server?  Sounds like you're either using a really old processor or a 64bit one.  If you're using 64bit, go grab this patch.

bug

  • 68 Carbine
  • Posts: 335
Re: Starting paintball2 on Linux
« Reply #2 on: November 21, 2007, 12:01:11 PM »
Incredibly old. This is a piece of crap that I got for free, being the "family computer guy." I wiped everything on it and retooled it for a testing server on some of my PHP work.

Code: [Select]
james@ubuntu-server:~/paintball2$ sudo lshw

ubuntu-server
    description: Computer
    width: 32 bits
  *-core
       description: Motherboard
       physical id: 0
     *-memory
          description: System memory
          physical id: 0
          size: 64MB
     *-cpu
          product: Pentium Pro
          vendor: Intel Corp.
          physical id: 1
          bus info: cpu@0
          version: 6.1.9
          size: 200MHz
          width: 32 bits
          capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov up
        *-cache:0
             description: L1 cache
             physical id: 0
             size: 16KB
        *-cache:1
             description: L2 cache
             physical id: 1
             size: 256KB
     *-pci
          description: Host bridge
          product: 440FX - 82441FX PMC [Natoma]
          vendor: Intel Corporation
          physical id: 100
          bus info: pci@0000:00:00.0
          version: 02
          width: 32 bits
          clock: 33MHz
          configuration: latency=32
        *-isa
             description: ISA bridge
             product: 82371SB PIIX3 ISA [Natoma/Triton II]
             vendor: Intel Corporation
             physical id: d
             bus info: pci@0000:00:0d.0
             version: 01
             width: 32 bits
             clock: 33MHz
             capabilities: isa bus_master
             configuration: latency=0
        *-ide
             description: IDE interface
             product: 82371SB PIIX3 IDE [Natoma/Triton II]
             vendor: Intel Corporation
             physical id: d.1
             bus info: pci@0000:00:0d.1
             version: 00
             width: 32 bits
             clock: 33MHz
             capabilities: ide bus_master
             configuration: driver=ata_piix latency=32 module=ata_piix
        *-usb
             description: USB Controller
             product: 82371SB PIIX3 USB [Natoma/Triton II]
             vendor: Intel Corporation
             physical id: d.2
             bus info: pci@0000:00:0d.2
             version: 01
             width: 32 bits
             clock: 33MHz
             capabilities: uhci bus_master
             configuration: driver=uhci_hcd latency=32 module=uhci_hcd
        *-pci
             description: PCI bridge
             product: DECchip 21052
             vendor: Digital Equipment Corporation
             physical id: e
             bus info: pci@0000:00:0e.0
             version: 02
             width: 32 bits
             clock: 33MHz
             capabilities: pci normal_decode bus_master
           *-network
                description: Ethernet interface
                product: 3c905 100BaseTX [Boomerang]
                vendor: 3Com Corporation
                physical id: 8
                bus info: pci@0000:01:08.0
                logical name: eth0
                version: 00
                serial: 00:c0:4f:bf:a0:27
                size: 10MB/s
                capacity: 100MB/s
                width: 32 bits
                clock: 33MHz
                capabilities: bus_master ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
                configuration: autonegotiation=on broadcast=yes driver=3c59x duplex=half ip=192.168.0.110 latency=32 link=yes maxlatency=8 mingnt=3 module=3c59x multicast=yes port=MII speed=10MB/s
           *-scsi:0
                description: SCSI storage controller
                product: AHA-2940U/UW / AHA-39xx / AIC-7895
                vendor: Adaptec
                physical id: 9
                bus info: pci@0000:01:09.0
                logical name: scsi2
                version: 03
                width: 32 bits
                clock: 33MHz
                capabilities: scsi bus_master scsi-host
                configuration: driver=aic7xxx latency=32 maxlatency=8 mingnt=8 module=aic7xxx
              *-disk
                   description: SCSI Disk
                   product: ST34371W
                   vendor: SEAGATE
                   physical id: 0.0.0
                   bus info: scsi@2:0.0.0
                   logical name: /dev/sda
                   version: 0484
                   serial: JDS359070QL32C
                   size: 4095MB
                   capacity: 4166MB
                   capabilities: 7200rpm partitioned partitioned:dos
                   configuration: ansiversion=2
                 *-volume:0
                      description: Linux filesystem partition
                      physical id: 1
                      bus info: scsi@2:0.0.0,1
                      logical name: /dev/sda1
                      capacity: 243MB
                      capabilities: primary bootable
                 *-volume:1
                      description: Extended partition
                      physical id: 2
                      bus info: scsi@2:0.0.0,2
                      logical name: /dev/sda2
                      size: 3851MB
                      capacity: 3851MB
                      capabilities: primary extended partitioned partitioned:extended
                    *-logicalvolume
                         description: Linux LVM Physical Volume partition
                         physical id: 5
                         logical name: /dev/sda5
                         serial: 66dh7v-1awd-QVIo-TdPF-QuJ9-NZ2v-3mKWsI
                         size: 3851MB
                         capacity: 3851MB
                         capabilities: multi lvm2
              *-cdrom
                   description: SCSI CD-ROM
                   product: CD-ROM DRIVE:462
                   vendor: NEC
                   physical id: 0.3.0
                   bus info: scsi@2:0.3.0
                   logical name: /dev/cdrom
                   logical name: /dev/scd0
                   logical name: /dev/sr0
                   version: 1.14
                   capabilities: removable audio
                   configuration: ansiversion=2 status=open
           *-scsi:1
                description: SCSI storage controller
                product: AHA-2940U/UW / AHA-39xx / AIC-7895
                vendor: Adaptec
                physical id: 9.1
                bus info: pci@0000:01:09.1
                logical name: scsi3
                version: 03
                width: 32 bits
                clock: 33MHz
                capabilities: scsi bus_master scsi-host
                configuration: driver=aic7xxx latency=32 maxlatency=8 mingnt=8 module=aic7xxx
        *-network UNCLAIMED
             description: Ethernet controller
             product: BCM4210 iLine10 HomePNA 2.0
             vendor: Broadcom Inc
             physical id: 10
             bus info: pci@0000:00:10.0
             version: 01
             width: 32 bits
             clock: 33MHz
             capabilities: pm bus_master cap_list
             configuration: latency=32

XtremeBain

  • Developer
  • Autococker
  • Posts: 1470
Re: Starting paintball2 on Linux
« Reply #3 on: November 21, 2007, 12:57:08 PM »
Okay, that's what I thought.  A recent build (recent in terms of build number, not date... lol) of paintball2 made use of some SSE-required code that increased the accuracy of predictions made on the client and server.  P/PPro processors don't have SSE capabilities, and that's why you're being thrown the 'Illegal Instruction' error.

jitspoe can build you a B19 Non-SSE binary that will run on this server, but players on the server may run into prediction problems or 'misses'.  That basically means that movement may not be as fluid since these calculations are being made without SSE on the server, and with SSE on the client.  I didn't test it too much so I can't really say how bad the prediction misses really are.

I suppose you could also download the source and compile it yourself, if you can find somewhere in the makefile to disable SSE.  If you're running into problems with it, I can help out.  Forum PMs seem to be the best way to get ahold of me these days, unless your name is Apocalypse.

bug

  • 68 Carbine
  • Posts: 335
Re: Starting paintball2 on Linux
« Reply #4 on: November 21, 2007, 01:56:43 PM »
I doubt jitspoe has enough free time to waste on something so out of the ordinary, so I think I'll just leave it be for now and host the server on another box.

Thanks for all your help, and the very informative description of the problem! :D


You get a muffin! (with hair)