Suspend works flawlessly however resume leads to a checker board screen rather that lightdm

Bug #1276674 reported by Dave Morley
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Low
Unassigned
nvidia-graphics-drivers-331 (Ubuntu)
Fix Released
Low
Alberto Milone

Bug Description

Upon installing nvidia-331 and nvidia-prime if I suspend the laptop everything goes down as expected. However upon resume I get a checkerboard style page rather than the lightdm login page.

If I disable the nvidia stuff from the optimus box and just have the intel gfx running suspend and resume work again.

Please note that the issue only seems to happen when the nvidia discreet gfx card is in use. If the device is switched to intel only then it doesn't.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: nvidia-331 331.38-0ubuntu3
ProcVersionSignature: Ubuntu 3.13.0-7.25-generic 3.13.1
Uname: Linux 3.13.0-7-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.13.2-0ubuntu2
Architecture: amd64
Date: Wed Feb 5 15:57:56 2014
InstallationDate: Installed on 2014-01-10 (26 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140109)
SourcePackage: nvidia-graphics-drivers-331
UpgradeStatus: No upgrade log present (probably fresh install)
---
ApportVersion: 2.13.2-0ubuntu2
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: davmor2 2204 F.... pulseaudio
CurrentDesktop: Unity
DistroRelease: Ubuntu 14.04
HibernationDevice: RESUME=UUID=62804170-83e5-4cc9-9a1f-98ddc77cd5b4
InstallationDate: Installed on 2014-01-10 (26 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140109)
MachineType: LENOVO 2099
Package: nvidia-graphics-drivers-331
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-7-generic.efi.signed root=UUID=587783ba-5cab-4b34-8a3d-77044efe5185 ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 3.13.0-7.25-generic 3.13.1
RelatedPackageVersions:
 linux-restricted-modules-3.13.0-7-generic N/A
 linux-backports-modules-3.13.0-7-generic N/A
 linux-firmware 1.123
Tags: trusty
Uname: Linux 3.13.0-7-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 08/23/2012
dmi.bios.vendor: LENOVO
dmi.bios.version: 5DCN89WW(V8.00)
dmi.board.asset.tag: No Asset Tag
dmi.board.name: INVALID
dmi.board.vendor: LENOVO
dmi.board.version: 31900003WIN8 STD MLT
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Lenovo IdeaPad Y580
dmi.modalias: dmi:bvnLENOVO:bvr5DCN89WW(V8.00):bd08/23/2012:svnLENOVO:pn2099:pvrLenovoIdeaPadY580:rvnLENOVO:rnINVALID:rvr31900003WIN8STDMLT:cvnLENOVO:ct10:cvrLenovoIdeaPadY580:
dmi.product.name: 2099
dmi.product.version: Lenovo IdeaPad Y580
dmi.sys.vendor: LENOVO

Revision history for this message
Dave Morley (davmor2) wrote :
Revision history for this message
Dave Morley (davmor2) wrote :
Revision history for this message
Dave Morley (davmor2) wrote :
Revision history for this message
Alberto Milone (albertomilone) wrote :

Apparently it's the i915 kernel module that fails when the system suspends (as per the dmesg in nvidia-bug-report.log.gz):

[ 347.094378] ------------[ cut here ]------------
[ 347.094404] WARNING: CPU: 5 PID: 2858 at /build/buildd/linux-3.13.0/drivers/gpu/drm/i915/intel_uncore.c:125 gen6_gt_check_fifodbg.isra.9+0x38/0x50 [i915]()
[ 347.094404] MMIO read or write has been dropped ffffffff
.....
[ 347.094428] CPU: 5 PID: 2858 Comm: kworker/u16:13 Tainted: PF O 3.13.0-7-generic #25-Ubuntu
[ 347.094429] Hardware name: LENOVO 2099/INVALID, BIOS 5DCN89WW(V8.00) 08/23/2012
[ 347.094438] Workqueue: i915 gen6_force_wake_work [i915]
[ 347.094440] 0000000000000009 ffff88020e8a1d38 ffffffff817095d7 ffff88020e8a1d80
[ 347.094442] ffff88020e8a1d70 ffffffff8106467d ffff8800b709c020 ffff8800b709c028
[ 347.094443] 0000000000000246 0000000000000000 0000000000000200 ffff88020e8a1dd0
[ 347.094444] Call Trace:
[ 347.094448] [<ffffffff817095d7>] dump_stack+0x45/0x56
[ 347.094451] [<ffffffff8106467d>] warn_slowpath_common+0x7d/0xa0
[ 347.094452] [<ffffffff810646ec>] warn_slowpath_fmt+0x4c/0x50
[ 347.094462] [<ffffffffa0c6dd08>] gen6_gt_check_fifodbg.isra.9+0x38/0x50 [i915]
[ 347.094469] [<ffffffffa0c6ddab>] __gen6_gt_force_wake_mt_put+0x2b/0x30 [i915]
[ 347.094477] [<ffffffffa0c6dad7>] gen6_force_wake_work+0x37/0x50 [i915]
[ 347.094479] [<ffffffff81080872>] process_one_work+0x182/0x450
[ 347.094481] [<ffffffff81081611>] worker_thread+0x121/0x410
[ 347.094482] [<ffffffff810814f0>] ? rescuer_thread+0x3e0/0x3e0
[ 347.094484] [<ffffffff81088262>] kthread+0xd2/0xf0
[ 347.094485] [<ffffffff81088190>] ? kthread_create_on_node+0x190/0x190
[ 347.094488] [<ffffffff81719efc>] ret_from_fork+0x7c/0xb0
[ 347.094489] [<ffffffff81088190>] ? kthread_create_on_node+0x190/0x190
[ 347.094490] ---[ end trace c5385131fcc61d31 ]---
[ 347.943633] PM: suspend of devices complete after 986.296 msecs
[ 347.943778] PM: late suspend of devices complete after 0.143 msecs

Revision history for this message
Dave Morley (davmor2) wrote :

In nvidia settings on prime systems you have Prime Profiles. The initial report was with the settings on intel(Power Saving Mode). I changed this setting to Nvidia (Performance Mode) to see if it made a difference it didn't. The second log is with the Settings on Performance for comparison.

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 1276674

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
Revision history for this message
Dave Morley (davmor2) wrote :

This issue only seems to be reproducible if you are on the Discreet hardware. If you are on the intel only gfx there is nolonger an issue.

tags: added: apport-collected
description: updated
Revision history for this message
Dave Morley (davmor2) wrote : AlsaInfo.txt

apport information

Revision history for this message
Dave Morley (davmor2) wrote : BootDmesg.txt

apport information

Revision history for this message
Dave Morley (davmor2) wrote : CRDA.txt

apport information

Revision history for this message
Dave Morley (davmor2) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Dave Morley (davmor2) wrote : IwConfig.txt

apport information

Revision history for this message
Dave Morley (davmor2) wrote : Lspci.txt

apport information

Revision history for this message
Dave Morley (davmor2) wrote : Lsusb.txt

apport information

Revision history for this message
Dave Morley (davmor2) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Dave Morley (davmor2) wrote : ProcEnviron.txt

apport information

Revision history for this message
Dave Morley (davmor2) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Dave Morley (davmor2) wrote : ProcModules.txt

apport information

Revision history for this message
Dave Morley (davmor2) wrote : PulseList.txt

apport information

Revision history for this message
Dave Morley (davmor2) wrote : RfKill.txt

apport information

Revision history for this message
Dave Morley (davmor2) wrote : UdevDb.txt

apport information

Revision history for this message
Dave Morley (davmor2) wrote : UdevLog.txt

apport information

Revision history for this message
Dave Morley (davmor2) wrote : WifiSyslog.txt

apport information

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
description: updated
Revision history for this message
Alberto Salvia Novella (es20490446e) wrote :

It's a non-ideal default configuration.

Changed in linux (Ubuntu):
importance: Undecided → Low
Changed in nvidia-graphics-drivers-331 (Ubuntu):
importance: Undecided → Low
status: New → Triaged
status: Triaged → Confirmed
Revision history for this message
Alberto Milone (albertomilone) wrote :

This sounds a bit like LP: #1210077 .

@Dave: are you still able to reproduce it?

Revision history for this message
Dave Morley (davmor2) wrote :

This is fixed and working for me on 31/03/2014

Changed in nvidia-graphics-drivers-331 (Ubuntu):
status: Confirmed → Fix Released
Changed in linux (Ubuntu):
status: Confirmed → 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.