uvtool doesn't specify a default video device

Bug #1818877 reported by Andreas Hasenack on 2019-03-06
This bug affects 1 person
Affects Status Importance Assigned to Milestone
uvtool (Ubuntu)

Bug Description

Currently uvtool doesn't specify a video device, leaving it to the underlying libraries (libvirt?) to pick one. That default is currently cirrus.

In disco, cirrus is no longer shipped as a driver in xorg, and a kernel driver is expected. That kernel driver, however, is not shupped by default in VM images: it's in the linux-modules-extra-<version> package.

We should change uvtool to pick qxl as a default video device, just like other higher-level tools do (virt-manager is one).

Related branches

Andreas Hasenack (ahasenack) wrote :

Assigning to @paelzer as requested by him

Changed in uvtool (Ubuntu):
assignee: nobody → Christian Ehrhardt  (paelzer)
Andreas Hasenack (ahasenack) wrote :

Link to the Xorg failure: http://paste.ubuntu.com/p/d6ypgxzkyv/

Yeah, since uvtool knows we have Ubuntu guests we can take QXL which should also be faster and more efficient.
It is working with VNC, but much better with the spice protocol which enables additional viewers as well as potential audio passthrough and such.

So let do it in one shot (I'm not enabling gl yet as that is too buggy still - too much special HW edge cases).

Changed in uvtool (Ubuntu):
status: New → Triaged

As I have assumed we don't need to cut VNC (our current default backend) to add spice, so that should work great for people relying on the old but also anyone that wants to benefit from the new things.

I tested various templates and will propose a branch for x86 that will make it QXL and add Spice (using the same local only method as VNC to avoid streaming unintentionally).

MP [1] linked
@Rbasak - for your review

@Ahasenack - could you please give that some tries with your uvtool+virt-manager setup (I want to avoid it is only working for me because I do something to my KVM I'm not even aware of)?

[1]: https://code.launchpad.net/~paelzer/uvtool/+git/uvtool/+merge/364074

Changed in uvtool (Ubuntu):
status: Triaged → In Progress

MP Pushed and merged.

@Rbasak - could you make this a bugfix upload to Disco still as that is where the offending changes land?

Changed in uvtool (Ubuntu):
assignee: Christian Ehrhardt  (paelzer) → Robie Basak (racb)
Robie Basak (racb) on 2019-04-30
summary: - uvtool should specify a default video device
+ uvtool doesn't specify a default video device

This is in Focal, setting to Released

Changed in uvtool (Ubuntu):
status: In Progress → Fix Released
assignee: Robie Basak (racb) → nobody
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers