Mike Brown

So here's a quick question. I'm pretty sure it's been asked before but none of the combinations I can think of give a definitive answer for me.

I'll make this one quick and to the point. Are there any known compat issues with GSE and Vista RTM (currently using Vista Business). Let me know




Re: XNA Game Studio Express XNA GSE and Vista

Jim Perry

Some people have gotten it to work, others haven't so it's kind of hard to give a definitive answer.




Re: XNA Game Studio Express XNA GSE and Vista

ivolved_Mike_Brown

I guess I was looking for a Yay or Nay from MSFT. But I guess I've worked with less supported scenarios, no time like now to get my hands dirty.






Re: XNA Game Studio Express XNA GSE and Vista

Stephen Styrchak - MSFT

Our official stance is that it is unsupported. If you look at the Visual Studio site on MSDN, you'll find information about what specifically is not working on Vista. Although the VS 2005 SP1 has fixed many issues, the most problematic issue for most people is that the VS 2005 installer, as well as the XNA GSE installer, is not compatible with Vista.

To give yourself the best chance of success, you need to install VS (Visual C# Express in the case of XGSE) with elevated privilege. You then need to install the VS 2005 SP1 with elevated privilege. Then you need to install XGSE with elevated privilege. This last step requires you to start a command window with elevated privilege and run the installer from that window.

It is not enough to sign in as an administrator and rely on the UAC dialog because Windows Vista will not prompt for every action that requires elevated privileges during installation of these products.

Further, note that VS 2005 (and VC# 2005) requires an update for Windows Vista that has not been released yet (it may be in Beta now, I forget though). The VS site will probably list additional issues that are addressed by that update.

We currently do not have a list of known issues affecting XNA GSE on Vista because we do not yet support that platform. Based on anecdotal information only, it seems that XNA-specific features work as long as you get past the installation.

--Stephen





Re: XNA Game Studio Express XNA GSE and Vista

Glenn Wilson

I have completed the install and it seems to be working fine. You do need to make sure that you install VCE and all of the service packs, then install the XNA and SE Systems.

But the tip is that you need to run a command propmt with the elevated permissions, then run each of the setups from that command propmt.... not there GUI Interfaces.

Here are some of the links for the Vista and Visual Studio Parts.

Microsoft Visual Studio 2005 Express Editions Service Pack 1
http://www.microsoft.com/downloads/details.aspx FamilyID=7b0b0339-613a-46e6-ab4d-080d4d4a8c4e&DisplayLang=en

Microsoft Visual Studio 2005 Service Pack 1 Update for Windows Vista Beta
http://www.microsoft.com/downloads/details.aspx familyid=fb6bb56a-10b7-4c05-b81c-5863284503cf&displaylang=en

Visual Studio on Windows Vista
http://msdn2.microsoft.com/en-us/vstudio/aa948853.aspx

Microsoft Visual Studio 2005 Service Pack 1 Update for Windows Vista Beta Release Notes
http://support.microsoft.com/default.aspx scid=929470






Re: XNA Game Studio Express XNA GSE and Vista

ivolved_Mike_Brown

Thanks again for all the great answers everybody!

I will sticky this in case anyone else wants to find the answer quickly.






Re: XNA Game Studio Express XNA GSE and Vista

joutlaw

I have gotten XNA to work with Vista RTM. That being said I am experiencing some performance issues. My code is "jerkey" ( at least in debug mode ). While I am staunch advocate of Microsoft tools and technologies the axiom "be weary of 1.0 versions of Microsoft Products" definetly holds true for me.

Despite the cleanliness of the XNA Framework I am considering switching back to DirectX ( December 2006 ) for performance reasons.





Re: XNA Game Studio Express XNA GSE and Vista

Jon Watte

The trick to writing smoothly performing code with any .NET technology is to not allocate objects at runtime. You should pre-allocate what you can, and then re-use those objects, instead of allocating new objects all the time. If you do this, you won't ever get G1 or G2 garbage collections running, so performance will be smooth.

Unfortunately, some parts of XNA itself appears to allocate memory each frame (such as reading the input/controller), so you can't make it perfect, and on Xbox, where GC is not generational (AAIIEEEE!) you'll eventually get a collection of everything.





Re: XNA Game Studio Express XNA GSE and Vista

Shawn Hargreaves - MSFT

Jon: what makes you say input is allocating memory

I thought we'd fixed all the places this was happening: I'd be very interested if you are still seeing garbage from any of the input API's.





Re: XNA Game Studio Express XNA GSE and Vista

Michael Hansen

me to i made a sample with the tiny model rotate on the screen and a imput press b bottom to exit

and the garbage collector is exploading a way ever frame when i remove the imput

there is nothing allocated it is staty as a rock

i let the sample run for 30 minutes 

it sems like the imput is alocating and removing ever frame and the total garbage colected bytes just explodet

ps ...

my sample do not use the game.dll

onlye xna.framework.dll