[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20090510225622.6229d154@mosly.slynet.org>
Date: Sun, 10 May 2009 22:56:22 +0300
From: Sergei Trofimovich <slyich@...il.com>
To: LKML <linux-kernel@...r.kernel.org>,
David Airlie <airlied@...ux.ie>
Subject: [BUG] i915: drm: xorg leaks drm objects massively:
linux-2.6.30-rc{4,5}
I have HP Compaq 2510p laptop (amd64 gentoo) with installed:
xorg-1.5.3
x11-drivers/xf86-video-intel-{2.6.3, 2.7.0} (same problems on both drivers)
media-libs/mesa-7.4.1
x11-libs/libdrm-2.4.9
vanilla linux-2.6.30-rc{4,5}
After upgrade from 2.6.29.2 Xorg started to leak drm objects massively:
$ pmap `pidof X` | wc -l
3586
At the time of writing were leaked 2000 more memory areas.
Full pmap log is in attach. After 2 days of notebook's work xorg eats more than 1GB vram
and starts swap.
2.6.29.2 didn't have that problem.
I try newer drivers to get GLX working, without serious success (glxgears shows 60 FPS in full screen, ~130 windowed)
upgrading from -rc4 to -rc5 i noticed following msg (.config in attach):
[ 538.930095] ------------[ cut here ]------------
[ 538.930103] WARNING: at drivers/gpu/drm/i915/i915_gem.c:3823 warn_slowpath_null+0x12/0x14()
[ 538.930109] Hardware name: HP Compaq 2510p Notebook PC
[ 538.930114] Modules linked in: tun ext2 acpi_cpufreq iwlagn iwlcore yenta_socket rsrc_nonstatic sdhci_pci pcmcia_core mac80211 sg sr_mod cdrom ricoh_mmc sdhci e1000e mmc_core fan processor battery container ac thermal button
[ 538.930168] Pid: 5064, comm: X Not tainted 2.6.30-rc5 #1
[ 538.930173] Call Trace:
[ 538.930184] [<ffffffff80235aa3>] warn_slowpath_fmt+0xd4/0x108
[ 538.930195] [<ffffffff8022f0bc>] ? finish_task_switch+0x51/0xb4
[ 538.930206] [<ffffffff8057d6cf>] ? thread_return+0x75/0xaf
[ 538.930217] [<ffffffff8023ea68>] ? lock_timer_base+0x26/0x4a
[ 538.930226] [<ffffffff8023ec97>] ? try_to_del_timer_sync+0x58/0x63
[ 538.930237] [<ffffffff803daa85>] ? i915_gem_retire_requests+0x168/0x188
[ 538.930246] [<ffffffff8023ecb6>] ? del_timer_sync+0x14/0x21
[ 538.930255] [<ffffffff803daa85>] ? i915_gem_retire_requests+0x168/0x188
[ 538.930279] [<ffffffff80235ae9>] warn_slowpath_null+0x12/0x14
[ 538.930287] [<ffffffff803dc1af>] i915_gem_idle+0x1ac/0x2d8
[ 538.930296] [<ffffffff803dc333>] i915_gem_leavevt_ioctl+0x22/0x35
[ 538.930306] [<ffffffff803c5343>] drm_ioctl+0x21f/0x2c0
[ 538.930315] [<ffffffff803dc311>] ? i915_gem_leavevt_ioctl+0x0/0x35
[ 538.930325] [<ffffffff802af47a>] ? do_sync_write+0xe7/0x12d
[ 538.930337] [<ffffffff802bbe6d>] vfs_ioctl+0x5f/0x78
[ 538.930347] [<ffffffff802bc2b2>] do_vfs_ioctl+0x42c/0x468
[ 538.930358] [<ffffffff802bc330>] sys_ioctl+0x42/0x65
[ 538.930367] [<ffffffff802b0036>] ? sys_write+0x47/0x6e
[ 538.930380] [<ffffffff8020afeb>] system_call_fastpath+0x16/0x1b
[ 538.930388] ---[ end trace 74ef8eda4e9b7b31 ]---
Where should I report such bugs?
--
Sergei
View attachment "pmap.log" of type "text/x-log" (190584 bytes)
Download attachment ".config" of type "application/octet-stream" (60398 bytes)
Powered by blists - more mailing lists