Bug 1060327 - Can't get resize-guest to work with F20 guest
Summary: Can't get resize-guest to work with F20 guest
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-31 19:45 UTC by Cole Robinson
Modified: 2014-08-01 06:02 UTC (History)
18 users (show)

Fixed In Version: kernel-3.15.7-200.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-08-01 06:02:11 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
backport of patch to 3.14.x (5.81 KB, patch)
2014-05-01 00:34 UTC, Dave Airlie
no flags Details | Diff

Description Cole Robinson 2014-01-31 19:45:30 UTC
Using spice resize-guest doesn't seem to have any effect with an F20 guest. I'm testing with spicy, which confirms that the spice-vdagent is connected. Resizing the window yeilds no change in the guest.

When I run the session agent by hand, I see debugging output from things like clipboard copy+paste (which does work fine), but there's zero debugging output when changing the spicy client resolution.

Comment 1 Marc-Andre Lureau 2014-02-03 11:03:04 UTC
Christophe said that vanilla kernel works, that f20 is missing some drm patches.

Comment 2 Christophe Fergeau 2014-02-03 11:11:39 UTC
Yup:

"Arbitrary resize with qxl is still not working in f20, but is fine with vanilla
3.13.0. Some of Marc-André's patches are missing from
drm-qxl-backport-fixes-for-Fedora.patch, namely

3fbd643 drm: copy mode type in drm_mode_connector_list_update()
4fdb086 drm/qxl: notify that the monitor config changed
b8206d3 drm: return if changed in drm_helper_hpd_irq_event()

(first one has been reverted if I'm not mistaken)"

I don't know what the status is wrt getting these patches in the Fedora kernel :(

Comment 3 Simone Caronni 2014-02-17 14:56:24 UTC
If 3.13.0 already contains those patches, then Fedora's upcoming 3.13.3 kernel should contain them as well, so no need to backport them:

https://admin.fedoraproject.org/updates/FEDORA-2014-2576/kernel-3.13.3-201.fc20

Comment 4 alessandro.canovi 2014-03-05 10:13:04 UTC
Problem is still present on 3.13.5

Comment 5 Marc-Andre Lureau 2014-03-10 12:00:25 UTC
Kernel needs this patch:

[PATCH] drm: try harder to avoid regression when merging mode bits
http://lists.freedesktop.org/archives/dri-devel/2014-January/051882.html

Comment 6 Josh Boyer 2014-03-10 13:48:18 UTC
"Vanilla 3.13.0" working seems weird.  We aren't carrying drm-qxl-backport-fixes-for-Fedora.patch any more and we have no other patches in this area for the 3.13.y based kernels.

What was the actual kernel version the problem was originally seen with?

(In reply to Marc-Andre Lureau from comment #5)
> Kernel needs this patch:
> 
> [PATCH] drm: try harder to avoid regression when merging mode bits
> http://lists.freedesktop.org/archives/dri-devel/2014-January/051882.html

That patch isn't queued anywhere that I can find.  Not in Linus' tree and not in linux-next.  Dave?

Comment 7 Craig Anthony 2014-04-22 03:52:09 UTC
Still broken in 3.13.10-200.fc20.x86_64.  I had this previously working with a Scientific Linux 6.5 (x86_64) host and Fedora 20 (x86_64) guest, but was no longer working after I reinstalled the host with Fedora 20 (x86_64) and created a new F20 guest.

Comment 8 Dave Airlie 2014-05-01 00:32:54 UTC
Okay I've queued this patch in -next, however it doesn't cleanly backport to Fedora,

I'll attach a backport here.

Comment 9 Dave Airlie 2014-05-01 00:34:00 UTC
Created attachment 891353 [details]
backport of patch to 3.14.x

Comment 10 Josh Boyer 2014-05-01 15:36:07 UTC
(In reply to Dave Airlie from comment #9)
> Created attachment 891353 [details]
> backport of patch to 3.14.x

Applied to F20.

Should we use this patch for 3.15 in rawhide as well, or will the patch in -next work its way into the 3.15 release?

Comment 11 Fedora Update System 2014-05-07 20:53:18 UTC
kernel-3.14.3-200.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/kernel-3.14.3-200.fc20

Comment 12 Fedora Update System 2014-05-08 10:11:25 UTC
Package kernel-3.14.3-200.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing kernel-3.14.3-200.fc20'
as soon as you are able to, then reboot.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-6122/kernel-3.14.3-200.fc20
then log in and leave karma (feedback).

Comment 13 Fedora Update System 2014-05-10 03:20:06 UTC
kernel-3.14.3-200.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 14 Nicolae 2014-06-25 19:21:43 UTC
Can someone please check if it works with LXDE or MATE Desktop Environment?
For me, auto resize  works only in GNOME.
kernel: 3.14.8-200.fc20.x86_64
system has all available updates.

Comment 15 Marc-Andre Lureau 2014-06-25 22:24:33 UTC
(In reply to Nicolae from comment #14)
> Can someone please check if it works with LXDE or MATE Desktop Environment?
> For me, auto resize  works only in GNOME.
> kernel: 3.14.8-200.fc20.x86_64
> system has all available updates.

That depends on shell / session daemon handling monitor events/hotplugs. For example, GNOME auto-resize didn't work at first, because it keeps current resolution by default, and doesn't follow monitor prefered resolution. See "hotplug_mode_update" now in gnome-shell (used to be in gnome-settings-daemon, then mutter)

Comment 16 Marc-Andre Lureau 2014-07-22 14:52:09 UTC
The patch has been removed from fedora, since 3.15.2-200 update
please bring it back

Comment 17 Josh Boyer 2014-07-24 12:21:03 UTC
Dave?  Is there a reason this never went into 3.15.y stable?

Comment 18 Dave Airlie 2014-07-25 05:10:27 UTC
I actually can't remember now, I think it was just a bit of a pain and I didn't get around to it.

Comment 19 Josh Boyer 2014-07-25 12:12:00 UTC
(In reply to Dave Airlie from comment #18)
> I actually can't remember now, I think it was just a bit of a pain and I
> didn't get around to it.

Was easy enough.  b87577b7c768683736eea28f70779e8c75b4df62 applied just fine to 3.15.y.  Added in Fedora git now.

Comment 20 Fedora Update System 2014-07-29 03:56:18 UTC
kernel-3.15.7-200.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/kernel-3.15.7-200.fc20

Comment 21 Fedora Update System 2014-07-30 07:03:40 UTC
Package kernel-3.15.7-200.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing kernel-3.15.7-200.fc20'
as soon as you are able to, then reboot.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-9010/kernel-3.15.7-200.fc20
then log in and leave karma (feedback).

Comment 22 Fedora Update System 2014-08-01 06:02:11 UTC
kernel-3.15.7-200.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.