Vcmiclient fails on resolution

$ vcmiclient
Starting... 
Creating console and configuring logger: 14
The log file will be saved to "/home/toney/.cache/vcmi/VCMI_Client_log.txt"
	 Initialization: 20
	 Data loading: 184
	Mod handler: 0
	 Mod filesystems: 45
Basic initialization: 250
Initialized logging system based on settings successfully.
Loading settings: 259
VCMI 0.98 (client)
Found 4 render drivers
	opengl (active)
	opengles2
	opengles
	software
Error: SDL says that 800x600 resolution is not available!
terminate called after throwing an instance of 'std::runtime_error'
  what():  Requested screen resolution is not available

Aborted (core dumped)

That’s really strange… Error like this means that (according to SDL) this resolution is not supported by your video card… This may happen with mobiles/tablets with vertical resolution lower that 600. But on PC this shouldn’t happen normally.

Have you tried starting game in windowed mode? Usually any resolution is available in windowed mode.

Or try running game using another render driver (opengles or software). IIRC there is config option that lets you override auto-selection. @AVS, can you describe how to use it?

settings.json-> video -> driver set to driver name as it printed in console.
smth like:

	"video" : {
		"screenRes" : {
			"height" : 900,
			"width" : 1440
		},
		"showIntro" : false,
"driver" : "software"
	}

Thanks, that works, but only for 1024768 (that`s my native resolution). I would like to use 1024600 instead, but the same error appears.

How have you fixed this? Windowed mode or software renderer?

Perhaps your video card does not supports such resolution. Try to change desktop resolution to 800x600 - if it works, then this may be VCMI/SDL2 problem. Although right now I can’t suggest any fix except for trying to start game with different renderers (or in windowed mode).

Software renderer works for me in windowed mode.