[nVidia NVS 5200M] [10de:0dfc] Cannot resume from suspend with nouveau driver

Bug #1197601 reported by Po-Hsu Lin
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Triaged
Low
Unassigned
Nominated for Raring by Po-Hsu Lin

Bug Description

CID: 201201-10339 Dell Latitude E6530

With this video card: 01:00.0 VGA compatible controller: NVIDIA Corporation Device 0dfc [10de:0dfc] (rev a1)
system can be suspended flawlessly, but it fails to resume from suspend with the nouveau driver.
Bug 1019415 is a similar one, but the display on this system is totally corrupted.
And switching between the corrupted display and the console session.

The error message is:
[drm] nouveau 0000:01:00.0: Failed to idel channel 1.
[drm] nouveau 0000:01:00.0: PFIFO - playlist update failed
[drm] nouveau 0000:01:00.0: Failed to idel channel 2.
[drm] nouveau 0000:01:00.0: PFIFO - playlist update failed
[drm] nouveau 0000:01:00.0: Failed to idel channel 1.
....and so on

Screenshot for the console session attached.

WORKAROUND: Use NVIDIA upstream driver.

WORKAROUND: Disable Optimus in BIOS and use Ubuntu repository NVIDIA driver provided by Jockey.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: linux-image-3.5.0-23-generic 3.5.0-23.35~precise1
ProcVersionSignature: Ubuntu 3.5.0-23.35~precise1-generic 3.5.7.2
Uname: Linux 3.5.0-23-generic x86_64
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.25.
ApportVersion: 2.0.1-0ubuntu17.1
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: PCH [HDA Intel PCH], device 0: STAC92xx Analog [STAC92xx Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: ubuntu 1626 F.... pulseaudio
 /dev/snd/controlC0: ubuntu 1626 F.... pulseaudio
CRDA:
 country TW:
  (2402 - 2472 @ 40), (3, 27)
  (5270 - 5330 @ 40), (3, 17), DFS
  (5735 - 5815 @ 40), (3, 30)
Card0.Amixer.info:
 Card hw:0 'PCH'/'HDA Intel PCH at 0xf7730000 irq 46'
   Mixer name : 'IDT 92HD93BXX'
   Components : 'HDA:111d76df,10280535,00100203 HDA:14f12c06,14f1000f,00100000'
   Controls : 20
   Simple ctrls : 10
Card1.Amixer.info:
 Card hw:1 'NVidia'/'HDA NVidia at 0xf6080000 irq 17'
   Mixer name : 'Nvidia GPU 14 HDMI/DP'
   Components : 'HDA:10de0014,10de0101,00100100'
   Controls : 24
   Simple ctrls : 4
Date: Wed Jul 3 06:42:13 2013
HibernationDevice: RESUME=UUID=8ee31955-e727-4041-b013-ddde9c2533a6
InstallationMedia: Ubuntu 12.04.2 LTS "Precise Pangolin" - Release amd64 (20130213)
MachineType: Dell Inc. Latitude E6530
MarkForUpload: True
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcFB: 0 nouveaufb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.5.0-23-generic root=UUID=e69d503b-d039-4428-ada2-b2c9f8635dcf ro quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-3.5.0-23-generic N/A
 linux-backports-modules-3.5.0-23-generic N/A
 linux-firmware 1.79.1
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 09/19/2012
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A06
dmi.board.name: 07Y85M
dmi.board.vendor: Dell Inc.
dmi.board.version: X03
dmi.chassis.type: 9
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA06:bd09/19/2012:svnDellInc.:pnLatitudeE6530:pvr01:rvnDellInc.:rn07Y85M:rvrX03:cvnDellInc.:ct9:cvr:
dmi.product.name: Latitude E6530
dmi.product.version: 01
dmi.sys.vendor: Dell Inc.

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :
Revision history for this message
Po-Hsu Lin (cypressyew) 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 : Re: [nVidia NVS 5200M][10de:0dfc] Cannot resume from suspend with nouveau driver

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v3.10 kernel[0].

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream'.
Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.10-saucy/

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Incomplete
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Verified with these two kernel:
3.5.0-36 - Still the same
3.10-saucy - I can see the desktop after resuming from suspend, it's not garbled, but the system is very very slow
And a few seconds later, my login session will be terminated and a garbled login screen shows up.

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
tags: added: kernel-bug-exists-upstream
Po-Hsu Lin (cypressyew)
tags: added: blocks-hwcert
Changed in linux (Ubuntu):
assignee: nobody → Anthony Wong (anthonywong)
Revision history for this message
Anthony Wong (anthonywong) wrote :

Hi Po-Hsu,

Does the proprietary NVIDIA driver works here? From the nvidia-current-updates 304.88 package, 10de:0dfc is supported.

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Hello Anthony,

Yes the proprietary driver works, since it's not available in jockey (bug 1199219)
I have it tested with the one that downloaded from NVIDIA's website.

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Anthony Wong (anthonywong) wrote :

In that case, we will fix lp:1199219 instead to unblock this machine.

Changed in linux (Ubuntu):
assignee: Anthony Wong (anthonywong) → nobody
penalvch (penalvch)
summary: - [nVidia NVS 5200M][10de:0dfc] Cannot resume from suspend with nouveau
- driver
+ 10de:0dfc Cannot resume from suspend with nouveau driver
tags: added: bios-outdated-a11 needs-upstream-testing
removed: 201201-10339
description: updated
tags: added: kernel-bug-exists-upstream-v3.10
removed: kernel-bug-exists-upstream
summary: - 10de:0dfc Cannot resume from suspend with nouveau driver
+ [nVidia NVS 5200M] [10de:0dfc] Cannot resume from suspend with nouveau
+ driver
tags: added: 201201-10339
penalvch (penalvch)
tags: added: regression-potential
Revision history for this message
selkovjr (selkovjr-observercentral) wrote :

Same problem with Quadro FX360M. None of nvidia drivers distributed with 13.04 works (black screen on start-up; no errors). Everything worked fine in 12.10.

Nouveau behaves exactly as Po-Hsu Lin described. Sometimes it crashes with this message:

nouveau E[ PGRAPH][0000:01:00.0] ILLEGAL_MTHD ILLEGAL_CLASS

penalvch (penalvch)
tags: added: bios-outdated-a13
removed: bios-outdated-a11
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
importance: Medium → Low
description: updated
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

With Optimus disabled, it doesn't change anything with A13 BIOS and 3.5.0-44.
However, I can access the console this time

Steps:
1. Boot to desktop, suspend the system by using the "Suspend" option in system menu
2. Press the power button to wake it up

 Expected results:
 * System could be resume from suspend and display works fine with nouveau driver

 Actual results:
 * Display still garbled

 sudo dmidecode -s bios-version && sudo dmidecode -s bios-release-date
 A13
 08/27/2013

Note: If Optimus is enabled, the Intel graphic controller will be used, so it must be disabled to reproduce this bug.

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Verified with 3.8.0-34 on this system without the proprietary driver
after resume from suspend, I can see the desktop, but it's freezed
the caps lock led would response after 2 seconds after you press the key

Unable to switch to the console with ctrl+alt+f1, it just hang at there.

Series "Raring" nominated.

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :
Po-Hsu Lin (cypressyew)
tags: removed: bios-outdated-a13
Revision history for this message
penalvch (penalvch) wrote :

Po-Hsu Lin, thank you for updating your BIOS. Could you please confirm this issue exists with the latest development release of Ubuntu? ISO images are available from http://cdimage.ubuntu.com/daily-live/current/ . If the issue remains, could you please just make a comment to this.

If reproducible, could you also please test the latest upstream kernel available (not the daily folder) following https://wiki.ubuntu.com/KernelMainlineBuilds ? It will allow additional upstream developers to examine 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:
kernel-fixed-upstream
kernel-fixed-upstream-VERSION-NUMBER

where VERSION-NUMBER is the version number of the kernel you tested. For example:
kernel-fixed-upstream-v3.13-rc5

This can be done by clicking on the yellow circle with a black pencil icon next to the word Tags located at the bottom of the bug description. As well, please remove the tag:
needs-upstream-testing

If the mainline kernel does not fix this bug, please add the following tags:
kernel-bug-exists-upstream
kernel-bug-exists-upstream-VERSION-NUMBER

As well, please remove the tag:
needs-upstream-testing

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-a13 quantal raring
removed: precise
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Verified with Trusty daily-live (3.12.0-7),
I can see and move the cursor on a black screen after resumed from suspend, but the caps lock led takes about 15 seconds to respond.

Also, error messages for X could be found in Xorg log.

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Verified with the latest upstream kernel, 3.13.0-rc6, which behaves like the Trusty daily-live (3.12.0-7)

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
tags: added: kernel-bug-exists-upstream-v3.13-rc6
removed: kernel-bug-exists-upstream-v3.10 needs-upstream-testing
Revision history for this message
penalvch (penalvch) wrote :

Po-Hsu Lin, thank you for performing the requested tests. As a WORKAROUND, could you blacklist btusb and advise if you may then resume from a suspend successfully?

tags: added: trusty
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

It behaves like in #16, the Trusty daily-live (3.12.0-7)
Thanks

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Note, if you wait for a while, there will be some error messages displayed on the screen

nouveau E[Xorg[5675]] failed to idle channel 0xcccc0000 [Xorg[5675]]
nouveau E[Xorg[5675]] failed to idle channel 0xcccc0000 [Xorg[5675]]
nouveau E[Xorg[5675]] failed to idle channel 0xcccc0001 [Xorg[5675]]
nouveau E[Xorg[5675]] failed to idle channel 0xcccc0001 [Xorg[5675]]

Revision history for this message
penalvch (penalvch) wrote :

Po-Hsu Lin, the issue you are reporting is an upstream one. Could you please report this problem through the appropriate channel by following the instructions _verbatim_ at https://wiki.ubuntu.com/Bugs/Upstream/kernel ?

Please be advised upstream suspend triagers typically asks for item 4. from https://wiki.ubuntu.com/DebuggingKernelSuspend#Debugging_information_to_provide_in_your_bug_report so it wouldn't hurt to include this in your e-mail.

Please provide a direct URL to your e-mail to the mailing list once you have made it so that it may be tracked.

Thank you for your understanding.

Changed in linux (Ubuntu):
status: Confirmed → Triaged
To post a comment you must log in.