GPU hangs after resume from suspend

Bug #1553882 reported by Reinis Zumbergs
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Medium
Unassigned

Bug Description

1) Xenial 64 bit
2) linux-headers-generic 4.4.0.10.11
3) Graphics hardware acceleration should still work after resume from suspend
4) Chrome gets frozen, glxgears does not work, games do not launch etc.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: linux-image-4.4.0-10-generic 4.4.0-10.25
ProcVersionSignature: Ubuntu 4.4.0-10.25-generic 4.4.3
Uname: Linux 4.4.0-10-generic x86_64
ApportVersion: 2.20-0ubuntu3
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/pcmC0D0p: roodis 3367 F...m pulseaudio
 /dev/snd/controlC0: roodis 3367 F.... pulseaudio
CurrentDesktop: XFCE
Date: Sun Mar 6 21:24:11 2016
HibernationDevice: RESUME=UUID=feac0ff7-9251-4be0-ad43-e4fb37779bf3
InstallationDate: Installed on 2016-02-26 (8 days ago)
InstallationMedia: Xubuntu 16.04 LTS "Xenial Xerus" - Alpha amd64 (20160224)
MachineType: Dell Inc. Latitude E5520
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-10-generic root=UUID=353d3ce7-d2fc-407d-9490-53dd3714fb39 ro noprompt persistent quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-4.4.0-10-generic N/A
 linux-backports-modules-4.4.0-10-generic N/A
 linux-firmware 1.156
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 12/26/2013
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A14
dmi.board.asset.tag: Min tie
dmi.board.name: 03PH4G
dmi.board.vendor: Dell Inc.
dmi.board.version: A01
dmi.chassis.asset.tag: Min tie
dmi.chassis.type: 9
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA14:bd12/26/2013:svnDellInc.:pnLatitudeE5520:pvr01:rvnDellInc.:rn03PH4G:rvrA01:cvnDellInc.:ct9:cvr:
dmi.product.name: Latitude E5520
dmi.product.version: 01
dmi.sys.vendor: Dell Inc.

Revision history for this message
Reinis Zumbergs (reinis-zumbergs) 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
penalvch (penalvch) wrote :

Reinis Zumbergs, thank you for reporting this and helping make Ubuntu better.

In order to allow additional upstream developers to examine the issue, at your earliest convenience, could you please test the latest upstream kernel available from http://kernel.ubuntu.com/~kernel-ppa/mainline/?C=N;O=D ? Please keep in mind the following:
1) The one to test is at the very top line at the top of the page (not the daily folder).
2) The release names are irrelevant.
3) The folder time stamps aren't indicative of when the kernel actually was released upstream.
4) Install instructions are available at https://wiki.ubuntu.com/Kernel/MainlineBuilds .

If testing on your main install would be inconvenient, one may:
1) Install Ubuntu to a different partition and then test this there.
2) Backup, or clone the primary install.

If the latest kernel 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 issue 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 X, and Y are the first two numbers of the kernel version, and Z is the release candidate number if it exists.

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

Please note, an error to install the kernel does not fit the criteria of kernel-bug-exists-upstream.

Also, you don't need to apport-collect further unless specifically requested to do so.

Once testing of the latest upstream kernel is complete, please mark this report Status Confirmed. Please let us know your results.

Thank you for your understanding.

tags: added: latest-bios-a14
Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Incomplete
Revision history for this message
Reinis Zumbergs (reinis-zumbergs) wrote :

I'll try.
Problem is that it's not happening every time. If I suspend and resume a moment later, it usually still works.
And I cannot just run on the newest kernel all the time, because it's my main work machine and I need Virtualbox guests to work.
Stand by :)

Revision history for this message
Reinis Zumbergs (reinis-zumbergs) wrote :

Ah, of course, I have to install the corresponding headers too, so that DKMS module gets built. Now I'll run daily on the latest kernel, that will increase the testability.

Additional symptom to the bug report. Sometimes instead of freezeing, GPU accelerated windows get kinda disturbed - flickering and artefacts on screen.

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
Revision history for this message
Reinis Zumbergs (reinis-zumbergs) wrote :

I have been running linux-image-4.6.0-040600rc6-generic for two weeks now. And have not experienced a GPU hang since.

tags: added: kernel-fixed-upstream kernel-fixed-upstream-4.6-rc6
Changed in linux (Ubuntu):
status: Expired → Confirmed
Revision history for this message
penalvch (penalvch) wrote :

Renis Zumbergs, the next step is to fully reverse commit bisect from kernel 4.4 to 4.6-rc6 in order to identify the last bad commit, followed immediately by the first good one. Once this good commit has been identified, it may be reviewed for backporting. Could you please do this following https://wiki.ubuntu.com/Kernel/KernelBisection#How_do_I_reverse_bisect_the_upstream_kernel.3F ?

Please note, finding adjacent kernel versions is not fully commit bisecting.

After the fix commit (not kernel version) has been identified, then please mark this report Status Confirmed.

Thank you for your understanding.

Helpful bug reporting tips:
https://wiki.ubuntu.com/ReportingBugs

tags: added: needs-reverse-bisect
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.