|Summary:||[GM45 page flipping] Hard lock-ups with page flipping|
|Product:||xorg||Reporter:||Fryderyk Dziarmagowski <fdziarmagowski>|
|Component:||Driver/intel||Assignee:||Jesse Barnes <jbarnes>|
|Status:||RESOLVED FIXED||QA Contact:||Xorg Project Team <xorg-team>|
|Priority:||high||CC:||brian, mrgrim, tsdh|
|i915 platform:||i915 features:|
Description Fryderyk Dziarmagowski 2010-04-14 13:12:58 UTC
Comment 1 Fryderyk Dziarmagowski 2010-04-20 10:14:05 UTC
Downgrading intel driver to version 2.10.x solves the problem.
Comment 2 Fryderyk Dziarmagowski 2010-04-23 03:44:50 UTC
Looks like I am not alone: http://lists.freedesktop.org/archives/intel-gfx/2010-April/006652.html
Comment 3 Michael Kreitzer 2010-05-06 11:46:45 UTC
I also experience this exact issue as well.
Comment 4 Fryderyk Dziarmagowski 2010-05-06 13:43:10 UTC
Disabling page flipping solves the issue for me. See http://lists.fedoraproject.org/pipermail/devel/2010-May/135429.html for details. Dear Intel developers. Are you still there?
Comment 5 Carl Worth 2010-05-06 16:01:54 UTC
(In reply to comment #4) > Disabling page flipping solves the issue for me. That's very useful information, thanks! I've retitled the bug and assigned to Jesse. > Dear Intel developers. Are you still there? Yes. :-} Sorry for the delayed reply. -Carl
Comment 6 Jesse Barnes 2010-05-28 14:29:04 UTC
Trying to reproduce this now.
Comment 7 Jesse Barnes 2010-05-28 14:50:28 UTC
I've verified both the vbltest and modetest programs from libdrm work as expected on my GM45, can you test those and make sure they work correctly for you too? $ git clone git://git.freedesktop.org/git/mesa/drm libdrm $ cd libdrm $ ./autogen --prefix=/opt/gfx-test $ make $ cd tests/vbltest $ vbltest # pass "-s" if you're testing a second head or laptop screen $ cd ../modetest $ modetest # this will dump the modes and connectors $ modetest -s 7:1440x900 -v # try page flipping on connector 7 at 1440x900 You'll need to adjust the modetest command above for your platform. Assuming those work, the problem is likely in the X or GL stack somewhere. I'll test that next as well.
Comment 8 Jesse Barnes 2010-05-28 14:51:08 UTC
Oh, and both vbltest and modetest -v will report frequencies. Those frequencies should match your refresh rate. If they don't, we have an interrupt related problem somewhere.
Comment 9 Jesse Barnes 2010-06-01 10:26:59 UTC
Created attachment 35994 [details] [review] Fix exchange validity check Seems to flip ok with this patch and current X & xf86-video-intel master.
Comment 10 Jesse Barnes 2010-06-01 10:28:22 UTC
Spoke too soon; with compiz I'm seeing corruption now, but no hang.
Comment 11 Jesse Barnes 2010-06-01 11:49:48 UTC
After updating Mesa, flipping appears to work with the patch from comment #9. Can you confirm?
Comment 12 Michael Kreitzer 2010-06-04 07:23:54 UTC
This issue is not exclusive to the gm45. The link in comment two refers to a 965. I'm also using a 965 and have seemingly random hard lockups. Should I open a separate bug for the 965?
Comment 13 Jesse Barnes 2010-06-07 10:30:24 UTC
Yes, please open a new bug if you're seeing hangs with the latest bits. See http://intellinuxgraphics.org/how_to_report_bug.html for a list of the info we're looking for when filing a bug.