Summary: | [G45 KMS] Fullscreen video hangs X | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | xorg | Reporter: | Sven Arvidsson <sa> | ||||||||||
Component: | Driver/intel | Assignee: | Eric Anholt <eric> | ||||||||||
Status: | RESOLVED FIXED | QA Contact: | Xorg Project Team <xorg-team> | ||||||||||
Severity: | critical | ||||||||||||
Priority: | medium | ||||||||||||
Version: | 7.4 (2008.09) | ||||||||||||
Hardware: | x86-64 (AMD64) | ||||||||||||
OS: | Linux (All) | ||||||||||||
Whiteboard: | |||||||||||||
i915 platform: | i915 features: | ||||||||||||
Attachments: |
|
Description
Sven Arvidsson
2009-05-09 03:42:05 UTC
Created attachment 25659 [details]
Xorg log
Created attachment 25660 [details]
backtrace from Xorg
What movie player? Does it apply to all movies? I'm using Totem 2.26.1 (with the GStreamer backend). It doesn't seem to happen with all videos, I have uploaded the first 10M of the video most likely to cause the bug here: http://www.wikiupload.com/download_page.php?id=123273 It's an XVID MPEG-4, 560 x 416, 24 frames per second. Adjusting severity: crashes & hangs should be marked critical. Oh, hmm, intel_gpu_dump output would also be useful -- we can get the pipe mappings wrong in KMS mode, which cworth has written a patchset for. Created attachment 25879 [details]
GPU dump from G45 after hang
I'm attaching a gpu dump from my G45.
Meanwhile, I have noticed two things: the bug only seems to occur when the resolution is set to 1680x1050, and the same hang also happens on my Eee PC (915GM) so it's not specific to G45.
Excellent, that hang looks like the one we just fixed with cworth's new ioctl. The kernel fix is: commit 08d7b3d1edff84bd673d9e9ab36b5aa62e1ba903 Author: Carl Worth <cworth@cworth.org> Date: Wed Apr 29 14:43:54 2009 -0700 drm/i915: Add new GET_PIPE_FROM_CRTC_ID ioctl. This allows userlevel code to discover the pipe number corresponding to a given CRTC ID. This is necessary for doing pipe-specific operations such as waiting for vblank on a given CRTC. Failure to use the right pipe mapping can result in GPU hangs, or at least failure to actually sync to vblank. Signed-off-by: Carl Worth <cworth@cworth.org> [anholt: Style touchups from review] Signed-off-by: Eric Anholt <eric@anholt.net> and there are corresponding changes to libdrm and the 2D driver as well. |
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.