radeon kernel driver fails to resume from suspend

Bug #1838678 reported by grauscho
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Hello everybody,

I'm using a laptop which is a Dell Latitude E6540 with hybrid graphics:

00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Mars XTX [Radeon HD 8790M] (rev ff)

The distribution is Ubuntu 18.04.2 LTS with HWE kernel 4.18.0-25-generic and HWE XServer packages. However, the problem described below showed up with the standard kernel as well.

Kernel modules amdgpu, radeon, i915 are loaded.

From time to time, I suspend the laptop and switch from using the laptop's primary display only to using one or more connected external displays/projectors and back.

On resume, the window manager isn't started immediately. Instead, a lot of error messages are displayed on the console:

radeon 0000:01:00.0: failed VCE resume (-110).
[drm:r600_ring_test [radeon]] *ERROR* radeon: ring 0 test failed (scratch(0x850C)=0xFFFFFFFF)
[drm:atom_op_jump [radeon]] *ERROR* atombios stuck in loop for more than 5secs aborting
[drm:atom_execute_table_locked [radeon]] *ERROR* atombios stuck executing CF1C (len 62, WS 0, PS 0) @ 0xCF38
[drm:atom_execute_table_locked [radeon]] *ERROR* atombios stuck executing B67E (len 236, WS 4, PS 0) @ 0xB74B
[drm:atom_execute_table_locked [radeon]] *ERROR* atombios stuck executing B5DC (len 74, WS 0, PS 8) @ 0xB5E4
[drm:si_dpm_enable [radeon]] *ERROR* si_init_smc_table failed
[drm:radeon_pm_resume [radeon]] *ERROR* radeon: dpm resume failed

The error messages are also shown on connected projectors which is slightly annoying.

Mostly, after a minute or two the system resumes successfully with the window manager starting and all applications still running.

However, after more and more suspend/resume cycles the resume process takes longer and sometimes X11 will crash so that a new session has to be started.

Best regards,

Thomas
---
ProblemType: Bug
ApportVersion: 2.20.9-0ubuntu7.7
Architecture: amd64
CurrentDesktop: KDE
DistroRelease: Ubuntu 18.04
HibernationDevice: RESUME=UUID=255880d2-46ce-4ad0-ae40-cbe8d6448bcb
InstallationDate: Installed on 2018-08-09 (357 days ago)
InstallationMedia: Kubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
MachineType: Dell Inc. Latitude E6540
Package: linux (not installed)
ProcFB:
 0 inteldrmfb
 1 radeondrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.18.0-25-generic root=UUID=6c1fe528-1808-4de4-8d6e-be8d7e796823 ro quiet splash vt.handoff=1
ProcVersionSignature: Ubuntu 4.18.0-25.26~18.04.1-generic 4.18.20
RelatedPackageVersions:
 linux-restricted-modules-4.18.0-25-generic N/A
 linux-backports-modules-4.18.0-25-generic N/A
 linux-firmware 1.173.9
Tags: bionic
Uname: Linux 4.18.0-25-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 02/18/2014
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A08
dmi.board.name: 0725FP
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 9
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA08:bd02/18/2014:svnDellInc.:pnLatitudeE6540:pvr01:rvnDellInc.:rn0725FP:rvrA00:cvnDellInc.:ct9:cvr:
dmi.product.name: Latitude E6540
dmi.product.sku: Latitude E6540
dmi.product.version: 01
dmi.sys.vendor: Dell Inc.

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1838678/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
affects: ubuntu → xorg (Ubuntu)
summary: - Errors when changing monitor configuration on system with hybrid
- graphics
+ radeon kernel driver fails to resume from suspend
affects: xorg (Ubuntu) → linux (Ubuntu)
tags: added: radeon
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1838678

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
tags: added: cosmic
Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :
Revision history for this message
grauscho (grauscho) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected bionic
description: updated
Revision history for this message
grauscho (grauscho) wrote : AudioDevicesInUse.txt

apport information

Revision history for this message
grauscho (grauscho) wrote : CRDA.txt

apport information

Revision history for this message
grauscho (grauscho) wrote : CurrentDmesg.txt

apport information

Revision history for this message
grauscho (grauscho) wrote : IwConfig.txt

apport information

Revision history for this message
grauscho (grauscho) wrote : Lspci.txt

apport information

Revision history for this message
grauscho (grauscho) wrote : Lsusb.txt

apport information

Revision history for this message
grauscho (grauscho) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
grauscho (grauscho) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
grauscho (grauscho) wrote : ProcEnviron.txt

apport information

Revision history for this message
grauscho (grauscho) wrote : ProcInterrupts.txt

apport information

Revision history for this message
grauscho (grauscho) wrote : ProcModules.txt

apport information

Revision history for this message
grauscho (grauscho) wrote : PulseList.txt

apport information

Revision history for this message
grauscho (grauscho) wrote : RfKill.txt

apport information

Revision history for this message
grauscho (grauscho) wrote : UdevDb.txt

apport information

Revision history for this message
grauscho (grauscho) wrote : WifiSyslog.txt

apport information

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
Changed in linux (Ubuntu):
status: Expired → Confirmed
Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

Please test 5.0 based HWE kernel, which has the following commit:
commit 450d007d199e632a1a4c4b91302deacd7d56815f
Author: Rafael J. Wysocki <email address hidden>
Date: Thu Feb 14 23:46:19 2019 +0100

    gpu: drm: radeon: Set DPM_FLAG_NEVER_SKIP when enabling PM-runtime

Revision history for this message
grauscho (grauscho) wrote :

I'm very sorry but I cannot test it. I have a hardware issue with my laptop now.

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
Revision history for this message
Stefan (stebp-vn) wrote :

I have the same problem (minus the external displays). I am running Ubuntu 20.04, kernel version 5.4.0-58-generic. On resume from suspend, the kernel spews out the following messages:

kernel: [drm:atom_op_jump [radeon]] *ERROR* atombios stuck in loop for more than 5secs aborting
kernel: [drm:atom_execute_table_locked [radeon]] *ERROR* atombios stuck executing CB56 (len 62, WS 0, PS 0) @ 0xCB72
kernel: [drm:atom_execute_table_locked [radeon]] *ERROR* atombios stuck executing B716 (len 236, WS 4, PS 0) @ 0xB7E3
kernel: [drm:atom_execute_table_locked [radeon]] *ERROR* atombios stuck executing B674 (len 74, WS 0, PS 8) @ 0xB67C
kernel: [drm:si_dpm_enable [radeon]] *ERROR* si_init_smc_table failed
kernel: [drm:radeon_pm_resume [radeon]] *ERROR* radeon: dpm resume failed

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.