Author Topic: The error "All resolution switches have failed."  (Read 3145 times)

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
The error "All resolution switches have failed."
« on: November 01, 2017, 10:19:23 am »
This is a funky error that pops up with unity games from time to time, and I have no idea why.  The full text of one might be something more like this:

Switching to resolution 1920x1080 failed, trying lower one
All resolution switches have failed
Screen: could not switch resolution (1920x1080 fs=0 hz=0)

It's something that has come up as far back as 2011 with AI War Classic, but only with one customer ever who reported it (!), and as recently as with Starward Rogue with again one customer (different person).  Dead Island and a few other games also come up when googling this, but again extremely rarely.

Often a reinstall of the game, or a validation of the files, or even just a reboot seems to fix the issue.  In some cases it might be out of date graphics drivers, or something funky with multiple monitors or virtual monitors.  For the record we all run multiple monitors here at Arcen, but typically only on our windows boxes.  OSX has some funny bugs with multiple monitors depending on what exact version of OSX you're on.  Thankfully those haven't been much of an issue since I believe 2012 or so, I want to say.

At any rate, the simplest solution is to run the game in windowed mode.  With AI War 2, the way to do that is to take the attached file, and put it in the PlayerData folder inside your game folder.  Things should load fine from there, and you may even be able to run fullscreen afterwards.
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline illiousintahl

  • Newbie
  • *
  • Posts: 2
Re: The error "All resolution switches have failed."
« Reply #1 on: October 23, 2019, 08:46:31 pm »
This problem has occurred in my instance and almost caused me to return the game for a full refund (just saying).
I can provide more information.

Running GOG version.
I am running an Intel Core i3 7530k dual core cpu at nominal on an MS-7A69 board variant i believe a 250m mortar motherboard if memory serves with 24gb of ram and a nvidia gtx 1070.
I started install while running dual monitor onto my secondary m.2 drive with primary display set to my fullHD plasma tv and my second to my 16:10 ratio 4k LG that utilizes dual dvi.
It ran on the plasma giving me artefacts like shadow outlines on everything glossy and did not wish to update resolution on apply.
I had set my resolution to 1920x1080 and changed to 60hz from the initial 0hz unbound @1000x600 (a resolution might I say I don't think any monitor does natively).
I had to quit and reload the program for it to enable.
I still had the artefacts so i decided to run on my proper computer monitor (the LG) [I think the artefacts were to do with the seating of the hdmi cable in it's socket becaus that sems to have resolved by the end of my problem solving].

This is when problems started.
It would crash as it tried to load through resolutions that this monitor can in fact do.
I tried 1920x1080, 1024x768; i tried running in compatibility mode, windowed shortcut, in both window and fullscreen mode by toggling windows; fiddling around with the up to date drivers over scaling etc.

Strange thing if I changed settings to show only on the plasma and therefore had the game up and running by the display dialogue time out it would switch back to the LG monitor in a working state... until you tried to change and video settings (for example to go full screen; among any other possible change [note not audio changes etc.]).
So I next tried dual monitor switching monitor priority.

It would not start when the basic display was the dual DVI LG 4k 16:10 even when i had set the monitor to the same specifications of the fullHD plasma.
At this point I would of messed with the config file; but either your game hasn't got one or it seems that no edit of the .dat file works.
I tried uninstalling... which didn't work on a reinstall.

So i thought okay must have some left over hidden configs in the user file or something.... nope, nada.
I downloaded your .data file solution, that does not work.
I thought maybe it's the resolution of the monitor being naturally too big, so i ran it on a 4k LED tv; no problem there.

So from what I can ascertain the initial setup of the graphics configuration by the installer seems to lock into some HDMI mode that just doesn't like jumping through a non HDMI signal (or less likely the game doesn't like 16:10 ratio monitors no matter how their resolution is configured (fullHD, 640x480, etc.).
The only way I can play on my primary pc monitor (the LG 4k 16:10) is to run dual screen with the HDMI based monitor as the primary; place the instance in window mode and adjust while on that primary HDMI monitor and then once changed in size to suit move the window across to the secondary main PC monitor and select new game from there.

But this is a STUPID INELEGANT HALF-COCKED solution to a professional product that should work natively on a standard computer monitor.
What's more is I CANNOT run it in single screen mode.
It doesn't sound that much of a loss, but I game at friends houses and I don't lug a 50+" plasma there; which means this product that I paid for becomes NON-FUNCTIONAL at that point.

Luckily i have a dvi to hdmi and dvi to active display port adapters so i don't see this as being a continued hindrance now that I believe I know around what the problem occurs.

Still it's a bug that should of been explored & not left to the end consumer free beta tester because it's a bug that can cost you sales and most people will either not bother because they'll go oh it won't work on my system, they'll post bad reviews because the product IS defective and are not likely to engage to tell you about their issue at the end of stressing out trying to find what should be a simple config solution when they can simply get a refund.



UPDATE: active adapters for hdmi & display port do not work. removing all nvidia drivers does, but renders screen essentially useless resolution of 800x600 max with terrible lag (possibly because it's resorting to using the on die cpu graphics instead of utilizing the graphics acceleration of the dedicated GPU.
« Last Edit: October 24, 2019, 01:28:30 am by illiousintahl »

Offline BadgerBadger

  • Arcen Volunteer
  • Hero Member Mark III
  • *****
  • Posts: 1,229
  • BadgerBadgerBadgerBadger
Re: The error "All resolution switches have failed."
« Reply #2 on: October 23, 2019, 08:51:52 pm »
This problem seems restricted to the GoG builds, and those just became available with the release yesterday.

Hopefully a resolution can be found soon! (pun half intended)