10de:0a75 [Lenovo G560] Xorg freeze / System Freeze after suspend

Bug #1264879 reported by AdriM
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Low
Unassigned

Bug Description

Problem is related to suspend, regardless if the lid of the laptop is closed or "Suspend" from the menu is pressed.
At resume, the screen is displayed and only the mouse can move for 10-15 seconds then everything freezes.
One time I managed to switch to terminal mode and issue a lightgdm restart: The login window appeared but after the correct username/password was provided it was enable to start the session and the login prompt appeared again.
So far I have tried playing with boot parameters:
pcie_aspm=force (no change)
nomodeset (it makes the problem worst the screen is black, not even the backlight seems to be on)

Also I have tried running from : https://wiki.ubuntu.com/KernelTeam/SuspendResumeTesting
wget http://people.ubuntu.com/~apw/suspend-resume/test-suspend
sudo bash test-suspend --full
Test1 is not able to suspend the machine,
test 2 does suspend it but it does not wake up automatically after 20 seconds. And when I press a key to wake it up... it freezes.

The issue does not reproduce on the same hardware with LMDE MATE Edition, Proprietary nvidia drivers, Linux 3.10-2-amd64 (x86_64), Compiled #1 SMP Debian 3.10.5-1 (2013-08-07). Also if I shutdown X (lightgdm stop) the suspend function works as expected.

WORKAROUND: Switch to nvidia proprietary module instead of Nouveau module

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: xorg 1:7.7+1ubuntu6
ProcVersionSignature: Ubuntu 3.11.0-14.21-generic 3.11.7
Uname: Linux 3.11.0-14-generic x86_64
NonfreeKernelModules: wl
.tmp.unity.support.test.0:

ApportVersion: 2.12.5-0ubuntu2.2
Architecture: amd64
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: compiz
CompositorUnredirectDriverBlacklist: '(nouveau|Intel).*Mesa 8.0'
CompositorUnredirectFSW: true
Date: Sun Dec 29 21:59:45 2013
DistUpgraded: Fresh install
DistroCodename: saucy
DistroVariant: ubuntu
DkmsStatus:
 bcmwl, 6.30.223.141+bdcom, 3.11.0-12-generic, x86_64: installed
 bcmwl, 6.30.223.141+bdcom, 3.11.0-14-generic, x86_64: installed
ExtraDebuggingInterest: Yes
GpuHangFrequency: Continuously
GpuHangReproducibility: Yes, I can easily reproduce it
GpuHangStarted: Immediately after installing this version of Ubuntu
GraphicsCard:
 NVIDIA Corporation GT218M [GeForce 310M] [10de:0a75] (rev a2) (prog-if 00 [VGA controller])
   Subsystem: Lenovo Device [17aa:392d]
InstallationDate: Installed on 2013-12-27 (2 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
MachineType: LENOVO 20042
MarkForUpload: True
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.11.0-14-generic root=UUID=8a4ec989-c440-49bb-8f12-704848322677 ro persistent vt.handoff=7
SourcePackage: xorg
Symptom: display
Title: Xorg freeze
UpgradeStatus: No upgrade log present (probably fresh install)
XorgLogOld:

dmi.bios.date: 01/28/2011
dmi.bios.vendor: LENOVO
dmi.bios.version: 29CN38WW(V2.15)
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: Base Board Product Name
dmi.board.vendor: LENOVO
dmi.board.version: Base Board Version
dmi.chassis.asset.tag: Chassis Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: Chassis Manufacturer
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnLENOVO:bvr29CN38WW(V2.15):bd01/28/2011:svnLENOVO:pn20042:pvrLenovoG560:rvnLENOVO:rnBaseBoardProductName:rvrBaseBoardVersion:cvnChassisManufacturer:ct10:cvrChassisVersion:
dmi.product.name: 20042
dmi.product.version: Lenovo G560
dmi.sys.vendor: LENOVO
version.compiz: compiz 1:0.9.10+13.10.20131011-0ubuntu1
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.46-1ubuntu1
version.libgl1-mesa-dri: libgl1-mesa-dri 9.2.1-1ubuntu3
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 9.2.1-1ubuntu3
version.xserver-xorg-core: xserver-xorg-core 2:1.14.3-3ubuntu2
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.7.3-0ubuntu3.1
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.2.0-0ubuntu10
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.904-0ubuntu2
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.9-2ubuntu1
xserver.bootTime: Sun Dec 29 19:50:10 2013
xserver.configfile: default
xserver.errors:
 Failed to load module "nvidia" (module does not exist, 0)
 Failed to load module "nvidia" (module does not exist, 0)
xserver.logfile: /var/log/Xorg.0.log
xserver.version: 2:1.14.3-3ubuntu2
xserver.video_driver: nouveau
---
ApportVersion: 2.13.1-0ubuntu1
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: ubuntu 4739 F.... pulseaudio
 /dev/snd/controlC0: ubuntu 4739 F.... pulseaudio
CasperVersion: 1.336ubuntu1
DistroRelease: Ubuntu 14.04
LiveMediaBuild: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140112)
MachineType: LENOVO 20042
Package: linux (not installed)
ProcEnviron:
 LANGUAGE=en_US
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcFB: 0 nouveaufb
ProcKernelCmdLine: noprompt cdrom-detect/try-usb=true persistent file=/cdrom/preseed/hostname.seed boot=casper initrd=/casper/initrd.lz quiet splash -- maybe-ubiquity
ProcVersionSignature: Ubuntu 3.13.0-2.17-generic 3.13.0-rc7
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.13.0-2-generic N/A
 linux-backports-modules-3.13.0-2-generic N/A
 linux-firmware 1.121
Tags: trusty
Uname: Linux 3.13.0-2-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

dmi.bios.date: 01/28/2011
dmi.bios.vendor: LENOVO
dmi.bios.version: 29CN38WW(V2.15)
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: Base Board Product Name
dmi.board.vendor: LENOVO
dmi.board.version: Base Board Version
dmi.chassis.asset.tag: Chassis Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: Chassis Manufacturer
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnLENOVO:bvr29CN38WW(V2.15):bd01/28/2011:svnLENOVO:pn20042:pvrLenovoG560:rvnLENOVO:rnBaseBoardProductName:rvrBaseBoardVersion:cvnChassisManufacturer:ct10:cvrChassisVersion:
dmi.product.name: 20042
dmi.product.version: Lenovo G560
dmi.sys.vendor: LENOVO

Revision history for this message
AdriM (adrian-malinaru) wrote :
Revision history for this message
penalvch (penalvch) wrote :

AdriM, thank you for reporting this and helping make Ubuntu better. 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 run the following command from a Terminal (Applications->Accessories->Terminal), as it will automatically gather and attach updated debug information to this report:

apport-collect -p linux REPLACE-WITH-BUG-NUMBER

If reproducible, could you please provide the information following https://wiki.ubuntu.com/DebuggingKernelSuspend ?

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.3.13-rc7

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-29cn38ww
affects: xorg (Ubuntu) → linux (Ubuntu)
Changed in linux (Ubuntu):
importance: Undecided → Medium
status: New → Incomplete
Revision history for this message
AdriM (adrian-malinaru) wrote :

I will run the tests with the latest build over the weekend and post the results.

Some additional information, if I switch to nvidia proprietary driver the issue does not reproduce.
Also if I shutdown X (lightgdm stop) the suspend function works as expected.

penalvch (penalvch)
description: updated
Changed in linux (Ubuntu):
importance: Medium → Low
Revision history for this message
AdriM (adrian-malinaru) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected trusty
description: updated
Revision history for this message
AdriM (adrian-malinaru) wrote : BootDmesg.txt

apport information

Revision history for this message
AdriM (adrian-malinaru) wrote : CRDA.txt

apport information

Revision history for this message
AdriM (adrian-malinaru) wrote : CurrentDmesg.txt

apport information

Revision history for this message
AdriM (adrian-malinaru) wrote : IwConfig.txt

apport information

Revision history for this message
AdriM (adrian-malinaru) wrote : Lspci.txt

apport information

Revision history for this message
AdriM (adrian-malinaru) wrote : Lsusb.txt

apport information

Revision history for this message
AdriM (adrian-malinaru) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
AdriM (adrian-malinaru) wrote : ProcInterrupts.txt

apport information

Revision history for this message
AdriM (adrian-malinaru) wrote : ProcModules.txt

apport information

Revision history for this message
AdriM (adrian-malinaru) wrote : RfKill.txt

apport information

Revision history for this message
AdriM (adrian-malinaru) wrote : UdevDb.txt

apport information

Revision history for this message
AdriM (adrian-malinaru) wrote : UdevLog.txt

apport information

Revision history for this message
AdriM (adrian-malinaru) wrote : WifiSyslog.txt

apport information

Revision history for this message
AdriM (adrian-malinaru) wrote : Re: Xorg freeze / System Freeze after suspend

The issue exists on the daily build I took today, 12 january 2014. The files above are from my test.
The build is running from a USB stick. (I don't think that matters..).
There is one thing that puzzles me.. in the kernel.log I have these lines , not present in the collected logs. I have attached the file.
 [ 415.792017] nouveau E[Xorg[14753]] failed to idle channel 0xcccc0000 [Xorg[14753]]
 [ 415.792160] nouveau E[ PFB][0000:01:00.0] trapped read at 0x002001e020 on channel 0x0001fb24 [unknown] SEMAPHORE_BG/PFIFO_READ/00 reason: PAGE_NOT_PRESENT

AdriM (adrian-malinaru)
description: updated
Revision history for this message
AdriM (adrian-malinaru) wrote :

Prior to this I had Linux Mint 15 then upgraded to 16. (not a fresh install) None of those version had this problem, but I always used the proprietary drivers.
I will perform the other requested tests as soon as time will allow me.

Revision history for this message
AdriM (adrian-malinaru) wrote :

In order to answer your question I got a Ubuntu 13.04 on a USB stick.

The problem occurs on Ubuntu 13.04 using the default nouveau drivers. As for older versions, I don't know.

I also run Ubuntu 13.04 and the daily build on a older Dell Inspiron 1520N laptop which has also a nvidia card.
Version 13.04 does not even display the screen. it just remains black and does nothing.
The daily build suspended fine first time, the second time caps look and numlock started blinking but the screen remained black. After a restart it did not suspend at all.. it switched to text mode, displayed some stack trace from the wireless drivers then resumed normal operation... without any network support. I suppose that is to be expected from a daily build.

penalvch (penalvch)
summary: - Xorg freeze / System Freeze after suspend
+ [Lenovo Lenovo G560] Xorg freeze / System Freeze after suspend
tags: added: raring
Revision history for this message
penalvch (penalvch) wrote : Re: [Lenovo Lenovo G560] Xorg freeze / System Freeze after suspend

AdriM, please do not mark this a duplicate of another report, or vice versa.

summary: - [Lenovo Lenovo G560] Xorg freeze / System Freeze after suspend
+ 10de:0a75 [Lenovo G560] Xorg freeze / System Freeze after suspend
Revision history for this message
AdriM (adrian-malinaru) wrote :

Sorry. I was pretty sure it was the same thing (based on the description of 1111884)
I have also encounter this, but only once
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-nouveau/+bug/1111884/comments/56

I am sorry I did not check before reporting this.

Revision history for this message
AdriM (adrian-malinaru) wrote :

Upgraded (not a clean install ) to Trusty.
There is a difference compared to the live distro and Saucy: Only X freezes: I can switch to console mode and restart lightgdm. However, suspend option is no longer available in the power menu after lightgdm restart.
I have also installed the kernel from http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.13-rc8-trusty/.

I see no improvement on this matter. (Also the wireless card does not seem to work with it).
The logs are full with:
nouveau E[ PFB][0000:01:00.0] trapped write at 0x00005e8c00 on channel 0x0001fed0 [unknown] BAR/PFIFO_WRITE/FB reason: PAGE_NOT_PRESENT
 nouveau E[ PFIFO][0000:01:00.0] still angry after 101 spins, halt
nouveau E[ PFB][0000:01:00.0] trapped write at 0x0000628000 on channel 0x0001fed0 [unknown] BAR/PFIFO_WRITE/FB reason: PAGE_NOT_PRESENT

Revision history for this message
AdriM (adrian-malinaru) wrote :

Syslog for trusty with linux 13.0-031300rc8-generic

Revision history for this message
AdriM (adrian-malinaru) wrote :

And the logs for the suspend script.
Note: The computer does not resume by himself after 20 seconds as advertised.

tags: added: kernel-bug-exists-upstream kernel-bug-exists-upstream-v3.13.0-031300rc8
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
penalvch (penalvch)
tags: added: kernel-bug-exists-upstream-v3.13-rc8 needs-upstream-testing
removed: kernel-bug-exists-upstream kernel-bug-exists-upstream-v3.13.0-031300rc8
Changed in linux (Ubuntu):
status: Expired → Confirmed
Revision history for this message
Joseph Salisbury (jsalisbury) wrote : Test with newer development kernel (3.13.0-24.46)

Thank you for taking the time to file a bug report on this issue.

However, given the number of bugs that the Kernel Team receives during any development cycle it is impossible for us to review them all. Therefore, we occasionally resort to using automated bots to request further testing. This is such a request.

  With the recent release of this Ubuntu release, would like to confirm if this bug is still present. Please test again with the newer kernel and indicate in the bug if this issue still exists or not.

You can update to the latest development kernel by simply running the following commands in a terminal window:

    sudo apt-get update
    sudo apt-get dist-upgrade

If the bug still exists, change the bug status from Incomplete to Confirmed. If the bug no longer exists, change the bug status from Incomplete to Fix Released.

If you want this bot to quit automatically requesting kernel tests, add a tag named: bot-stop-nagging.

 Thank you for your help, we really do appreciate it.

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
tags: added: kernel-request-3.13.0-24.46
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.