what kind of performance hit

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
Klunk
Posts: 264
Joined: Mon Jan 10, 2011 5:21 pm

Post by Klunk »

"update your video drivers", hmmm sounds like something a bad IT guy would say. You can say yes, in our engine the best your ever going to get with GLSL is 60% of our fixed function stuff.


Code: Select all

Irrlicht Engine version 1.7.2
Professional Service Pack 2 (Build 3790)
'shadertest.exe': Loaded 'C:\WINDOWS\SysWOW64\uxtheme.dll'
'shadertest.exe': Loaded 'C:\Program Files (x86)\Direct Folders\Hook.dll'
'shadertest.exe': Loaded 'C:\Program Files (x86)\FlashMute\mutelib.dll'
'shadertest.exe': Loaded 'C:\WINDOWS\SysWOW64\nvogl32.dll'
The thread 'Win32 Thread' (0xaba8) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0xa9d8) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0xabe0) has exited with code 0 (0x0).
'shadertest.exe': Loaded 'C:\WINDOWS\SysWOW64\mcd32.dll'
'shadertest.exe': Unloaded 'C:\WINDOWS\SysWOW64\mcd32.dll'
WGL_extensions: WGL_ARB_buffer_region WGL_ARB_extensions_string WGL_ARB_make_current_read WGL_ARB_multisample WGL_ARB_pbuffer WGL_ARB_pixel_format WGL_ARB_pixel_format_float WGL_ARB_render_texture WGL_ATI_pixel_format_float WGL_EXT_extensions_string WGL_EXT_framebuffer_sRGB WGL_EXT_pixel_format_packed_float WGL_EXT_swap_control WGL_NV_float_buffer WGL_NV_multisample_coverage WGL_NV_render_depth_texture WGL_NV_render_texture_rectangle 
Using renderer: OpenGL 2.1.2
GeForce 8800 GTS/PCI/SSE2: NVIDIA Corporation
OpenGL driver version is 1.2 or better.
GLSL version: 1.2
Resizing window (640 480)
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Not sure how the gfx driver handles the 32 on 64 system. Moreover, your card should do much better than OpenGL 2.1.2. Just guessing here, though, and also not sure how the performance should be in such a case.
ent1ty
Competition winner
Posts: 1106
Joined: Sun Nov 08, 2009 11:09 am

Post by ent1ty »

Klunk wrote:"update your video drivers", hmmm sounds like something a bad IT guy would say.
Actually, it turns out that graphics card developer companies really do know what are they doing and always improve the drivers a lot in every new release - especially if it's nvidia.

Anyway, i've read somewhere that 8800GTS has/had some trouble with GLSL. This might be fixed in the newer drivers though. GLSL of version 1.2 might be the problem here - i have 4.1 here. IIRC, even 1.5 is quite outdated.
irrRenderer 1.0
Height2Normal v. 2.1 - convert height maps to normal maps

Step back! I have a void pointer, and I'm not afraid to use it!
Klunk
Posts: 264
Joined: Mon Jan 10, 2011 5:21 pm

Post by Klunk »

new drivers and surprisingly both fixed function and the glsl run faster. so no change.
serengeor
Posts: 1712
Joined: Tue Jan 13, 2009 7:34 pm
Location: Lithuania

Post by serengeor »

tested both shader versions and also when disabling shaders, and it seems that fixed function runs faster than the first version of shader, but with the simple shader it runs quite much the same.
Working on game: Marrbles (Currently stopped).
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

So I'll take this on the list for performance benchmarking later on. I guess that gDebugger would tell me if there's a major problem with this code.
Post Reply