Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Mar 2011 18:20:46 +0100
From:      =?iso-8859-1?Q?Tilman_Keskin=F6z?= <arved@FreeBSD.org>
To:        George Liaskos <geo.liaskos@gmail.com>
Cc:        FreeBSD Ports <ports@FreeBSD.org>, x11@FreeBSD.org
Subject:   Re: [ECFT] drm/dri/mesa/xorg-server update [Part 1]
Message-ID:  <D1A29FF2-26D5-4E1C-AE99-A4C94A452351@FreeBSD.org>
In-Reply-To: <AANLkTimVGik6NE=CZ-0qfyeAvGTpVu4SxP%2BOauQEgr=i@mail.gmail.com>
References:  <AANLkTiknQ7UAu3UrxeZ8Ss6sr4yn2jAoHbusnJZzSuqo@mail.gmail.com> <1299844349.1472.93.camel@xenon> <AANLkTimVGik6NE=CZ-0qfyeAvGTpVu4SxP%2BOauQEgr=i@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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:
>=20
> --- 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 =3D &WindowTable[pScreen->myNum]->drawable;
> +   DrawablePtr root =3D pScreen->root->drawable.id;
>    XID	       pval[2];
>    BoxPtr      pbox =3D REGION_RECTS(clipboxes);
>    int	       i, nbox =3D REGION_NUM_RECTS(clipboxes);
> @@ -2176,7 +2176,7 @@
>    gc =3D GetScratchGC(root->depth, pScreen);
>    pval[0] =3D key;
>    pval[1] =3D IncludeInferiors;
> -   (void) ChangeGC(gc, GCForeground|GCSubwindowMode, pval);
> +   dixChangeGC(NullClient, gc, GCForeground|GCSubwindowMode, NULL);=09=

>    ValidateGC(root, gc);
>=20
>    rects =3D xalloc (nbox * sizeof(xRectangle));
>=20
> It works but it doesn't support dri1,
> =
http://cgit.freedesktop.org/mesa/mesa/commit/?id=3D48c0ff14240044935049a11=
14edfc69bc6682b95
>=20
> Log: http://pastebin.com/W1iiDvWX
> _______________________________________________
> freebsd-x11@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-x11
> To unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D1A29FF2-26D5-4E1C-AE99-A4C94A452351>