Hello everyone. We've just started writing a PC game in XNA, and are progresing very quickly. However we're a bit concerned by the fact that the game started not to run on the artist's machine. Through installing VC#, we discovered basically it's failing to create a Texture2D with the following parameters:
// Create the cache texture
this.Texture = new Texture2D(
graphicsDevice,
256,
256,
1,
ResourceUsage.Dynamic,
SurfaceFormat.Alpha8,
ResourceManagementMode.Manual
);
"The device does not support creating a texture of the given format with the given ResourceUsage"
Or practically any parameters, truth be told.
The graphics card is an NVIDIA FX 5900 Ultra, this works fine on various others. Latest XNA/DirectX and NVIDIA drivers are installed. I know the GFX card is not exactly top of the range, but would have expected it to be able to handle a 256x256 square texture with an alpha channel :-\ Tried many different SurfaceFormats, ResourceUsage and ResourceManagement settings with no success.
If anyone could help it would be much appreciated! Cheers!
lemmy

The device does not support creating a texture of the given format with the given ResourceUsage
kperson
I was also told that .Alpha8 isn't support on the Xbox 360 either, but not tested this out.
Michael Vanhoutte
"The device does not support creating a texture of the given format with the given ResourceUsage"
Reading what it says carefully, it seems to confer an uncooperative combination of format and resource usage. The error message is probably misleading because in reality, the fact that the resource is "managed" is competely transparent to the graphics device, as this is handled by a software layer above the device. That would leave me to believe that only remaining culprit is the surface format. The Geforce 5xxx series seems to be a pretty lousy series of graphics cards in terms of support and performance, so it wouldn't surprise me if the card didn't support (or expose support for) an 8 bit alpha channel only texture. Try a different surface format instead of a management mode and see what happens.
aggrothingy
Talyrond