Public bug reported:

This bug has been around since 16.04 and still occurs with 18.04 when
using nvidia drivers. When update required for the OS the black screen
situation happens after the required reboot. Only way to regain desktop
is to login via ssh terminal and run the commands listed here:

https://askubuntu.com/questions/1129516/black-screen-at-boot-after-
nvidia-driver-installation-on-ubuntu-18-04-2-lts

sudo apt-get update

sudo apt-get upgrade

sudo apt-get purge nvidia*

sudo apt autoremove

sudo apt-get install dkms build-essential linux-headers-$(uname -r)

echo "# Disable the default Nouveau kernel driver" | sudo tee -a
/etc/modprobe.d/blacklist-nouveau.conf

echo "# -----------------------------------------" | sudo tee -a
/etc/modprobe.d/blacklist-nouveau.conf

echo "blacklist nouveau" | sudo tee -a /etc/modprobe.d/blacklist-
nouveau.conf

echo "blacklist lbm-nouveau" | sudo tee -a /etc/modprobe.d/blacklist-
nouveau.conf

echo "options nouveau modeset=0" | sudo tee -a /etc/modprobe.d
/blacklist-nouveau.conf

echo "alias nouveau off" | sudo tee -a /etc/modprobe.d/blacklist-
nouveau.conf

echo "alias lbm-nouveau off" | sudo tee -a /etc/modprobe.d/blacklist-
nouveau.conf

cat /etc/modprobe.d/blacklist-nouveau.conf

echo "options nouveau modeset=0" | sudo tee -a /etc/modprobe.d/nouveau-
kms.conf

cat /etc/modprobe.d/nouveau-kms.conf

sudo update-initramfs -u

sudo service lightdm stop

sudo apt-get install nvidia-driver-440

lsmod | grep nvidia

sudo lshw -c video | grep 'configuration'

sudo reboot

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: xorg 1:7.7+19ubuntu7.1
ProcVersionSignature: Ubuntu 4.15.0-101.102-generic 4.15.18
Uname: Linux 4.15.0-101-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.14
Architecture: amd64
BootLog:
 
CompizPlugins: No value set for 
`/apps/compiz-1/general/screen0/options/active_plugins'
Date: Mon May 18 08:44:05 2020
DistUpgraded: 2019-12-17 11:35:32,743 DEBUG icon theme changed, re-reading
DistroCodename: bionic
DistroVariant: ubuntu
DkmsStatus:
 bbswitch, 0.8, 4.15.0-101-generic, x86_64: installedError! Could not locate 
dkms.conf file.
 File:  does not exist.
 
 bbswitch, 0.8, 4.15.0-99-generic, x86_64: installed
ExtraDebuggingInterest: Yes
GraphicsCard:
 Subsystem: ASRock Incorporation Atom/Celeron/Pentium Processor 
x5-E8000/J3xxx/N3xxx Integrated Graphics Controller [1849:22b1]
 NVIDIA Corporation GK208 [GeForce GT 630 Rev. 2] [10de:1284] (rev a1) (prog-if 
00 [VGA controller])
   Subsystem: ASUSTeK Computer Inc. GK208 [GeForce GT 630 Rev. 2] [1043:846a]
InstallationDate: Installed on 2019-09-26 (234 days ago)
InstallationMedia: Ubuntu 16.04.6 LTS "Xenial Xerus" - Release amd64 (20190227)
MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M.
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-101-generic 
root=UUID=89ea4739-64a1-4200-9626-c597e9d5a485 ro quiet splash vt.handoff=1
SourcePackage: xorg
Symptom: display
UpgradeStatus: Upgraded to bionic on 2019-12-17 (152 days ago)
dmi.bios.date: 02/27/2018
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: P1.50
dmi.board.name: N3150M
dmi.board.vendor: ASRock
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvrP1.50:bd02/27/2018:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnASRock:rnN3150M:rvr:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
dmi.product.family: To Be Filled By O.E.M.
dmi.product.name: To Be Filled By O.E.M.
dmi.product.version: To Be Filled By O.E.M.
dmi.sys.vendor: To Be Filled By O.E.M.
version.compiz: compiz 1:0.9.13.1+18.04.20180302-0ubuntu1
version.libdrm2: libdrm2 2.4.99-1ubuntu1~18.04.2
version.libgl1-mesa-dri: libgl1-mesa-dri 19.2.8-0ubuntu0~18.04.3
version.libgl1-mesa-glx: libgl1-mesa-glx 19.2.8-0ubuntu0~18.04.3
version.xserver-xorg-core: xserver-xorg-core 2:1.19.6-1ubuntu4.4
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.10.5-1ubuntu1
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:18.0.1-1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 
2:2.99.917+git20171229-1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.15-2
xserver.bootTime: Wed Apr 29 07:15:33 2020
xserver.configfile: default
xserver.errors:
 
xserver.logfile: /var/log/Xorg.0.log
xserver.outputs:
 
xserver.version: 2:1.19.6-1ubuntu4.4

** Affects: xorg (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug bionic ubuntu

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to xorg in Ubuntu.
https://bugs.launchpad.net/bugs/1879333

Title:
  Black screen on loading latest system update

Status in xorg package in Ubuntu:
  New

Bug description:
  This bug has been around since 16.04 and still occurs with 18.04 when
  using nvidia drivers. When update required for the OS the black screen
  situation happens after the required reboot. Only way to regain
  desktop is to login via ssh terminal and run the commands listed here:

  https://askubuntu.com/questions/1129516/black-screen-at-boot-after-
  nvidia-driver-installation-on-ubuntu-18-04-2-lts

  sudo apt-get update

  sudo apt-get upgrade

  sudo apt-get purge nvidia*

  sudo apt autoremove

  sudo apt-get install dkms build-essential linux-headers-$(uname -r)

  echo "# Disable the default Nouveau kernel driver" | sudo tee -a
  /etc/modprobe.d/blacklist-nouveau.conf

  echo "# -----------------------------------------" | sudo tee -a
  /etc/modprobe.d/blacklist-nouveau.conf

  echo "blacklist nouveau" | sudo tee -a /etc/modprobe.d/blacklist-
  nouveau.conf

  echo "blacklist lbm-nouveau" | sudo tee -a /etc/modprobe.d/blacklist-
  nouveau.conf

  echo "options nouveau modeset=0" | sudo tee -a /etc/modprobe.d
  /blacklist-nouveau.conf

  echo "alias nouveau off" | sudo tee -a /etc/modprobe.d/blacklist-
  nouveau.conf

  echo "alias lbm-nouveau off" | sudo tee -a /etc/modprobe.d/blacklist-
  nouveau.conf

  cat /etc/modprobe.d/blacklist-nouveau.conf

  echo "options nouveau modeset=0" | sudo tee -a /etc/modprobe.d
  /nouveau-kms.conf

  cat /etc/modprobe.d/nouveau-kms.conf

  sudo update-initramfs -u

  sudo service lightdm stop

  sudo apt-get install nvidia-driver-440

  lsmod | grep nvidia

  sudo lshw -c video | grep 'configuration'

  sudo reboot

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: xorg 1:7.7+19ubuntu7.1
  ProcVersionSignature: Ubuntu 4.15.0-101.102-generic 4.15.18
  Uname: Linux 4.15.0-101-generic x86_64
  ApportVersion: 2.20.9-0ubuntu7.14
  Architecture: amd64
  BootLog:
   
  CompizPlugins: No value set for 
`/apps/compiz-1/general/screen0/options/active_plugins'
  Date: Mon May 18 08:44:05 2020
  DistUpgraded: 2019-12-17 11:35:32,743 DEBUG icon theme changed, re-reading
  DistroCodename: bionic
  DistroVariant: ubuntu
  DkmsStatus:
   bbswitch, 0.8, 4.15.0-101-generic, x86_64: installedError! Could not locate 
dkms.conf file.
   File:  does not exist.
   
   bbswitch, 0.8, 4.15.0-99-generic, x86_64: installed
  ExtraDebuggingInterest: Yes
  GraphicsCard:
   Subsystem: ASRock Incorporation Atom/Celeron/Pentium Processor 
x5-E8000/J3xxx/N3xxx Integrated Graphics Controller [1849:22b1]
   NVIDIA Corporation GK208 [GeForce GT 630 Rev. 2] [10de:1284] (rev a1) 
(prog-if 00 [VGA controller])
     Subsystem: ASUSTeK Computer Inc. GK208 [GeForce GT 630 Rev. 2] [1043:846a]
  InstallationDate: Installed on 2019-09-26 (234 days ago)
  InstallationMedia: Ubuntu 16.04.6 LTS "Xenial Xerus" - Release amd64 
(20190227)
  MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M.
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-101-generic 
root=UUID=89ea4739-64a1-4200-9626-c597e9d5a485 ro quiet splash vt.handoff=1
  SourcePackage: xorg
  Symptom: display
  UpgradeStatus: Upgraded to bionic on 2019-12-17 (152 days ago)
  dmi.bios.date: 02/27/2018
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: P1.50
  dmi.board.name: N3150M
  dmi.board.vendor: ASRock
  dmi.chassis.asset.tag: To Be Filled By O.E.M.
  dmi.chassis.type: 3
  dmi.chassis.vendor: To Be Filled By O.E.M.
  dmi.chassis.version: To Be Filled By O.E.M.
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvrP1.50:bd02/27/2018:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnASRock:rnN3150M:rvr:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
  dmi.product.family: To Be Filled By O.E.M.
  dmi.product.name: To Be Filled By O.E.M.
  dmi.product.version: To Be Filled By O.E.M.
  dmi.sys.vendor: To Be Filled By O.E.M.
  version.compiz: compiz 1:0.9.13.1+18.04.20180302-0ubuntu1
  version.libdrm2: libdrm2 2.4.99-1ubuntu1~18.04.2
  version.libgl1-mesa-dri: libgl1-mesa-dri 19.2.8-0ubuntu0~18.04.3
  version.libgl1-mesa-glx: libgl1-mesa-glx 19.2.8-0ubuntu0~18.04.3
  version.xserver-xorg-core: xserver-xorg-core 2:1.19.6-1ubuntu4.4
  version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.10.5-1ubuntu1
  version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:18.0.1-1
  version.xserver-xorg-video-intel: xserver-xorg-video-intel 
2:2.99.917+git20171229-1
  version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.15-2
  xserver.bootTime: Wed Apr 29 07:15:33 2020
  xserver.configfile: default
  xserver.errors:
   
  xserver.logfile: /var/log/Xorg.0.log
  xserver.outputs:
   
  xserver.version: 2:1.19.6-1ubuntu4.4

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1879333/+subscriptions

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

Reply via email to