project-navigation
Personal tools

Author Topic: 2.3-dev slower?  (Read 4761 times)

nemchenk

  • Guest
2.3-dev slower?
« on: February 14, 2008, 11:19:37 am »
Just a quick question: I've been compiling from trunk/, and I notice that 2.3-dev is significantly slower in FPS in all parts of the game. 2.2 from SVN gives me something like 25FPS in the menus, and ~10FPS in game. 2.3-dev, on the same maps, gives me ~2FPS, and ~10 in the menus!

Does anyone have any ideas on this? I purposefully compiled 2.2 from SVN to make sure it was not my compilation process mucking things up :(


Thanks!

nemchenk

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: 2.3-dev slower?
« Reply #1 on: February 14, 2008, 01:44:35 pm »
tell us more about your system specs, please

it should be a lot faster than 2.2 - because we switched the rendering to vertex buffers and vertex arrays

nemchenk

  • Guest
Re: 2.3-dev slower?
« Reply #2 on: February 14, 2008, 02:17:12 pm »
Code: [Select]
dn@spike:~> cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 11
model name      : Mobile Intel(R) Pentium(R) III CPU - M  1200MHz
stepping        : 4
cpu MHz         : 798.000
cache size      : 512 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 mmx fxsr sse up
bogomips        : 1595.82

dn@spike:~> uname -a
Linux spike 2.6.18.8-0.7-default #1 SMP Tue Oct 2 17:21:08 UTC 2007 i686 i686 i386 GNU/Linux

dn@spike:~> free
             total       used       free     shared    buffers     cached
Mem:        767196     627288     139908          0      42704     221700
-/+ buffers/cache:     362884     404312
Swap:       786200     114736     671464

gcc-4.1.3-29, export CFLAGS="-O3 -march=pentium3m -msse -mfpmath=sse"

SuSE 10.1 updated to 10.2

xorg-x11-7.2-28,kdebase3-3.5.6-52.1
Section "Device"
  BoardName    "i830"
  BusID        "0:2:0"
  Driver       "i810"
  Identifier   "Device[0]"
  Screen       0
  VendorName   "Intel"
EndSection

I'm not at all a 3D guru, so don't know if that's enough info for you or not :) Tell me where to find it, I will post it up.

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: 2.3-dev slower?
« Reply #3 on: February 15, 2008, 12:33:58 pm »
glxinfo | grep direct

and lspci please

nemchenk

  • Guest
Re: 2.3-dev slower?
« Reply #4 on: February 15, 2008, 04:40:42 pm »
Here you go:
Code: [Select]
dn@spike:~> glxinfo | grep direct
direct rendering: Yes
dn@spike:~> lspci
00:00.0 Host bridge: Intel Corporation 82830 830 Chipset Host Bridge (rev 04)
00:02.0 VGA compatible controller: Intel Corporation 82830 CGC [Chipset Graphics Controller] (rev 04)
00:02.1 Display controller: Intel Corporation 82830 CGC [Chipset Graphics Controller]
00:1d.0 USB Controller: Intel Corporation 82801CA/CAM USB (Hub #1) (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801CA/CAM USB (Hub #2) (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801CA/CAM USB (Hub #3) (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 42)
00:1f.0 ISA bridge: Intel Corporation 82801CAM ISA Bridge (LPC) (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801CAM IDE U100 (rev 02)
00:1f.3 SMBus: Intel Corporation 82801CA/CAM SMBus Controller (rev 02)
00:1f.5 Multimedia audio controller: Intel Corporation 82801CA/CAM AC'97 Audio Controller (rev 02)
00:1f.6 Modem: Intel Corporation 82801CA/CAM AC'97 Modem Controller (rev 02)
01:00.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev a8)
01:00.1 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev a8)
01:00.2 FireWire (IEEE 1394): Ricoh Co Ltd R5C552 IEEE 1394 Controller
01:08.0 Ethernet controller: Intel Corporation 82801CAM (ICH3) PRO/100 VE (LOM) Ethernet Controller (rev 42)