Bug 1222351 - Red Eclipse upstream doesn't run on X (but does on Wayland).
Summary: Red Eclipse upstream doesn't run on X (but does on Wayland).
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: xorg-x11-server
Version: 22
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: X/OpenGL Maintenance List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-05-17 23:55 UTC by Diogo Campos
Modified: 2016-02-09 09:23 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-05-18 07:11:48 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
FreeDesktop.org 87806 0 None None None Never

Description Diogo Campos 2015-05-17 23:55:42 UTC
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.

Comment 1 Hans de Goede 2015-05-18 07:11:48 UTC
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.

Comment 2 Olivier Fourdan 2016-02-09 09:23:23 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.