[amdgpu] Xorg freeze

Bug #1887724 reported by Blaise Mariner
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Random freezing-- different freezing every time. I switched GUIs from Gnome to Cinnamon and it seems to freeze less, but still averaging about once a day. I cannot reproduce, is random.

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: xorg 1:7.7+19ubuntu14
ProcVersionSignature: Ubuntu 5.4.0-40.44-generic 5.4.44
Uname: Linux 5.4.0-40-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.3
Architecture: amd64
BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
CasperMD5CheckResult: skip
CompositorRunning: None
CurrentDesktop: X-Cinnamon
Date: Wed Jul 15 15:44:47 2020
DistUpgraded: Fresh install
DistroCodename: focal
DistroVariant: ubuntu
ExtraDebuggingInterest: Yes, if not too technical
GpuHangFrequency: Several times a week
GpuHangReproducibility: Seems to happen randomly
GpuHangStarted: Immediately after installing this version of Ubuntu
GraphicsCard:
 Advanced Micro Devices, Inc. [AMD/ATI] Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series] [1002:15dd] (rev c4) (prog-if 00 [VGA controller])
   Subsystem: Dell Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series] [1028:0884]
InstallationDate: Installed on 2020-06-04 (40 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
MachineType: Dell Inc. Inspiron 7375
ProcEnviron:
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-40-generic root=UUID=0ed970bf-fd17-4242-8a3e-5c1224ed5b72 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/09/2018
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.5.0
dmi.board.name: 02YPPF
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 10
dmi.chassis.vendor: Dell Inc.
dmi.chassis.version: 1.5.0
dmi.modalias: dmi:bvnDellInc.:bvr1.5.0:bd07/09/2018:svnDellInc.:pnInspiron7375:pvr1.5.0:rvnDellInc.:rn02YPPF:rvrA00:cvnDellInc.:ct10:cvr1.5.0:
dmi.product.family: Inspiron
dmi.product.name: Inspiron 7375
dmi.product.sku: 0884
dmi.product.version: 1.5.0
dmi.sys.vendor: Dell Inc.
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.101-2
version.libgl1-mesa-dri: libgl1-mesa-dri 20.0.8-0ubuntu1~20.04.1
version.libgl1-mesa-glx: libgl1-mesa-glx 20.0.8-0ubuntu1~20.04.1
version.xserver-xorg-core: xserver-xorg-core 2:1.20.8-2ubuntu2.1
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
Blaise Mariner (bmariner) wrote :
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Next time a freeze happens please:

1. Reboot.

2. Run this command:

   journalctl -b-1 > prevboot.txt

   and attach the resulting text file here.

tags: added: amdgpu
summary: - Xorg freeze
+ [amdgpu] Xorg freeze
affects: xorg (Ubuntu) → ubuntu
Changed in ubuntu:
status: New → Incomplete
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Also... It sounds like some part of the system may have crashed. To help us find the cause of the crash please follow these steps:

1. Look in /var/crash for crash files and if found run:
    ubuntu-bug YOURFILE.crash
Then tell us the ID of the newly-created bug.

2. If step 1 failed then look at https://errors.ubuntu.com/user/ID where ID is the content of file /var/lib/whoopsie/whoopsie-id on the machine. Do you find any links to recent problems on that page? If so then please send the links to us.

3. If step 2 also failed then apply the workaround from bug 994921, reboot, reproduce the crash, and retry step 1.

Please take care to avoid attaching .crash files to bugs as we are unable to process them as file attachments. It would also be a security risk for yourself.

Revision history for this message
Blaise Mariner (bmariner) wrote :

resulting prevboot command attached.

Revision history for this message
Blaise Mariner (bmariner) wrote :

From the following /var/crash, there are many files. I ran the most recent one. It resulted in a "Sorry, Ubuntu 20.04 has experienced an internal error. Send problem report to developers?" message. I selected Send but did not receive an ID for the newly-created bug. Thus I assume the message I received was step 1 failing. Going to step 2, I was unable to open contents of the whoopsie-id file. I will move on to step three.

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

You need to be superuser to view that file, so run this first:

  sudo -s

Revision history for this message
Blaise Mariner (bmariner) wrote :

Thank you, I was able to do it with the sudo more FILENAME command. I found a couple of crash reports on the site. blueman, gnome-shell, gdb, nautilis. Everything listed except the blueman crashes happened before my switch to cinnamon. I am unable to access the data, but I will search the web.

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

The only explanation for a freeze I can see in the log of comment #4 is this recurring kernel/hardware problem:

Jul 16 12:06:21 bmariner-Inspiron-7375 kernel: pcieport 0000:00:01.1: AER: Corrected error received: 0000:00:01.0
Jul 16 12:06:21 bmariner-Inspiron-7375 kernel: pcieport 0000:00:01.1: AER: PCIe Bus Error: severity=Corrected, type=Data Link Layer, (Transmitter ID)
Jul 16 12:06:21 bmariner-Inspiron-7375 kernel: pcieport 0000:00:01.1: AER: device [1022:15d3] error status/mask=00001000/00006000
Jul 16 12:06:21 bmariner-Inspiron-7375 kernel: pcieport 0000:00:01.1: AER: [12] Timeout

which is about vendor "Advanced Micro Devices, Inc. [AMD]" device "Raven/Raven2 PCIe GPP Bridge [6:0]". So I think that's related to the graphics card.

If you can then try a different graphics card or even just a different kernel version from:

  https://kernel.ubuntu.com/~kernel-ppa/mainline/?C=M;O=D

affects: ubuntu → linux (Ubuntu)
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Sorry I failed to notice you can't replace the graphics card as it's a laptop...

If that error is some other PCIe device then it might be just the wifi card which is easy to disable or replace.

Revision history for this message
Blaise Mariner (bmariner) wrote :

Funny you say that there has been a problem with the Wifi on this machine since it was solely running Windows 10. Best Buy could not fix it and did not want to cheaply replace it. Sometimes (unable to reproduce) the wifi loses the ability to detect networks and I would have to reboot in order to reset the wifi connection. No freeze or anything would occur. I have a USB-antennae that works well and works around the problem, so most of the time now I am unaware if the internal wifi connection stops. Thank you for the different kernel version link, I will explore that.

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

It might help to disable the built-in wifi. Try doing it in the BIOS. If that doesn't work then you can disable the kernel driver of the built-in wifi by adding a line:

  blacklist ath10k_pci

to /etc/modprobe.d/blacklist.conf and then reboot.

Revision history for this message
Blaise Mariner (bmariner) wrote :

Great, thank you. I will try this out. For my reference, how would I re-enable the built in wifi? Thanks again

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

You would remove:

  blacklist ath10k_pci

from /etc/modprobe.d/blacklist.conf and then reboot.

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.