Bug 19102 - [965] intrepid with intel 2.4.1 CPU spin when leaving screensaver (compiz was on)
Summary: [965] intrepid with intel 2.4.1 CPU spin when leaving screensaver (compiz was...
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i965 (show other bugs)
Version: 7.2
Hardware: Other All
: medium normal
Assignee: haihao
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords: NEEDINFO
Depends on:
Blocks:
 
Reported: 2008-12-15 09:32 UTC by martin
Modified: 2009-10-10 11:28 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
"bt full" stacks showing which functions is being hit in the infiniate loop plus their params (25.31 KB, text/x-log)
2008-12-15 09:32 UTC, martin
Details
xorg_log saved while CPU spin was in effect (26.25 KB, text/plain)
2008-12-15 09:33 UTC, martin
Details
dmesg saved when CPU spin was still running (46.10 KB, text/x-log)
2008-12-15 09:33 UTC, martin
Details
xorg_log, dmesg and gdb backtraces show inf loop (second repro) (20.73 KB, application/x-compressed-tar)
2008-12-15 23:16 UTC, martin
Details
output of /proc/dri/0/* (667 bytes, application/x-compressed-tar)
2008-12-15 23:17 UTC, martin
Details

Description martin 2008-12-15 09:32:39 UTC
Created attachment 21181 [details]
"bt full" stacks showing which functions is being hit in the infiniate loop plus their params

When I got back from work my 965 laptop was running the "busy spheres" screensaver. When I tried to wake it up Xorg went into an infinite loop hogging 100% CPU. I sampled some "bt full" stacks and saved xorg_log/dmesg (attached).
Comment 1 martin 2008-12-15 09:33:08 UTC
Created attachment 21182 [details]
xorg_log saved while CPU spin was in effect
Comment 2 martin 2008-12-15 09:33:35 UTC
Created attachment 21183 [details]
dmesg saved when CPU spin was still running
Comment 3 martin 2008-12-15 09:37:24 UTC
I was using compiz when this happened. These are my package versions as seen in "dpkg -l":

intel driver         2:2.4.1-1ubuntu10
libdrm2              2.3.1-0build1
xserver-xorg         1:7.4~5ubuntu3
xserver-xorg-core    2:1.5.2-2ubuntu3
libgl1-mesa-dri      7.2-1ubuntu2
Comment 4 martin 2008-12-15 09:39:02 UTC
Is the size parameter in a "reasonable" range? I have no idea what that function does but the value seems pretty big?

#2  0xb79dc29b in drmCommandWrite (fd=12, drmCommandIndex=5, data=0xbf825998, size=3212990872) at xf86drm.c:2305
Comment 5 martin 2008-12-15 23:16:35 UTC
Created attachment 21195 [details]
xorg_log, dmesg and gdb backtraces show inf loop (second repro)

I left this laptop running the same screensaver again overnight. When I woke up it was still animating the screensaver but when I tried to wake it up it froze. Infinite loop, exact same stacks etc.

So basically this bug is reproducible (at least on this machine).
Comment 6 martin 2008-12-15 23:17:44 UTC
Created attachment 21196 [details]
output of /proc/dri/0/*
Comment 7 Jesse Barnes 2009-01-06 13:12:10 UTC
Does this only happen with the busy spheres screen saver?  If so it might actually be a DRI driver bug...
Comment 8 Gordon Jin 2009-01-06 19:07:15 UTC
reassign to Haihao.
Comment 9 Eric Anholt 2009-08-07 19:28:21 UTC
Can you reproduce this with DRI2?  If so, could you attach the output of intel_gpu_dump so we can try to figure out what's going on?
Comment 10 Eric Anholt 2009-10-10 11:28:11 UTC
Feedback timeout.  Just left this running for a day on a GM965 here, and it appears to be fine.


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.