Bug#632549: Xephyr asserts and aborts during startup
On Wed, Jul 06, 2011 at 11:01:38PM +0200, Julien Cristau wrote:
> Try this?
>
> diff --git a/hw/kdrive/ephyr/ephyrdriext.c b/hw/kdrive/ephyr/ephyrdriext.c
> index 6945f5b..0bd51b2 100644
> --- a/hw/kdrive/ephyr/ephyrdriext.c
> +++ b/hw/kdrive/ephyr/ephyrdriext.c
> @@ -1394,6 +1394,10 @@ ephyrDRIExtensionInit (ScreenPtr a_screen)
> EPHYR_LOG_ERROR ("failed to register DRI extension\n") ;
> goto out ;
> }
> + if (!dixRegisterPrivateKey(&ephyrDRIScreenKeyRec, PRIVATE_SCREEN, 0))
> + goto out ;
> + if (!dixRegisterPrivateKey(&ephyrDRIWindowKeyRec, PRIVATE_WINDOW, 0))
> + goto out ;
> screen_priv = calloc(1, sizeof (EphyrDRIScreenPrivRec)) ;
> if (!screen_priv) {
> EPHYR_LOG_ERROR ("failed to allocate screen_priv\n") ;
Thanks Julien!
It works like a charm :-)
I got that error:
EE) AIGLX error: dlopen of /usr/lib/i386-linux-gnu/dri/swrast_dri.so failed (/usr/lib/i386-linux-gnu/dri/swrast_dri.so: cannot open shared object file: No such file or directory)
(EE) GLX: could not load software renderer
Not sure if it's related or not.
Cheers,
--
GPG-Key: 0xA3FD0DF7 - 9F73 032E EAC9 F7AD 951F 280E CB66 8E29 A3FD 0DF7
Debian User and Developer.
Homepage: www.foolab.org
Reply to: