[ECFT] drm/dri/mesa/xorg-server update [Part 1]
George Liaskos
geo.liaskos at gmail.com
Sun Mar 13 21:03:37 UTC 2011
> The crash is probably happening the first time something tries to access
> dri, libdrm.
I believe that kwin tries to use desktop effects by default. Better
try a simple xinit for start to see how it goes and post the log.
Ok, after some research about the patch i believe that this how it should be :
--- src/i830_video.c.orig 2009-05-13 03:12:11.000000000 +0300
+++ src/i830_video.c 2011-03-13 21:39:08.000000000 +0200
@@ -57,7 +57,6 @@
#include "xf86.h"
#include "xf86_OSproc.h"
-#include "xf86Resources.h"
#include "compiler.h"
#include "xf86PciInfo.h"
#include "xf86Pci.h"
@@ -2165,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;
XID pval[2];
BoxPtr pbox = REGION_RECTS(clipboxes);
int i, nbox = REGION_NUM_RECTS(clipboxes);
@@ -2177,7 +2176,7 @@
gc = GetScratchGC(root->depth, pScreen);
pval[0] = key;
pval[1] = IncludeInferiors;
- (void) ChangeGC(gc, GCForeground|GCSubwindowMode, pval);
+ (void) dixChangeGC(NullClient, gc, GCForeground|GCSubwindowMode,
pval, NULL);
ValidateGC(root, gc);
rects = xalloc (nbox * sizeof(xRectangle));
This patch replaces xf86-video-intel/files/patch-src_i830_video.c
It works for me without AIGLX, tried dwm/awesome/xfce4. I will build kde next.
More information about the freebsd-x11
mailing list