[nouveau] Xorg desktop environment fails to start with QEMU GPU passthrough to NVIDIA

Bug #1990592 reported by Brian Murray
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
New
Undecided
Kleber Sacilotto de Souza
xserver-xorg-video-nouveau (Ubuntu)
New
Undecided
Unassigned

Bug Description

A fresh installation of the Kinetic daily image dated 20220920 fails to start the graphical environment when using the nouveau drivers and I'm only able to log in on the console. The system under test is using QEMU w/ GPU passthrough and an NVIDIA GeForce GTX 650 device.

ProblemType: Bug
DistroRelease: Ubuntu 22.10
Package: xserver-xorg-video-nouveau 1:1.0.17-2build1
ProcVersionSignature: Ubuntu 5.19.0-15.15-generic 5.19.0
Uname: Linux 5.19.0-15-generic x86_64
ApportVersion: 2.23.0-0ubuntu2
Architecture: amd64
BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
CasperMD5CheckResult: pass
Date: Thu Sep 22 16:39:27 2022
DistUpgraded: Fresh install
DistroCodename: kinetic
DistroVariant: ubuntu
ExtraDebuggingInterest: Yes
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 GK107 [GeForce GTX 650] [10de:0fc6] (rev a1) (prog-if 00 [VGA controller])
   Subsystem: eVga.com. Corp. GK107 [GeForce GTX 650] [3842:2652]
InstallationDate: Installed on 2022-09-22 (0 days ago)
InstallationMedia: Ubuntu 22.10 "Kinetic Kudu" - Alpha amd64 (20220920)
Lsusb:
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 001 Device 002: ID 0627:0001 Adomax Technology Co., Ltd QEMU USB Tablet
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Lsusb-t:
 /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/15p, 5000M
 /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/15p, 480M
     |__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 480M
MachineType: QEMU Standard PC (Q35 + ICH9, 2009)
ProcEnviron:
 TERM=linux
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.19.0-15-generic root=/dev/mapper/vgubuntu-root ro quiet splash vt.handoff=7
SourcePackage: xserver-xorg-video-nouveau
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 02/06/2015
dmi.bios.release: 0.0
dmi.bios.vendor: EFI Development Kit II / OVMF
dmi.bios.version: 0.0.0
dmi.chassis.type: 1
dmi.chassis.vendor: QEMU
dmi.chassis.version: pc-q35-6.2
dmi.modalias: dmi:bvnEFIDevelopmentKitII/OVMF:bvr0.0.0:bd02/06/2015:br0.0:svnQEMU:pnStandardPC(Q35+ICH9,2009):pvrpc-q35-6.2:cvnQEMU:ct1:cvrpc-q35-6.2:sku:
dmi.product.name: Standard PC (Q35 + ICH9, 2009)
dmi.product.version: pc-q35-6.2
dmi.sys.vendor: QEMU
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.112-3ubuntu1
version.libgl1-mesa-dri: libgl1-mesa-dri 22.1.7-0ubuntu1
version.libgl1-mesa-glx: libgl1-mesa-glx N/A
version.xserver-xorg-core: xserver-xorg-core 2:21.1.3-2ubuntu3
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:19.1.0-3
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20210115-1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.17-2build1

Revision history for this message
Brian Murray (brian-murray) wrote :
Revision history for this message
Brian Murray (brian-murray) wrote :

I found the following errors in the CurrentDmesg.txt attachment:

[ 60.613384] rfkill: input handler disabled
[ 61.505442] nouveau 0000:05:00.0: gr: DATA_ERROR 0000009c [] ch 2 [003fa14000 systemd-logind[870]] subc 0 class a097 mthd 0d78 data 00000004
[ 61.505507] nouveau 0000:05:00.0: gr: DATA_ERROR 0000009c [] ch 2 [003fa14000 systemd-logind[870]] subc 0 class a097 mthd 0d78 data 00000004
[ 61.505552] nouveau 0000:05:00.0: gr: DATA_ERROR 0000009c [] ch 2 [003fa14000 systemd-logind[870]] subc 0 class a097 mthd 0d78 data 00000004
[ 61.505597] nouveau 0000:05:00.0: gr: DATA_ERROR 0000009c [] ch 2 [003fa14000 systemd-logind[870]] subc 0 class a097 mthd 0d78 data 00000004

tags: added: cuqa-manual-testing
Revision history for this message
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
https://iso.qa.ubuntu.com/qatracker/reports/bugs/1990592

tags: added: iso-testing
Revision history for this message
Brian Murray (brian-murray) wrote :

I tested this today with a Lunar daily build from 20230110 and could not recreate the issue so at least Lunar will be okay.

Revision history for this message
Brian Murray (brian-murray) wrote :

This happened to me today with a Noble daily build - Ubuntu 24.04 LTS "Noble Numbat" - Beta amd64 (20240410.2)

tags: added: noble
summary: - Desktop environment fails to start
+ [nouveau] Xorg desktop environment fails to start with QEMU GPU
+ passthrough to NVIDIA
Changed in linux (Ubuntu):
assignee: nobody → Kleber Sacilotto de Souza (kleber-souza)
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.