[Intel-gfx] i915 kernel driver errors

Adam Skillen askillen at ccsl.carleton.ca
Sat Jul 19 16:01:33 CEST 2014


After upgrading my kernel from 3.11 to 3.13, I have been experiencing
issues with graphical freezes.  Specific dmesg errors started showing up
after the upgrade (see below).

When waking the screen from power saving/screensaver, the primary
display wakes but X stops responding to input (the mouse cursor can
still move, but clicking has no effect). Secondary display does not wake.

This issue persists up to the latest 3.16-rc5.  A commit bisect shows
that fdbc3b1f639bb2cbfb32c612b2699e0ba373317d is the first bad commit.
Reverting that commit on the 3.16-rc5 branch seemed to fix the problem.


The original bug report also contains relevant logs and configuration
information (e.g., Xorg.0.log, lspci, etc.):
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1343543

Please let me know if you require any further logs or information.


Sincerely,

Adam Skillen




Hardware:
Dell System XPS L502X/0NJT03, BIOS A12 09/07/2012
Intel Corporation 2nd Generation Core Processor Family Integrated
Graphics Controller [8086:0126] (rev 09) (prog-if 00 [VGA controller])




Bisect result:
fdbc3b1f639bb2cbfb32c612b2699e0ba373317d is the first bad commit

$ git show
commit fdbc3b1f639bb2cbfb32c612b2699e0ba373317d
Author: Jani Nikula <email address hidden>
Date: Tue Nov 12 17:10:13 2013 +0200

    drm/i915/dp: set sink to power down mode on dp disable

    We used to put the local sink and any downstream sinks to power down
    mode at disable or dpms off using the DPCD SET_POWER register, until
    this was broken by

    commit e8cb455876fa8f67c6aba394d0a14b697bf04cc3
    Author: Daniel Vetter <email address hidden>
    Date: Sun Jul 1 13:05:48 2012 +0200

        drm/i915/dp: convert to encoder disable/enable

    Fix it.

    Signed-off-by: Jani Nikula <email address hidden>
    Reviewed-by: Todd Previte <email address hidden>
    Signed-off-by: Daniel Vetter <email address hidden>

diff --git a/drivers/gpu/drm/i915/intel_dp.c
b/drivers/gpu/drm/i915/intel_dp.c
index eb8139d..0b2e842 100644
--- a/drivers/gpu/drm/i915/intel_dp.c
+++ b/drivers/gpu/drm/i915/intel_dp.c
@@ -1774,7 +1774,7 @@ static void intel_disable_dp(struct intel_encoder
*encoder)
         * ensure that we have vdd while we switch off the panel. */
        ironlake_edp_panel_vdd_on(intel_dp);
        ironlake_edp_backlight_off(intel_dp);
- intel_dp_sink_dpms(intel_dp, DRM_MODE_DPMS_ON);
+ intel_dp_sink_dpms(intel_dp, DRM_MODE_DPMS_OFF);
        ironlake_edp_panel_off(intel_dp);

        /* cpu edp my only be disable _after_ the cpu pipe/plane is
disabled. */






dmesg errors:

[   57.742453] [drm:intel_dp_i2c_aux_ch] *ERROR* too many retries, giving up
[   57.749668] [drm:intel_dp_i2c_aux_ch] *ERROR* too many retries, giving up
[   57.756909] [drm:intel_dp_i2c_aux_ch] *ERROR* too many retries, giving up
[   57.764173] [drm:intel_dp_i2c_aux_ch] *ERROR* too many retries, giving up
[   57.771410] [drm:intel_dp_i2c_aux_ch] *ERROR* too many retries, giving up
[   57.778631] [drm:intel_dp_i2c_aux_ch] *ERROR* too many retries, giving up
[   57.785855] [drm:intel_dp_i2c_aux_ch] *ERROR* too many retries, giving up
[   57.793118] [drm:intel_dp_i2c_aux_ch] *ERROR* too many retries, giving up
[   57.800344] [drm:intel_dp_i2c_aux_ch] *ERROR* too many retries, giving up
[   57.807580] [drm:intel_dp_i2c_aux_ch] *ERROR* too many retries, giving up
[   57.814792] [drm:intel_dp_i2c_aux_ch] *ERROR* too many retries, giving up
[   57.822041] [drm:intel_dp_i2c_aux_ch] *ERROR* too many retries, giving up
[   57.829291] [drm:intel_dp_i2c_aux_ch] *ERROR* too many retries, giving up
[   57.836505] [drm:intel_dp_i2c_aux_ch] *ERROR* too many retries, giving up
[   57.843725] [drm:intel_dp_i2c_aux_ch] *ERROR* too many retries, giving up
[   57.850852] [drm:intel_dp_i2c_aux_ch] *ERROR* too many retries, giving up
[   57.858105] [drm:intel_dp_i2c_aux_ch] *ERROR* too many retries, giving up
[   57.865323] [drm:intel_dp_i2c_aux_ch] *ERROR* too many retries, giving up
[   57.872542] [drm:intel_dp_i2c_aux_ch] *ERROR* too many retries, giving up
[   57.879761] [drm:intel_dp_i2c_aux_ch] *ERROR* too many retries, giving up
[   58.371484] [drm:intel_dp_i2c_aux_ch] *ERROR* too many retries, giving up
[   58.378697] [drm:intel_dp_i2c_aux_ch] *ERROR* too many retries, giving up
[   58.385953] [drm:intel_dp_i2c_aux_ch] *ERROR* too many retries, giving up
[   58.393307] [drm:intel_dp_i2c_aux_ch] *ERROR* too many retries, giving up
[   58.400549] [drm:intel_dp_i2c_aux_ch] *ERROR* too many retries, giving up
[   58.407729] [drm:intel_dp_i2c_aux_ch] *ERROR* too many retries, giving up
[   58.414955] [drm:intel_dp_i2c_aux_ch] *ERROR* too many retries, giving up
[   58.422201] [drm:intel_dp_i2c_aux_ch] *ERROR* too many retries, giving up
[   58.429459] [drm:intel_dp_i2c_aux_ch] *ERROR* too many retries, giving up
[   58.436694] [drm:intel_dp_i2c_aux_ch] *ERROR* too many retries, giving up
[   58.443847] [drm:intel_dp_i2c_aux_ch] *ERROR* too many retries, giving up
[   58.451069] [drm:intel_dp_i2c_aux_ch] *ERROR* too many retries, giving up
[   58.458370] [drm:intel_dp_i2c_aux_ch] *ERROR* too many retries, giving up
[   58.465604] [drm:intel_dp_i2c_aux_ch] *ERROR* too many retries, giving up
[   58.472829] [drm:intel_dp_i2c_aux_ch] *ERROR* too many retries, giving up
[   58.480059] [drm:intel_dp_i2c_aux_ch] *ERROR* too many retries, giving up
[   58.487280] [drm:intel_dp_i2c_aux_ch] *ERROR* too many retries, giving up
[   58.494504] [drm:intel_dp_i2c_aux_ch] *ERROR* too many retries, giving up
[   58.501721] [drm:intel_dp_i2c_aux_ch] *ERROR* too many retries, giving up
[   58.508844] [drm:intel_dp_i2c_aux_ch] *ERROR* too many retries, giving up
[   59.761450] init: Failed to spawn nvidia-persistenced main process:
unable to execute: No such file or directory
[   59.944979] [drm:intel_dp_i2c_aux_ch] *ERROR* too many retries, giving up
[   59.952215] [drm:intel_dp_i2c_aux_ch] *ERROR* too many retries, giving up
[   59.959350] [drm:intel_dp_i2c_aux_ch] *ERROR* too many retries, giving up
[   59.966585] [drm:intel_dp_i2c_aux_ch] *ERROR* too many retries, giving up
[   59.973823] [drm:intel_dp_i2c_aux_ch] *ERROR* too many retries, giving up
[   59.981046] [drm:intel_dp_i2c_aux_ch] *ERROR* too many retries, giving up
[   59.988267] [drm:intel_dp_i2c_aux_ch] *ERROR* too many retries, giving up
[   59.995402] [drm:intel_dp_i2c_aux_ch] *ERROR* too many retries, giving up
[   60.002625] [drm:intel_dp_i2c_aux_ch] *ERROR* too many retries, giving up
[   60.009858] [drm:intel_dp_i2c_aux_ch] *ERROR* too many retries, giving up
[   61.345514] [drm:intel_dp_aux_native_write] *ERROR* too many retries,
giving up
[   61.345518] [drm:intel_dp_start_link_train] *ERROR* failed to enable
link training
[   61.352283] [drm:intel_dp_aux_native_write] *ERROR* too many retries,
giving up
[   61.352286] [drm:intel_dp_complete_link_train] *ERROR* failed to
start channel equalization
[   61.383508] [drm:cpt_verify_modeset] *ERROR* mode set failed: pipe B
stuck
[   61.447617] ------------[ cut here ]------------
[   61.447640] WARNING: CPU: 0 PID: 1437 at
/build/buildd/linux-3.13.0/drivers/gpu/drm/i915/intel_display.c:9237
intel_modeset_check_state+0x62d/0x780 [i915]()
[   61.447641] encoder's hw state doesn't match sw tracking (expected 1,
found 0)
[   61.447642] Modules linked in: bbswitch(OF) ipt_REJECT xt_tcpudp
nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack
iptable_filter ip_tables x_tables pci_stub vboxpci(OF) vboxnetadp(OF)
vboxnetflt(OF) vboxdrv(OF) bnep rfcomm bluetooth binfmt_misc arc4 iwldvm
mac80211 snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_intel
snd_hda_codec snd_hwdep snd_pcm snd_page_alloc snd_seq_midi
snd_seq_midi_event snd_rawmidi snd_seq snd_seq_device snd_timer snd
intel_rapl parport_pc soundcore iwlwifi ppdev lp uvcvideo
x86_pkg_temp_thermal intel_powerclamp coretemp videobuf2_vmalloc
videobuf2_memops dell_laptop dell_wmi mei_me videobuf2_core dcdbas
sparse_keymap kvm_intel kvm cfg80211 mei videodev wmi serio_raw lpc_ich
joydev parport mac_hid dm_crypt ses enclosure hid_generic usbhid hid
usb_storage crct10dif_pclmul crc32_pclmul i915 ghash_clmulni_intel
aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd
i2c_algo_bit drm_kms_helper ahci r8169 drm psmouse libahci mii video
[   61.447669] CPU: 0 PID: 1437 Comm: Xorg Tainted: GF          O
3.13.0-32-generic #57-Ubuntu
[   61.447670] Hardware name: Dell Inc.          Dell System XPS
L502X/0NJT03, BIOS A12 09/07/2012
[   61.447671]  0000000000000009 ffff88022e6a1b68 ffffffff8171bcb4
ffff88022e6a1bb0
[   61.447673]  ffff88022e6a1ba0 ffffffff810676cd ffff88022e6a1c20
0000000000000001
[   61.447674]  ffff88022d7c2800 ffff88022d7c2af8 ffff88022d4a6800
ffff88022e6a1c00
[   61.447676] Call Trace:
[   61.447681]  [<ffffffff8171bcb4>] dump_stack+0x45/0x56
[   61.447683]  [<ffffffff810676cd>] warn_slowpath_common+0x7d/0xa0
[   61.447685]  [<ffffffff8106773c>] warn_slowpath_fmt+0x4c/0x50
[   61.447694]  [<ffffffffa01d033d>]
intel_modeset_check_state+0x62d/0x780 [i915]
[   61.447701]  [<ffffffffa01d0525>] intel_set_mode+0x25/0x30 [i915]
[   61.447709]  [<ffffffffa01d0dcb>] intel_crtc_set_config+0x7ab/0x9a0
[i915]
[   61.447718]  [<ffffffffa0047ebd>]
drm_mode_set_config_internal+0x5d/0xe0 [drm]
[   61.447726]  [<ffffffffa004ada7>] drm_mode_setcrtc+0xf7/0x5e0 [drm]
[   61.447731]  [<ffffffffa003bc22>] drm_ioctl+0x502/0x630 [drm]
[   61.447736]  [<ffffffff811cfd10>] do_vfs_ioctl+0x2e0/0x4c0
[   61.447738]  [<ffffffff8109ddf4>] ? vtime_account_user+0x54/0x60
[   61.447740]  [<ffffffff811cff71>] SyS_ioctl+0x81/0xa0
[   61.447742]  [<ffffffff8172c87f>] tracesys+0xe1/0xe6
[   61.447743] ---[ end trace 95d9014cfa2b20c7 ]---
[   61.447763] [drm:intel_pipe_config_compare] *ERROR* mismatch in
has_dp_encoder (expected 1, found 0)
[   61.447764] ------------[ cut here ]------------
[   61.447772] WARNING: CPU: 0 PID: 1437 at
/build/buildd/linux-3.13.0/drivers/gpu/drm/i915/intel_display.c:9310
check_crtc_state+0x255/0x340 [i915]()
[   61.447772] pipe state doesn't match!
[   61.447773] Modules linked in: bbswitch(OF) ipt_REJECT xt_tcpudp
nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack
iptable_filter ip_tables x_tables pci_stub vboxpci(OF) vboxnetadp(OF)
vboxnetflt(OF) vboxdrv(OF) bnep rfcomm bluetooth binfmt_misc arc4 iwldvm
mac80211 snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_intel
snd_hda_codec snd_hwdep snd_pcm snd_page_alloc snd_seq_midi
snd_seq_midi_event snd_rawmidi snd_seq snd_seq_device snd_timer snd
intel_rapl parport_pc soundcore iwlwifi ppdev lp uvcvideo
x86_pkg_temp_thermal intel_powerclamp coretemp videobuf2_vmalloc
videobuf2_memops dell_laptop dell_wmi mei_me videobuf2_core dcdbas
sparse_keymap kvm_intel kvm cfg80211 mei videodev wmi serio_raw lpc_ich
joydev parport mac_hid dm_crypt ses enclosure hid_generic usbhid hid
usb_storage crct10dif_pclmul crc32_pclmul i915 ghash_clmulni_intel
aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd
i2c_algo_bit drm_kms_helper ahci r8169 drm psmouse libahci mii video
[   61.447794] CPU: 0 PID: 1437 Comm: Xorg Tainted: GF       W  O
3.13.0-32-generic #57-Ubuntu
[   61.447795] Hardware name: Dell Inc.          Dell System XPS
L502X/0NJT03, BIOS A12 09/07/2012
[   61.447795]  0000000000000009 ffff88022e6a18a8 ffffffff8171bcb4
ffff88022e6a18f0
[   61.447797]  ffff88022e6a18e0 ffffffff810676cd ffff88022d70d6e0
ffff88022e6a1970
[   61.447798]  ffff88022d7c2800 ffff88022d70d000 ffff88022d7c2b28
ffff88022e6a1940
[   61.447799] Call Trace:
[   61.447801]  [<ffffffff8171bcb4>] dump_stack+0x45/0x56
[   61.447803]  [<ffffffff810676cd>] warn_slowpath_common+0x7d/0xa0
[   61.447804]  [<ffffffff8106773c>] warn_slowpath_fmt+0x4c/0x50
[   61.447812]  [<ffffffffa01c10ab>] ?
intel_pipe_config_compare+0x60b/0xae0 [i915]
[   61.447819]  [<ffffffffa01c28c5>] check_crtc_state+0x255/0x340 [i915]
[   61.447826]  [<ffffffffa01cffcb>]
intel_modeset_check_state+0x2bb/0x780 [i915]
[   61.447833]  [<ffffffffa01d0525>] intel_set_mode+0x25/0x30 [i915]
[   61.447840]  [<ffffffffa01d0dcb>] intel_crtc_set_config+0x7ab/0x9a0
[i915]
[   61.447847]  [<ffffffffa0047ebd>]
drm_mode_set_config_internal+0x5d/0xe0 [drm]
[   61.447854]  [<ffffffffa004ada7>] drm_mode_setcrtc+0xf7/0x5e0 [drm]
[   61.447860]  [<ffffffffa003bc22>] drm_ioctl+0x502/0x630 [drm]
[   61.447863]  [<ffffffff811cfd10>] do_vfs_ioctl+0x2e0/0x4c0
[   61.447865]  [<ffffffff8109ddf4>] ? vtime_account_user+0x54/0x60
[   61.447867]  [<ffffffff811cff71>] SyS_ioctl+0x81/0xa0
[   61.447868]  [<ffffffff8172c87f>] tracesys+0xe1/0xe6
[   61.447869] ---[ end trace 95d9014cfa2b20c8 ]---

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 884 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20140719/11b4d4d4/attachment.sig>


More information about the Intel-gfx mailing list