drm:intel_pipe_config_compare [i915]] *ERROR* mismatch in dpll_hw_state.wrpll (expected 0xb0210614, found 0x00000000)

Bug #1554299 reported by Martin Pecka
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Medium
Unassigned

Bug Description

This is a followup of https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1501260 .

Basically, running OpenGL applications (e.g. glxgears) on the primary display handled by Intel 915 card results in display freeze. The error message from the title of this bug is written to a VT console if I switch to it. It seems this bug only appears when multiple monitors are connected.

Switching to a VT (Ctrl+Alt+F1) and back unfreezes the screen for a while. The screen only looks frozen, but normally reacts to mouse and keyboard events. This only happens if the GL window is displayed on my primary display (which is handled by the intel integrated chip). The notebook has 2 video outputs and a discrete AMD graphics, and I think only one of the outputs is handled by the AMD card, so I think one of the outputs is handled by the intel card and does not get frozen.

Ubuntu 14.04.3 64bit.

I think that before upgrading from 14.04.2 to 14.04.3 this did not happen.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: linux-image-4.2.0-30-generic 4.2.0-30.36~14.04.1
ProcVersionSignature: Ubuntu 4.2.0-30.36~14.04.1-generic 4.2.8-ckt3
Uname: Linux 4.2.0-30-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.19
Architecture: amd64
CurrentDesktop: Unity
Date: Tue Mar 8 02:43:37 2016
InstallationDate: Installed on 2013-11-05 (853 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
SourcePackage: linux-lts-wily
UpgradeStatus: Upgraded to trusty on 2014-04-12 (695 days ago)
---
ApportVersion: 2.14.1-0ubuntu3.19
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: peci1 3018 F.... pulseaudio
 /dev/snd/controlC1: peci1 3018 F.... pulseaudio
CurrentDesktop: Unity
DistroRelease: Ubuntu 14.04
HibernationDevice: RESUME=UUID=05314bb8-8590-474c-8af1-1c90dd3bb89c
InstallationDate: Installed on 2013-11-05 (853 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
MachineType: Dell Inc. Latitude E6540
Package: linux (not installed)
ProcFB:
 0 inteldrmfb
 1 radeondrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.2.0-27-generic root=UUID=501ffea4-2b36-441b-a8ca-34805170c396 ro i8042.nopnp quiet splash radeon.modeset=1 radeon.dpm=1 i915.modeset=1 radeon.runpm=0 vt.handoff=7
ProcVersionSignature: Ubuntu 4.2.0-27.32~14.04.1-generic 4.2.8-ckt1
RelatedPackageVersions:
 linux-restricted-modules-4.2.0-27-generic N/A
 linux-backports-modules-4.2.0-27-generic N/A
 linux-firmware 1.127.20
Tags: trusty
Uname: Linux 4.2.0-27-generic x86_64
UpgradeStatus: Upgraded to trusty on 2014-04-12 (695 days ago)
UserGroups: adm autosshfs cdrom dip lpadmin plugdev sambashare sudo video
_MarkForUpload: True
dmi.bios.date: 09/01/2015
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A16
dmi.board.name: 0CYT5F
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 9
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA16:bd09/01/2015:svnDellInc.:pnLatitudeE6540:pvr00:rvnDellInc.:rn0CYT5F:rvrA00:cvnDellInc.:ct9:cvr:
dmi.product.name: Latitude E6540
dmi.product.version: 00
dmi.sys.vendor: Dell Inc.

Revision history for this message
Martin Pecka (peci1) wrote :
Revision history for this message
penalvch (penalvch) wrote :

Martin Pecka, thank you for taking the time to report this bug and helping to make Ubuntu better. Please execute the following command only once, as it will automatically gather debugging information, in a terminal:
apport-collect 1554299

affects: linux-lts-wily (Ubuntu) → linux (Ubuntu)
Changed in linux (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Martin Pecka (peci1) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
Martin Pecka (peci1) wrote : BootDmesg.txt

apport information

Revision history for this message
Martin Pecka (peci1) wrote : CRDA.txt

apport information

Revision history for this message
Martin Pecka (peci1) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Martin Pecka (peci1) wrote : IwConfig.txt

apport information

Revision history for this message
Martin Pecka (peci1) wrote : Lspci.txt

apport information

Revision history for this message
Martin Pecka (peci1) wrote : Lsusb.txt

apport information

Revision history for this message
Martin Pecka (peci1) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Martin Pecka (peci1) wrote : ProcEnviron.txt

apport information

Revision history for this message
Martin Pecka (peci1) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Martin Pecka (peci1) wrote : ProcModules.txt

apport information

Revision history for this message
Martin Pecka (peci1) wrote : PulseList.txt

apport information

Revision history for this message
Martin Pecka (peci1) wrote : RfKill.txt

apport information

Revision history for this message
Martin Pecka (peci1) wrote : UdevDb.txt

apport information

Revision history for this message
Martin Pecka (peci1) wrote : UdevLog.txt

apport information

Revision history for this message
Martin Pecka (peci1) wrote : WifiSyslog.txt

apport information

Revision history for this message
Martin Pecka (peci1) wrote :
Download full text (3.9 KiB)

So far I've tried with older kernels installed on my system. I'll try with newer kernels later. And I incorrectly reported my Ubuntu version - it's 14.04.4 now, and I think the error did not appear on 14.04.3.

3.13 and 3.19: the GL window freezes as described, but the i915 error is not printed in dmesg.

4.2.0-27 and 4.2.0-30: the GL window freezes as described, and this error is printed in dmesg and on VT1 every time I switch from Unity to VT1:

[ 54.481549] [drm:intel_pipe_config_compare [i915]] *ERROR* mismatch in dpll_hw_state.wrpll (expected 0xb018080f, found 0x00000000)
[ 54.481550] ------------[ cut here ]------------
[ 54.481563] WARNING: CPU: 2 PID: 1877 at /build/linux-lts-wily-Vv6Eyd/linux-lts-wily-4.2.0/drivers/gpu/drm/i915/intel_display.c:12328 check_crtc_state+0x282/0x3f0 [i915]()
[ 54.481564] pipe state doesn't match!
[ 54.481565] Modules linked in: ip6table_filter ip6_tables nvram xt_CHECKSUM iptable_mangle ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack xt_tcpudp bridge stp llc iptable_filter ip_tables x_tables autofs4 uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core v4l2_common videodev media snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic xpad ff_memless rfcomm bnep bluetooth joydev dell_wmi sparse_keymap nfsd auth_rpcgss nfs_acl dell_laptop dcdbas nfs arc4 dell_smm_hwmon lockd grace snd_hda_intel iwldvm sunrpc intel_rapl snd_hda_codec x86_pkg_temp_thermal binfmt_misc mac80211 fscache intel_powerclamp coretemp amdkfd snd_hda_core amd_iommu_v2 kvm_intel snd_hwdep snd_soc_rt5640 snd_soc_rl6231 snd_seq_midi radeon snd_soc_core i915 snd_seq_midi_event kvm iwlwifi snd_compress snd_rawmidi ac97_bus snd_pcm_dmaengine snd_pcm crct10dif_pclmul crc32_pclmul ttm aesni_intel snd_seq aes_x86_64 drm_kms_helper lrw gf128mul glue_helper ablk_helper cryptd snd_seq_device snd_timer input_leds drm cfg80211 serio_raw snd ie31200_edac mei_me mei i2c_algo_bit lpc_ich soundcore i2c_hid shpchp edac_core i2c_designware_platform wmi dw_dmac i2c_designware_core dw_dmac_core dell_smo8800 snd_soc_sst_acpi 8250_fintek video 8250_dw spi_pxa2xx_platform dell_rbtn mac_hid parport_pc ppdev lp parport hid_generic usbhid hid psmouse e1000e ahci libahci sdhci_pci ptp pps_core sdhci_acpi sdhci
[ 54.481629] CPU: 2 PID: 1877 Comm: Xorg Tainted: G W 4.2.0-27-generic #32~14.04.1-Ubuntu
[ 54.481630] Hardware name: Dell Inc. Latitude E6540/0CYT5F, BIOS A16 09/01/2015
[ 54.481631] ffffffffc061ed00 ffff88020ad0b7f8 ffffffff817b5013 0000000000000000
[ 54.481634] ffff88020ad0b848 ffff88020ad0b838 ffffffff8107792a ffff88020ad0b838
[ 54.481636] ffff880036419b48 ffff88020ad0b8d0 ffff880036419800 ffff880219dc2000
[ 54.481639] Call Trace:
[ 54.481642] [<ffffffff817b5013>] dump_stack+0x45/0x57
[ 54.481645] [<ffffffff8107792a>] warn_slowpath_common+0x8a/0xc0
[ 54.481647] [<ffffffff810779a6>] warn_slowpath_fmt+0x46/0x50
[ 54.481661] [<ffffffffc05b102b>] ? intel_pipe_config_compare+0xaab/0xcc0 [i915]
[ 54.481675] [<ffffffffc05b14c2>] check_crtc_state+0x282/0x3f0 [i915]
[ 54.481692] [<ffffffffc05c4b52>] intel_modeset_check_state+0x29...

Read more...

Revision history for this message
Martin Pecka (peci1) wrote :

Hmm, I feel it is probable that the i915 error and OpenGL freezes are two separate issues. I tested with various kernels, and these are the results:

GL bug:
3.13 KO
3.19 KO
4.2 KO
4.3 KO
4.4 KO
4.5 KO

i915 bug:
4.2 KO
4.3 OK
4.4 OK

So it seems 4.3 kernel has fixed the i915 issue, but the GL freezes still do occur.

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
tags: added: kernel-bug-exists-upstream-4.2 kernel-fixed-upstream-4.3 kernel-fixed-upstream-4.4 kernel-fixed-upstream-4.5-rc7
Revision history for this message
penalvch (penalvch) wrote :

Martin Pecka, to see if this is already resolved, could you please test http://cdimage.ubuntu.com/daily-live/current/ and advise to the results?

tags: added: kernel-fixed-upstream latest-bios-a16 needs-reverse-bisect regression-update
removed: kernel-fixed-upstream-4.4 kernel-fixed-upstream-4.5-rc7
Changed in linux (Ubuntu):
importance: Low → Medium
status: Confirmed → Incomplete
Revision history for this message
Martin Pecka (peci1) wrote :

Oh, that's gonna take a while until I find the right time to do this kind of experiment.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Martin Pecka (peci1) wrote :

The GL freezes still occur when using Ubuntu kernel 4.5.3. I wanted to try newer kernels (those tagged with yakkety), but the 14.04 LTS wouldn't boot to desktop with them.

Changed in linux (Ubuntu):
status: Expired → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
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.