Xorg server using 100% CPU. Can reproduce. Need help to track the issue
phil lemelin
phil.lemelin at gmail.com
Thu May 13 04:39:09 PDT 2010
On Wed, May 12, 2010 at 3:32 PM, Chris Wilson <chris at chris-wilson.co.uk>wrote:
> On Wed, 12 May 2010 13:55:27 -0400, phil lemelin <phil.lemelin at gmail.com>
> wrote:
> > I downloaded the 2.6.32.12 kernel and patched it since the patch would'nt
> > work well with my 2.6.29.6 kernel and here is what I get after a couple
> of
> > minutes playing with the magnifier. I seem to be able to play longer
> before
> > experiencing the crash however.
> > I can provide the corresponding Xorg.0.log if it is relevant.
> >
> > [root at localhost ~]# /usr/local/bin/Xorg
> >
> > X.Org X Server 1.7.6
> > Release Date: 2010-03-17
> > X Protocol Version 11, Revision 0
> > Build Operating System: Linux 2.6.32.12 i686
> > Current Operating System: Linux localhost 2.6.32.12 #4 SMP Wed May 12
> > 10:12:55 EDT 2010 i686
> > Kernel command line:
> > Build Date: 12 May 2010 01:37:47PM
> >
> > Current version of pixman: 0.15.20
> > Before reporting problems, check http://wiki.x.org
> > to make sure that you have the latest version.
> > Markers: (--) probed, (**) from config file, (==) default setting,
> > (++) from command line, (!!) notice, (II) informational,
> > (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
> > (==) Log file: "/usr/local/var/log/Xorg.0.log", Time: Wed May 12 13:44:57
> > 2010
> > (==) Using config file: "/etc/X11/xorg.conf"
> > xf86TokenToOptinfo: table is NULL
> > xf86TokenToOptinfo: table is NULL
> > Setting master
> > expected keysym, got XF86TouchpadToggle: line 122 of inet
> > expected keysym, got XF86TouchpadToggle: line 122 of inet
> > intel_bufmgr_gem.c:713: Error mapping buffer 65452 (pixmap): Cannot
> allocate
> > memory .
>
> So it seems to survive the original bug, only to trigger a later one by
> hogging all the memory and causing ENOMEM. That segfault looks reminiscent
> of:
>
> [libdrm]
> commit 08371bc29013370558728dcbeeed6a23ad2f5a70
> Author: Chris Wilson <chris at chris-wilson.co.uk>
> Date: Tue Dec 8 22:35:24 2009 +0000
>
> intel: Clear virtual after failing to mmap_gtt.
>
> Don't store the error return in bo_gem->gtt_virtual or else we will
> attempt to use that as a valid pointer in future mappings.
>
> I've pushed some improvements to xf86-video-intel that should prevent this
> from occurring in the first place.
>
> --
> Chris Wilson, Intel Open Source Technology Centre
>
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 :
"checking for DRM... configure: error: Package requirements (libdrm >=
2.4.16) were not met"
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
The 2.11.0 configure script should require 2.4.17. Compiling with 2.4.17
will lead to this error :
drmmode_display.c: In function ‘drmmode_do_pageflip’:
drmmode_display.c:1366: warning: implicit declaration of function
‘drmModePageFlip’
drmmode_display.c:1366: warning: nested extern declaration of
‘drmModePageFlip’
drmmode_display.c:1367: error: ‘DRM_MODE_PAGE_FLIP_EVENT’ undeclared (first
use in this function)
drmmode_display.c:1367: error: (Each undeclared identifier is reported only
once
drmmode_display.c:1367: error: for each function it appears in.)
drmmode_display.c: In function ‘drmmode_pre_init’:
drmmode_display.c:1460: error: ‘I915_PARAM_HAS_PAGEFLIPPING’ undeclared
(first use in this function)
drmmode_display.c:1471: error: ‘drmEventContext’ has no member named
‘page_flip_handler’
I will test with 2.11.0 and if I'm still experiencing issues, I will get the
latest git version.
Thanks for the help Chris !
--
Phil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg/attachments/20100513/ef7c4675/attachment.html>
More information about the xorg
mailing list