Is it possible to use hardware instancing with the reach profile ?

I was scratching my head today trying to get a instancing example to work. I was getting stumped so i downloaded someones example code which also gave error code number exceptions.
Then i realized what the obfuscated error code 8007xxxx was telling me after hours of scratching my head. I had to manually set the graphics profile to hi-def; Which worked yaay !. i have a example bit of code to compare what im doing wrong now.

however…

I almost always use the reach profile to ensure what im writing is compatable with as much as possible plus i have a old card. Anyways i tried to put it back to reach and use different shader levels but even 4_0_level_9_1 wouldn’t work with the reach profile on and i thought it did in xna. Im pretty sure even dx9 has instancing i don’t see why a 16bit vb wouldn’t allow instancing a ushort is 65535 but mg’s reach basically uses int’s anyways i think. So i would think instancing would be supported for reach if the card can support it in hi-def.

Anyways can anyone shed some light as to why reach wont allow instancing ?

Edit apparently just one profile works for me on dx with hi-def and its not even the highest one i normally use, weird.

hw instancing work on reach…

From the xna times
https://blogs.msdn.microsoft.com/shawnhar/2010/03/12/reach-vs-hidef/
I don’t know what has change (if any occurred) since then under the hood of MonoGame

Hardware instancing requires a card with DX9_3 or higher.
XNA probably had some form of emulation ot support instancing under Reach profile. It worked on Desktop and XBOX360 but not on WP7.x.

On MG things are quite different.
@willmotil , Is it possible that you have one of those cards that support 9_1 & 10_0 but not 9_3?

Probably… 4_9_1 and 9_3 error. 4_0 works.
Though i typically leave it on 9_1

Is there a page that lists what the levels relate to capability wise under monogame ?,
i really am not good with shaders at all.

I was talking about the levels supported by the card/driver. Not the min shader level. Something like dxdiag should show that.

The problem is with compiling the shader? Or loading it?

Oh sorry i didn’t see the reply the shader exits with a numeric code or will not compile depending on the level under hi-def It will compile and run on hi-def 4_0 for instance but not on 4_9_1

@willmotil What graphics cards do you have access to?

Just my 1 old junker in my current computer lol im a poor man.

What card, and what slot?

here is the old girls specs.

NVIDIA System Information report created on: 10/10/2017 11:12:18
System name: ---------

[Display]
Operating System:	Windows 7 Ultimate, 64-bit (Service Pack 1)
DirectX version:	11.0 
GPU processor:		GeForce GTS 250
Driver version:		342.01
Direct3D API version:	10
CUDA Cores:		128 
Core clock:		738 MHz 
Shader clock:		1836 MHz
Memory data rate:	2200 MHz
Memory interface:	256-bit 
Total available graphics memory:	2303 MB
Dedicated video memory:	512 MB GDDR3
System video memory:	0 MB
Shared system memory:	1791 MB
Video BIOS version:	62.92.7D.00.70
IRQ:			18
Bus:			PCI Express x16 Gen2
Device Id:		----------------------------

[Components]

nvui.dll		8.17.13.4201		NVIDIA User Experience Driver Component
nvxdsync.exe		8.17.13.4201		NVIDIA User Experience Driver Component
nvxdplcy.dll		8.17.13.4201		NVIDIA User Experience Driver Component
nvxdbat.dll		8.17.13.4201		NVIDIA User Experience Driver Component
nvxdapix.dll		8.17.13.4201		NVIDIA User Experience Driver Component
NVCPL.DLL		8.17.13.4201		NVIDIA User Experience Driver Component
nvCplUIR.dll		7.8.840.0		NVIDIA Control Panel
nvCplUI.exe		7.8.840.0		NVIDIA Control Panel
nvWSSR.dll		6.14.13.4201		NVIDIA Workstation Server
nvWSS.dll		6.14.13.4201		NVIDIA Workstation Server
nvViTvSR.dll		6.14.13.4201		NVIDIA Video Server
nvViTvS.dll		6.14.13.4201		NVIDIA Video Server
NVSTVIEW.EXE		7.17.13.4201		NVIDIA 3D Vision Photo Viewer
NVSTTEST.EXE		7.17.13.4201		NVIDIA 3D Vision Test Application
NVSTRES.DLL		7.17.13.4201		NVIDIA 3D Vision Module
nvDispSR.dll		6.14.13.4201		NVIDIA Display Server
NVMCTRAY.DLL		8.17.13.4201		NVIDIA Media Center Library
nvDispS.dll		6.14.13.4201		NVIDIA Display Server
PhysX		09.13.1220		NVIDIA PhysX
NVCUDA.DLL		8.17.13.4201		NVIDIA CUDA 6.5.51 driver
nvGameSR.dll		6.14.13.4201		NVIDIA 3D Settings Server
nvGameS.dll		6.14.13.4201		NVIDIA 3D Settings Server

I have an NVIDIA Quadro 600 (1024 MB) - Wikipedia says it is equivalent to a GT 440 - lying around, I bought it to test some software [I bought it on EBay second or n-Hand lol], the test failed but I think the card works fine,… I think…

I could test it on two systems, and if you like, ship it out to you. Performance wise it is lower, but support wise it is better…

I don’t know how stable it is though as the system I tested it on originally would randomly lock up, may be other factors, I am not sure… but I should probably mention that now than later haha…

Yeah your card only supports 9.0C

VS.

Wikipedia article:

It would take me a few days to get around to the testing, but shipping it out is reliant on some other factors, namely: I seldom leave the house at the moment :stuck_out_tongue:

I can look into it, if you think it might help you, I am feeling pretty generous at the moment so bite while you can :wink: I will cover shipping as well, just to be clear.

Sure my email is willmotil@gmail.com hit me up ill send you my info.

Sent,

I mentioned in the email that I also have I think a GT 730 lying around that I may be able to pass across in case the Quadro 600 is faulty…

Recieved,

cool bean’s you must be that mana from heaven i heard about, in that book i read once, for a man surrounded by I.T. heathens in a electronic desert oO. Seriously though that would probably help me a lot to have dx12 compatible card. Ill owe you one.

1 Like

GT 730 it is then. :vulcan:

EDIT

Just got to find it first lol

Unable to find the GT 730, looked everywhere, must have lost it during the house move :cry:

But I did bump into the GT 430 which I thought I lost lol, it supports DX11/12 though I need to confirm this as well as OpenGL 4.2… and is less powered than your GTS 250 which sucks 150W vs 49W on the GT 430, but it has more feature support… and is far less power hungry… I still managed to play GTA IV on it so there is that :slight_smile: Shader Model 5 support mind you, vs. the SM4 on the GTS 250 :slight_smile:

Let me know if you still want the GT 430, at least you can get DX 9.3 support… as well as DX11 with 1GB VRAM

Their page descriptions are actually full of false data, like the GTS 250 page mentions the 9800 GTX lol

So I will test the GT 430 and see what factual data I can find, but I am certain 100% that it does support DX11.

Sorry for that… thought I still had it…

EDIT
http://www.vaseemvalentine.com/Content/Images/MGForum/GT_430.jpg

Just a thought but if your motherboard has SLI, :stuck_out_tongue: you could install both cards :slight_smile:

OGL 4.0 but NVIDIA says 4.2, so let me know if you need that validated…

Don’t care about the power more so the capability. Can’t really test stuff with this card when it wont even let me do instancing with gl.

So the GT 430 is fine?