7dust

Hey there all!

I wonder if someone of you has experienced the same problem like me: 

I'd like to set up my game to have a resolution of 640x480 fullscreen (or even lower). When I make a new game project (or open an existing one - doesn't matter) and change the resolution to anything lower than 800x600 fullscreen a messagebox appears (while the game starts fine, but stays a black screen doing nothing) saying that I will have to use a resolution minimum of 800x600 to use this application. I was searching for the text in the messagebox on the net, but to no avail. I'd post a picture here, but since my WindowsXP is a german version, I guess that it wouldn't help a lot.

Maybe this even has nothing to do with XNA or C#. My graphics card is an Nvidia 6600 LE and the drivers are up to date. Other games like FEAR run just fine if I set them to 640x480.

What do I miss here !

Forgot to mention: Target platform: Windows only.




Re: XNA Game Studio Express low resolutions not working (<800x600)

Ecrofirt

I just made a small XNA application last night that works perfectly fine in 640x480 fullscreen mode. I've got an ATI X800 XT

How are you going about doing your code Here's how mine looks:

public Game1()
{
graphics = new GraphicsDeviceManager(this);
content = new ContentManager(Services);

graphics.PreferredBackBufferWidth = 640;
graphics.PreferredBackBufferHeight = 480;
graphics.IsFullScreen = true;
graphics.ApplyChanges();

}

I'm not positive if the graphics.ApplyChanges(); line is needed. Here's the description of it:
GraphicsDeviceManager.ApplyChanges Method
Applies any changes to device-related properties, changing the graphics device as necessary





Re: XNA Game Studio Express low resolutions not working (<800x600)

7dust

 

As far as I know, the applychanges method is needed.

I'm doing it the exact same way as you code-wise.

Setting the refresh rate manually doesn't help either...






Re: XNA Game Studio Express low resolutions not working (<800x600)

Ultrahead

Hi,

I'm having problems with fullscreen. When I set "IsFullScreen" to true everything goes black and my monitor tries to warn me that the resoultion is out of limits - which is not; only on 800x600 it succeeds to warn me). I was experiencing some problems with Sharky's Air Legends game but it wasn't until now that I realize that probably it has to do with the fullscreen since the game runs in fullscreen by default. The weird part is that I also have a 6600 (GT) card.

Is anyone else -with a different card- experiencing problems with the fullscreen property

EDIT: sorry for the edit, but my monitor warns me not about the resolution limits but the refresh rate ones: "Out of limits 15Hz 165kHz". 






Re: XNA Game Studio Express low resolutions not working (<800x600)

7dust

Ultrahead,

XNA might set your refresh rate to something that's out of your monitor's limits for this resolution.

Try the solution here: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=886484&SiteId=1

And tell us if this worked for you.

However, it did not work for my problem....






Re: XNA Game Studio Express low resolutions not working (<800x600)

Ultrahead

Thanks for the link. It did help. I posted my results in this one: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1029147&SiteID=1&mode=1

It seems that XNA sets the hz to 240.






Re: XNA Game Studio Express low resolutions not working (<800x600)

7dust

It seems that I have found a possible solution/workaround to the initial problem stated above.

I have downgraded my graphics driver to forceware 81.98 and disabled the NView desktop manager.

Now, the messagebox doesn't appear any longer and the programs I build run fine in 640x480, which seems to be the lowest possible resolution for XNA.

Apparently, it was a driver problem after all. Although I don't think that this issue is exclusive to my system, I guess it's very specific and may be encountered only by few users.






Re: XNA Game Studio Express low resolutions not working (<800x600)

Richard Kain

I don't know what you're talking about as far as low-resolution limits are concerned. I've successfully compiled and run a program that runs at 320x240 without any issues. In fact, its technically running at 240x320, that is to say, vertically oriented. Or course, I've also not bothered attempting to run it full-screen yet, just windowed. I imagine that COULD lead to difficulties. But so far I haven't noticed any real resolution constraints associated with XNA.