fail to resize with qxl
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
spice (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
[Impact]
* Resizing with QXL is broken
* Upstream released a fix for this and a few crashes in 14.3
* This backports (all apply as-is and are small) the changes to
fix the resize bug and avoid those crashes in focal.
[Test Case]
* Run qemu:
$ qemu-system-x86_64 -machine accel=kvm -m 1024 -cdrom focal-live-
* Attach spice:
$ remote-viewer spice:/
* You'll see it attach and work well at first.
But when something changes the resolution (e.g. on boot) it fails to do
so. E.g. leaving the installer being an orange and an aubergine pixel.
If you abort and re-attach it is fine, as just "changing" the resolution
is broken.
[Regression Potential]
* For the qxl resizing I have a test and it clearly is fixed, the only
issue is if people use it for virtual multi monitor setups (but that
should be failing much more already) to now by default get one.
I'm rather sure this fix is fine.
* I further isolated just the small fixes for crashes and such of 0.14.3
so I'd hope - I reviewed them and checked if upstream would have any
follow on fixes for them (none). In those there might be an issue which
would then regress the spice capabilities - it isn't easy to predict
where exactly that would happen then.
[Other Info]
* This is a last minute fix-only upload to focal.
It can be a zero day SRU if required by the release Team as I think it
would even qualify for a SRU even thou I don't have an individual
testcase for each included fix.
Accepting it prior to focal release would be nice thou for people using
focal and running e.g. further installer tests as e.g. our installer
looks really awkward when not able to change the resolution.
It would also help to not have to wait until 20.10 opens.
---
This is our version of https:/
Related branches
- Bryce Harrington (community): Approve
- Canonical Server packageset reviewers: Pending requested
- git-ubuntu developers: Pending requested
-
Diff: 844 lines (+768/-0)12 files modifieddebian/changelog (+6/-0)
debian/patches/lp-1874054-Do-not-crash-if-channel-clients-cannot-be-created.patch (+58/-0)
debian/patches/lp-1874054-Use-SPICE_CONTAINEROF-to-avoid-some-possible-alignme.patch (+261/-0)
debian/patches/lp-1874054-common-graphics-channel-Avoid-closing-server-if-clie.patch (+38/-0)
debian/patches/lp-1874054-display-channel-Avoid-potential-crash-from-buggy-gue.patch (+39/-0)
debian/patches/lp-1874054-gstreamer-encoder-fix-compiler-warning-with-Fedora-3.patch (+67/-0)
debian/patches/lp-1874054-red-parse-qxl-Fix-QUIC-images-from-QXL.patch (+86/-0)
debian/patches/lp-1874054-red-parse-qxl-Reset-mask-attributes-if-brush-image-i.patch (+54/-0)
debian/patches/lp-1874054-red-qxl-Make-sure-we-have-at-least-one-monitor.patch (+39/-0)
debian/patches/lp-1874054-red-replay-qxl-Fix-some-issue-of-alignment.patch (+74/-0)
debian/patches/lp-1874054-test-display-base-Use-SPICE_CONTAINEROF-to-avoid-ali.patch (+36/-0)
debian/patches/series (+10/-0)
description: | updated |
description: | updated |
Changed in spice (Ubuntu): | |
importance: | Critical → High |
Test: server- amd64.iso -vga qxl -spice port=9999, disable- ticketing
Run qemu:
$ qemu-system-x86_64 -machine accel=kvm -m 1024 -cdrom focal-live-
Attach spice: /127.0. 0.1:9999 --spice-debug
$ remote-viewer spice:/
You'll see it attach and work well at first.
But when something changes the resolution (e.g. on boot) it fails to do so.
E.g. leaving the installer being an orange and an aubergine pixel.
If you abort and re-attach it is fine, as just "changing" the resolution is broken.
Workaround until fixed, use "-device qxl-vga, max_outputs= 1" instead of "-vga qxl"