<br><div class="gmail_quote">On Wed, May 12, 2010 at 3:32 PM, Chris Wilson <span dir="ltr"><<a href="mailto:chris@chris-wilson.co.uk">chris@chris-wilson.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="h5">On Wed, 12 May 2010 13:55:27 -0400, phil lemelin <<a href="mailto:phil.lemelin@gmail.com">phil.lemelin@gmail.com</a>> wrote:<br>
> I downloaded the 2.6.32.12 kernel and patched it since the patch would'nt<br>
> work well with my 2.6.29.6 kernel and here is what I get after a couple of<br>
> minutes playing with the magnifier. I seem to be able to play longer before<br>
> experiencing the crash however.<br>
> I can provide the corresponding Xorg.0.log if it is relevant.<br>
><br>
> [root@localhost ~]# /usr/local/bin/Xorg<br>
><br>
> X.Org X Server 1.7.6<br>
> Release Date: 2010-03-17<br>
> X Protocol Version 11, Revision 0<br>
> Build Operating System: Linux 2.6.32.12 i686<br>
> Current Operating System: Linux localhost 2.6.32.12 #4 SMP Wed May 12<br>
> 10:12:55 EDT 2010 i686<br>
> Kernel command line:<br>
> Build Date: 12 May 2010  01:37:47PM<br>
><br>
> Current version of pixman: 0.15.20<br>
>     Before reporting problems, check <a href="http://wiki.x.org" target="_blank">http://wiki.x.org</a><br>
>     to make sure that you have the latest version.<br>
> Markers: (--) probed, (**) from config file, (==) default setting,<br>
>     (++) from command line, (!!) notice, (II) informational,<br>
>     (WW) warning, (EE) error, (NI) not implemented, (??) unknown.<br>
> (==) Log file: "/usr/local/var/log/Xorg.0.log", Time: Wed May 12 13:44:57<br>
> 2010<br>
> (==) Using config file: "/etc/X11/xorg.conf"<br>
> xf86TokenToOptinfo: table is NULL<br>
> xf86TokenToOptinfo: table is NULL<br>
> Setting master<br>
> expected keysym, got XF86TouchpadToggle: line 122 of inet<br>
> expected keysym, got XF86TouchpadToggle: line 122 of inet<br>
> intel_bufmgr_gem.c:713: Error mapping buffer 65452 (pixmap): Cannot allocate<br>
> memory .<br>
<br>
</div></div>So it seems to survive the original bug, only to trigger a later one by<br>
hogging all the memory and causing ENOMEM. That segfault looks reminiscent<br>
of:<br>
<br>
[libdrm]<br>
commit 08371bc29013370558728dcbeeed6a23ad2f5a70<br>
Author: Chris Wilson <<a href="mailto:chris@chris-wilson.co.uk">chris@chris-wilson.co.uk</a>><br>
Date:   Tue Dec 8 22:35:24 2009 +0000<br>
<br>
    intel: Clear virtual after failing to mmap_gtt.<br>
<br>
    Don't store the error return in bo_gem->gtt_virtual or else we will<br>
    attempt to use that as a valid pointer in future mappings.<br>
<br>
I've pushed some improvements to xf86-video-intel that should prevent this<br>
from occurring in the first place.<br>
<font color="#888888"><br>
--<br>
</font><div><div></div><div class="h5">Chris Wilson, Intel Open Source Technology Centre<br>
</div></div></blockquote></div><br><br>Allright. I tried to compile the latest tag of the xf86-video-intel ( 2.11.0 ) and when I ran the autogen I received the following :<br>"checking for DRM... configure: error: Package requirements (libdrm >= 2.4.16) were not met"<br>
<br>Just to let people know that xf86-video-intel WILL NOT compile against libdrm 2.4.16 because the  I915_PARAM_HAS_PAGEFLIPPING is not defined in libdrm 2.4.16. I is only introduce in libdrm 2.4.17<br>The 2.11.0 configure script should require 2.4.17. Compiling with 2.4.17 will lead to this error :<br>
<br>drmmode_display.c: In function ‘drmmode_do_pageflip’:<br>drmmode_display.c:1366: warning: implicit declaration of function ‘drmModePageFlip’<br>drmmode_display.c:1366: warning: nested extern declaration of ‘drmModePageFlip’<br>
drmmode_display.c:1367: error: ‘DRM_MODE_PAGE_FLIP_EVENT’ undeclared (first use in this function)<br>drmmode_display.c:1367: error: (Each undeclared identifier is reported only once<br>drmmode_display.c:1367: error: for each function it appears in.)<br>
drmmode_display.c: In function ‘drmmode_pre_init’:<br>drmmode_display.c:1460: error: ‘I915_PARAM_HAS_PAGEFLIPPING’ undeclared (first use in this function)<br>drmmode_display.c:1471: error: ‘drmEventContext’ has no member named ‘page_flip_handler’<br>
<br>I will test with 2.11.0 and if I'm still experiencing issues, I will get the latest git version.<br><br>Thanks for the help Chris !<br clear="all"><br>-- <br>Phil<br>