Bug 692833
Summary: | Xorg's consuming 100% of cpu when changing resolution of a client | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Marian Krcmarik <mkrcmari> | ||||
Component: | spice-client | Assignee: | Marc-Andre Lureau <marcandre.lureau> | ||||
Status: | CLOSED ERRATA | QA Contact: | Desktop QE <desktop-qa-list> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | high | ||||||
Version: | 6.1 | CC: | cfergeau, cmeadors, dblechte, djasa, lkocman, marcandre.lureau, mkenneth, pvine, skrishna, uril | ||||
Target Milestone: | rc | Keywords: | Regression | ||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | spice-client-0.8.2-6 | Doc Type: | Bug Fix | ||||
Doc Text: |
Cause
Upon resolution change of Linux client machine, XRR is sending spicec spurious ScreenChangeNotify calls in a loop. For each such call, spicec creates a new window object and configures it.
Consequence
Xorg proccess cpu consumption grew up to 100%
Fix
spicec reuses a single Window object.
Result
When a client machine changes resolution, Xorg process does not consume 100% cpu.
|
Story Points: | --- | ||||
Clone Of: | Environment: | ||||||
Last Closed: | 2011-12-06 15:22:13 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Marian Krcmarik
2011-04-01 10:35:25 UTC
Since RHEL 6.1 External Beta has begun, and this bug remains unresolved, it has been rejected as it is not proposed as exception or blocker. Red Hat invites you to ask your support representative to propose this request, if appropriate and relevant, in the next release of Red Hat Enterprise Linux. *** Bug 695438 has been marked as a duplicate of this bug. *** taking bug I failed to mention important information. I use 2 monitors on client machine and 1 screen on guest. Problem seems to be related to multimonitor. This message is repeatedly display in spicec log while Xorg consumes 100% of CPU till I kill spicec: 1305652116 INFO [21119:21119] MultyMonScreen::MultyMonScreen: platform_win: 83886258 Happens also in case that guest is win7x32 This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release. *** Bug 717209 has been marked as a duplicate of this bug. *** Created attachment 515754 [details]
reuse platform_win
This is the patch I use that fixed the problem for me (100% cpu Xorg when toggling fullscreen with 2 clients). Bug reproducible on RHEL6 and F15+, spicec git, with any guest single head.
I can reproduce the bug without the patch, and not with the patch. Moreover teh patch makes sense to me, so ACK from me. On a RHEL 6 client with 0.8.2-2, I was able to reproduce the Xorg going close to 100% and slowing machine. I upgraded to 0.8.2-3 spice-client rpm with the patch (emailed to me by marc-andre) and tried to reproduce with same steps. I was not able to reproduce. Thanks, - Swapna The spice-client-0.8.2-6.el6.x86_64 in RHEL doesn't seem to really fix this issue: after a resolution change, not just the "old" client, but all windows hang for some 10 seconds. Setting back to NEW after consulting with Paul. After conversation with dnb we agree that original problem has been fixed. A new bug will be opened to cover current behaviour. Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: Cause Upon resolution change of Linux client machine, XRR is sending spicec spurious ScreenChangeNotify calls in a loop. For each such call, spicec creates a new window object and configures it. Consequence Xorg proccess cpu consumption grew up to 100% Fix spicec reuses a single Window object. Result When a client machine changes resolution, Xorg process does not consume 100% cpu. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2011-1518.html |