DX9 test - please try it out!
BlitzMax Forums/BlitzMax Programming/DX9 test - please try it out!
| ||
I just made a small test program, to test DStastny's DX9 driver. This test already includes the changes discussed on this topic to fix some problems and improve compatibility. If everything goes right, you should see something like this: ![]() This test scaling, drawing rects, transparent images, solid images, incbinned images and also grabpixmap (the non-moving sonic in the air) Get the test here:http://www.icongames.com.br/temp/dx9test.zip V - enable, disable VSYNC ALT+ENTER changes between full screen and windowed mode ESC - quits Please post your FPSs, and also, if you have any problem running it... tested list (fps for vsync off, fullscreen): ---------------------------------------------------------------.Dx7 - Dx9 Win 98, Riva TNT2................................................... 80 - 94 Win 98, Geforce 4 MX 4000.................................... 93 - 134 Win XP, Geforce 6200............................................ 230 - 292 Win XP, Geforce 6300............................................ 1400 - 2530 Win XP, GeForce 7300GS...................................... 242 - 252 Win XP, Geforce 7300GT....................................... 644 - 1190 Win 2k, 8400GS.................................................... 402 - 432 Win XP, Geforce 8800GTS...................................... 1790 - 1810 Win Vista 64, Geforce 9300 GS.............................. 237 - 270 Win XP, Intel 3100................................................. 196 - 218 Win Vista, Intel 3100............................................. 98 - 172 Win XP, Intel 82945G............................................ 311 - 297 Win XP, Radeon 7000/VE....................................... 109 - 147 Win XP, Radeon 9700........................................... 429 - 570 Win XP, Radeon HD 2600 XT................................. 447 - 909 Win XP, Radeon HD4870....................................... 1922 - 5012 Win Vista 32, Radeon HD3200.............................. 325 - 374 Win XP, Radeon X1300......................................... 264 - 290 Win ME, VIA VT8501....................................... 21 (with glitches) - failed |
| ||
Ran well on my notebook, but the fps just displayed zero the whole time. |
| ||
zero?!?!?! |
| ||
Fullscreen VSync on: 60fps VSync off: ~600fps Windowed VSync on: 60fps VSync off: 485fps Please compile DX7 and OpenGL versions (I'm particularly interested in the speed differences between DX7 and DX9 - Max's DX7 driver is really slow on my card). |
| ||
full VSync Off: 930fps Window Vsync Off: 500fps Others: 60fps |
| ||
Yep, just tried it again, on my notebook, the fps display does not show anything but zero. It is definitely running faster than that though. :) AMD Turion X2 2.2GHz 3GB Ram Vista 32-bit Radeon HD3200 |
| ||
Fullscreen VSync on: 59fps VSync off: 1790fps Windowed VSync on: 59fps VSync off: 1190fps Running Windows XP SP3 on a E6600, 2GB, GeForce 8800GTS 512... |
| ||
v-sync on: 60fps v-sync off fullscreen: 1000fps windowed:485fps XPS M1710, DuoCore 2.33GHz, 2GB Ram GeForce Go 7950 GTX, 512MB ram Win XP sp3 |
| ||
Fullscreen VSync on: 60fps VSync off: ~290fps Windowed VSync on: 60fps VSync off: 178fps Windows XP sp3 on MacBook Core 2 duo 2.0 GHz with Intel Express 945 Gfx |
| ||
could the 0 fps be caused becouse the millisecs() is returning negative numbers if the computer is on for several days? In my system with a crap Intel GMA945, it works great. Full screen gives about 133 fps with vsync off, and 59 to 61 with vsync on Windowed gives about 90 fps with vsync off, and 58 to 62 with vsync on My system uses Vista with a dual-core 1.87 Mghz. |
| ||
Radeon X1650XT on vista64 fullscreen: 538 FPS windowed: 282 FPS |
| ||
Radeon R9700 (laptop) WinXp fullscreen vsync off 420fps |
| ||
Just updated the main list... thanks to everyone so far! Keep the results coming... let's give DStastny some more motivation to keep improving this amazing driver!! Please compile DX7 and OpenGL versions (I'm particularly interested in the speed differences between DX7 and DX9 - Max's DX7 driver is really slow on my card). Sure, give me a sec. ;) could the 0 fps be caused becouse the millisecs() is returning negative numbers if the computer is on for several days? Exactly what I tought, but he's on a laptop, so go figure. |
| ||
Damn... I just did a very stupid thing. I forget to include the "SetGraphicsDriver D3d9Max2DDriver" in the test, so you all ran a DX7 program :( If it's not too much to ask, please, test it again. I reuploaded the zip, and now there are 3 EXEs: dx9test, dx7test and ogltest - respectfully to Direct-X 9, Direct-X 7 and OpenGL, if you guys want to see speed differences. I'm very sorry to have wasted your time, because of my mistake :( Also, I re-updated my test list, with the results from the new EXE. Everything was almost the same... the strangest part was the Geforce 6300, which gained more than 1000 fps from the dx7 test, and the Intel onboard, which is actually faster on DX7. |
| ||
on most of the tests there was fluctuation, so these are just approximate values. GeForce 7300GT 512mb ddr2 on XP-sp2 DX7: full screen von - 75 voff - 644 window von -69 voff - 460 DX9: full screen von - 65 voff - 1190 window von - 65 voff - 625 OGL: full screen von - 75 voff - 1040 window von - 75 voff - 565 |
| ||
AMD X2 2GHz , windows XP NVidia GeForce 7300GS von:59 voff: dx7- fullscreen:242 windowed:147 dx9- fullscreen:252 windowed:150 OGL- fullscreen:367 windowed:152 |
| ||
VSync on: 60fps (global) VSync off, fullscreen: OGL 600fps DX7 447fps DX9 909fps VSync off, windowed: OGL 610fps DX7 420fps DX9 600fps |
| ||
Yep, it is the millisecs() thing. I never reboot my laptop, always hibernate. Next time I fire it up, I will reboot and try it out. Someone should do a good write up for a sticky on the correct solution to doing timing so this gotcha can be properly avoided by everybody. |
| ||
Someone should do a good write up for a sticky on the correct solution to doing timing so this gotcha can be properly avoided by everybody. Pretty much any fast fps calculation is bound to use some sort of system millisecond timer, so it would seem to be unfixable. |
| ||
Not at all. You just have to do the math correctly. You just do: now-was=diff if diff >= 1000 'it has been a second 'calc fps was=now else if diff < 0 'should never be negative, so the clock must have flipped 'just start this second over again was=now end if The problem stems from: the subtraction being in the wrong order or the was starting at zero or the clock rolling over while the program is running. now will always be bigger than was as long as you do not start was at 0, start was = now on the very first loop. Even after the clock has rolled over, the clock is getting bigger. It rolls over to a very large negative number and counts towards positive, so the number is still getting bigger. |
| ||
testing after reboot of my notebook: dx9 - full screen 59 vsync 374 novsync dx9 - window 59 214 dx7 - full 59 325 dx7 - window 59 204 ogl - full 59 386 ogl - window 59 166 So it seems dx9 is faster in windowed mode and ogl is faster in full screen on my notebook. |
| ||
On my desktop at work with: Windows XP P4 3.2GHz CPU Radeon X800 Pro dx9 - full 59 1107 window 59 587 dx7 - full 59 790 window 60 569 ogl - full 59 599 window 59 530 I don't know what the deal is with getting 59 most of the time with vsync on. Happens on both of my machines. |
| ||
Updated the list... thanks everyone! It seems that DX9 is almost always faster than dx7... and sometimes equal or slower than open gl. |
| ||
With the new exes: Dx7: Fullscreen VSync on: 59fps VSync off: 1790fps Windowed VSync on: 59fps VSync off: 1190fps Dx9: Fullscreen VSync on: 59fps VSync off: 1810fps Windowed VSync on: 59fps VSync off: 1260fps OpenGL: Fullscreen VSync on: 59fps VSync off: 2270fps Windowed VSync on: 59fps VSync off: 1520fps Running Windows XP SP3 on a E6600, 2GB, GeForce 8800GTS 512... |
| ||
R9700 voff 570fps ogl:570 dx7:429 |
| ||
And we have a first one that doesn't work... on Windows ME, a Via VT8501 only ran on DX7 with glitches on full screen, and failed on DX9 - according to a friend of mine, the window shows up, draw something really quick (seems not to draw everything) and closes right after. The only test that ran fine on this system was on opengl... |
| ||
Wow that is an old card cira 1999. I cant even find any specs on what it does support its a Dx7 Card, not sure what CAPs it has but suspect it has problems with the Texture and Backbuffer formats. You can use the DXCAP test program and get a dump and see what the CAPs are being reported. I suspect its choking on 32bit textures and running out of Video Memory although they should swap out the driver probably blows chunks. |
| ||
Here we go, the VIA VT8501 aka Apollo MVP4 uses the Trident Blade3D 9880 IGP (8MB PCI/AGP) which is designed for DirectX 6. |
| ||
Results for my main machine: OS: Vista Ultimate 64bit, DirectX 10 CPU: Intel Core2 Quad Q6600 @ 2,40GHz RAM: 8GB GFX: NVIDIA GeForce 9600GT (512MB) dx7test: 1065 FPS dx9test: 2001 FPS ogltest: 1213 FPS Results for my work laptop: OS: Vista Ultimate 64bit, DirectX 10 CPU: Intel Core2 T7200 @ 2.00GHz RAM: 2GB GFX: ATI Mobility FireGL V5200 dx7test: 125 FPS dx9test: 133 FPS ogltest: 133 FPS |
| ||
We need ALOT more vista reporting. When I tested this a few months back I stopped using it due to mouse lag on 2 vista boxes. Is anyone experiencing mouse lag with this version? (drawing an image at mousex,mousey) Otherwise we already can use DX7 with XP fine, so keep those DX9/Vista reports coming. |
| ||
Vista Home Premium SP1 Intel Dual-Core T2390 (1.86GHz), 2GB DDR2 SDRAM, Intel GMA 950 (X3100) DX7:- full screen - von: 59 voff: 135 (Steady) windowed - von: 59 voff: 109 (Steady) DX9:- full screen - von: 59 voff: 156 (Steady) windowed - von: 59 voff: 119 (Steady) OGL:- N/A White Screen No offical update drivers (Lasttime I checked) for Vaio VGN-NR32L, when I tried manually installing the drivers, I was greeted to a 'contact your system vendor blah blah" message! XP Professional SP3 AMD Athlon64 3500+ (2.20GHz), 1.50GB RAM, Geforce 8600 GTS (256mb) DX7:- full screen - von:60 voff: 1320 (fluctuates) windowed - von:60 voff: 663 (fluctuates) DX9:- full screen - von:60 voff: 1610 (fluctuates) windowed - von:60 voff: 756 (Steady) OGL:- full screen - von:60 voff: 1140 (Steady) windowed - von:60 voff: 1175 (fluctuates) Dabz EDIT: It seems that DX9 is almost always faster than dx7... and sometimes equal or slower than open gl. I once had an arguement with someone on the forums that apparently, OpenGL was faster, and DirectX was a hasbeen... I argued that DirectX 9 was faster, they argued it wasnt! I love being right... Seriously though, I could of told you last year that DX9 was speedier overall, as I did my own tests when building a game! |
| ||
vsync off fullscreen dx7 109 dx9 147 ogl 149 windowed dx7 106 dx9 110 ogl 109 vsync on fullscreen dx7 75 dx9 75 ogl 75 windowed dx7 75 dx9 75 ogl 75 windows xp pro, directx 9.0c, Radeon 7000/VE |
| ||
Intel 3100 (Chipset)vsync off fullscreen XP pro: DX7:196 DX9:218 OGL:223 Vista home: DX7:98 DX9:172 OGL:blank screen Both Laptops (2 times the same machine) has original intel drivers for ogl, but the vista machine has not the lattest but the original ones from the original installation. (I use this only to make "OutOfBox" tests. bye |
| ||
XP Pro: DX7: 1922 DX9: 5012 OGL: 5422 Radeon HD4870 1024MB |
| ||
updated with the latest results... gotta get some time to re-do the test with the latest version of the engine posted by DStastny ;) |
| ||
XP Pro Fullscreen DX7: 248 DX9: 250 OGL: 250 Window DX7: 172 DX9: 175 OGL: 154 Mobile Intel 915GM |
| ||
gotta get some time to re-do the test with the latest version of the engine posted by DStastny ;) Great. Could you add your test source to the download next time? It would be useful. |
| ||
-------- Vsync Fullscreen FPS Dx7 yes yes 75 yes no 75 no no 805 no yes 1190 Dx9 yes yes 75 yes no 75 no no 841 no yes 1318 OpenGL yes yes 75 yes no 75 no no 75 (?) no yes 1351 |
| ||
I see my Geforce 8600 GTS (256mb) never made it on the tested list... That nearly made it cry that did! :( Dabz |
| ||
No problems here. NVIDIA Geforce 9800 GTX+ XP FullScreen: V - Sync = 75 Non-sync = 2203 Windowed: V - Sync = 75 Non-sync = 1300 |
| ||
Vista Home GF 9700M GTS 512MB (Mobile) So, DX9 is performing really good here. I want it ;) |
| ||
EEEPC 901 - WinXP Pro SP2 Auto High Performance mode OpenGL -------------------------------------------------- FullScreen VSync On / Off : 60 / 192 Windowed VSync On / Off : 130 / 130 DX7 -------------------------------------------------- FullScreen VSync On / Off : 60 / 174 Windowed VSync On / Off : 60 / 139 DX9 -------------------------------------------------- FullScreen VSync On / Off : 60 / 186 Windowed VSync On / Off : 60 / 138 |
| ||
I love being right... Seriously though, I could of told you last year that DX9 was speedier overall, as I did my own tests when building a game! ..it usually depends on the card, really. |
| ||
vista dx9 1157 dx7 666 ogl 685 p4 3ghz nvidia 9500 |
| ||
In order, fastest-slowest: DX7: 145 OGL: 125 DX9: 103 Intel GMA965, Vista Home Premium, 2GB RAM. |
| ||
Hello. Demo Windowed Full Screen DX7 19 41 DX9 35 56 OGL 30 30 Cool! I have the most rubbish machine. Graphics Card Integrated(Obviously) Nvidia Geforce Go 6100 Goodbye. |
| ||
fullscreen (f) windowed (w): dx7 59/940 f 59/490 w dx9 59/976 f 59/496 w ogl 59/344 f 59/353 w Intel T2250, Nvidia go 7600, xp pro. |
| ||
Hi, Vsync on > allways 75fps Ogl Ful 2780 / Win 1980 DX7 Ful 2260 / Win 1560 DX9 Ful 2306 / Win 1650 GF 9600GT, XPro ¨SP3 / C2D E6600@... JP |
| ||
NV GTS8800 640 mb on Win XP32 without vsync, resolution 1920*1200 - dualscreen DX7 - 420 (fullscreen) / 380 (windowed) DX9 - 1470 (fullscreen) / 960 (windowed) OGL - 1450 (fullscreen) / 990 (windowed) |
| ||
Window 7 64bit beta 7000, Mobile Intel(R) 4 Series Express (integrated) DX7 -VSync On --Window:36 --Full:60 -VSync Off --Window:46 --Full:127 DX9 -VSync On --Window:60 --Full:60 -VSync Off --Window:150 --Full:241 OpenGL: Not working at all My resolution is 1280x800 |