Video Mode not supported?

Do you need help? Ask here!

Bug reporting belongs here: http://developer.wz2100.net/newticket
Post Reply
Madman_Andre
New user
Posts: 4
Joined: 21 Nov 2008, 09:47

Video Mode not supported?

Post by Madman_Andre » 07 Apr 2009, 03:42

Basically what it says on the tin. It all started out with the game won't run, period. At first I thought it was just the shortcut I was using, but the actual .exe doesn't work either. I checked a file that is called "stderr" and it states the following:

Code: Select all

error   : [screenInitialise] Error: Video mode 1440x990@32bpp is not supported!
Now, this has started happening recently, and I have no idea how to fix it. I tried changing my video settings, but that didn't work. Is there an easy fix?

stiv
Warzone 2100 Team Member
Warzone 2100 Team Member
Posts: 876
Joined: 18 Jul 2008, 04:41
Location: 45N 86W

Re: Video Mode not supported?

Post by stiv » 07 Apr 2009, 18:40

It is hard to give useful advice based on so little information. ( operating system, graphics card, display settings, compositing window manager in use? )

Basically, you need to run Warzone in a resolution supported by your video card & driver. It may be that your display is set to 1440x900 but only 16bit color depth.
Maybe you can fix that by changing your display settings.

Try running WZ in a window at a lower resolution.

Having updated graphics drivers is usually helpful.

Kaldera
Trained
Trained
Posts: 49
Joined: 20 Jun 2008, 22:04
Location: Germany

Re: Video Mode not supported?

Post by Kaldera » 07 Apr 2009, 20:17

Sorry, that's enough info for me. He is right. Warzone 2100 seems to support only xga-standardised resolutions in fullscreen (restriction in openGL ?). His resolution 1440x990 is a resolution for some TV-displays (edit:some notebooks (mac book) have odd resolutions too: 1440x960, 1680x1050, 1280x800).
I guess this is his native resolution and he didn't use command-line options.

I've tried some non-standards as fullscreen (1440x990, 1200x1000 f.e.) and warzone crashed everytime. Sometimes the loadingscreen appears before crash, but mostly game doesn't start, and only line in stderr.txt is the mentioned one. (2.1.3 and 2.2beta)
My graphics hardware supports such odd resolutions as fullscreen and can be configured by user too. Since Warzone is my only openGL-based application i can't try other ways. I blame it to the fullscreen detection routine.

I'm using nvidia geforce 8600gt + LCD 1600x1200 and Windows XP and latest drivers to play Warzone...

@Madman_Andre:
Try to start with command-line options (howto: http://developer.wz2100.net/wiki/CommandLineOptions )
warzone2100 --resolution 1440x900
Maybe it is slighty deformed, but should work.
Last edited by Kaldera on 07 Apr 2009, 21:09, edited 1 time in total.
Windows 7 RC / Athlon 64 X2 / NVIDIA GeForce 8600 GT

Madman_Andre
New user
Posts: 4
Joined: 21 Nov 2008, 09:47

Re: Video Mode not supported?

Post by Madman_Andre » 07 Apr 2009, 20:50

Thanks for the help. I tried 1680x1050, which is the native resolution of my monitor, and it works fine now. I guess 1440x990 is a bad resolution.

Kaldera
Trained
Trained
Posts: 49
Joined: 20 Jun 2008, 22:04
Location: Germany

Re: Video Mode not supported?

Post by Kaldera » 07 Apr 2009, 21:10

No problem.
Native resolution is always the best for fullscreen.
:)
Windows 7 RC / Athlon 64 X2 / NVIDIA GeForce 8600 GT

stiv
Warzone 2100 Team Member
Warzone 2100 Team Member
Posts: 876
Joined: 18 Jul 2008, 04:41
Location: 45N 86W

Re: Video Mode not supported?

Post by stiv » 08 Apr 2009, 21:35

1440x990
Good catch!

Post Reply