Bug 13981 - [i915 TTM] running glxgears on nude X gets abort with "intel_bufmgr_ttm.c:667: Error -16 waiting for fence fence buffers"
Summary: [i915 TTM] running glxgears on nude X gets abort with "intel_bufmgr_ttm.c:667...
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i915 (show other bugs)
Version: git
Hardware: All Linux (All)
: medium normal
Assignee: Eric Anholt
QA Contact:
Keywords: regression
Depends on:
Reported: 2008-01-08 21:31 UTC by Pi, Fengming
Modified: 2009-08-24 12:29 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:

xorg log file (33.16 KB, text/plain)
2008-01-08 21:34 UTC, Pi, Fengming
dmesg log info (71.36 KB, text/plain)
2008-01-08 22:56 UTC, Pi, Fengming

Description Pi, Fengming 2008-01-08 21:31:22 UTC
System environment:
--Architecture: ia32 and ia32e
--2D driver: git commit:b434bf4029d1a405216454629bcea717c779ae5a
--3D driver: Mesa master commit:ff73c783cc47361ff0dd819c82d067b4b85870dd
--DRM:   git commit:15f8fd34df11d9fceb3f813c9478ffe66cae3473
--Xserver:  git commit:260505e3c5a18044e97d31ea3bcc0955e46335c8

When running glxgears using i915.first time glxgears run ok.then kill it and run again will display following error message:
intel_bufmgr_ttm.c:667: Error -16 waiting for fence fence buffers.
this time you run glxgears again it will work fine.run again error.......

This error intervally happen.

NOTE:if you disable dri.there is no this problem.

Reproduce steps:
1 X &
2 interval running glxgears
Comment 1 Pi, Fengming 2008-01-08 21:34:31 UTC
Created attachment 13604 [details]
xorg log file
Comment 2 Pi, Fengming 2008-01-08 22:06:48 UTC
this problem both appear on 915gm/945gm/G33 platform.

If no using TTM(export INTEL_NO_TTM=1).there is no this problem.
Comment 3 Pi, Fengming 2008-01-08 22:56:59 UTC
Created attachment 13605 [details]
dmesg log info
Comment 4 Gordon Jin 2008-01-09 00:59:22 UTC
This turns out to only happen on nude X (without any clients).
Comment 5 Eric Anholt 2008-01-15 17:03:35 UTC
I see periodic client hangs on my 945G and 945GM since at least about 2 months ago.  No clear pattern -- might be running one client for a long time, or starting and stopping clients quickly.  The reporter's issue may be the same, but if it's different it'll be hard for me to tell.
Comment 6 Shuang He 2008-06-19 22:46:44 UTC
With git tip, no ttm, there's no such issue, so close this one
Comment 7 Shuang He 2008-06-19 22:47:51 UTC
Comment 8 Adam Jackson 2009-08-24 12:29:08 UTC
Mass version move, cvs -> git

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.