[3.16.0-23] Resume from suspend/hibernation, GPU lock - possible regression
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linux |
Fix Released
|
Medium
|
|||
linux (Ubuntu) |
Fix Released
|
Medium
|
Andy Whitcroft | ||
Utopic |
Fix Released
|
Medium
|
Andy Whitcroft | ||
Vivid |
Fix Released
|
Medium
|
Andy Whitcroft |
Bug Description
SRU Justification
Impact: systems resume from suspend with no graphics.
Test Case: suspend/resume (on affected hardware)
Regression Potential: all upstream changes, triggering suspend/resume handling for these devices from a safer context, regression potential is relatively low.
===
I'm testing the new development branch (Vivid Vervet), which currently has the Utopic kernel 3.16.0-23-generic installed.
(proposed repositories are enabled)
This problem might be a regression, and it has been reported
upstream:
https:/
Problem:
When I try to resume from hibernation the screen hangs and the GPU is locked. It cannot load the graphics properly. The monitor loses its signal completely.
Testing:
Blacklisting the nouveau driver and perform the following hibernate/resume test, seems to indicate that indeed the problem is nouveau, because the test has been completed successfully:
# echo platform > /sys/power/disk
# echo devices > /sys/power/pm_test
# echo disk > /sys/power/state
Mainline:
The problem seems to be fixed in latest stable mainline kernel, for now
3.17.1-
ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: linux-image-
ProcVersionSign
Uname: Linux 3.16.0-23-generic x86_64
ApportVersion: 2.14.7-0ubuntu8
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/
/dev/snd/
/dev/snd/
CurrentDesktop: Unity
Date: Tue Oct 28 15:24:09 2014
HibernationDevice: RESUME=
InstallationDate: Installed on 2014-10-24 (4 days ago)
InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Release amd64 (20141022.1)
IwConfig:
eth0 no wireless extensions.
lo no wireless extensions.
MachineType: MSI MS-7623
ProcFB: 0 nouveaufb
ProcKernelCmdLine: BOOT_IMAGE=
RelatedPackageV
linux-
linux-
linux-firmware 1.138
RfKill:
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 12/06/2010
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: V17.9
dmi.board.
dmi.board.name: 880GMA-E45 (MS-7623)
dmi.board.vendor: MSI
dmi.board.version: 3.0
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: MSI
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.name: MS-7623
dmi.product.
dmi.sys.vendor: MSI
Related branches
Changed in linux: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
tags: |
added: unable-to-reverse-bisect removed: needs-reverse-bisect |
tags: | added: cherry-pick |
Changed in linux (Ubuntu): | |
status: | Incomplete → Triaged |
tags: | added: performing-bisect |
tags: |
added: bisect-done removed: unable-to-reverse-bisect |
description: | updated |
Changed in linux (Ubuntu Utopic): | |
status: | New → Incomplete |
assignee: | nobody → Andy Whitcroft (apw) |
status: | Incomplete → Fix Committed |
Changed in linux (Ubuntu Vivid): | |
status: | Triaged → Fix Released |
tags: |
added: latest-bios-v17.10 removed: bios-outdated-17.a performing-bisect |
tags: |
added: bisect-done removed: reverse-bisect-done |
Changed in linux (Ubuntu Utopic): | |
importance: | Undecided → Medium |
tags: |
added: reverse-bisect-done removed: bisect-done |
Changed in linux: | |
status: | Confirmed → Fix Released |
Created attachment 102508
Logs for git kernel
After a suspend I get messages such as these:
<3>[ 39.550435] nouveau E[ PGRAPH] [0000:01: 00.0] PGRAPH TLB flush idle timeout fail [0000:01: 00.0] PGRAPH_STATUS : 0x01000001 BUSY ROP [0000:01: 00.0] PGRAPH_VSTATUS0: 0x00000000 [0000:01: 00.0] PGRAPH_VSTATUS1: 0x00000000 [0000:01: 00.0] PGRAPH_VSTATUS2: 0x00200000 ROP
<3>[ 39.550435] nouveau E[ PGRAPH]
<3>[ 39.550435] nouveau E[ PGRAPH]
<3>[ 39.550435] nouveau E[ PGRAPH]
<3>[ 39.550435] nouveau E[ PGRAPH]
<3>[ 41.685486] nouveau E[ DRM] GPU lockup - switching to software fbcon
And if I was running X it crashes and the screen ends up looking like this: http:// imgur.com/ a/D3VKw
This is always reproducible but only since Linux 3.15, so I ran a git bisect. The first bad commit is [ecf24de071f4f6 cea79ecef5d9907 94df5875ee1] drm/nouveau: fix fbcon not being accelerated after suspend. After reverting the commmit the machine resumes properly.
The issue persists in drm-nouveau-next (last commit 0b4e8e7... from Jul 8), even if I boot with noaccel=1 nofbaccel=1.
Relevant IRC logs: http:// people. freedesktop. org/~cbrill/ dri-log/ index.php? channel= nouveau& highlight_ names=Nitsuga& date=2014- 07-09