Software versions: Fedora Workstation 22 (TC4, x86_64). Red Eclipse = 1.5.1 (upstream, fully updated). xorg-x11-drv-intel = 2.99.917-6.20150211. xorg-x11-server-Xorg = 1.17.1-11. mesa-dri-drivers = 10.5.4-1.20150505. kernel = 4.0.2-300. Hardware model: GPU = Intel HD Graphics (CPU = Intel Pentium B950 - Sandy Bridge). Steps to Reproduce: 1. Download the game at: http://redeclipse.net/files/releases/redeclipse_1.5.1_nix.tar.bz2.torrent 2. Try to run it (redeclipse.sh). Actual results: (this error message) X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 151 (XFree86-VidModeExtension) Minor opcode of failed request: 10 (XF86VidModeSwitchToMode) Value in failed request: 0xa0 Serial number of failed request: 166 Current serial number in output stream: 168 Expected results: Red Eclipse should run. Additional info: - This notebook has no screen. So I boot with the "video=LVDS-1:d" kernel option added, and I use a external monitor connected through VGA port. - Red Eclipse runs normally within a Wayland session (selected at GDM). - AFTER successfully running the game in the Wayland session, the game will also run normally in the X session too. BUT, if you, then, delete the "*.cfg" files in "~/.redeclipse/", previous behavior (in X) comes back, until you run Red Eclipse in the Wayland session again. So, I suspect that: when without config, the game asks for a resolution to something (SDL?) and is given a invalid resolution that X, then, denies. No idea why it works (also when without config) on Wayland, though.
This sounds like a red-eclipse bug to me. Under wayland, so using xwayland there is no xvidmode extension loaded, which is why the error does not happen there. Please report this bug to the red eclipse developers.
I've sent a series of patches to add XVidMode extension to Xwayland in the upstream bug (see also), will now try with the given game to see if that helps.