virtio-gpu disabled for Ubuntu 18.04 to 21.10

Bug #1985148 reported by Benjamin Drung
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
osinfo-db (Ubuntu)
Fix Released
Undecided
Unassigned
Jammy
Fix Released
Undecided
Unassigned

Bug Description

Impact
------

If you install Ubuntu as guest in virt-manager, qxl will be used a video device instead of virtio-gpu.

Due to bug #1971195 Ubuntu 22.04 (without the fix from jammy-updates) only shows a black screen when running Wayland. virtio-gpu was disabled for all Ubuntu guest versions as a workaround (see bug #1969524), but the final version merged upstream [1] only disables virtio-gpu for the problematic Ubuntu 22.04.0, but keeps it for all other Ubuntu >= 18.04 releases.

[1] https://gitlab.com/libosinfo/osinfo-db/-/merge_requests/441
[2] https://lists.ubuntu.com/archives/ubuntu-devel/2022-August/042255.html

Test case
---------

1. Install and open virt-manager
2. Create new virtual machine
3. Select ubuntu-20.04-desktop-amd64.iso
4. Ubuntu 20.04 should be selected as OS
5. Select memory, CPUs, disk, name as you like
6. Select to configure the configuration before installation
7. Check which video device is used.
8. Repeat at step 3 with Ubuntu 18.04 and 20.04

Expected video devices for
* Ubuntu 18.04: virtio
* Ubuntu 20.04: virtio
* Ubuntu 22.04: QXL

What Could Go Wrong
-------------------

Enabling virtio-gpu will let virt-manager and other use virtio instead of qxl. User that do not change the selected default, will then see virtio-gpu bugs on their guest (maybe even host) instead of qxl bugs.

Revision history for this message
Benjamin Drung (bdrung) wrote :

kinetic contains version 0.20220727-1 which includes the upstream version of the patch.

Changed in osinfo-db (Ubuntu):
status: New → Fix Released
Revision history for this message
Benjamin Drung (bdrung) wrote :

Uploaded osinfo-db 0.20220214-1ubuntu2.1 (diff attached) to jammy.

Changed in osinfo-db (Ubuntu Jammy):
status: New → Fix Committed
Revision history for this message
Benjamin Drung (bdrung) wrote :

Uploaded version 2 of osinfo-db 0.20220214-1ubuntu2.1 (v2 diff attached) to jammy to include the fix for bug #1985219.

Revision history for this message
Steve Langasek (vorlon) wrote :

> 7. Check which video device is used

Please be explicit as to what the correct value is for verifying the SRU.

Changed in osinfo-db (Ubuntu Jammy):
status: Fix Committed → Incomplete
Revision history for this message
Steve Langasek (vorlon) wrote :

Also, do not mark SRU bugs as 'fix committed'; this state should be set only when the change has been accepted into -proposed.

Revision history for this message
Benjamin Drung (bdrung) wrote :

Mention the expected video device and add point 8 to test also Ubuntu 18.04 and 20.04. Setting status back to New.

description: updated
Changed in osinfo-db (Ubuntu Jammy):
status: Incomplete → New
Revision history for this message
Chris Halse Rogers (raof) wrote : Please test proposed package

Hello Benjamin, or anyone else affected,

Accepted osinfo-db into jammy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/osinfo-db/0.20220214-1ubuntu2.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-jammy to verification-done-jammy. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-jammy. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in osinfo-db (Ubuntu Jammy):
status: New → Fix Committed
tags: added: verification-needed verification-needed-jammy
Revision history for this message
Benjamin Drung (bdrung) wrote :

Tested osinfo-db 0.20220214-1ubuntu2.1 successfully:
* Ubuntu 18.04: virtio
* Ubuntu 20.04: virtio
* Ubuntu 22.04: QXL

tags: added: verification-done verification-done-jammy
removed: verification-needed verification-needed-jammy
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package osinfo-db - 0.20220214-1ubuntu2.1

---------------
osinfo-db (0.20220214-1ubuntu2.1) jammy; urgency=medium

  * Cherry-pick upstream tests fix: osinfo: skip supported='false' devices
  * Disable virtio-gpu only for Ubuntu 22.04, i.e. enable it for
    Ubuntu 18.04 to 21.10 and >= 22.10 again (LP: #1985148)
  * ubuntu22.04: update ISO URLs for 22.04.1 release (LP: #1985219)

 -- Benjamin Drung <email address hidden> Fri, 12 Aug 2022 16:00:02 +0200

Changed in osinfo-db (Ubuntu Jammy):
status: Fix Committed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

The verification of the Stable Release Update for osinfo-db has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

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.