Gnome black screen at boot (QXL + Nvidia hybrid VM)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nvidia-graphics-drivers-535 (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
xserver-xorg-video-qxl (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I am running Ubuntu 24.04 as host and a VM with Ubuntu 24.04 as guest.
I tried both VirtIO and QXL drivers on Spice (localhost).
The log was created from the VM.
The VMM window is set with these options:
- Scale Display: Always + Auto resize VM with window
Steps to repro:
- I set the resolution of the guest to 1920x1080
- maximize the VMM window (or change the window size in any other way)
The GPU (NVidia 4060 Ti) has been isolated on the host PC and remapped to this VM using iommu.
The remapping worked as I could install the driver and use the GPU libraries for computing purposes.
The problem is that 90% of the boots ends into a black screen right after putting username and password.
I also see the white cross which is typical of the gnome shell not loading.
I also tried to repeatedly switch from Ctl-Alt-F3 (console) to Ctl-Alt-F1 (graphics) to try regaining control of the shell, but it rarely works.
In a first place I need a workaround to get back the display.
The goal is to totaly avoid gnome to use the NVidia card which is mapped in the VM to be used for computation exclusively.
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: xorg 1:7.7+23ubuntu3
ProcVersionSign
Uname: Linux 6.8.0-35-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.171.04 Tue Mar 19 20:30:00 UTC 2024
GCC version:
ApportVersion: 2.28.1-0ubuntu3
Architecture: amd64
BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
CasperMD5CheckR
Date: Thu Jun 13 09:04:15 2024
DistUpgraded: 2024-05-31 18:30:31,947 DEBUG icon theme changed, re-reading
DistroCodename: noble
DistroVariant: ubuntu
GraphicsCard:
Red Hat, Inc. QXL paravirtual graphic card [1b36:0100] (rev 05) (prog-if 00 [VGA controller])
Subsystem: Red Hat, Inc. QEMU Virtual Machine [1af4:1100]
NVIDIA Corporation AD106 [GeForce RTX 4060 Ti 16GB] [10de:2805] (rev a1) (prog-if 00 [VGA controller])
Subsystem: ASUSTeK Computer Inc. AD106 [GeForce RTX 4060 Ti 16GB] [1043:891b]
InstallationDate: Installed on 2023-12-12 (184 days ago)
InstallationMedia: Ubuntu 23.10.1 "Mantic Minotaur" - Release amd64 (20231016.1)
Lsusb:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 0627:0001 Adomax Technology Co., Ltd QEMU Tablet
Bus 001 Device 003: ID 0627:0001 Adomax Technology Co., Ltd QEMU Tablet
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Lsusb-t:
/: Bus 001.Port 001: Dev 001, Class=root_hub, Driver=
|__ Port 001: Dev 002, If 0, Class=Human Interface Device, Driver=usbhid, 480M
|__ Port 004: Dev 003, If 0, Class=Human Interface Device, Driver=usbhid, 480M
/: Bus 002.Port 001: Dev 001, Class=root_hub, Driver=
MachineType: QEMU Standard PC (Q35 + ICH9, 2009)
ProcEnviron:
LANG=en_US.UTF-8
PATH=(custom, no user)
SHELL=/bin/bash
TERM=linux
XDG_RUNTIME_
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: xorg
Symptom: display
UpgradeStatus: Upgraded to noble on 2024-05-31 (13 days ago)
dmi.bios.date: 04/01/2014
dmi.bios.release: 0.0
dmi.bios.vendor: SeaBIOS
dmi.bios.version: 1.16.3-
dmi.chassis.type: 1
dmi.chassis.vendor: QEMU
dmi.chassis.
dmi.modalias: dmi:bvnSeaBIOS:
dmi.product.name: Standard PC (Q35 + ICH9, 2009)
dmi.product.
dmi.sys.vendor: QEMU
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.120-2build1
version.
version.
version.
version.
version.
version.
version.
version.
summary: |
- Gnome black screen at boot + Gnome black screen at boot (QXL + Nvidia hybrid VM) |
affects: | ubuntu → xserver-xorg-video-qxl (Ubuntu) |
Changed in xserver-xorg-video-qxl (Ubuntu): | |
status: | Incomplete → New |
I would be very surprised if 'qxl' could act as the primary GPU when the secondary is 'nvidia', but let's see...
In the VM, please switch to a VT, log in and run:
journalctl -b0 > journal.txt
journalctl -b-1 > prevjournal.txt
and then attach the resulting text files here.