i915 dmesg spam and poor battery life

Bug #1449893 reported by Doug Gale
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Medium
Unassigned

Bug Description

Since upgrading my i915 lockups are fixed (yay!) but now I have poor battery life and I get a lot of spam in dmesg:

WARN_ON(!power_well->count) at /build/buildd/linux-3.19.0/drivers/gpu/drm/i915/intel_runtime_pm.c:680 intel_display_power_put+0x103/0x170 [i915]()

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: linux-image-3.19.0-15-generic 3.19.0-15.15
ProcVersionSignature: Ubuntu 3.19.0-15.15-generic 3.19.3
Uname: Linux 3.19.0-15-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.17.2-0ubuntu1
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: doug 1868 F.... pulseaudio
 /dev/snd/controlC0: doug 1868 F.... pulseaudio
Date: Wed Apr 29 03:23:53 2015
HibernationDevice: RESUME=UUID=7048b86e-1bcb-41e3-900d-d8453f419503
InstallationDate: Installed on 2014-12-31 (118 days ago)
InstallationMedia: Lubuntu 14.10 "Utopic Unicorn" - Release amd64 (20141022.1)
MachineType: LENOVO 20238
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.19.0-15-generic.efi.signed root=UUID=a5b6eaae-04b1-418f-9b9a-5b3f1450bb8b ro
PulseList:
 Error: command ['pacmd', 'list'] failed with exit code 1: Home directory not accessible: Permission denied
 No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
 linux-restricted-modules-3.19.0-15-generic N/A
 linux-backports-modules-3.19.0-15-generic N/A
 linux-firmware 1.143
SourcePackage: linux
UpgradeStatus: Upgraded to vivid on 2015-04-25 (4 days ago)
dmi.bios.date: 10/20/2014
dmi.bios.vendor: LENOVO
dmi.bios.version: 79CN50WW(V3.09)
dmi.board.asset.tag: No Asset Tag
dmi.board.name: INVALID
dmi.board.vendor: LENOVO
dmi.board.version: 31900058Std
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Lenovo G510
dmi.modalias: dmi:bvnLENOVO:bvr79CN50WW(V3.09):bd10/20/2014:svnLENOVO:pn20238:pvrLenovoG510:rvnLENOVO:rnINVALID:rvr31900058Std:cvnLENOVO:ct10:cvrLenovoG510:
dmi.product.name: 20238
dmi.product.version: Lenovo G510
dmi.sys.vendor: LENOVO

Revision history for this message
Doug Gale (doug16k) wrote :
Revision history for this message
Brad Figg (brad-figg) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Does this issue go away if you boot the 3.19.0-11 kernel? It can be downloaded from:

https://launchpad.net/ubuntu/+source/linux/3.19.0-11.11/+build/7124006

You would need to install the following two packages:

linux-image-3.19.0-11-generic 3.19.0-11.11
linux-image-extra-3.19.0-11-generic 3.19.0-11.11

Changed in linux (Ubuntu):
importance: Undecided → Medium
tags: added: kernel-da-key
Revision history for this message
Doug Gale (doug16k) wrote :

I installed the packages (needed headers too), rebooted into and selected that version in grub, and so far it is passing my stress test that provokes gpu hangs, and no hang yet, which is great!

Also, I haven't seen the warning yet (the ones I originally reported), but that happens durng normal operation and may never happen during stress.

I'll use it normally for a bit and report what happens.

Thanks!

Revision history for this message
Doug Gale (doug16k) wrote :

Oh, my stress test is http://jsfiddle.net/GzSWJ/123/show/
it reliably caused i915 gpu hangs for me before upgrading to 15.04.

Revision history for this message
Doug Gale (doug16k) wrote :
Download full text (6.4 KiB)

Still got the WARN_ON:

[ 4616.728430] ------------[ cut here ]------------
[ 4616.728453] WARNING: CPU: 0 PID: 2575 at /build/buildd/linux-3.19.0/drivers/gpu/drm/i915/intel_runtime_pm.c:676 intel_display_power_put+0x163/0x170 [i915]()
[ 4616.728455] WARN_ON(!power_domains->domain_use_count[domain])
[ 4616.728456] Modules linked in:
[ 4616.728457] thinkpad_acpi nvram msr acpi_call(OE) binfmt_misc nls_iso8859_1 rtsx_usb_ms memstick wl(POE) uvcvideo videobuf2_vmalloc videobuf2_memops snd_hda_codec_conexant snd_hda_codec_generic snd_hda_codec_hdmi videobuf2_core intel_rapl iosf_mbi v4l2_common videodev snd_hda_intel x86_pkg_temp_thermal intel_powerclamp media coretemp snd_hda_controller snd_hda_codec kvm_intel snd_hwdep kvm crct10dif_pclmul crc32_pclmul ghash_clmulni_intel snd_pcm i915 cfg80211 snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq snd_seq_device snd_timer drm_kms_helper snd cryptd joydev serio_raw soundcore drm lpc_ich ie31200_edac mei_me mei i2c_algo_bit edac_core ideapad_laptop sparse_keymap shpchp mac_hid video parport_pc ppdev lp parport autofs4 rtsx_usb_sdmmc rtsx_usb psmouse ahci libahci alx mdio
[ 4616.728492] CPU: 0 PID: 2575 Comm: kworker/0:1 Tainted: P W OE 3.19.0-11-generic #11-Ubuntu
[ 4616.728493] Hardware name: LENOVO 20238/INVALID, BIOS 79CN50WW(V3.09) 10/20/2014
[ 4616.728511] Workqueue: events edp_panel_vdd_work [i915]
[ 4616.728512] ffffffffc05b70e0 ffff880308cfbca8 ffffffff817c15b5 0000000000000007
[ 4616.728515] ffff880308cfbcf8 ffff880308cfbce8 ffffffff8107595a ffff88035f214278
[ 4616.728517] ffff88034fdc002c ffff88034fdc0000 ffff88034fdc8980 ffff88034fdc0000
[ 4616.728519] Call Trace:
[ 4616.728525] [<ffffffff817c15b5>] dump_stack+0x45/0x57
[ 4616.728528] [<ffffffff8107595a>] warn_slowpath_common+0x8a/0xc0
[ 4616.728531] [<ffffffff810759d6>] warn_slowpath_fmt+0x46/0x50
[ 4616.728547] [<ffffffffc0549e8f>] ? gen6_read32+0x9f/0x140 [i915]
[ 4616.728557] [<ffffffffc050cf83>] intel_display_power_put+0x163/0x170 [i915]
[ 4616.728573] [<ffffffffc0580c2b>] edp_panel_vdd_off_sync+0xcb/0x1c0 [i915]
[ 4616.728577] [<ffffffff817c6206>] ? mutex_lock+0x16/0x40
[ 4616.728593] [<ffffffffc0581b01>] edp_panel_vdd_work+0x31/0x40 [i915]
[ 4616.728596] [<ffffffff8108eb78>] process_one_work+0x158/0x430
[ 4616.728598] [<ffffffff8108f6bb>] worker_thread+0x5b/0x530
[ 4616.728600] [<ffffffff8108f660>] ? rescuer_thread+0x3a0/0x3a0
[ 4616.728603] [<ffffffff81094759>] kthread+0xc9/0xe0
[ 4616.728606] [<ffffffff81094690>] ? kthread_create_on_node+0x1c0/0x1c0
[ 4616.728609] [<ffffffff817c8618>] ret_from_fork+0x58/0x90
[ 4616.728611] [<ffffffff81094690>] ? kthread_create_on_node+0x1c0/0x1c0
[ 4616.728613] ---[ end trace 82df9c2e032f7bcf ]---

and

doug@doug-lt:~$ modinfo i915
filename: /lib/modules/3.19.0-11-generic/kernel/drivers/gpu/drm/i915/i915.ko
license: GPL and additional rights
description: Intel Graphics
author: Intel Corporation
author: Tungsten Graphics, Inc.
srcversion: F2EAB55B6DC31E8C80AE987
alias: pci:v00008086d0000191Dsv*sd*bc03sc*i*
[snip...]
alias: pci:v00008086d00003577sv*sd*bc03sc*i*
depends: drm_kms_helper,drm,video,i2c-algo-bit
in...

Read more...

Revision history for this message
penalvch (penalvch) wrote :

Doug Gale, could you please test the latest upstream kernel available from the very top line at the top of the page (the release names are irrelevant for testing, and please do not test the daily folder) following https://wiki.ubuntu.com/KernelMainlineBuilds ? It will allow additional upstream developers to examine the issue.

If the test did not allow you to test to the issue (ex. you couldn't boot into the OS) please make a comment in your report about this, and continue to test the next most recent kernel version until you can test to the issue. Once you've tested the upstream kernel, please comment on which kernel version specifically you tested. If this bug is fixed in the mainline kernel, please add the following tags by clicking on the yellow circle with a black pencil icon, next to the word Tags, located at the bottom of the report description:
kernel-fixed-upstream
kernel-fixed-upstream-X.Y-rcZ

Where XY and Z are numbers corresponding to the kernel version.

If the mainline kernel does not fix this bug, please add the following tags:
kernel-bug-exists-upstream
kernel-bug-exists-upstream-X.Y-rcZ

Once testing of the upstream kernel is complete, please mark this bug's Status as Confirmed. Please let us know your results.

Thank you for your understanding.

tags: added: latest-bios-3.09
Changed in linux (Ubuntu):
status: Confirmed → 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.