From owner-freebsd-ports@FreeBSD.ORG Sun Mar 13 17:20:55 2011 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AF809106566B; Sun, 13 Mar 2011 17:20:55 +0000 (UTC) (envelope-from arved@FreeBSD.org) Received: from gazoz.arved.priv.at (cl-1383.ham-01.de.sixxs.net [IPv6:2001:6f8:900:566::2]) by mx1.freebsd.org (Postfix) with ESMTP id 22E608FC1E; Sun, 13 Mar 2011 17:20:54 +0000 (UTC) Received: from inek.arved.priv.at (inek-gif0.arved.priv.at [IPv6:2001:6f8:13fb::2]) by gazoz.arved.priv.at (8.14.4/8.14.4) with ESMTP id p2DHKrEb064868; Sun, 13 Mar 2011 18:20:53 +0100 (CET) (envelope-from arved@FreeBSD.org) Received: from fs03.lm33.srv.sil.at (elma.local.arved.priv.at [192.168.1.28]) by inek.arved.priv.at (8.14.4/8.14.4) with ESMTP id p2DHKlJD065262; Sun, 13 Mar 2011 18:20:52 +0100 (CET) (envelope-from arved@FreeBSD.org) Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset=us-ascii From: =?iso-8859-1?Q?Tilman_Keskin=F6z?= In-Reply-To: Date: Sun, 13 Mar 2011 18:20:46 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <1299844349.1472.93.camel@xenon> To: George Liaskos X-Mailer: Apple Mail (2.1082) Cc: FreeBSD Ports , x11@FreeBSD.org Subject: Re: [ECFT] drm/dri/mesa/xorg-server update [Part 1] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Mar 2011 17:20:55 -0000 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"