[amdgpu] Screen freeze after wake from sleep

Bug #1961608 reported by David
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux-hwe-5.13 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Any time the computer sleeps, and I wake it the screen backlight turns on but nothing appears.
This has been occurring since upgrading to Kernel 5.11-44.

I used 5.11-40 without issues, and when I did a fresh install, I used 5.11-27 without issues.
I have tried multiple 5.13 releases and none of them handle sleep and wakeup successfully.

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: xorg 1:7.7+19ubuntu14
ProcVersionSignature: Ubuntu 5.13.0-30.33~20.04.1-generic 5.13.19
Uname: Linux 5.13.0-30-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.21
Architecture: amd64
BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
CasperMD5CheckResult: skip
CompositorRunning: None
CurrentDesktop: ubuntu:GNOME
Date: Mon Feb 21 11:13:07 2022
DistUpgraded: Fresh install
DistroCodename: focal
DistroVariant: ubuntu
ExtraDebuggingInterest: Yes
GraphicsCard:
 Advanced Micro Devices, Inc. [AMD/ATI] Wani [Radeon R5/R6/R7 Graphics] [1002:9874] (rev c9) (prog-if 00 [VGA controller])
   Subsystem: Dell Wani [Radeon R5/R6/R7 Graphics] [1028:0769]
   Subsystem: Dell Topaz XT [Radeon R7 M260/M265 / M340/M360 / M440/M445 / 530/535 / 620/625 Mobile] [1028:0769]
InstallationDate: Installed on 2022-01-02 (49 days ago)
InstallationMedia: Ubuntu 20.04.3 LTS "Focal Fossa" - Release amd64 (20210819)
MachineType: Dell Inc. Inspiron 5565
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.13.0-30-generic root=/dev/mapper/vgubuntu-root ro quiet splash vt.handoff=7
SourcePackage: xorg
Symptom: display
Title: Xorg freeze
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 07/17/2017
dmi.bios.release: 5.3
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.1.1
dmi.board.name: 0021CT
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 10
dmi.chassis.vendor: Dell Inc.
dmi.chassis.version: 1.1.1
dmi.modalias: dmi:bvnDellInc.:bvr1.1.1:bd07/17/2017:br5.3:svnDellInc.:pnInspiron5565:pvr1.1.1:rvnDellInc.:rn0021CT:rvrA00:cvnDellInc.:ct10:cvr1.1.1:sku0769:
dmi.product.family: Inspiron
dmi.product.name: Inspiron 5565
dmi.product.sku: 0769
dmi.product.version: 1.1.1
dmi.sys.vendor: Dell Inc.
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.107-8ubuntu1~20.04.1
version.libgl1-mesa-dri: libgl1-mesa-dri 21.2.6-0ubuntu0.1~20.04.1
version.libgl1-mesa-glx: libgl1-mesa-glx N/A
version.xserver-xorg-core: xserver-xorg-core 2:1.20.13-1ubuntu1~20.04.2
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:19.1.0-1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20200226-1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.16-1

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

This might be related to bug 1958778...

Please:

1. Reproduce the freeze again.

2. Wait 10 seconds.

3. Reboot.

4. Run:

   journalctl -b-1 > prevboot.txt
   lspci -k > lspci.txt

5. Attach the resulting text files here.

tags: added: amdgpu
affects: xorg (Ubuntu) → linux-hwe-5.11 (Ubuntu)
affects: linux-hwe-5.11 (Ubuntu) → linux-hwe-5.13 (Ubuntu)
summary: - Xorg freeze after wake from sleep
+ [amdgpu] Screen freeze after wake from sleep
Changed in linux-hwe-5.13 (Ubuntu):
status: New → Incomplete
Revision history for this message
David (dayuser) wrote :

Yes, I agree that this is similar to bug 1958778.

Differences:
I have not confirmed the behavior when an external monitor is attached, and this issue arose before upgrading to kernel 5.13.

I know I used 5.11-40 successfully, and believe I might have had 5.11-41 or 5.11-42, which worked, but certainly 5.11-44 did not.

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

It looks like the amdgpu kernel driver encountered errors while entering sleep:

Feb 22 06:01:35 day-oper kernel: amdgpu 0000:00:01.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0000 address=0x11665a680 flags=0x0070]
Feb 22 06:01:35 day-oper kernel: amdgpu 0000:00:01.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0000 address=0x11665a720 flags=0x0070]
Feb 22 06:01:35 day-oper kernel: amdgpu 0000:00:01.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0000 address=0x11665a690 flags=0x0070]
Feb 22 06:01:35 day-oper kernel: amdgpu 0000:00:01.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0000 address=0x11665a730 flags=0x0070]

Although I'm not sure if that's really relevant.

Changed in linux-hwe-5.13 (Ubuntu):
status: Incomplete → New
Revision history for this message
David (dayuser) wrote (last edit ):

What about "systemd-logind: hibernation is restricted; see man kernel_lockdown.7" ?

I also don't have cryptswap activated.

Revision history for this message
David (dayuser) wrote (last edit ):

I found the behaviour occurring in a more specific case.

Steps to reproduce:

1. In: Settings > Power > Power Saving

2. Set "Dim Screen When Inactive" to "True"

3. Set "Blank Screen" to "1 minute"

4. Do nothing for 1 minute

5. After screen turns off completely, press any key

When the screen turns back on it is stuck.

I am running the latest kernel 5.13 - 35

Revision history for this message
David (dayuser) wrote :

Note: Running kernel 5.13 - 37 produces the same behaviour.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in linux-hwe-5.13 (Ubuntu):
status: New → 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.