Xephyr fails to run on a Linux x86_64 system because hostx.c is built with _XSERVER64 defined. It dies with this error:
X Error of failed request: BadDrawable (invalid Pixmap or Window parameter)
Major opcode of failed request: 55 (X_CreateGC)
Resource id in failed request: 0x0
Serial number of failed request: 7
Current serial number in output stream: 12
This happens because RootWindow(HostX.dpy, HostX.screen) is returning None.
This broke with this commit:
Author: Dodji Seketeli <email@example.com>
Date: Wed Sep 19 15:35:51 2007 +0200
Xephyr: check presence of extensions in host X
(hostx_has_dri): added these new entry points
check presence of DRI and XShape extensions before
trying to use them.
check presence of glx extension before we use it.
which causes that file to include kdrive-config.h, which in turn includes dix-config.h, which defines _XSERVER64.
I seem to have come across this in Fedora 9.
Okay, if you don't mind, I will look at this.
Thanks for looking at this!
I'd love to see this fixed. It prevents me from running a working OLPC emulator on my Fedora 9 laptop
Dodji, any progress on fixing this, or should we just revert the bad commit for 1.5?
I have just got myself an x86_64 box to test this. Before that I didn't have such an environment.
I will be able to test the problem and hopefully come to a solution.
I am very sorry for the delay.
So have committed http://gitweb.freedesktop.org/?p=xorg/xserver.git;a=commit;h=5de1867fbb0a336ff3fdc92cbf734849f6111b1b that seems to fix it for me.
I have also committed a patch to fix various build issues on X86_64.
I hope it works for you.
I applied the patches and now it works here on x86_64
Thanks a lot.
Just wanted to say thanks - I've been using the rpms at http://koji.fedoraproject.org/koji/buildinfo?buildID=57371 with this patch and it's great.