Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Mar 2011 23:03:36 +0200
From:      George Liaskos <geo.liaskos@gmail.com>
To:        =?UTF-8?Q?Tilman_Keskin=C3=B6z?= <arved@freebsd.org>
Cc:        FreeBSD Ports <ports@freebsd.org>, x11@freebsd.org
Subject:   Re: [ECFT] drm/dri/mesa/xorg-server update [Part 1]
Message-ID:  <AANLkTik8rPYtXMGCPLsLBqMzsedgtisQqfHGLnhFaJvD@mail.gmail.com>
In-Reply-To: <E51FC3FF-999A-40BC-8DC4-616D9339D6AF@freebsd.org>
References:  <AANLkTiknQ7UAu3UrxeZ8Ss6sr4yn2jAoHbusnJZzSuqo@mail.gmail.com> <1299844349.1472.93.camel@xenon> <AANLkTimVGik6NE=CZ-0qfyeAvGTpVu4SxP%2BOauQEgr=i@mail.gmail.com> <D1A29FF2-26D5-4E1C-AE99-A4C94A452351@FreeBSD.org> <AANLkTikBHPLd04y8Dxo9Ov280YSNmpJiOtZ9bDo-qVup@mail.gmail.com> <E51FC3FF-999A-40BC-8DC4-616D9339D6AF@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTik8rPYtXMGCPLsLBqMzsedgtisQqfHGLnhFaJvD>