Bug 81291
Summary: | [gm965 sdvo] wrong connector dpms state | ||
---|---|---|---|
Product: | Drivers | Reporter: | ys3al35l |
Component: | Video(DRI - Intel) | Assignee: | Daniel Vetter (daniel) |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | alan, intel-gfx-bugs, ys3al35l |
Priority: | P4 | ||
Hardware: | x86-64 | ||
OS: | Linux | ||
Kernel Version: | v3.17.0-rc5 | Subsystem: | |
Regression: | Yes | Bisected commit-id: | |
Attachments: |
lspci -vvv
Dmesg at boot 3.17.0-rc4 debug dmesg 3.17.0rc5 3.17-rc5 debug messages (this time from 0) |
Also reported here with ubuntu kernels. https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1324935 It looks like this appeared with commit 24929352481f085c5f85d4d4cbc919ddf106d381 just tried v3.16.0 and I can now suspend and resume with video acceleration, thanks! The messages are still in the log, though. [ 769.659990] ------------[ cut here ]------------ [ 769.660012] WARNING: CPU: 0 PID: 5813 at drivers/gpu/drm/i915/intel_display.c:10101 intel_modeset_check_state+0x5f3/0x7a0 [i915]() [ 769.660028] encoder's hw state doesn't match sw tracking (expected 0, found 1) [ 769.660030] Modules linked in: nfsv3(E) ctr(E) ccm(E) pci_stub(E) vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) bnep(E) rfcomm(E) rpcsec_gss_krb5(E) nfsv4(E) nfsd(E) auth_rpcgss(E) nfs_acl(E) nfs(E) lockd(E) sunrpc(E) fscache(E) binfmt_misc(E) snd_hda_codec_idt(E) snd_hda_codec_hdmi(E) snd_hda_codec_generic(E) uvcvideo(E) arc4(E) videobuf2_vmalloc(E) videobuf2_memops(E) videobuf2_core(E) v4l2_common(E) videodev(E) b43(E) snd_hda_intel(E) snd_hda_controller(E) snd_hda_codec(E) snd_hwdep(E) btusb(E) dell_wmi(E) gpio_ich(E) bluetooth(E) sparse_keymap(E) snd_pcm(E) snd_seq_midi(E) bcma(E) dell_laptop(E) mac80211(E) snd_seq_midi_event(E) i915(E) snd_rawmidi(E) dcdbas(E) snd_seq(E) snd_seq_device(E) cfg80211(E) joydev(E) snd_timer(E) serio_raw(E) coretemp(E) drm_kms_helper(E) snd(E) soundcore(E) drm(E) ssb_hcd(E) lpc_ich(E) i2c_algo_bit(E) mac_hid(E) wmi(E) video(E) parport_pc(E) ppdev(E) lp(E) parport(E) psmouse(E) ahci(E) libahci(E) ssb(E) sky2(E) [ 769.660088] CPU: 0 PID: 5813 Comm: Xorg Tainted: G D W OE 3.16.0-kg+ #2 [ 769.660090] Hardware name: Dell Inc. Inspiron 1525 /0U990C, BIOS A17 10/27/2009 [ 769.660091] 0000000000000009 ffff8800b8dfba10 ffffffff8173c41a ffff8800b8dfba58 [ 769.660095] ffff8800b8dfba48 ffffffff8106c81d 0000000000000001 ffff8800b8dfbad0 [ 769.660099] ffff8800b99c5b10 ffff8800b9378000 ffff8800b99c5800 ffff8800b8dfbaa8 [ 769.660103] Call Trace: [ 769.660107] [<ffffffff8173c41a>] dump_stack+0x45/0x56 [ 769.660110] [<ffffffff8106c81d>] warn_slowpath_common+0x7d/0xa0 [ 769.660113] [<ffffffff8106c88c>] warn_slowpath_fmt+0x4c/0x50 [ 769.660136] [<ffffffffa0259d45>] ? intel_sdvo_get_hw_state+0x55/0xc0 [i915] [ 769.660157] [<ffffffffa0232c53>] intel_modeset_check_state+0x5f3/0x7a0 [i915] [ 769.660179] [<ffffffffa0232e95>] intel_set_mode+0x25/0x30 [i915] [ 769.660200] [<ffffffffa0233467>] intel_release_load_detect_pipe+0xa7/0xf0 [i915] [ 769.660223] [<ffffffffa025e6d1>] intel_tv_detect+0x311/0x550 [i915] [ 769.660230] [<ffffffffa010a9c3>] drm_helper_probe_single_connector_modes_merge_bits+0x293/0x3a0 [drm_kms_helper] [ 769.660237] [<ffffffffa010aae3>] drm_helper_probe_single_connector_modes+0x13/0x20 [drm_kms_helper] [ 769.660252] [<ffffffffa00af58f>] drm_mode_getconnector+0x3cf/0x440 [drm] [ 769.660255] [<ffffffff811c40a9>] ? __mem_cgroup_commit_charge+0x159/0x3e0 [ 769.660268] [<ffffffffa00a0984>] drm_ioctl+0x1a4/0x630 [drm] [ 769.660272] [<ffffffff811e2dc0>] do_vfs_ioctl+0x2e0/0x4c0 [ 769.660276] [<ffffffff810a38f4>] ? vtime_account_user+0x54/0x60 [ 769.660279] [<ffffffff811e3021>] SyS_ioctl+0x81/0xa0 [ 769.660282] [<ffffffff81744d7f>] tracesys+0xe1/0xe6 [ 769.660284] ---[ end trace 820aec9868bb212a ]--- I recently tried the latest 3.17.0-rc1. The computer will suspend and resume correctly, but I am still having: 1) corrupted graphics, mainly fonts, but also shapes 2) many repeated warnings in the dmesg log. example: [ 5396.105988] ------------[ cut here ]------------ [ 5396.106009] WARNING: CPU: 0 PID: 1206 at drivers/gpu/drm/i915/intel_display.c:10571 intel_modeset_check_state+0x5e1/0x770 [i915]() [ 5396.106011] encoder's hw state doesn't match sw tracking (expected 0, found 1) [ 5396.106013] Modules linked in: pci_stub(E) vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) nfsv3(E) ctr(E) ccm(E) bnep(E) rfcomm(E) bluetooth(E) rpcsec_gss_krb5(E) nfsv4(E) nfsd(E) auth_rpcgss(E) nfs_acl(E) nfs(E) binfmt_misc(E) lockd(E) sunrpc(E) fscache(E) snd_hda_codec_idt(E) snd_hda_codec_hdmi(E) snd_hda_codec_generic(E) uvcvideo(E) videobuf2_vmalloc(E) videobuf2_memops(E) videobuf2_core(E) v4l2_common(E) videodev(E) arc4(E) b43(E) dell_wmi(E) snd_hda_intel(E) snd_hda_controller(E) bcma(E) sparse_keymap(E) mac80211(E) gpio_ich(E) snd_hda_codec(E) snd_hwdep(E) snd_pcm(E) dell_laptop(E) dcdbas(E) joydev(E) snd_seq_midi(E) coretemp(E) cfg80211(E) serio_raw(E) snd_seq_midi_event(E) snd_rawmidi(E) i915(E) snd_seq(E) lpc_ich(E) ssb_hcd(E) snd_seq_device(E) snd_timer(E) mac_hid(E) snd(E) drm_kms_helper(E) wmi(E) drm(E) soundcore(E) i2c_algo_bit(E) video(E) parport_pc(E) ppdev(E) lp(E) parport(E) hid_generic(E) usbhid(E) hid(E) psmouse(E) ahci(E) libahci(E) ssb(E) sky2(E) [ 5396.106064] CPU: 0 PID: 1206 Comm: Xorg Tainted: G W OE 3.17.0-rc1-kg+ #3 [ 5396.106066] Hardware name: Dell Inc. Inspiron 1525 /0U990C, BIOS A17 10/27/2009 [ 5396.106068] 0000000000000009 ffff8800b8debb98 ffffffff8174992a ffff8800b8debbe0 [ 5396.106071] ffff8800b8debbd0 ffffffff8106ef9d ffff880036adc000 0000000000000001 [ 5396.106074] ffff880036adc340 ffff880036ad9000 ffff880036adc310 ffff8800b8debc30 [ 5396.106078] Call Trace: [ 5396.106082] [<ffffffff8174992a>] dump_stack+0x45/0x56 [ 5396.106085] [<ffffffff8106ef9d>] warn_slowpath_common+0x7d/0xa0 [ 5396.106088] [<ffffffff8106f00c>] warn_slowpath_fmt+0x4c/0x50 [ 5396.106112] [<ffffffffa0205505>] ? intel_sdvo_get_hw_state+0x55/0xc0 [i915] [ 5396.106133] [<ffffffffa01dc211>] intel_modeset_check_state+0x5e1/0x770 [i915] [ 5396.106153] [<ffffffffa01dc435>] intel_set_mode+0x25/0x30 [i915] [ 5396.106174] [<ffffffffa01dd37c>] intel_crtc_set_config+0x92c/0xe60 [i915] [ 5396.106189] [<ffffffffa00c6394>] drm_mode_set_config_internal+0x64/0xf0 [drm] [ 5396.106203] [<ffffffffa00caab9>] drm_mode_setcrtc+0xd9/0x590 [drm] [ 5396.106213] [<ffffffffa00bcdb4>] drm_ioctl+0x1a4/0x630 [drm] [ 5396.106218] [<ffffffff811ea4c0>] do_vfs_ioctl+0x2e0/0x4c0 [ 5396.106221] [<ffffffff8109d204>] ? vtime_account_user+0x54/0x60 [ 5396.106224] [<ffffffff811ea721>] SyS_ioctl+0x81/0xa0 [ 5396.106227] [<ffffffff817521bf>] tracesys+0xe1/0xe6 [ 5396.106229] ---[ end trace defe338f2c4e069a ]--- Just compiled 3.17-rc2 and the dmesg is still there. I can still suspend and resume. [ 117.040771] ------------[ cut here ]------------ [ 117.040820] WARNING: CPU: 0 PID: 1158 at drivers/gpu/drm/i915/intel_display.c:5024 intel_modeset_check_state+0x73e/0x770 [i915]() [ 117.040822] wrong connector dpms state [ 117.040823] Modules linked in: nfsv3(E) ctr(E) ccm(E) pci_stub(E) vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) bnep(E) rfcomm(E) bluetooth(E) rpcsec_gss_krb5(E) nfsv4(E) nfsd(E) auth_rpcgss(E) nfs_acl(E) nfs(E) binfmt_misc(E) lockd(E) sunrpc(E) fscache(E) snd_hda_codec_idt(E) snd_hda_codec_hdmi(E) snd_hda_codec_generic(E) arc4(E) uvcvideo(E) videobuf2_vmalloc(E) videobuf2_memops(E) videobuf2_core(E) b43(E) v4l2_common(E) videodev(E) bcma(E) mac80211(E) snd_hda_intel(E) snd_hda_controller(E) snd_hda_codec(E) snd_hwdep(E) snd_pcm(E) snd_seq_midi(E) snd_seq_midi_event(E) gpio_ich(E) dell_wmi(E) snd_rawmidi(E) sparse_keymap(E) snd_seq(E) snd_seq_device(E) snd_timer(E) dell_laptop(E) i915(E) dcdbas(E) cfg80211(E) snd(E) soundcore(E) joydev(E) coretemp(E) serio_raw(E) drm_kms_helper(E) drm(E) lpc_ich(E) ssb_hcd(E) i2c_algo_bit(E) wmi(E) mac_hid(E) video(E) parport_pc(E) ppdev(E) lp(E) parport(E) hid_generic(E) usbhid(E) hid(E) psmouse(E) ahci(E) libahci(E) ssb(E) sky2(E) [ 117.040884] CPU: 0 PID: 1158 Comm: Xorg Tainted: G W OE 3.17.0-rc2-kg+ #4 [ 117.040886] Hardware name: Dell Inc. Inspiron 1525 /0U990C, BIOS A17 10/27/2009 [ 117.040888] 0000000000000009 ffff8800b9bc39a8 ffffffff81749d6a ffff8800b9bc39f0 [ 117.040892] ffff8800b9bc39e0 ffffffff8106efad ffff8800b8bec800 ffff8800b8bec000 [ 117.040895] ffff8800b8fdf000 ffff8800b8bec800 ffff8800b8becb10 ffff8800b9bc3a40 [ 117.040898] Call Trace: [ 117.040907] [<ffffffff81749d6a>] dump_stack+0x45/0x56 [ 117.040911] [<ffffffff8106efad>] warn_slowpath_common+0x7d/0xa0 [ 117.040914] [<ffffffff8106f01c>] warn_slowpath_fmt+0x4c/0x50 [ 117.040936] [<ffffffffa02484be>] intel_modeset_check_state+0x73e/0x770 [i915] [ 117.040957] [<ffffffffa0248585>] intel_set_mode+0x25/0x30 [i915] [ 117.040978] [<ffffffffa02487ca>] intel_get_load_detect_pipe+0x23a/0x550 [i915] [ 117.041003] [<ffffffffa0275e61>] intel_tv_detect+0x111/0x560 [i915] [ 117.041014] [<ffffffffa013ca03>] drm_helper_probe_single_connector_modes_merge_bits+0x2c3/0x3d0 [drm_kms_helper] [ 117.041021] [<ffffffffa013cb23>] drm_helper_probe_single_connector_modes+0x13/0x20 [drm_kms_helper] [ 117.041042] [<ffffffffa00e24ff>] drm_mode_getconnector+0x3cf/0x440 [drm] [ 117.041053] [<ffffffffa00d4db4>] drm_ioctl+0x1a4/0x630 [drm] [ 117.041059] [<ffffffff811ea6d0>] do_vfs_ioctl+0x2e0/0x4c0 [ 117.041063] [<ffffffff8109d214>] ? vtime_account_user+0x54/0x60 [ 117.041066] [<ffffffff811ea931>] SyS_ioctl+0x81/0xa0 [ 117.041070] [<ffffffff817525ff>] tracesys+0xe1/0xe6 [ 117.041072] ---[ end trace 2d533dbc426f85b1 ]--- I don't know if I should keep posting here or not. I just built 3.17-rc4. Suspend and resume still works, but I still get the modeset message in the logs. Is this because my install uses a modeset of -1? Current dmesg: [ 71.426466] ------------[ cut here ]------------ [ 71.426496] WARNING: CPU: 0 PID: 1225 at drivers/gpu/drm/i915/intel_display.c:5044 intel_modeset_check_state+0x6c4/0x770 [i915]() [ 71.426497] Modules linked in: nfsv3(E) ctr(E) ccm(E) pci_stub(E) vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) rfcomm(E) bnep(E) bluetooth(E) rpcsec_gss_krb5(E) nfsv4(E) nfsd(E) auth_rpcgss(E) nfs_acl(E) nfs(E) lockd(E) binfmt_misc(E) sunrpc(E) fscache(E) snd_hda_codec_idt(E) snd_hda_codec_hdmi(E) snd_hda_codec_generic(E) uvcvideo(E) arc4(E) videobuf2_vmalloc(E) videobuf2_memops(E) videobuf2_core(E) v4l2_common(E) videodev(E) b43(E) gpio_ich(E) dell_wmi(E) sparse_keymap(E) bcma(E) mac80211(E) coretemp(E) dell_laptop(E) snd_hda_intel(E) dcdbas(E) snd_hda_controller(E) snd_hda_codec(E) snd_hwdep(E) joydev(E) i915(E) snd_pcm(E) cfg80211(E) serio_raw(E) snd_seq_midi(E) snd_seq_midi_event(E) snd_rawmidi(E) snd_seq(E) snd_seq_device(E) drm_kms_helper(E) snd_timer(E) lpc_ich(E) drm(E) snd(E) ssb_hcd(E) soundcore(E) wmi(E) i2c_algo_bit(E) mac_hid(E) video(E) parport_pc(E) ppdev(E) lp(E) parport(E) hid_generic(E) usbhid(E) hid(E) psmouse(E) ahci(E) libahci(E) ssb(E) sky2(E) [ 71.426555] CPU: 0 PID: 1225 Comm: Xorg Tainted: G W OE 3.17.0-rc4-kg+ #7 [ 71.426557] Hardware name: Dell Inc. Inspiron 1525 /0U990C, BIOS A17 10/27/2009 [ 71.426559] 0000000000000009 ffff8800b925fa70 ffffffff81746caa 0000000000000000 [ 71.426563] ffff8800b925faa8 ffffffff8106c8bd ffff8800b9efa800 ffff8800b93e1800 [ 71.426566] 0000000000000000 ffff8800b6ec9000 ffff8800b9efab10 ffff8800b925fab8 [ 71.426569] Call Trace: [ 71.426574] [<ffffffff81746caa>] dump_stack+0x45/0x56 [ 71.426578] [<ffffffff8106c8bd>] warn_slowpath_common+0x7d/0xa0 [ 71.426581] [<ffffffff8106c99a>] warn_slowpath_null+0x1a/0x20 [ 71.426602] [<ffffffffa02c54c4>] intel_modeset_check_state+0x6c4/0x770 [i915] [ 71.426623] [<ffffffffa02c5605>] intel_set_mode+0x25/0x30 [i915] [ 71.426644] [<ffffffffa02c5bf8>] intel_release_load_detect_pipe+0x98/0xe0 [i915] [ 71.426667] [<ffffffffa02f3187>] intel_tv_detect+0x357/0x590 [i915] [ 71.426677] [<ffffffffa0147a03>] drm_helper_probe_single_connector_modes_merge_bits+0x2c3/0x3d0 [drm_kms_helper] [ 71.426683] [<ffffffffa0147b23>] drm_helper_probe_single_connector_modes+0x13/0x20 [drm_kms_helper] [ 71.426701] [<ffffffffa00fc4ff>] drm_mode_getconnector+0x3cf/0x440 [drm] [ 71.426712] [<ffffffffa00eedb4>] drm_ioctl+0x1a4/0x630 [drm] [ 71.426717] [<ffffffff811e7110>] do_vfs_ioctl+0x2e0/0x4c0 [ 71.426721] [<ffffffff8109ab34>] ? vtime_account_user+0x54/0x60 [ 71.426724] [<ffffffff811e7371>] SyS_ioctl+0x81/0xa0 [ 71.426728] [<ffffffff8174f53f>] tracesys+0xe1/0xe6 [ 71.426730] ---[ end trace 5ab6c2a7c87f9b43 ]--- [ 71.431626] ------------[ cut here ]------------ [ 71.431655] WARNING: CPU: 0 PID: 1225 at drivers/gpu/drm/i915/intel_display.c:10587 intel_modeset_check_state+0x5e1/0x770 [i915]() [ 71.431657] encoder's hw state doesn't match sw tracking (expected 0, found 1) [ 71.431658] Modules linked in: nfsv3(E) ctr(E) ccm(E) pci_stub(E) vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) rfcomm(E) bnep(E) bluetooth(E) rpcsec_gss_krb5(E) nfsv4(E) nfsd(E) auth_rpcgss(E) nfs_acl(E) nfs(E) lockd(E) binfmt_misc(E) sunrpc(E) fscache(E) snd_hda_codec_idt(E) snd_hda_codec_hdmi(E) snd_hda_codec_generic(E) uvcvideo(E) arc4(E) videobuf2_vmalloc(E) videobuf2_memops(E) videobuf2_core(E) v4l2_common(E) videodev(E) b43(E) gpio_ich(E) dell_wmi(E) sparse_keymap(E) bcma(E) mac80211(E) coretemp(E) dell_laptop(E) snd_hda_intel(E) dcdbas(E) snd_hda_controller(E) snd_hda_codec(E) snd_hwdep(E) joydev(E) i915(E) snd_pcm(E) cfg80211(E) serio_raw(E) snd_seq_midi(E) snd_seq_midi_event(E) snd_rawmidi(E) snd_seq(E) snd_seq_device(E) drm_kms_helper(E) snd_timer(E) lpc_ich(E) drm(E) snd(E) ssb_hcd(E) soundcore(E) wmi(E) i2c_algo_bit(E) mac_hid(E) video(E) parport_pc(E) ppdev(E) lp(E) parport(E) hid_generic(E) usbhid(E) hid(E) psmouse(E) ahci(E) libahci(E) ssb(E) sky2(E) [ 71.431716] CPU: 0 PID: 1225 Comm: Xorg Tainted: G W OE 3.17.0-rc4-kg+ #7 [ 71.431718] Hardware name: Dell Inc. Inspiron 1525 /0U990C, BIOS A17 10/27/2009 [ 71.431720] 0000000000000009 ffff8800b925fa20 ffffffff81746caa ffff8800b925fa68 [ 71.431723] ffff8800b925fa58 ffffffff8106c8bd ffff8800b9efa800 0000000000000001 [ 71.431726] ffff8800b9efab40 ffff8800b93e7000 ffff8800b9efab10 ffff8800b925fab8 [ 71.431730] Call Trace: [ 71.431735] [<ffffffff81746caa>] dump_stack+0x45/0x56 [ 71.431738] [<ffffffff8106c8bd>] warn_slowpath_common+0x7d/0xa0 [ 71.431742] [<ffffffff8106c92c>] warn_slowpath_fmt+0x4c/0x50 [ 71.431765] [<ffffffffa02ee7b5>] ? intel_sdvo_get_hw_state+0x55/0xc0 [i915] [ 71.431786] [<ffffffffa02c53e1>] intel_modeset_check_state+0x5e1/0x770 [i915] [ 71.431806] [<ffffffffa02c5605>] intel_set_mode+0x25/0x30 [i915] [ 71.431827] [<ffffffffa02c5bf8>] intel_release_load_detect_pipe+0x98/0xe0 [i915] [ 71.431850] [<ffffffffa02f3187>] intel_tv_detect+0x357/0x590 [i915] [ 71.431860] [<ffffffffa0147a03>] drm_helper_probe_single_connector_modes_merge_bits+0x2c3/0x3d0 [drm_kms_helper] [ 71.431867] [<ffffffffa0147b23>] drm_helper_probe_single_connector_modes+0x13/0x20 [drm_kms_helper] [ 71.431884] [<ffffffffa00fc4ff>] drm_mode_getconnector+0x3cf/0x440 [drm] [ 71.431895] [<ffffffffa00eedb4>] drm_ioctl+0x1a4/0x630 [drm] [ 71.431900] [<ffffffff811e7110>] do_vfs_ioctl+0x2e0/0x4c0 [ 71.431904] [<ffffffff8109ab34>] ? vtime_account_user+0x54/0x60 [ 71.431907] [<ffffffff811e7371>] SyS_ioctl+0x81/0xa0 [ 71.431911] [<ffffffff8174f53f>] tracesys+0xe1/0xe6 [ 71.431913] ---[ end trace 5ab6c2a7c87f9b44 ]--- (In reply to grider.4 from comment #5) > I don't know if I should keep posting here or not. I just built 3.17-rc4. > Suspend and resume still works, but I still get the modeset message in the > logs. Is this because my install uses a modeset of -1? Sorry we've neglected this bug a bit. Thanks for the updates. Please attach full dmesg from boot with the drm.debug=0xe module parameter set. I think I got it. I added drm.debug=0xe in the /etc/modules file and rebooted. The dmesg is attached. Created attachment 149701 [details]
Dmesg at boot 3.17.0-rc4
Still there in rc5. Did I do the debug correctly? [ 52.396384] ------------[ cut here ]------------ [ 52.396429] WARNING: CPU: 1 PID: 1143 at drivers/gpu/drm/i915/intel_display.c:5034 intel_modeset_check_state+0x76d/0x7a0 [i915]() [ 52.396431] wrong connector dpms state [ 52.396432] Modules linked in: nfsv3(E) ctr(E) ccm(E) pci_stub(E) vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) rfcomm(E) bnep(E) bluetooth(E) rpcsec_gss_krb5(E) nfsv4(E) nfsd(E) auth_rpcgss(E) nfs_acl(E) binfmt_misc(E) nfs(E) lockd(E) sunrpc(E) fscache(E) snd_hda_codec_idt(E) snd_hda_codec_hdmi(E) snd_hda_codec_generic(E) uvcvideo(E) videobuf2_vmalloc(E) videobuf2_memops(E) videobuf2_core(E) v4l2_common(E) arc4(E) videodev(E) gpio_ich(E) dell_wmi(E) sparse_keymap(E) dell_laptop(E) dcdbas(E) snd_hda_intel(E) snd_hda_controller(E) b43(E) snd_hda_codec(E) snd_hwdep(E) i915(E) snd_pcm(E) coretemp(E) bcma(E) snd_seq_midi(E) joydev(E) snd_seq_midi_event(E) mac80211(E) serio_raw(E) snd_rawmidi(E) snd_seq(E) snd_seq_device(E) cfg80211(E) lpc_ich(E) ssb_hcd(E) snd_timer(E) drm_kms_helper(E) drm(E) snd(E) soundcore(E) mac_hid(E) wmi(E) i2c_algo_bit(E) video(E) parport_pc(E) ppdev(E) lp(E) parport(E) hid_generic(E) usbhid(E) hid(E) psmouse(E) ahci(E) libahci(E) ssb(E) sky2(E) [ 52.396494] CPU: 1 PID: 1143 Comm: Xorg Tainted: G W OE 3.17.0-rc5-kg+ #8 [ 52.396496] Hardware name: Dell Inc. Inspiron 1525 /0U990C, BIOS A17 10/27/2009 [ 52.396498] 0000000000000009 ffff8800b9f939a0 ffffffff81746c17 ffff8800b9f939e8 [ 52.396502] ffff8800b9f939d8 ffffffff8106c93d ffff8800b8b83000 ffff8800b8b81000 [ 52.396505] ffff8800b9881000 ffff8800b9881000 ffff8800b9881310 ffff8800b9f93a38 [ 52.396509] Call Trace: [ 52.396516] [<ffffffff81746c17>] dump_stack+0x45/0x56 [ 52.396521] [<ffffffff8106c93d>] warn_slowpath_common+0x7d/0xa0 [ 52.396524] [<ffffffff8106c9ac>] warn_slowpath_fmt+0x4c/0x50 [ 52.396545] [<ffffffffa034570d>] intel_modeset_check_state+0x76d/0x7a0 [i915] [ 52.396566] [<ffffffffa03457d5>] intel_set_mode+0x25/0x30 [i915] [ 52.396587] [<ffffffffa0345a1a>] intel_get_load_detect_pipe+0x23a/0x550 [i915] [ 52.396611] [<ffffffffa0373146>] intel_tv_detect+0x116/0x590 [i915] [ 52.396621] [<ffffffffa014da03>] drm_helper_probe_single_connector_modes_merge_bits+0x2c3/0x3d0 [drm_kms_helper] [ 52.396628] [<ffffffffa014db23>] drm_helper_probe_single_connector_modes+0x13/0x20 [drm_kms_helper] [ 52.396649] [<ffffffffa00f33ef>] drm_mode_getconnector+0x3cf/0x440 [drm] [ 52.396660] [<ffffffffa00e5db4>] drm_ioctl+0x1a4/0x630 [drm] [ 52.396666] [<ffffffff811e70c0>] do_vfs_ioctl+0x2e0/0x4c0 [ 52.396670] [<ffffffff8109ab04>] ? vtime_account_user+0x54/0x60 [ 52.396674] [<ffffffff811e7321>] SyS_ioctl+0x81/0xa0 [ 52.396678] [<ffffffff8174f47f>] tracesys+0xe1/0xe6 [ 52.396680] ---[ end trace 5fb0f33ad898178f ]--- [ 52.396681] ------------[ cut here ]------------ (In reply to grider.4 from comment #7) > I think I got it. I added drm.debug=0xe in the /etc/modules file and > rebooted. The dmesg is attached. I'm afraid it didn't go through. It may be easiest to edit the kernel command line at boot loader. For example, if you use grub, hit 'e' when the kernel is selected, and add drm.debug=0xe at the end of the linux command line. Hit F10 to boot (IIRC). Alternatively, you can use /etc/modprobe.d/somefile.conf and add the line: options drm debug=0xe there. I just did it and created the dmesg text, but it only starts at 31 milliseconds. I do nto know why it does not give the complete log. I attached what I got, anyway, in case it is helpful. Created attachment 150901 [details]
debug dmesg 3.17.0rc5
Unfortunately it's not too helpful as we can't see the first errors; usually the later errors are a byproduct of the first one. Please try to get the full dmesg. Maybe add log_buf_len=4M kernel parameter to set the kernel log size to 4 mb. Or more. the new one starts at 0. Hope this helps. Thanks! Created attachment 151641 [details]
3.17-rc5 debug messages (this time from 0)
SDVO state tracking fails are for Daniel. Anything new on this? I have not tried to build another kernel since this 3.17-rc5 as there has been no updates. I will build and test if a fix can be tried. Keith Updating priority to reflect reality. Please try later kernels. Long time no updates, closing. If the problem persists with latest kernels, please file a bug at the freedesktop.org bugzilla [1], referencing this bug. Thank you. [1] https://bugs.freedesktop.org/enter_bug.cgi?product=DRI&component=DRM/Intel |
Created attachment 144571 [details] lspci -vvv [ 67.066533] WARNING: CPU: 0 PID: 1180 at /home/apw/COD/linux/drivers/gpu/drm/i915/intel_display.c:10101 check_encoder_state+0x1f3/0x270 [i915]() [ 67.066536] encoder's hw state doesn't match sw tracking (expected 0, found 1) WORKAROUND: When using lightdm, I can suspend and resume, but the messages are still in dmesg. When using gdm, I get a black screen upon resume. I can get to a tty or SSH into the machine and reboot it. I was using Gnome Desktop/gdm, but am currently using Gnome Desktop with lightDM so that the computer will resume correctly. Do not know why they behave differently. $ cat /proc/version Linux version 3.16.0-031600rc6-generic (apw@gomeisa) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #201407210035 SMP Mon Jul 21 04:36:11 UTC 2014 $ lsb_release -rd Description: Ubuntu 14.04.1 LTS Release: 14.04 $ cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Core(TM)2 Duo CPU T5800 @ 2.00GHz stepping : 13 microcode : 0xa3 cpu MHz : 800.000 cache size : 2048 KB physical id : 0 siblings : 2 core id : 0 cpu cores : 2 apicid : 0 initial apicid : 0 fpu : yes fpu_exception : yes cpuid level : 10 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl aperfmperf pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm lahf_lm dtherm bogomips : 3989.99 clflush size : 64 cache_alignment : 64 address sizes : 36 bits physical, 48 bits virtual power management: processor : 1 vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Core(TM)2 Duo CPU T5800 @ 2.00GHz stepping : 13 microcode : 0xa3 cpu MHz : 800.000 cache size : 2048 KB physical id : 0 siblings : 2 core id : 1 cpu cores : 2 apicid : 1 initial apicid : 1 fpu : yes fpu_exception : yes cpuid level : 10 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl aperfmperf pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm lahf_lm dtherm bogomips : 3989.99 clflush size : 64 cache_alignment : 64 address sizes : 36 bits physical, 48 bits virtual power management: $ cat /proc/modules nfsv3 39619 1 - Live 0x0000000000000000 ctr 13193 1 - Live 0x0000000000000000 ccm 17856 1 - Live 0x0000000000000000 bnep 19884 2 - Live 0x0000000000000000 rfcomm 75114 12 - Live 0x0000000000000000 rpcsec_gss_krb5 40513 0 - Live 0x0000000000000000 nfsv4 482691 0 - Live 0x0000000000000000 nfsd 291868 2 - Live 0x0000000000000000 auth_rpcgss 60032 2 rpcsec_gss_krb5,nfsd, Live 0x0000000000000000 nfs_acl 12883 2 nfsv3,nfsd, Live 0x0000000000000000 nfs 248958 3 nfsv3,nfsv4, Live 0x0000000000000000 lockd 95174 3 nfsv3,nfsd,nfs, Live 0x0000000000000000 sunrpc 302040 12 nfsv3,rpcsec_gss_krb5,nfsv4,nfsd,auth_rpcgss,nfs_acl,nfs,lockd, Live 0x0000000000000000 fscache 64282 2 nfsv4,nfs, Live 0x0000000000000000 binfmt_misc 17508 1 - Live 0x0000000000000000 snd_hda_codec_idt 59985 1 - Live 0x0000000000000000 snd_hda_codec_hdmi 48243 1 - Live 0x0000000000000000 snd_hda_codec_generic 70087 2 snd_hda_codec_idt, Live 0x0000000000000000 uvcvideo 86628 0 - Live 0x0000000000000000 arc4 12573 2 - Live 0x0000000000000000 videobuf2_vmalloc 13216 1 uvcvideo, Live 0x0000000000000000 videobuf2_memops 13362 1 videobuf2_vmalloc, Live 0x0000000000000000 videobuf2_core 59635 1 uvcvideo, Live 0x0000000000000000 v4l2_common 15715 1 videobuf2_core, Live 0x0000000000000000 videodev 154834 3 uvcvideo,videobuf2_core,v4l2_common, Live 0x0000000000000000 snd_hda_intel 30683 6 - Live 0x0000000000000000 dell_wmi 12681 0 - Live 0x0000000000000000 media 22008 2 uvcvideo,videodev, Live 0x0000000000000000 b43 410494 0 - Live 0x0000000000000000 gpio_ich 13636 0 - Live 0x0000000000000000 snd_hda_controller 35518 1 snd_hda_intel, Live 0x0000000000000000 sparse_keymap 13890 1 dell_wmi, Live 0x0000000000000000 snd_hda_codec 144889 5 snd_hda_codec_idt,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller, Live 0x0000000000000000 btusb 32605 0 - Live 0x0000000000000000 coretemp 13638 0 - Live 0x0000000000000000 snd_hwdep 17709 1 snd_hda_codec, Live 0x0000000000000000 bluetooth 467228 22 bnep,rfcomm,btusb, Live 0x0000000000000000 i915 945853 4 - Live 0x0000000000000000 bcma 52702 1 b43, Live 0x0000000000000000 snd_pcm 105052 4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_controller,snd_hda_codec, Live 0x0000000000000000 mac80211 687067 1 b43, Live 0x0000000000000000 snd_seq_midi 13564 0 - Live 0x0000000000000000 dell_laptop 18315 0 - Live 0x0000000000000000 6lowpan_iphc 18968 1 bluetooth, Live 0x0000000000000000 microcode 24525 0 - Live 0x0000000000000000 snd_seq_midi_event 14899 1 snd_seq_midi, Live 0x0000000000000000 dcdbas 15017 1 dell_laptop, Live 0x0000000000000000 cfg80211 521225 2 b43,mac80211, Live 0x0000000000000000 snd_rawmidi 31197 1 snd_seq_midi, Live 0x0000000000000000 snd_seq 63540 2 snd_seq_midi,snd_seq_midi_event, Live 0x0000000000000000 joydev 17587 0 - Live 0x0000000000000000 snd_seq_device 14497 3 snd_seq_midi,snd_rawmidi,snd_seq, Live 0x0000000000000000 drm_kms_helper 62042 1 i915, Live 0x0000000000000000 serio_raw 13483 0 - Live 0x0000000000000000 snd_timer 30118 2 snd_pcm,snd_seq, Live 0x0000000000000000 drm 316819 6 i915,drm_kms_helper, Live 0x0000000000000000 snd 84025 23 snd_hda_codec_idt,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_rawmidi,snd_seq,snd_seq_device,snd_timer, Live 0x0000000000000000 lpc_ich 21176 0 - Live 0x0000000000000000 ssb_hcd 12924 0 - Live 0x0000000000000000 soundcore 15091 2 snd_hda_codec,snd, Live 0x0000000000000000 mac_hid 13275 0 - Live 0x0000000000000000 i2c_algo_bit 13564 1 i915, Live 0x0000000000000000 wmi 19379 1 dell_wmi, Live 0x0000000000000000 video 20521 1 i915, Live 0x0000000000000000 parport_pc 32906 0 - Live 0x0000000000000000 ppdev 17711 0 - Live 0x0000000000000000 lp 17799 0 - Live 0x0000000000000000 parport 42481 3 parport_pc,ppdev,lp, Live 0x0000000000000000 hid_generic 12559 0 - Live 0x0000000000000000 usbhid 53122 0 - Live 0x0000000000000000 hid 110572 2 hid_generic,usbhid, Live 0x0000000000000000 psmouse 113097 0 - Live 0x0000000000000000 ahci 30167 3 - Live 0x0000000000000000 libahci 32533 1 ahci, Live 0x0000000000000000 sky2 63220 0 - Live 0x0000000000000000 ssb 63214 2 b43,ssb_hcd, Live 0x0000000000000000 $ cat /proc/ioports 0000-0cf7 : PCI Bus 0000:00 0000-001f : dma1 0020-0021 : pic1 0040-0043 : timer0 0050-0053 : timer1 0060-0060 : keyboard 0061-0061 : PNP0800:00 0063-0063 : PNP0800:00 0064-0064 : keyboard 0065-0065 : PNP0800:00 0067-0067 : PNP0800:00 0070-0071 : rtc0 0080-008f : dma page reg 00a0-00a1 : pic2 00c0-00df : dma2 00f0-00ff : PNP0C04:00 00f0-00ff : fpu 0170-0177 : 0000:00:1f.1 0170-0177 : ata_piix 01f0-01f7 : 0000:00:1f.1 01f0-01f7 : ata_piix 0376-0376 : 0000:00:1f.1 0376-0376 : ata_piix 03c0-03df : vesafb 03f6-03f6 : 0000:00:1f.1 03f6-03f6 : ata_piix 04d0-04d1 : pnp 00:06 0809-0809 : pnp 00:07 0900-097f : pnp 00:06 0cf8-0cff : PCI conf1 0d00-ffff : PCI Bus 0000:00 1000-1003 : ACPI PM1a_EVT_BLK 1004-1005 : ACPI PM1a_CNT_BLK 1008-100b : ACPI PM_TMR 1010-1015 : ACPI CPU throttle 1020-1020 : ACPI PM2_CNT_BLK 1028-102f : gpio_ich 1028-102f : ACPI GPE0_BLK 1030-1033 : iTCO_wdt 1060-107f : iTCO_wdt 1080-10bf : gpio_ich 1080-10bf : 0000:00:1f.0 1080-10bf : pnp 00:07 1080-10af : gpio_ich 10b0-10bf : gpio_ich 10c0-10df : 0000:00:1f.3 10c0-10df : pnp 00:07 2000-2fff : PCI Bus 0000:0b 6eb0-6eb7 : 0000:00:1f.2 6eb0-6eb7 : ahci 6eb8-6ebb : 0000:00:1f.2 6eb8-6ebb : ahci 6ec0-6ec7 : 0000:00:1f.2 6ec0-6ec7 : ahci 6ec8-6ecb : 0000:00:1f.2 6ec8-6ecb : ahci 6ee0-6eff : 0000:00:1f.2 6ee0-6eff : ahci 6f00-6f1f : 0000:00:1a.1 6f00-6f1f : uhci_hcd 6f20-6f3f : 0000:00:1a.0 6f20-6f3f : uhci_hcd 6f40-6f5f : 0000:00:1d.2 6f40-6f5f : uhci_hcd 6f60-6f7f : 0000:00:1d.1 6f60-6f7f : uhci_hcd 6f80-6f9f : 0000:00:1d.0 6f80-6f9f : uhci_hcd 6fa0-6faf : 0000:00:1f.1 6fa0-6faf : ata_piix c000-cfff : PCI Bus 0000:0c d000-dfff : PCI Bus 0000:09 de00-deff : 0000:09:00.0 de00-deff : sky2 eff8-efff : 0000:00:02.0 f400-f4fe : pnp 00:07 $ cat /proc/iomem 00000000-00000fff : reserved 00001000-0009efff : System RAM 0009f000-0009ffff : reserved 000a0000-000bffff : PCI Bus 0000:00 000c0000-000c7fff : Video ROM 000cf000-000cffff : Adapter ROM 000d0000-000dffff : PCI Bus 0000:00 000f0000-000fffff : System ROM 00100000-bf66d7ff : System RAM 01000000-01796498 : Kernel code 01796499-01d1747f : Kernel data 01e76000-01fb8fff : Kernel bss bf66d800-bfffffff : reserved bf66d800-bf6fffff : pnp 00:08 bf700000-bf7fffff : pnp 00:08 bf800000-bff7ffff : Graphics Stolen Memory c0000000-f7ffffff : PCI Bus 0000:00 c0000000-c01fffff : PCI Bus 0000:09 c0200000-c0200fff : Intel Flush Page e0000000-efffffff : 0000:00:02.0 f0000000-f00fffff : PCI Bus 0000:0b f0000000-f00fffff : 0000:0b:00.0 f0000000-f00fffff : b43-pci-bridge f0100000-f03fffff : PCI Bus 0000:0c f8000000-fbffffff : PCI MMCONFIG 0000 [bus 00-3f] f8000000-fbffffff : reserved f8000000-fbffffff : pnp 00:08 fc000000-febfffff : PCI Bus 0000:00 fe400000-fe6fffff : PCI Bus 0000:0c fe700000-fe7fffff : PCI Bus 0000:0b fe7fc000-fe7fffff : 0000:0b:00.0 fe7fc000-fe7fffff : b43-pci-bridge fe800000-fe8fffff : PCI Bus 0000:09 fe8fc000-fe8fffff : 0000:09:00.0 fe8fc000-fe8fffff : sky2 fe9fb700-fe9fb7ff : 0000:00:1f.3 fe9fb800-fe9fbfff : 0000:00:1f.2 fe9fb800-fe9fbfff : ahci fe9fc000-fe9fffff : 0000:00:1b.0 fe9fc000-fe9fffff : ICH HD audio fea00000-feafffff : 0000:00:02.0 feb00000-febfffff : 0000:00:02.1 fec00000-fec0ffff : reserved fec00000-fec003ff : IOAPIC 0 fec10000-fecfffff : PCI Bus 0000:00 fed00000-fed003ff : HPET 0 fed00000-fed003ff : pnp 00:05 fed18000-fed1bfff : reserved fed18000-fed1bfff : pnp 00:08 fed1b410-fed1b414 : iTCO_wdt fed1c000-fed1ffff : PCI Bus 0000:00 fed1c000-fed1c3ff : 0000:00:1d.7 fed1c000-fed1c3ff : ehci_hcd fed1c400-fed1c7ff : 0000:00:1a.7 fed1c400-fed1c7ff : ehci_hcd fed20000-fed8ffff : reserved fed20000-fed8ffff : pnp 00:08 fed90000-fed9ffff : PCI Bus 0000:00 feda0000-feda5fff : reserved feda0000-feda3fff : pnp 00:08 feda4000-feda4fff : pnp 00:08 feda5000-feda5fff : pnp 00:08 feda6000-feda6fff : pnp 00:08 feda7000-fedfffff : PCI Bus 0000:00 fee00000-fee0ffff : reserved fee00000-fee0ffff : pnp 00:08 fee00000-fee00fff : Local APIC fee10000-ff9fffff : PCI Bus 0000:00 ff800000-ff8fffff : pnp 00:00 ffa00000-ffbfffff : pnp 00:08 ffc00000-ffdfffff : PCI Bus 0000:00 ffc00000-ffcfffff : pnp 00:00 ffe00000-ffffffff : reserved ffe00000-ffffffff : pnp 00:08 $ cat /proc/scsi/scsi Attached devices: Host: scsi2 Channel: 00 Id: 00 Lun: 00 Vendor: ATA Model: FUJITSU MHZ2250B Rev: 0009 Type: Direct-Access ANSI SCSI revision: 05 $ ls /proc 1 131 1963 2179 2473 2838 395 792 crypto mtrr 10 132 1985 2194 25 2850 40 8 devices net 1019 133 2 22 2520 2857 410 80 diskstats pagetypeinfo 1046 134 20 2204 2554 287 457 81 dma partitions 1067 135 2019 2210 2572 2877 458 82 driver sched_debug 1073 136 2021 2214 2576 29 462 821 execdomains schedstat 1083 14 2033 2218 2583 2902 471 83 fb scsi 1085 1428 2045 2220 2597 2911 5 834 filesystems self 1098 1456 2053 2227 26 2912 52 887 fs slabinfo 1099 1467 2076 2230 2608 293 53 891 interrupts softirqs 11 147 2090 2241 2628 2953 530 899 iomem stat 1123 148 2094 2249 2672 2979 535 9 ioports swaps 1157 15 2095 2254 2681 3 54 900 irq sys 1165 1519 2097 2258 2682 30 545 903 kallsyms sysrq-trigger 1179 1564 2098 2261 2683 3034 55 940 kcore sysvipc 1180 1584 21 2275 2687 3043 56 955 key-users timer_list 1183 16 2105 2276 2688 3083 57 956 kmsg timer_stats 1192 17 2108 2278 2690 31 581 997 kpagecount tty 1199 1704 2110 2282 27 32 59 acpi kpageflags uptime 12 1706 2117 2283 2708 33 635 asound loadavg version 1203 1832 2122 2288 2715 34 670 buddyinfo locks vmallocinfo 1250 1860 2130 2291 2744 35 671 bus mdstat vmstat 1271 1863 2132 23 2757 36 7 cgroups meminfo zoneinfo 1283 1869 2135 2375 2762 38 719 cmdline misc 13 1892 2170 2387 28 39 721 consoles modules 130 19 2174 24 2818 394 723 cpuinfo mounts