[ECFT] drm/dri/mesa/xorg-server update [Part 1]
Tilman Keskinöz
arved at FreeBSD.org
Sun Mar 13 17:20:55 UTC 2011
Hi List,
I can confirm that the patch fixes compilation.
The server starts up, but after the KDE4 splashscreen it segfaults.
I tried removing the dri modules from my config, but it does not work.
I tried to start with an autogenerated config, but the autogenerated
config doesn't work either (on Ctrl+C the Server aborts).
On Mar 12, 2011, at 17:21 , George Liaskos wrote:
> I compiled the intel driver with the following patch:
>
> --- src/i830_video.c.orig 2011-03-12 18:00:01.000000000 +0200
> +++ src/i830_video.c 2011-03-12 17:59:08.000000000 +0200
> @@ -2164,7 +2164,7 @@
> static void
> i830_fill_colorkey (ScreenPtr pScreen, uint32_t key, RegionPtr clipboxes)
> {
> - DrawablePtr root = &WindowTable[pScreen->myNum]->drawable;
> + DrawablePtr root = pScreen->root->drawable.id;
> XID pval[2];
> BoxPtr pbox = REGION_RECTS(clipboxes);
> int i, nbox = REGION_NUM_RECTS(clipboxes);
> @@ -2176,7 +2176,7 @@
> gc = GetScratchGC(root->depth, pScreen);
> pval[0] = key;
> pval[1] = IncludeInferiors;
> - (void) ChangeGC(gc, GCForeground|GCSubwindowMode, pval);
> + dixChangeGC(NullClient, gc, GCForeground|GCSubwindowMode, NULL);
> ValidateGC(root, gc);
>
> rects = xalloc (nbox * sizeof(xRectangle));
>
> It works but it doesn't support dri1,
> http://cgit.freedesktop.org/mesa/mesa/commit/?id=48c0ff14240044935049a1114edfc69bc6682b95
>
> Log: http://pastebin.com/W1iiDvWX
> _______________________________________________
> freebsd-x11 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-x11
> To unsubscribe, send any mail to "freebsd-x11-unsubscribe at freebsd.org"
More information about the freebsd-x11
mailing list