Error in i915 driver

Bug #1496433 reported by Kick In
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Linux
Fix Released
Medium
linux (Ubuntu)
Incomplete
Low
Unassigned
Wily
Incomplete
Low
Unassigned

Bug Description

The 7th of september I lost my Xorg display on wily. I was always in failsafe mode.
I still could get openbox to run, which was still loading i915, but didn't consume any 3D/advanced instruction I thinK.
I didn't got too much time to go beyond.

As I got also a btrfs kernel dump message, so I checked my ram at least with memtest86+, all was OK.

Reverting to vivid allowed me to be back on unity.

Wily-amd64, kernel 4.2.0.7-7-generic/low-latency

Here are the traces I got:
[ 22.335530] [drm:intel_pipe_config_compare [i915]] *ERROR* mismatch in ips_enabled (expected 1, found 0)
[ 22.335535] ------------[ cut here ]------------
[ 22.335562] WARNING: CPU: 0 PID: 2190 at /build/linux-4dBub_/linux-4.2.0/drivers/gpu/drm/i915/intel_display.c:12324 check_crtc_state+0x2c5/0x440 [i915]()
[ 22.335564] pipe state doesn't match!
[ 22.335566] Modules linked in: ipt_REJECT nf_reject_ipv4 ebtable_filter ebtables ip6_tables overlay xt_addrtype xt_conntrack xt_CHECKSUM ax88179_178a iptable_mangle usbnet ipt_MASQUERADE rtsx_usb_ms nf_nat_masquerade_ipv4 aufs iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 mii memstick nf_nat_ipv4 nf_nat nf_conntrack xt_tcpudp bridge stp llc binfmt_misc iptable_filter ip_tables x_tables bnep drbg ansi_cprng dm_crypt nls_iso8859_1 intel_rapl iosf_mbi x86_pkg_temp_thermal intel_powerclamp coretemp crct10dif_pclmul crc32_pclmul ghash_clmulni_intel aesni_intel aes_x86_64 lrw gf128mul snd_soc_rt5640 glue_helper ablk_helper snd_soc_rl6231 cryptd snd_soc_core input_leds serio_raw hid_sensor_rotation snd_compress ac97_bus snd_pcm_dmaengine snd_seq_midi snd_seq_midi_event snd_hda_codec_realtek hid_sensor_incl_3d
[ 22.335625] uvcvideo videobuf2_vmalloc snd_hda_codec_generic hid_sensor_als videobuf2_memops hid_sensor_magn_3d snd_hda_codec_hdmi hid_sensor_accel_3d hid_sensor_gyro_3d btusb hid_sensor_trigger btrtl industrialio_triggered_buffer btbcm snd_rawmidi joydev btintel videobuf2_core kfifo_buf snd_hda_intel industrialio snd_hda_codec hid_sensor_iio_common v4l2_common videodev snd_hda_core hid_multitouch snd_hwdep media bluetooth mei_me snd_seq lpc_ich mei snd_pcm snd_seq_device dw_dmac dw_dmac_core snd_timer snd soundcore ideapad_laptop sparse_keymap 8250_dw i2c_designware_platform mac_hid spi_pxa2xx_platform soc_button_array i2c_designware_core snd_soc_sst_acpi kvm_intel kvm parport_pc ppdev lp parport autofs4 btrfs xor raid6_pq hid_sensor_custom hid_sensor_hub uas usb_storage bcache hid_generic usbhid
[ 22.335682] rtsx_usb_sdmmc rtsx_usb i915 i2c_algo_bit drm_kms_helper drm psmouse ahci libahci sdhci_acpi sdhci video i2c_hid hid
[ 22.335698] CPU: 0 PID: 2190 Comm: Xorg Tainted: G W 4.2.0-7-lowlatency #7-Ubuntu
[ 22.335700] Hardware name: LENOVO 20344/INVALID, BIOS 96CN25WW(V1.11) 07/09/2014
[ 22.335703] ffffffffc02081e8 ffff8800995c77e8 ffffffff817bdf25 0000000000000000
[ 22.335708] ffff8800995c7838 ffff8800995c7828 ffffffff81078016 ffff8800995c7858
[ 22.335712] ffff8800995c78c0 ffff880035571000 0000000000000001 ffff880035571350
[ 22.335717] Call Trace:
[ 22.335724] [<ffffffff817bdf25>] dump_stack+0x4c/0x6e
[ 22.335729] [<ffffffff81078016>] warn_slowpath_common+0x86/0xc0
[ 22.335734] [<ffffffff81078096>] warn_slowpath_fmt+0x46/0x50
[ 22.335758] [<ffffffffc019bcf1>] ? intel_pipe_config_compare+0xb31/0xc60 [i915]
[ 22.335781] [<ffffffffc019c0e5>] check_crtc_state+0x2c5/0x440 [i915]
[ 22.335809] [<ffffffffc01afa9e>] intel_modeset_check_state+0x20e/0x6b0 [i915]
[ 22.335834] [<ffffffffc01b0c47>] intel_crtc_set_config+0x4c7/0x580 [i915]
[ 22.335852] [<ffffffffc00880c6>] drm_mode_set_config_internal+0x66/0x100 [drm]
[ 22.335870] [<ffffffffc008c688>] drm_mode_setcrtc+0x3a8/0x4c0 [drm]
[ 22.335883] [<ffffffffc007d3a5>] drm_ioctl+0x125/0x610 [drm]
[ 22.335898] [<ffffffffc008c2e0>] ? drm_mode_setplane+0x1b0/0x1b0 [drm]
[ 22.335903] [<ffffffff81205e15>] do_vfs_ioctl+0x285/0x460
[ 22.335908] [<ffffffff810835ff>] ? recalc_sigpending+0x1f/0x60
[ 22.335912] [<ffffffff8120fa97>] ? __fget+0x77/0xb0
[ 22.335916] [<ffffffff81206069>] SyS_ioctl+0x79/0x90
[ 22.335921] [<ffffffff817c4bf2>] entry_SYSCALL_64_fastpath+0x16/0x75
[ 22.335924] ---[ end trace 7e8588f0d9eb10f9 ]---

Revision history for this message
In , Gabriele-mzt (gabriele-mzt) wrote :

Created attachment 117467
dmesg - warning when switching from X to tty

Using 4.2-rc4 on my Haswell laptop I get the warning you can see in the dmesg attached whenever I switch from X to tty. The same happens using 4.2-rc1.

This never happened before.

Revision history for this message
In , Gabriele-mzt (gabriele-mzt) wrote :

This issue seems to have been fixed in v4.2-rc8. Closing this.

Revision history for this message
In , Jonathan McDowell (noodles) wrote :
Download full text (3.2 KiB)

I am seeing this on a Dell E7240 (Haswell) freshly booted into 4.2. The issue was not seen on 4.1.2 or previous.

[ 2698.293746] [drm:check_crtc_state] *ERROR* mismatch in ips_enabled (expected 1, found 0)
[ 2698.293753] ------------[ cut here ]------------
[ 2698.293761] WARNING: CPU: 0 PID: 1833 at drivers/gpu/drm/i915/intel_display.c:12324 check_crtc_state+0x8ab/0xfd0()
[ 2698.293763] pipe state doesn't match!
[ 2698.293780] Modules linked in: fuse ctr ccm xt_addrtype xt_conntrack ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 iptable_filter ip_tables x_tables nf_nat nf_conntrack bridge stp llc dm_thin_pool dm_persistent_data dm_bio_prison dm_bufio libcrc32c loop binfmt_misc bnep nfsd auth_rpcgss oid_registry nfs_acl nfs lockd grace fscache sunrpc arc4 nls_utf8 nls_cp437 vfat fat qmi_wwan uvcvideo videobuf2_vmalloc videobuf2_memops iwlmvm videobuf2_core cdc_mbim v4l2_common cdc_ncm cdc_wdm videodev usbnet mii mac80211 media snd_hda_codec_hdmi dell_smm_hwmon intel_rapl iosf_mbi x86_pkg_temp_thermal intel_powerclamp btusb snd_hda_codec_realtek snd_hda_codec_generic joydev iwlwifi btintel bluetooth pcspkr efivars i2c_i801 sg snd_hda_intel cfg80211 snd_hda_codec
[ 2698.293911] snd_hwdep snd_hda_core snd_pcm snd_timer tpm_tis 8250 serial_core evdev battery ac processor md_mod tpm_rng tpm rng_core efivarfs autofs4 btrfs xor raid6_pq algif_skcipher af_alg crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel ehci_pci ehci_hcd sdhci_pci xhci_pci xhci_hcd thermal sdhci_acpi sdhci mmc_core i2c_hid hid jitterentropy_rng sha256_ssse3 sha256_generic hmac drbg ansi_cprng
[ 2698.293977] CPU: 0 PID: 1833 Comm: Xorg Not tainted 4.2.0 #1
[ 2698.293980] Hardware name: Dell Inc. Latitude E7240/07RPNV, BIOS A15 05/19/2015
[ 2698.293998] 0000000000000000 ffffffff819c26e0 ffffffff816898ee ffff8804030bf858
[ 2698.294004] ffffffff810b394c ffff8800d5ba9400 ffff88040c3d1000 ffff88040ab40000
[ 2698.294009] 0000000000000001 ffff88040c3d1350 ffffffff810b39c5 ffffffff819f0f1f
[ 2698.294015] Call Trace:
[ 2698.294024] [<ffffffff816898ee>] ? dump_stack+0x40/0x50
[ 2698.294048] [<ffffffff810b394c>] ? warn_slowpath_common+0x7c/0xb0
[ 2698.294054] [<ffffffff810b39c5>] ? warn_slowpath_fmt+0x45/0x50
[ 2698.294059] [<ffffffff8146563b>] ? check_crtc_state+0x8ab/0xfd0
[ 2698.294066] [<ffffffff81442c8b>] ? i915_get_crtc_scanoutpos+0x18b/0x230
[ 2698.294093] [<ffffffff81478116>] ? intel_modeset_check_state+0x206/0xb10
[ 2698.294101] [<ffffffff81479789>] ? intel_crtc_set_config+0x529/0x590
[ 2698.294108] [<ffffffff813f6367>] ? drm_crtc_check_viewport+0x27/0xe0
[ 2698.294130] [<ffffffff813f7bf9>] ? drm_mode_set_config_internal+0x59/0xf0
[ 2698.294137] [<ffffffff813fbabf>] ? drm_mode_setcrtc+0x17f/0x4d0
[ 2698.294143] [<ffffffff813edd1d>] ? drm_ioctl+0x16d/0x550
[ 2698.294151] [<ffffffffc024c930>] ? evdev_read+0xc0/0x2c0 [evdev]
[ 2698.294175] [<ffffffff811e794e>] ? do_vfs_ioctl+0x2be/0x490
[ 2698.294183] [<ffffffff810bd942>] ? recalc_sigpending+0x12/0x50
[ 2698.294189] [<ffffffff811e7b91>] ? SyS_ioctl+0x71/0x80
[ 2698.294194] [<ffffffff810c08d0>] ? SyS_rt_sigprocmask+0x60/0xa0
[ 2698.294217] [<ffffffff8168f...

Read more...

Revision history for this message
In , Freedesktop-3 (freedesktop-3) wrote :

Reverting d2944cf21305c754fa8b2d6c1eea05ad5dad7944 fixes 4.2 for me.

Revision history for this message
In , Jani-nikula (jani-nikula) wrote :

(In reply to Emil Renner Berthing from comment #3)
> Reverting d2944cf21305c754fa8b2d6c1eea05ad5dad7944 fixes 4.2 for me.

commit d2944cf21305c754fa8b2d6c1eea05ad5dad7944
Author: Maarten Lankhorst <email address hidden>
Date: Tue Aug 11 12:31:11 2015 +0200

    drm/i915: Commit planes on each crtc separately.

Revision history for this message
In , Bugs-i (bugs-i) wrote :

That commit fixes another issue unfortunately. It looks like post_enable_primary might not be called in some cases.

Can I have a drm.debug=0x1e log of the vt switching?

Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1496433

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Changed in linux:
importance: Unknown → Medium
status: Unknown → Incomplete
penalvch (penalvch)
tags: added: needs-apport-collect
Changed in linux (Ubuntu Wily):
importance: Undecided → Low
Revision history for this message
In , Jonathan McDowell (noodles) wrote :

Created attachment 118386
Pipe state mismatch during screen blank/unblank

I didn't manage to trigger on a simple VT switch, but doing a screen blank/unblank (manual lock request in GNOME) triggered the attached warning.

Revision history for this message
In , Jonathan McDowell (noodles) wrote :

I have upgraded to 4.3-rc2 and have not so far been able to reproduce the problem. I will update here if I can do so.

Revision history for this message
In , Jani-nikula (jani-nikula) wrote :

*** Bug 92187 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Jani-nikula (jani-nikula) wrote :

(In reply to Jonathan McDowell from comment #7)
> I have upgraded to 4.3-rc2 and have not so far been able to reproduce the
> problem. I will update here if I can do so.

Presumed fixed, please reopen if the problem reappears with 4.3-rc2 or later.

Changed in linux:
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.