Xorg Black Screen when upgrading packages (after CUDA installation)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nvidia-graphics-drivers-535 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Hi,
I am trying to setup CUDA on my system. Followed the instructions and everything seemed to work. Tried nvcc command and it works. After a reboot, tried to update packages with `apt update && apt full-upgrade`. The following is the output before I proceeded:
The following NEW packages will be installed:
cpp-12 dctrl-tools dkms gcc-12 libasan8 libegl-mesa0:i386 libegl1:i386 libgbm1:i386 libgcc-12-dev libgles2:i386 libopengl0:i386 libtsan2 libwayland-
The following packages have been kept back:
alsa-ucm-conf gir1.2-adw-1 gjs libadwaita-1-0 libgjs0g libspeechd2 python3-speechd speech-dispatcher speech-
The following packages will be upgraded:
libnvidia-
libnvidia-
xserver-
After a while, screen went black and had to do a hard reboot. I tried this two times on a fresh Ubuntu 22.04 installation and same thing happened. I am ready to provide any further information if needed.
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: xorg 1:7.7+23ubuntu2
ProcVersionSign
Uname: Linux 5.19.0-46-generic x86_64
NonfreeKernelMo
.proc.driver.
.proc.driver.
.proc.driver.
.proc.driver.
.proc.driver.
.proc.driver.
.proc.driver.
NVRM version: NVIDIA UNIX x86_64 Kernel Module 535.54.03 Tue Jun 6 22:20:39 UTC 2023
GCC version:
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
CasperMD5CheckR
CompositorRunning: None
CurrentDesktop: ubuntu:GNOME
Date: Wed Jul 12 21:06:45 2023
DistUpgraded: Fresh install
DistroCodename: jammy
DistroVariant: ubuntu
ExtraDebuggingI
GpuHangFrequency: This is the first time
GraphicsCard:
Subsystem: Micro-Star International Co., Ltd. [MSI] Device [1462:7d86]
NVIDIA Corporation Device [10de:2782] (rev a1) (prog-if 00 [VGA controller])
Subsystem: ASUSTeK Computer Inc. Device [1043:88e5]
InstallationDate: Installed on 2023-07-12 (0 days ago)
InstallationMedia: Ubuntu 22.04.2 LTS "Jammy Jellyfish" - Release amd64 (20230223)
MachineType: Micro-Star International Co., Ltd. MS-7D86
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: xorg
Symptom: display
Title: Xorg freeze
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 03/23/2023
dmi.bios.release: 5.27
dmi.bios.vendor: American Megatrends International, LLC.
dmi.bios.version: 1.30
dmi.board.
dmi.board.name: MEG Z790 ACE (MS-7D86)
dmi.board.vendor: Micro-Star International Co., Ltd.
dmi.board.version: 1.0
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: Micro-Star International Co., Ltd.
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.family: Default string
dmi.product.name: MS-7D86
dmi.product.sku: Default string
dmi.product.
dmi.sys.vendor: Micro-Star International Co., Ltd.
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.113-
version.
version.
version.
version.
version.
version.
version.
version.
Changed in nvidia-graphics-drivers-535 (Ubuntu): | |
status: | Confirmed → Won't Fix |
status: | Won't Fix → Confirmed |
Now I get the following error if I run `apt full-upgrade`:
The following packages have unmet dependencies: kernel- common- 535 (= 535.54.03-0ubuntu1) but 535.54. 03-0ubuntu0. 22.04.1 is installed 03-0ubuntu0. 22.04.1 is installed
Depends: nvidia- compute- utils-535 (= 535.54.03-0ubuntu1) but 535.54. 03-0ubuntu0. 22.04.1 is installed
nvidia-dkms-535 : Depends: nvidia-
nvidia-driver-535 : Depends: libnvidia-extra-535 (= 535.54.03-0ubuntu1) but 535.54.
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
I feel like I never should've been prompted to install any updates in the first place after CUDA install.