Bug 1056041
| Summary: | Screen is blurry for some resolutions when spice window is maximized. | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Roman Hodain <rhodain> |
| Component: | virt-viewer | Assignee: | Marc-Andre Lureau <marcandre.lureau> |
| Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
| Severity: | high | Docs Contact: | |
| Priority: | urgent | ||
| Version: | 6.5 | CC: | cfergeau, codong, dblechte, djasa, dyuan, herrold, jherrman, lcui, marcandre.lureau, mkenneth, mzhan, pmanzell, rbalakri, rhodain, tzheng, zsong |
| Target Milestone: | rc | Keywords: | ZStream |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | virt-viewer-0.6.0-2.el6 | Doc Type: | Bug Fix |
| Doc Text: |
Prior to this update, SPICE determined the scaling of windows incorrectly by using the original desktop size instead of the host screen size. As a consequence, when a guest window was open in SPICE, the screen could, under certain circumstances, become blurry. With this update, the guest window scaling has been fixed and this problem no longer occurs.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-10-14 06:30:36 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1081376 | ||
|
Description
Roman Hodain
2014-01-21 13:05:29 UTC
this looks very much like bug 1054757.. see also discussion there. I can't reproduce on RHEL6 client, when maximizing client and adjusting gnome panel size, the guest is accordingly resize to fit 1:1 resoution. I haven't tried with other clients yet. What version of virt-viewer are you testing? (In reply to Marc-Andre Lureau from comment #3) > I can't reproduce on RHEL6 client, when maximizing client and adjusting > gnome panel size, the guest is accordingly resize to fit 1:1 resoution. > > I haven't tried with other clients yet. > > What version of virt-viewer are you testing? Yes that is the point it is re-sized 1:1. The problem does not show al the time. Just for some resolutions. virt-viewer-0.5.7-2.fc20.x86_64 can you record a screencast showing the problem? thanks I'm able to reproduce on gnome desktop although the bug is sometimes elusive. When the bug occurs, --spice-debug output of remote-viewer contains lines like this: (remote-viewer:19933): GSpice-DEBUG: spice-widget.c:1046 recalc geom monitor: 0:0, guest +0+0:1280x854, window 1280x853, zoom 1 (remote-viewer:19933): GSpice-DEBUG: spice-widget.c:1046 recalc geom monitor: 0:0, guest +0+0:1920x907, window 1920x905, zoom 1 when the guest height doesn't match window height but in all other cases, the height does match. In addition, when the bug occurs, remote-viewer window contains black bar(s) on the bottom (and sometimes top) edges of the widget, reminding me of bug 810544. The bug is also not reproducible with all client resolutions: * 1280x800: the bug is not reproducible * 1280x960: reproducible (with gnome-panel height 29) * 1440x900: not reproducible * 1600x900: reproducible (gnome-panel height 34) (the list is not exhaustive) My setup is nested spice: fedora 20 client connected to rhel6 VM (client VM) connected to another rhel6 VM (guest VM). The test case is to set panel size to default of 28 in client VM, maximize the guest VM window and keep increasing the panel size till the guest gets blurry. I cannot reproduce this on rhel6.5 client. test with: virt-viewer-0.5.6-9.el6 Steps: 1. start a spice rhel guest 2. # virt-viewer $vm 3. maximize the guest 4. Change the client panel size Result, The guest doesn't get blurry. I test with 1290*1024 and 1680*1050. Steps above are right? In comment 10, some resolutions are reproducible, that means a monitor with the same resolution or just change the client's resolution? (In reply to CongDong from comment #11) > I cannot reproduce this on rhel6.5 client. > > test with: > virt-viewer-0.5.6-9.el6 > > Steps: > 1. start a spice rhel guest > 2. # virt-viewer $vm > 3. maximize the guest > 4. Change the client panel size > > Result, > The guest doesn't get blurry. > > I test with 1290*1024 and 1680*1050. > > Steps above are right? > In comment 10, some resolutions are reproducible, that means a monitor with > the same resolution or just change the client's resolution? Hi, Only the quest resolution is changing. They to change the size of the client panel by pixel until you face the issue. Roman I can reproduce, assigning to me sent patch fixing rounding issue: https://www.redhat.com/archives/virt-tools-list/2014-March/msg00043.html I can reproduce this now: virt-viewer-0.5.6-9.el6_5.x86_64 my physical monitor's resolution is 1680*1050 host and vm are both rhel6u5 Steps: 1. start a spice rhel guest 2. # virt-viewer $vm --debug --spice-debug 3. maximize the guest, and open the display preferences of the guest. 4. keep change(increasing) the client panel size Result: I keep increasing the panel size, When the guest resolution is 1680*839, the display is blurry. I can reproduce with virt-viewer-0.5.6-10.el6.x86_64 Verify with: virt-viewer-0.6.0-4.el6.x86_64 1. start a spice rhel guest 2. # virt-viewer $vm --debug --spice-debug 3. maximize the guest, and open the display preferences of the guest. 4. keep change(increasing) the client panel size Result, the display is always clear. As the result, VERIFIED. 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-2014-1379.html |