From owner-freebsd-x11@FreeBSD.ORG Sun Mar 13 15:55:31 2011 Return-Path: Delivered-To: x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F025D106564A for ; Sun, 13 Mar 2011 15:55:31 +0000 (UTC) (envelope-from miwi.freebsd@googlemail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id A282B8FC16 for ; Sun, 13 Mar 2011 15:55:31 +0000 (UTC) Received: by gyg13 with SMTP id 13so689430gyg.13 for ; Sun, 13 Mar 2011 08:55:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:sender:reply-to:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type; bh=kphLhuYmaoPgQY4QUccUlkp+f0HPuaz3nMAGKxrq/as=; b=M6Ojla6szzNWb4OMiZ0jI3tn3AhSF3xswxP8GGTkMdoJo5uRZCS9Pm2+/XfXvv+e5u u0vaKSy+qwwNx4e2tz8BKT7fm9FYwup4JRcAcekLjDlEe4ylWGomRGHErUBix5nnszd2 gPeV1RVdvEdhKcrl9eWkWSJ9Yz6c1cplxwCMM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:sender:reply-to:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=oEZuw/2U7W8A88YgyXAtVidH4xi8+JDOnFtQvwZrC0ZVGBW1PLf11YScK4A06ynlmQ 9wlsALfeFE/aCYIluhbImCr140syFY+6v30JBKPJIlhosnaBY7QGuhjui6D1j7R4NFjK oYPDYYAUI3f1yGvPvc50kQ8leWxAfJig04rGc= MIME-Version: 1.0 Received: by 10.90.14.39 with SMTP id 39mr2156998agn.127.1300031730815; Sun, 13 Mar 2011 08:55:30 -0700 (PDT) Sender: miwi.freebsd@googlemail.com Received: by 10.90.83.8 with HTTP; Sun, 13 Mar 2011 08:55:30 -0700 (PDT) In-Reply-To: <4D7BEBD5.90109@entel.upc.edu> References: <1299844349.1472.93.camel@xenon> <4D7BEBD5.90109@entel.upc.edu> Date: Sun, 13 Mar 2011 23:55:30 +0800 X-Google-Sender-Auth: 9sLiE5yh6iwKbxyO58cVVtE-WLQ Message-ID: From: Martin Wilke To: =?UTF-8?Q?Gustau_P=C3=A9rez_i_Querol?= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: x11@freebsd.org Subject: Re: [ECFT] drm/dri/mesa/xorg-server update [Part 1] X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: miwi@FreeBSD.org List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Mar 2011 15:55:32 -0000 2011/3/13 Gustau P=C3=A9rez i Querol > Al 12/03/2011 17:21, En/na George Liaskos ha escrit: > > 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 clipboxe= s) >> { >> - 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); >> ValidateGC(root, gc); >> >> rects =3D xalloc (nbox * sizeof(xRectangle)); >> > > Reports : > > 0.- For all the tests I made, I only recompiled xf86-{video|input}-* and > nvidia-driver. > > 1.- I did the same patch, and it kinda works with an Intel Q965, however= I > did not know about dri. I had to disable AIGLX in the ServerLayout sectio= n > or the screen gets corrupted. > > 2.- I did a similar patch for xf86-video-intel29, but I have a problem > when starting xorg. It segfaults with something related to a registered > private key unknown. In the patch, the original code used > > "dixRequestPrivate" > > but I found somewhere that now the appropriate routine is > > "dixRegisterPrivateKey" > > however it fails. If you want, I can send the patches to the list. > > 3.- With an nvidia card (NVS135) it works fine. > > Best regards, > > Gustau > > yes patches always welcome. thanks all for your feedback, looking forward to get more feedback from intel users. > > > PGP KEY : http://www-entel.upc.edu/gus/gus.asc > Stop top-posting : http://ca.wikipedia.org/wiki/Top-posting > http://en.wikipedia.org/wiki/Posting_style > >