Bug 105133 - Xephyr Composite extension broken
Summary: Xephyr Composite extension broken
Status: RESOLVED MOVED
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/DDX/Xephyr (show other bugs)
Version: 7.7 (2012.06)
Hardware: x86-64 (AMD64) Linux (All)
: medium major
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-16 17:01 UTC by Theodore Lytras
Modified: 2018-12-13 18:27 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Theodore Lytras 2018-02-16 17:01:53 UTC
I use Xephyr to play Sid Meier's Alpha Centauri (yes, people still play that), and this requires disabling its Composite extension (or the game hangs). Unfortunately, on my Debian sid amd64 machine with Xephyr version 1.19.6 this throws an error (used to work with version 1.19.5):

$ Xephyr :1 -screen 800x600 -extension Composite

Xephyr: ../../../../include/privates.h:122: dixGetPrivateAddr: Assertion `key-
>initialized' failed.
(EE) 
(EE) Backtrace:
(EE) 0: Xephyr (xorg_backtrace+0x4d) [0x5608257337bd]
(EE) 1: Xephyr (0x56082556d000+0x1ca559) [0x560825737559]
(EE) 2: /lib/x86_64-linux-gnu/libpthread.so.0 (0x7f0b03af6000+0x12180) 
[0x7f0b03b08180]
(EE) 3: /lib/x86_64-linux-gnu/libc.so.6 (gsignal+0x110) [0x7f0b037746a0]
(EE) 4: /lib/x86_64-linux-gnu/libc.so.6 (abort+0x1c7) [0x7f0b03775cf7]
(EE) 5: /lib/x86_64-linux-gnu/libc.so.6 (0x7f0b03740000+0x2cfca) 
[0x7f0b0376cfca]
(EE) 6: /lib/x86_64-linux-gnu/libc.so.6 (0x7f0b03740000+0x2d042) 
[0x7f0b0376d042]
(EE) 7: Xephyr (0x56082556d000+0x3c252) [0x5608255a9252]
(EE) 8: Xephyr (0x56082556d000+0x1c1c1f) [0x56082572ec1f]
(EE) 9: Xephyr (0x56082556d000+0x12c667) [0x560825699667]
(EE) 10: Xephyr (0x56082556d000+0x12bcc5) [0x560825698cc5]
(EE) 11: Xephyr (0x56082556d000+0x12b115) [0x560825698115]
(EE) 12: Xephyr (InitExtensions+0x3d) [0x56082562ce2d]
(EE) 13: Xephyr (0x56082556d000+0x7c93f) [0x5608255e993f]
(EE) 14: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xea) 
[0x7f0b03760f2a]
(EE) 15: Xephyr (_start+0x2a) [0x5608255a92fa]
(EE) 
(EE) 
Fatal server error:
(EE) Caught signal 6 (Aborted). Server aborting
(EE) 

Without "-extension Composite" Xephyr starts, but unfortunately I can't play 
the game. 

Given that this is the only reason I use Xephyr (and I suspect that 
applies to many people as well), I guess this bug qualifies as "major"...
Comment 1 Adam Jackson 2018-06-11 21:55:17 UTC
(In reply to Theodore Lytras from comment #0)
> I use Xephyr to play Sid Meier's Alpha Centauri (yes, people still play
> that), and this requires disabling its Composite extension (or the game
> hangs).

It would be helpful to characterise this hang better, because that shouldn't be possible.
Comment 2 Theodore Lytras 2018-06-11 22:04:44 UTC
(In reply to Adam Jackson from comment #1)
> (In reply to Theodore Lytras from comment #0)
> > I use Xephyr to play Sid Meier's Alpha Centauri (yes, people still play
> > that), and this requires disabling its Composite extension (or the game
> > hangs).
> 
> It would be helpful to characterise this hang better, because that shouldn't
> be possible.

What do I need to do to "characterise this hang better"? What information would be necessary?
Comment 3 Adam Jackson 2018-06-12 16:21:22 UTC
(In reply to Theodore Lytras from comment #2)

> What do I need to do to "characterise this hang better"? What information
> would be necessary?

When the hang happens, are both Xephyr and SMAC stuck? Is either one consuming CPU time? Can you run another client against Xephyr, say xdpyinfo, when this hang happens?

Can you reproduce the hang if you run SMAC with XLIB_SKIP_ARGB_VISUALS=1 in the environment? This should hide the additional Composite visuals from the client, though I have no idea how their availability would cause a hang.

Can you reproduce the hang if you run Xephyr with the '-bs' option appended? This should disable the server's backing store implementation, which happens to be in terms of Composite and could certainly have bugs.
Comment 4 GitLab Migration User 2018-12-13 18:27:29 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/xserver/issues/127.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.