I'm also experiencing this problem after upgrading to Ubuntu 19.10. I'm
using xserver-xorg-video-amdgpu 19.0.1-1ubuntu1 so either it's not
completely fixed, or I'm experiencing a different but very similar
issue.

One of the linked bug reports suggested the crash occurs in the XFCE
compositor. I tried disabling the compositor:

xfconf-query -c xfwm4 -p /general/use_compositing -s false

This seems to be a usable workaround for now, though it does introduce
some visual glitches.

--

More detail:

After booting to login screen, if I select an "XFCE" or "Xubuntu"
session and log in, the system crashes to a black screen and is
unresponsive to Ctrl-Alt-F2 or Ctrl-Alt-Del or anything else I try.
(Alt+SysRq+b does reboot though.)

Selecting an "Ubuntu" session is fine.

After rebooting, I see 232 lines in syslog like this:

WARNING: CPU: 2 PID: 274 at
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_hw_sequencer.c:932
dcn10_verify_allow_pstate_change_high.cold+0xc/0x23d [amdgpu]

--

Hardware and version info:

$ cat /proc/cpuinfo
model name      : AMD Ryzen 5 2400G with Radeon Vega Graphics

$ lsb_release -a
Description:    Ubuntu 19.10
Release:        19.10
Codename:       eoan

$ uname -r
5.3.0-23-generic

$ apt show xserver-xorg
Version: 1:7.7+19ubuntu12

$ apt show xserver-xorg-core
Version: 2:1.20.5+git20191008-0ubuntu1

$ apt show xserver-xorg-video-amdgpu
Version: 19.0.1-1ubuntu1

$ xfce4-session --version
xfce4-session 4.14.0 (Xfce 4.14)

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xserver-xorg-video-amdgpu in Ubuntu.
https://bugs.launchpad.net/bugs/1842954

Title:
  AMD GPU hang/crash/black screen after suspend(ing)

Status in Linux:
  Confirmed
Status in xserver-xorg-video-amdgpu package in Ubuntu:
  Fix Released

Bug description:
  This is a freeze which is obviously caused by a bug in the xserver-
  xorg-video-amdgpu package ver: 19.0.1* which is shipped with Ubuntu
  19.04 and 19.10. Upstream fix is needed.

  Workaround:
  sudo nano /etc/apt/sources.list, copy-paste one line which contains "main 
multiverse universe restricted" and change the distribution name "eoan" or 
"disco" to "bionic" (for this line only)
  So you will have a line like
  deb [url] bionic multiverse main restricted universe
  ctrl+o, save it

  sudo update
  sudo apt install xserver-xorg-core=2:1.19.6-1ubuntu4
  sudo apt install xserver-xorg-video-amdgpu=18.0.1-1

  sudo reboot

  If everything is OK then you should keep these packages by using:
  sudo apt-mark hold xserver-xorg-core=2:1.19.6-1ubuntu4
  sudo apt-mark hold xserver-xorg-video-amdgpu=18.0.1-1

  You can later unhold them by using the same commands with "unhold"

  If a newer bionic package version comes out (fe. a security update)
  you should unhold the packages do an apt update and use apt policy
  [package name without = and version] to check the new bionic versions
  that you can install using my original install commands with the
  proper version paramter.

  If something is not OK, then press E on grub menu, paste nomodeset
  parameter at the and of the kernel line then f10. After the kernel
  loading and the command line login you should just do an apt upgrade
  if you hadn't held the packages before.

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/1842954/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to