1.3 on Ubuntu - half as slow as 1.2?

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
stodge
Posts: 216
Joined: Fri Dec 05, 2003 5:57 pm

1.3 on Ubuntu - half as slow as 1.2?

Post by stodge »

I just built Irrlicht 1.3 on Ubuntu and the terrain demo (12) runs at 190fps, which is half the rate I used to get in 1.2. Anyone else experience this?

Cheers
What does the debugger tell you? You did use the debugger, didn't you?
randomMesh
Posts: 1186
Joined: Fri Dec 29, 2006 12:04 am

Post by randomMesh »

Wow, fast. I get ~70 fps. (ATI Radeon 9000)

No difference between Irrlicht 1.2 and 1.3.
greenya
Posts: 1012
Joined: Sun Jan 21, 2007 1:46 pm
Location: Ukraine
Contact:

Re: 1.3 on Ubuntu - half as slow as 1.2?

Post by greenya »

stodge wrote:Anyone else experience this?
Me too.

I have moved to irrlicht 1.3, fixed very small compatibility points ( like EDT_SOFTWARE2 now called as EDT_BURNINGSVIDEO ), recompiled all and get fps slow down in 4 times (!) (( i was getting 30 fps in the scene places where with irrlicht 1.2 i getting 110-120 fps )).

confused :?


p.s.:
terrain rendering demo in irr1.2 shows 60-75 fps, in irr1.3 -- 80-95 fps :?

tested on radeon x200m, winxp
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

I just ran all examples in DX9 and OpenGL for plain Irrlicht 1.2 and 1.3. The only noticable slowdown was for Collision and MeshViewer (ex. 7 and 9), while all others were faster. All tests made on a Notebook with ATI 9000 chip.
The reasons for the two examples being slower might be
a) the changes in OnAnimate and OnRegister which were meant to fix some inconsistencies, but as pointed out by Luke now do a double animation in most render phases
b) the GUI changes (most important for text) which is not yet optimized internally
I'll check this stuff under Linux as well, but I have no Linux machine at hand right now.
stodge
Posts: 216
Joined: Fri Dec 05, 2003 5:57 pm

Post by stodge »

I'll see if I can profile it on Linux in the coming weeks.
What does the debugger tell you? You did use the debugger, didn't you?
Ambassador
Posts: 4
Joined: Sat Mar 17, 2007 11:12 pm
Location: Finland

Post by Ambassador »

Haven't measured framerates, but for some reason on Kubuntu Linux, the compiled static library of irrlicht now takes 30+ mb and is very slow when linking... Troublesome if you have to compile your project very frequently when developing.
CuteAlien
Admin
Posts: 9718
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Post by CuteAlien »

Seems like the Makefile no longer uses -O3 -fexpensive-optimizations as default settings. This explains the bigger size, but could also explain the slower speed.

Try setting NDEBUG before compiling irrlicht.
Just type the following in the console before calling make:

Code: Select all

export NDEBUG=1
Ambassador
Posts: 4
Joined: Sat Mar 17, 2007 11:12 pm
Location: Finland

Post by Ambassador »

@CuteAlien

Nice, that worked =D.
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

IIRC the standard setting was just without -g last time, now it's with -g. The expensive-optimizations were only for the C code and still are. But maybe some more targets would help.
Post Reply