Date: Sat, 12 Mar 2011 22:55:33 +0100 From: =?UTF-8?B?R3VzdGF1IFDDqXJleiBpIFF1ZXJvbA==?= <gperez@entel.upc.edu> To: x11@freebsd.org Subject: Re: [ECFT] drm/dri/mesa/xorg-server update [Part 1] Message-ID: <4D7BEBD5.90109@entel.upc.edu> 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
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 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)); 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 section 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 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?4D7BEBD5.90109>