<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO --- - 845G: crtc active state doesn't match with hw state"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=64764#c12">Comment # 12</a>
              on <a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO --- - 845G: crtc active state doesn't match with hw state"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=64764">bug 64764</a>
              from <span class="vcard"><a class="email" href="mailto:mlsemon35@gmail.com" title="mlsemon35@gmail.com">mlsemon35@gmail.com</a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=64764#c11">comment #11</a>)
<span class="quote">> (In reply to <a href="show_bug.cgi?id=64764#c9">comment #9</a>)
> > Anyway, perhaps X11 doesn't leave the monitor in the best state to be shut
> > off.  The lockdep you see is from me mounting an F2FS-formatted USB stick in
> > order to do a slow download.  The dmesg timestamp of 27862.877640 is from me
> > turning on the monitor the next morning, then hitting the Alt key.

> Hm, I didn't see any signs of X running. Is that true? Also what happens
> when you do a dpms off in X:</span >

In the submitted dmesg, I may not have run X11.  I forgot that I had good luck
and actually reproduced the problem without X11.  There was a rather confusing
X11-based dmesg gathered as well, and I must have thought I was working off of
that.  Early mornings...

<span class="quote">> xset dpms force off</span >

The monitor goes blank.  The power light on the monitor stays green and does
not turn off or turn orange.  This is added to the dmesg output:

[10323.560048] [drm:intel_modeset_check_state], [ENCODER:5:DAC-5]
[10323.560060] [drm:intel_modeset_check_state], [CRTC:3]
[10323.560067] ------------[ cut here ]------------
[10323.560084] WARNING: at drivers/gpu/drm/i915/intel_display.c:7942
intel_modeset_check_state+0x517/0x719()
[10323.560089] crtc active state doesn't match with hw state (expected 0, found
1)
[10323.560098] CPU: 0 PID: 812 Comm: X Tainted: G        W    3.10.0-rc2+ #32
[10323.560102] Hardware name: Dell Computer Corporation Dimension 2350/07W080,
BIOS A01 12/17/2002
[10323.560108]  e5b1dba8 e5b1dba8 e5b1db70 c158b3eb e5b1db98 c1029e91 c1765888
e5b1dbc4
[10323.560125]  00001f06 c139f755 c139f755 eec15000 eecf34c0 ee2cc000 e5b1dbb0
c1029f02
[10323.560142]  00000009 e5b1dba8 c1765888 e5b1dbc4 e5b1ddc0 c139f755 c176479c
00001f06
[10323.560159] Call Trace:
[10323.560171]  [<c158b3eb>] dump_stack+0x16/0x18
[10323.560185]  [<c1029e91>] warn_slowpath_common+0x59/0x70
[10323.560195]  [<c139f755>] ? intel_modeset_check_state+0x517/0x719
[10323.560203]  [<c139f755>] ? intel_modeset_check_state+0x517/0x719
[10323.560211]  [<c1029f02>] warn_slowpath_fmt+0x33/0x35
[10323.560220]  [<c139f755>] intel_modeset_check_state+0x517/0x719
[10323.560230]  [<c13a2dc7>] intel_crt_dpms+0x68/0x8c
[10323.560239]  [<c136d179>] drm_mode_obj_set_property_ioctl+0x35e/0x379
[10323.560248]  [<c10c029a>] ? might_fault+0x3e/0x94
[10323.560255]  [<c136d194>] ? drm_mode_obj_set_property_ioctl+0x379/0x379
[10323.560263]  [<c136d1c7>] drm_mode_connector_property_set_ioctl+0x33/0x3a
[10323.560271]  [<c13602b1>] drm_ioctl+0x4c6/0x56c
[10323.560279]  [<c136d194>] ? drm_mode_obj_set_property_ioctl+0x379/0x379
[10323.560288]  [<c1066115>] ? lock_release_non_nested+0xa1/0x2b7
[10323.560295]  [<c135fdeb>] ? drm_lastclose+0x22b/0x22b
[10323.560303]  [<c10e2bc0>] do_vfs_ioctl+0x2f6/0x4cc
[10323.560310]  [<c10c029a>] ? might_fault+0x3e/0x94
[10323.560317]  [<c10c02cd>] ? might_fault+0x71/0x94
[10323.560324]  [<c10c02e4>] ? might_fault+0x88/0x94
[10323.560332]  [<c1002664>] ? do_device_not_available+0x27/0x2a
[10323.560340]  [<c1591bd3>] ? restore_all+0xf/0xf
[10323.560347]  [<c10e2dd5>] SyS_ioctl+0x3f/0x6a
[10323.560354]  [<c1591ba0>] syscall_call+0x7/0xb
[10323.560359] ---[ end trace 6ba5403cd5f92711 ]---
[10323.560376] [drm:drm_mode_setcrtc], [CRTC:3]
[10323.560384] [drm:intel_crtc_set_config], [CRTC:3] [NOFB]
[10323.560393] [drm:intel_modeset_stage_output_state], [CONNECTOR:4:VGA-1] to
[NOCRTC]
[10323.560399] [drm:intel_modeset_stage_output_state], encoder changed, full
mode switch
[10323.560404] [drm:intel_modeset_stage_output_state], crtc changed, full mode
switch
[10323.560410] [drm:__intel_set_mode], set mode pipe masks: modeset: 0,
prepare: 0, disable: 1
[10323.560423] [drm:intel_modeset_check_state], [ENCODER:5:DAC-5]
[10323.560429] [drm:intel_modeset_check_state], [CRTC:3]
[10323.560434] ------------[ cut here ]------------
[10323.560444] WARNING: at drivers/gpu/drm/i915/intel_display.c:7942
intel_modeset_check_state+0x517/0x719()
[10323.560449] crtc active state doesn't match with hw state (expected 0, found
1)
[10323.560455] CPU: 0 PID: 812 Comm: X Tainted: G        W    3.10.0-rc2+ #32
[10323.560461] Hardware name: Dell Computer Corporation Dimension 2350/07W080,
BIOS A01 12/17/2002
[10323.560465]  e5b1db18 e5b1db18 e5b1dae0 c158b3eb e5b1db08 c1029e91 c1765888
e5b1db34
[10323.560482]  00001f06 c139f755 c139f755 eec15000 eecf34c0 ee2cc000 e5b1db20
c1029f02
[10323.560498]  00000009 e5b1db18 c1765888 e5b1db34 e5b1dd30 c139f755 c176479c
00001f06
[10323.560514] Call Trace:
[10323.560522]  [<c158b3eb>] dump_stack+0x16/0x18
[10323.560533]  [<c1029e91>] warn_slowpath_common+0x59/0x70
[10323.560543]  [<c139f755>] ? intel_modeset_check_state+0x517/0x719
[10323.560551]  [<c139f755>] ? intel_modeset_check_state+0x517/0x719
[10323.560558]  [<c1029f02>] warn_slowpath_fmt+0x33/0x35
[10323.560567]  [<c139f755>] intel_modeset_check_state+0x517/0x719
[10323.560576]  [<c139f9dd>] intel_set_mode+0x30/0x39
[10323.560584]  [<c13a0083>] intel_crtc_set_config+0x5bc/0x7f8
[10323.560592]  [<c136b14a>] drm_mode_set_config_internal+0x1c/0x3f
[10323.560599]  [<c136b379>] drm_mode_setcrtc+0xde/0x5d9
[10323.560606]  [<c10c029a>] ? might_fault+0x3e/0x94
[10323.560613]  [<c10c02cd>] ? might_fault+0x71/0x94
[10323.560620]  [<c136b29b>] ? drm_framebuffer_remove+0x12e/0x12e
[10323.560627]  [<c136b29b>] ? drm_framebuffer_remove+0x12e/0x12e
[10323.560634]  [<c13602b1>] drm_ioctl+0x4c6/0x56c
[10323.560641]  [<c136b29b>] ? drm_framebuffer_remove+0x12e/0x12e
[10323.560648]  [<c135fdeb>] ? drm_lastclose+0x22b/0x22b
[10323.560655]  [<c10e2bc0>] do_vfs_ioctl+0x2f6/0x4cc
[10323.560662]  [<c10c029a>] ? might_fault+0x3e/0x94
[10323.560669]  [<c10c02cd>] ? might_fault+0x71/0x94
[10323.560676]  [<c10c02e4>] ? might_fault+0x88/0x94
[10323.560683]  [<c1002664>] ? do_device_not_available+0x27/0x2a
[10323.560690]  [<c1591bd3>] ? restore_all+0xf/0xf
[10323.560697]  [<c10e2dd5>] SyS_ioctl+0x3f/0x6a
[10323.560704]  [<c1591ba0>] syscall_call+0x7/0xb
[10323.560708] ---[ end trace 6ba5403cd5f92712 ]---
[10323.560796] [drm:drm_mode_setcrtc], [CRTC:3]
[10323.560804] [drm:intel_crtc_set_config], [CRTC:3] [NOFB]
[10323.583784] [drm:drm_mode_setcrtc], [CRTC:3]
[10323.583811] [drm:drm_mode_setcrtc], [CONNECTOR:4:VGA-1]
[10323.583819] [drm:intel_crtc_set_config], [CRTC:3] [FB:19] #connectors=1 (x
y) (0 0)
[10323.583827] [drm:intel_set_config_compute_mode_changes], crtc has no fb,
full mode set
[10323.583833] [drm:intel_modeset_stage_output_state], encoder changed, full
mode switch
[10323.583839] [drm:intel_modeset_stage_output_state], [CONNECTOR:4:VGA-1] to
[CRTC:3]
[10323.583844] [drm:intel_modeset_stage_output_state], crtc changed, full mode
switch
[10323.583849] [drm:intel_crtc_set_config], attempting to set mode from
userspace
[10323.583854] [drm:drm_mode_debug_printmodeline], Modeline 20:"" 0 108000 1280
1328 1440 1688 1024 1025 1028 1066 0x0 0x5
[10323.583868] [drm:intel_modeset_pipe_config], [CRTC:3]
[10323.583873] [drm:intel_modeset_pipe_config], plane bpp: 24, pipe bpp: 24,
dithering: 0
[10323.583878] [drm:__intel_set_mode], set mode pipe masks: modeset: 1,
prepare: 1, disable: 0
[10323.588443] [drm:i9xx_crtc_mode_set], Mode for pipe A:
[10323.588449] [drm:drm_mode_debug_printmodeline], Modeline 0:"" 0 108000 1280
1328 1440 1688 1024 1025 1028 1066 0x0 0x5
[10323.660035] [drm:intel_wait_for_vblank], vblank wait timed out
[10323.660053] [drm:i9xx_update_plane], Writing base 00800000 00000000 0 0 8192
[10323.660072] [drm:intel_crtc_mode_set], [ENCODER:5:DAC-5] set [MODE:0:]
[10323.660082] [drm:i845_get_fifo_size], FIFO size - (0x0000005f) A: 23
[10323.660088] [drm:intel_calculate_wm], FIFO entries required for mode: 68
[10323.660094] [drm:intel_calculate_wm], FIFO watermark level: -47
[10323.660099] [drm:i830_update_wm], Setting FIFO watermarks - A: 1
[10323.740033] [drm:intel_wait_for_vblank], vblank wait timed out
[10323.740092] [drm:intel_connector_check_state], [CONNECTOR:4:VGA-1]
[10323.740101] [drm:intel_modeset_check_state], [ENCODER:5:DAC-5]
[10323.740108] [drm:intel_modeset_check_state], [CRTC:3]</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>