Bug 56978 - [ivb] Failed to restore state after modeset failure
Summary: [ivb] Failed to restore state after modeset failure
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Daniel Vetter
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-11 12:01 UTC by Chris Wilson
Modified: 2017-07-24 22:59 UTC (History)
4 users (show)

See Also:
i915 platform:
i915 features:


Attachments
dmesg D945GCLF2 (47.66 KB, text/plain)
2013-03-19 21:36 UTC, Marco De Michele
no flags Details
Xorg.0.log D945GCLF2 (28.93 KB, text/plain)
2013-03-19 21:37 UTC, Marco De Michele
no flags Details

Description Chris Wilson 2012-11-11 12:01:55 UTC
[  741.874323] [drm:intel_pipe_set_base] *ERROR* pin & fence failed
[  741.874347] ------------[ cut here ]------------
[  741.874352] WARNING: at drivers/gpu/drm/i915/intel_display.c:7899 intel_modeset_check_state+0x2ce/0x47b()
[  741.874354] Hardware name: 2012 Client Platform
[  741.874355] encoder's hw state doesn't match sw tracking (expected 1, found 0)
[  741.874356] Modules linked in: nfs lockd fscache sunrpc loop crc32c_intel aesni_intel xts aes_i586 lrw gf128mul lpc_ich ablk_helper mfd_core evdev i2c_i801 cryptd sg ahci libahci
[  741.874368] Pid: 2589, comm: Xorg Not tainted 3.7.0-rc2+ #23
[  741.874369] Call Trace:
[  741.874374]  [<c1027369>] warn_slowpath_common+0x68/0x7d
[  741.874376]  [<c12123ce>] ? intel_modeset_check_state+0x2ce/0x47b
[  741.874378]  [<c10273f1>] warn_slowpath_fmt+0x2b/0x2f
[  741.874381]  [<c12123ce>] intel_modeset_check_state+0x2ce/0x47b
[  741.874383]  [<c1212d07>] intel_set_mode+0x737/0x7b8
[  741.874388]  [<c1213279>] intel_crtc_set_config+0x4f1/0x664
[  741.874391]  [<c11ea17d>] drm_mode_setcrtc+0x34b/0x39d
[  741.874394]  [<c11e9e32>] ? drm_mode_setplane+0x27a/0x27a
[  741.874396]  [<c11df09f>] drm_ioctl+0x275/0x323
[  741.874399]  [<c11e9e32>] ? drm_mode_setplane+0x27a/0x27a
[  741.874402]  [<c10a8725>] ? handle_mm_fault+0x193/0x1a2
[  741.874404]  [<c11dee2a>] ? drm_version+0x8b/0x8b
[  741.874407]  [<c10ca9fc>] vfs_ioctl+0x20/0x2a
[  741.874410]  [<c10cb3ce>] do_vfs_ioctl+0x3eb/0x429
[  741.874413]  [<c10202fe>] ? __do_page_fault+0x2d0/0x356
[  741.874415]  [<c10bf95c>] ? fsnotify_modify+0x48/0x53
[  741.874417]  [<c10bfcaf>] ? vfs_write+0x9a/0xe6
[  741.874420]  [<c10cb43a>] sys_ioctl+0x2e/0x50
[  741.874423]  [<c12fba7e>] sysenter_do_call+0x12/0x26
[  741.874424] ---[ end trace a5a18191c3288848 ]---
[  741.874425] ------------[ cut here ]------------
[  741.874428] WARNING: at drivers/gpu/drm/i915/intel_display.c:7933 intel_modeset_check_state+0x397/0x47b()
[  741.874429] Hardware name: 2012 Client Platform
[  741.874430] crtc's computed active state doesn't match tracked active state (expected 1, found 0)
[  741.874430] Modules linked in: nfs lockd fscache sunrpc loop crc32c_intel aesni_intel xts aes_i586 lrw gf128mul lpc_ich ablk_helper mfd_core evdev i2c_i801 cryptd sg ahci libahci
[  741.874439] Pid: 2589, comm: Xorg Tainted: G        W    3.7.0-rc2+ #23
[  741.874440] Call Trace:
[  741.874442]  [<c1027369>] warn_slowpath_common+0x68/0x7d
[  741.874444]  [<c1212497>] ? intel_modeset_check_state+0x397/0x47b
[  741.874446]  [<c10273f1>] warn_slowpath_fmt+0x2b/0x2f
[  741.874448]  [<c1212497>] intel_modeset_check_state+0x397/0x47b
[  741.874450]  [<c1212d07>] intel_set_mode+0x737/0x7b8
[  741.874455]  [<c1213279>] intel_crtc_set_config+0x4f1/0x664
[  741.874457]  [<c11ea17d>] drm_mode_setcrtc+0x34b/0x39d
[  741.874460]  [<c11e9e32>] ? drm_mode_setplane+0x27a/0x27a
[  741.874462]  [<c11df09f>] drm_ioctl+0x275/0x323
[  741.874464]  [<c11e9e32>] ? drm_mode_setplane+0x27a/0x27a
[  741.874467]  [<c10a8725>] ? handle_mm_fault+0x193/0x1a2
[  741.874469]  [<c11dee2a>] ? drm_version+0x8b/0x8b
[  741.874471]  [<c10ca9fc>] vfs_ioctl+0x20/0x2a
[  741.874473]  [<c10cb3ce>] do_vfs_ioctl+0x3eb/0x429
[  741.874475]  [<c10202fe>] ? __do_page_fault+0x2d0/0x356
[  741.874478]  [<c10bf95c>] ? fsnotify_modify+0x48/0x53
[  741.874480]  [<c10bfcaf>] ? vfs_write+0x9a/0xe6
[  741.874482]  [<c10cb43a>] sys_ioctl+0x2e/0x50
[  741.874484]  [<c12fba7e>] sysenter_do_call+0x12/0x26
[  741.874485] ---[ end trace a5a18191c3288849 ]---
[  741.874487] [drm:intel_crtc_set_config] *ERROR* failed to set mode on [CRTC:3]
[  741.930219] [drm:intel_pipe_set_base] *ERROR* pin & fence failed
[  741.930243] ------------[ cut here ]------------
[  741.930247] WARNING: at drivers/gpu/drm/i915/intel_display.c:7899 intel_modeset_check_state+0x2ce/0x47b()
[  741.930248] Hardware name: 2012 Client Platform
[  741.930249] encoder's hw state doesn't match sw tracking (expected 1, found 0)
[  741.930250] Modules linked in: nfs lockd fscache sunrpc loop crc32c_intel aesni_intel xts aes_i586 lrw gf128mul lpc_ich ablk_helper mfd_core evdev i2c_i801 cryptd sg ahci libahci
[  741.930259] Pid: 2589, comm: Xorg Tainted: G        W    3.7.0-rc2+ #23
[  741.930260] Call Trace:
[  741.930263]  [<c1027369>] warn_slowpath_common+0x68/0x7d
[  741.930266]  [<c12123ce>] ? intel_modeset_check_state+0x2ce/0x47b
[  741.930268]  [<c10273f1>] warn_slowpath_fmt+0x2b/0x2f
[  741.930270]  [<c12123ce>] intel_modeset_check_state+0x2ce/0x47b
[  741.930273]  [<c1212d07>] intel_set_mode+0x737/0x7b8
[  741.930277]  [<c1213340>] intel_crtc_set_config+0x5b8/0x664
[  741.930280]  [<c11ea17d>] drm_mode_setcrtc+0x34b/0x39d
[  741.930283]  [<c11e9e32>] ? drm_mode_setplane+0x27a/0x27a
[  741.930285]  [<c11df09f>] drm_ioctl+0x275/0x323
[  741.930287]  [<c11e9e32>] ? drm_mode_setplane+0x27a/0x27a
[  741.930290]  [<c10a8725>] ? handle_mm_fault+0x193/0x1a2
[  741.930292]  [<c11dee2a>] ? drm_version+0x8b/0x8b
[  741.930294]  [<c10ca9fc>] vfs_ioctl+0x20/0x2a
[  741.930297]  [<c10cb3ce>] do_vfs_ioctl+0x3eb/0x429
[  741.930299]  [<c10202fe>] ? __do_page_fault+0x2d0/0x356
[  741.930301]  [<c10bf95c>] ? fsnotify_modify+0x48/0x53
[  741.930303]  [<c10bfcaf>] ? vfs_write+0x9a/0xe6
[  741.930306]  [<c10cb43a>] sys_ioctl+0x2e/0x50
[  741.930308]  [<c12fba7e>] sysenter_do_call+0x12/0x26
[  741.930309] ---[ end trace a5a18191c328884a ]---
[  741.930310] ------------[ cut here ]------------
[  741.930313] WARNING: at drivers/gpu/drm/i915/intel_display.c:7933 intel_modeset_check_state+0x397/0x47b()
[  741.930314] Hardware name: 2012 Client Platform
[  741.930315] crtc's computed active state doesn't match tracked active state (expected 1, found 0)
[  741.930315] Modules linked in: nfs lockd fscache sunrpc loop crc32c_intel aesni_intel xts aes_i586 lrw gf128mul lpc_ich ablk_helper mfd_core evdev i2c_i801 cryptd sg ahci libahci
[  741.930324] Pid: 2589, comm: Xorg Tainted: G        W    3.7.0-rc2+ #23
[  741.930324] Call Trace:
[  741.930326]  [<c1027369>] warn_slowpath_common+0x68/0x7d
[  741.930329]  [<c1212497>] ? intel_modeset_check_state+0x397/0x47b
[  741.930331]  [<c10273f1>] warn_slowpath_fmt+0x2b/0x2f
[  741.930333]  [<c1212497>] intel_modeset_check_state+0x397/0x47b
[  741.930335]  [<c1212d07>] intel_set_mode+0x737/0x7b8
[  741.930339]  [<c1213340>] intel_crtc_set_config+0x5b8/0x664
[  741.930342]  [<c11ea17d>] drm_mode_setcrtc+0x34b/0x39d
[  741.930345]  [<c11e9e32>] ? drm_mode_setplane+0x27a/0x27a
[  741.930347]  [<c11df09f>] drm_ioctl+0x275/0x323
[  741.930349]  [<c11e9e32>] ? drm_mode_setplane+0x27a/0x27a
[  741.930351]  [<c10a8725>] ? handle_mm_fault+0x193/0x1a2
[  741.930353]  [<c11dee2a>] ? drm_version+0x8b/0x8b
[  741.930356]  [<c10ca9fc>] vfs_ioctl+0x20/0x2a
[  741.930358]  [<c10cb3ce>] do_vfs_ioctl+0x3eb/0x429
[  741.930360]  [<c10202fe>] ? __do_page_fault+0x2d0/0x356
[  741.930362]  [<c10bf95c>] ? fsnotify_modify+0x48/0x53
[  741.930364]  [<c10bfcaf>] ? vfs_write+0x9a/0xe6
[  741.930367]  [<c10cb43a>] sys_ioctl+0x2e/0x50
[  741.930369]  [<c12fba7e>] sysenter_do_call+0x12/0x26
[  741.930370] ---[ end trace a5a18191c328884b ]---
[  741.930372] [drm:intel_crtc_set_config] *ERROR* failed to restore config after modeset failure
Comment 1 Daniel Vetter 2012-12-11 17:45:05 UTC
Do you still see this one here?
Comment 2 Chris Wilson 2012-12-11 21:02:48 UTC
Yes.
Comment 3 Marco De Michele 2013-03-19 21:34:40 UTC
I get a similar error message:

[drm:intel_crtc_set_config] *ERROR* failed to set mode on [CRTC:4]

trying to make tv video output (s-video) working on Intel D945GCLF2 motherboard but without success.

kernel 3.8.3-r1 ; xf86-video-intel 2.21.4 ; xorg-server 1.13.1 ; libdrm 2.4.40

With older version it was working correctly.
Comment 4 Marco De Michele 2013-03-19 21:36:19 UTC
Created attachment 76780 [details]
dmesg D945GCLF2
Comment 5 Marco De Michele 2013-03-19 21:37:08 UTC
Created attachment 76781 [details]
Xorg.0.log D945GCLF2
Comment 6 Daniel Vetter 2013-03-19 21:41:49 UTC
Marco: On a quick glance you have a completely different platform, and completely different bug symptoms. Can you please file a new bug for your issue and attach the logs there? Also, is there anything else in the logs? In addition, a bisect is always useful ...

Please reply in the new bug, to avoid further confusion, thanks.
Comment 7 Chris Wilson 2013-05-21 13:06:17 UTC
I'm a bit happier with the recent error propagation patch, so until I see something like this again, let's close it.


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.