[amdgpu] Blanked screen doesn't wake up after put into powersave

Bug #1980933 reported by Lucy Llewellyn
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

This is *similar* to #1968040 but I'm raising it as a separate issue as the workarounds there do not work for my system suggesting that this is indeed a separate bug.

When allowing the system to blank the screen, it becomes impossible to awaken the screen some unknown length of time after DPMS poweroff is triggered. Neither the keyboard nor the mouse can be used to trigger the screens to power back on again once powered down by DPMS.

My system is a custom-build desktop PC with a discrete AMD 6600XT GPU and two external 4k monitors.

I have tried the workarounds in the above bug and neither worked. Namely pressing ctrl+alt+f1 (nor any other f-keys in combo with ctrl+alt) does not bring the monitors back to life, and adding MUTTER_DEBUG_ENABLE_ATOMIC_KMS=0 to /etc/environment does not change the behaviour in any way.

The system is still responsive to the network and I can SSH into the box to investigate when in this scenario.

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: mutter (not installed)
ProcVersionSignature: Ubuntu 5.15.0-40.43-generic 5.15.35
Uname: Linux 5.15.0-40-generic x86_64
NonfreeKernelModules: zfs zunicode zcommon znvpair zavl icp
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckResult: pass
Date: Thu Jul 7 09:32:16 2022
InstallationDate: Installed on 2022-05-11 (56 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220419)
SourcePackage: mutter
UpgradeStatus: No upgrade log present (probably fresh install)
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CRDA: N/A
CasperMD5CheckResult: pass
DistroRelease: Ubuntu 22.04
InstallationDate: Installed on 2022-05-11 (61 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220419)
MachineType: ASUS System Product Name
NonfreeKernelModules: zfs zunicode zcommon znvpair zavl icp
Package: linux (not installed)
ProcFB: 0 amdgpudrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.15.0-40-generic root=UUID=25916b65-3bbd-4ddd-a400-1b4af2738696 ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 5.15.0-40.43-generic 5.15.35
RelatedPackageVersions:
 linux-restricted-modules-5.15.0-40-generic N/A
 linux-backports-modules-5.15.0-40-generic N/A
 linux-firmware 20220329.git681281e4-0ubuntu3.2
Tags: jammy
Uname: Linux 5.15.0-40-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip docker lpadmin lxd plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 02/25/2022
dmi.bios.release: 5.17
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 2604
dmi.board.asset.tag: Default string
dmi.board.name: ROG STRIX B550-F GAMING (WI-FI)
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: Rev X.0x
dmi.chassis.asset.tag: Default string
dmi.chassis.type: 3
dmi.chassis.vendor: Default string
dmi.chassis.version: Default string
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr2604:bd02/25/2022:br5.17:svnASUS:pnSystemProductName:pvrSystemVersion:rvnASUSTeKCOMPUTERINC.:rnROGSTRIXB550-FGAMING(WI-FI):rvrRevX.0x:cvnDefaultstring:ct3:cvrDefaultstring:skuSKU:
dmi.product.family: To be filled by O.E.M.
dmi.product.name: System Product Name
dmi.product.sku: SKU
dmi.product.version: System Version
dmi.sys.vendor: ASUS

Revision history for this message
Lucy Llewellyn (lucyllewy) wrote :
Revision history for this message
Lucy Llewellyn (lucyllewy) wrote :
Revision history for this message
Lucy Llewellyn (lucyllewy) wrote :
Download full text (31.3 KiB)

Out of the system journal I think these are the smoking guns:

Jul 06 23:14:20 Excelsior kernel: INFO: task firefox:cs0:6721 blocked for more than 120 seconds.
Jul 06 23:14:20 Excelsior kernel: Tainted: P C O 5.15.0-40-generic #43-Ubuntu
Jul 06 23:14:20 Excelsior kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Jul 06 23:14:20 Excelsior kernel: task:firefox:cs0 state:D stack: 0 pid: 6721 ppid: 3462 flags:0x00000220
Jul 06 23:14:20 Excelsior kernel: Call Trace:
Jul 06 23:14:20 Excelsior kernel: <TASK>
Jul 06 23:14:20 Excelsior kernel: __schedule+0x23d/0x590
Jul 06 23:14:20 Excelsior kernel: schedule+0x4e/0xb0
Jul 06 23:14:20 Excelsior kernel: schedule_timeout+0xfb/0x140
Jul 06 23:14:20 Excelsior kernel: ? __wake_up_locked+0x16/0x20
Jul 06 23:14:20 Excelsior kernel: dma_fence_default_wait+0x1c4/0x1f0
Jul 06 23:14:20 Excelsior kernel: ? dma_fence_free+0x20/0x20
Jul 06 23:14:20 Excelsior kernel: dma_fence_wait_timeout+0xb7/0xd0
Jul 06 23:14:20 Excelsior kernel: gmc_v10_0_flush_gpu_tlb+0x285/0x310 [amdgpu]
Jul 06 23:14:20 Excelsior kernel: amdgpu_gart_invalidate_tlb+0x43/0x60 [amdgpu]
Jul 06 23:14:20 Excelsior kernel: amdgpu_ttm_alloc_gart+0x150/0x1a0 [amdgpu]
Jul 06 23:14:20 Excelsior kernel: amdgpu_cs_parser_bos+0x406/0x4e0 [amdgpu]
Jul 06 23:14:20 Excelsior kernel: ? amdgpu_cs_ib_fill+0x1e3/0x230 [amdgpu]
Jul 06 23:14:20 Excelsior kernel: amdgpu_cs_ioctl+0xf8/0x230 [amdgpu]
Jul 06 23:14:20 Excelsior kernel: ? amdgpu_cs_vm_handling+0x420/0x420 [amdgpu]
Jul 06 23:14:20 Excelsior kernel: drm_ioctl_kernel+0xae/0xf0 [drm]
Jul 06 23:14:20 Excelsior kernel: drm_ioctl+0x264/0x4b0 [drm]
Jul 06 23:14:20 Excelsior kernel: ? amdgpu_cs_vm_handling+0x420/0x420 [amdgpu]
Jul 06 23:14:20 Excelsior kernel: ? __seccomp_filter+0x4a/0x4a0
Jul 06 23:14:20 Excelsior kernel: amdgpu_drm_ioctl+0x4e/0x80 [amdgpu]
Jul 06 23:14:20 Excelsior kernel: __x64_sys_ioctl+0x91/0xc0
Jul 06 23:14:20 Excelsior kernel: do_syscall_64+0x5c/0xc0
Jul 06 23:14:20 Excelsior kernel: ? exit_to_user_mode_prepare+0x92/0xb0
Jul 06 23:14:20 Excelsior kernel: ? syscall_exit_to_user_mode+0x27/0x50
Jul 06 23:14:20 Excelsior kernel: ? do_syscall_64+0x69/0xc0
Jul 06 23:14:20 Excelsior kernel: ? do_syscall_64+0x69/0xc0
Jul 06 23:14:20 Excelsior kernel: entry_SYSCALL_64_after_hwframe+0x44/0xae
Jul 06 23:14:20 Excelsior kernel: RIP: 0033:0x7fa97fc3a3ab
Jul 06 23:14:20 Excelsior kernel: RSP: 002b:00007fa95f32fa18 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
Jul 06 23:14:20 Excelsior kernel: RAX: ffffffffffffffda RBX: 00007fa95f32fa80 RCX: 00007fa97fc3a3ab
Jul 06 23:14:20 Excelsior kernel: RDX: 00007fa95f32fa80 RSI: 00000000c0186444 RDI: 0000000000000026
Jul 06 23:14:20 Excelsior kernel: RBP: 00000000c0186444 R08: 00007fa95f32fbb0 R09: 0000000000000020
Jul 06 23:14:20 Excelsior kernel: R10: 00007fa95f32fbb0 R11: 0000000000000246 R12: 00007fa969dd7e00
Jul 06 23:14:20 Excelsior kernel: R13: 0000000000000026 R14: 0000000000000000 R15: 00007fa916022090
Jul 06 23:14:20 Excelsior kernel: </TASK>
Jul 06 23:14:20 Excelsior kernel: INFO: task kworker/13:0:20618 blocked for more than 120 seconds.
Jul 06 23:14:20 Excelsior kernel: ...

Revision history for this message
Daniel van Vugt (vanvugt) wrote (last edit ):

Yes, problems in the amdgpu kernel module are a common cause of such freezes.

We can only suggest you try a newer kernel:

Latest stable:
https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.18.10/amd64/

Latest development:
https://kernel.ubuntu.com/~kernel-ppa/mainline/drm-tip/2022-07-08/amd64/

tags: added: amdgpu
summary: - Blanked screen doesn't wake up after put into powersave
+ [amdgpu] Blanked screen doesn't wake up after put into powersave
affects: mutter (Ubuntu) → linux (Ubuntu)
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 1980933

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
Revision history for this message
Lucy Llewellyn (lucyllewy) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
Lucy Llewellyn (lucyllewy) wrote : AudioDevicesInUse.txt

apport information

Revision history for this message
Lucy Llewellyn (lucyllewy) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Lucy Llewellyn (lucyllewy) wrote : IwConfig.txt

apport information

Revision history for this message
Lucy Llewellyn (lucyllewy) wrote : Lspci.txt

apport information

Revision history for this message
Lucy Llewellyn (lucyllewy) wrote : Lspci-vt.txt

apport information

Revision history for this message
Lucy Llewellyn (lucyllewy) wrote : Lsusb.txt

apport information

Revision history for this message
Lucy Llewellyn (lucyllewy) wrote : Lsusb-t.txt

apport information

Revision history for this message
Lucy Llewellyn (lucyllewy) wrote : Lsusb-v.txt

apport information

Revision history for this message
Lucy Llewellyn (lucyllewy) wrote : PaInfo.txt

apport information

Revision history for this message
Lucy Llewellyn (lucyllewy) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Lucy Llewellyn (lucyllewy) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Lucy Llewellyn (lucyllewy) wrote : ProcEnviron.txt

apport information

Revision history for this message
Lucy Llewellyn (lucyllewy) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Lucy Llewellyn (lucyllewy) wrote : ProcModules.txt

apport information

Revision history for this message
Lucy Llewellyn (lucyllewy) wrote : PulseList.txt

apport information

Revision history for this message
Lucy Llewellyn (lucyllewy) wrote : RfKill.txt

apport information

Revision history for this message
Lucy Llewellyn (lucyllewy) wrote : UdevDb.txt

apport information

Revision history for this message
Lucy Llewellyn (lucyllewy) wrote : WifiSyslog.txt

apport information

Revision history for this message
Lucy Llewellyn (lucyllewy) wrote : acpidump.txt

apport information

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
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.