Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Mar 2011 23:55:30 +0800
From:      Martin Wilke <miwi@FreeBSD.org>
To:        =?UTF-8?Q?Gustau_P=C3=A9rez_i_Querol?= <gperez@entel.upc.edu>
Cc:        x11@freebsd.org
Subject:   Re: [ECFT] drm/dri/mesa/xorg-server update [Part 1]
Message-ID:  <AANLkTim=HxxC0cCuq_uqZFkjY1YnBeXa=%2B=8WRPY=AaF@mail.gmail.com>
In-Reply-To: <4D7BEBD5.90109@entel.upc.edu>
References:  <AANLkTiknQ7UAu3UrxeZ8Ss6sr4yn2jAoHbusnJZzSuqo@mail.gmail.com> <1299844349.1472.93.camel@xenon> <AANLkTimVGik6NE=CZ-0qfyeAvGTpVu4SxP%2BOauQEgr=i@mail.gmail.com> <4D7BEBD5.90109@entel.upc.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
2011/3/13 Gustau P=C3=A9rez i Querol <gperez@entel.upc.edu>

> 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
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTim=HxxC0cCuq_uqZFkjY1YnBeXa=%2B=8WRPY=AaF>