[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#480737: xserver-xephyr: "-extension Composite" does not disable composite extension



Package: xserver-xephyr
Version: 2:1.4.1~git20080131-4
Severity: normal

Hi,

I use Xephyr to play Alpha Centauri (mea culpa) as Alpha Centauri has
problems with 32 bit visuals (available when the Composite extension
is enabled) and Xephyr did not provide those until recently.

But some time ago Xephyr apparently enabled the Composite extension
and therefor 32 bit visuals.  No problem, Xephyr's --help says this:

,----
| % Xephyr --help 2>&1 | grep -- '[-+]extension'
| +extension name        Enable extension
| -extension name        Disable extension
`----

But this simply does not work for Composite:

,----
| % Xephyr.smc :1 -screen 1024x768 -br -host-cursor -extension Composite
| expected keysym, got XF86KbdLightOnOff: line 70 of pc
| expected keysym, got XF86KbdBrightnessDown: line 71 of pc
| expected keysym, got XF86KbdBrightnessUp: line 72 of pc
| expected keysym, got XF86KbdLightOnOff: line 70 of pc
| expected keysym, got XF86KbdBrightnessDown: line 71 of pc
| expected keysym, got XF86KbdBrightnessUp: line 72 of pc
| Could not init font path element /usr/share/fonts/X11/cyrillic, removing from list!
`----

(This is the content of ~/bin/Xephyr.smc:

,----
| #!/bin/sh
| 
| MCOOKIE=$(mcookie)
| 
| xauth add $(hostname)/unix$1 . $MCOOKIE
| xauth add localhost/unix$1 . $MCOOKIE
| 
| Xephyr "$@"
| 
| xauth remove $(hostname)/unix$1 localhost/unix$1
| 
| exit 0
`----

The script simply handles authentication matters.)

>From another terminal:

,----
| % DISPLAY=:1 xdpyinfo | grep Composite
|     Composite
`----

Just for checking if -extension works in general, see if RANDR is
enabled on the same Xephyr X server:

,----
| % DISPLAY=:1 xdpyinfo | grep RANDR
|     RANDR
`----

Now after killing the Xephyr instance and starting it like this:

,----
| % Xephyr.smc :1 -screen 1024x768 -br -host-cursor -extension RANDR
| expected keysym, got XF86KbdLightOnOff: line 70 of pc
| expected keysym, got XF86KbdBrightnessDown: line 71 of pc
| expected keysym, got XF86KbdBrightnessUp: line 72 of pc
| expected keysym, got XF86KbdLightOnOff: line 70 of pc
| expected keysym, got XF86KbdBrightnessDown: line 71 of pc
| expected keysym, got XF86KbdBrightnessUp: line 72 of pc
| Could not init font path element /usr/share/fonts/X11/cyrillic, removing from list!
`----

doing this:

,----
| % DISPLAY=:1 xdpyinfo | grep RANDR
`----

yields a grep exit status of 1 (i.e. not found).  I tried this for the
RENDER extension, too.  In principle -extension works, it just does
not for Composite, and I am at a complete loss as to why.

It would be nice if this got fixed, because I really enjoy Alpha
Centauri (yes I know, its proprietary...  but it is just too darn
good).


Greetings,


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (550, 'testing'), (50, 'unstable'), (40, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages xserver-xephyr depends on:
ii  libc6                       2.7-10       GNU C Library: Shared libraries
ii  libdbus-1-3                 1.2.1-2      simple interprocess messaging syst
ii  libfontenc1                 1:1.0.4-2    X11 font encoding library
ii  libhal1                     0.5.11~rc2-1 Hardware Abstraction Layer - share
ii  libpixman-1-0               0.10.0-2     pixel-manipulation library for X a
ii  libx11-6                    2:1.0.3-7    X11 client-side library
ii  libxau6                     1:1.0.3-2    X11 authorisation library
ii  libxdmcp6                   1:1.0.2-2    X11 Display Manager Control Protoc
ii  libxext6                    2:1.0.4-1    X11 miscellaneous extension librar
ii  libxfont1                   1:1.3.2-1    X11 font rasterisation library

Versions of packages xserver-xephyr recommends:
ii  xbase-clients                 1:7.3+10   miscellaneous X clients - metapack
ii  xfonts-base                   1:1.0.0-5  standard fonts for X

-- no debconf information



Reply to: