Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 686570 - net-misc/spice-gtk-0.35-r1: patch for proper display scaling ratio
Summary: net-misc/spice-gtk-0.35-r1: patch for proper display scaling ratio
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Virtualization Team
URL: https://gitlab.freedesktop.org/spice/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-22 18:51 UTC by Anton Gubarkov
Modified: 2019-10-15 16:33 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
200% scaling (virtio 200.jpg,227.50 KB, image/jpeg)
2019-10-15 07:06 UTC, Anton Gubarkov
Details
300% scaling (virtio 300.jpg,134.76 KB, image/jpeg)
2019-10-15 07:06 UTC, Anton Gubarkov
Details
400% scaling (virtio 400.jpg,186.90 KB, image/jpeg)
2019-10-15 07:06 UTC, Anton Gubarkov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Gubarkov 2019-05-22 18:51:40 UTC
When I run a VM with virtio or iGVT-g based display and my main display scaling in Gnome is set to anything but 100%, I observe a very unusual Vm display window. Please see the screenshots. My English is not powerful enough to describe what I see in details.
I have a 4K 15" notebook, so 200% is my daily runner. I need jeweler's glasses to read at 100%.
I observe this behavior in virt-manager-2.0.0 and virt-viewer-7.0.
QXL quests display in virt-viewer and are scaled up in virt-manager.
When main display scaling is set to 100% - everything becomes normal.
Comment 1 Anton Gubarkov 2019-05-22 18:53:16 UTC
can be fixed by the following patch https://lists.freedesktop.org/archives/spice-devel/2019-March/048497.html
Comment 2 Jonas Stein gentoo-dev 2019-05-25 19:30:34 UTC
there are no screenshots attached.
Comment 3 Anton Gubarkov 2019-10-15 07:06:05 UTC
Created attachment 592738 [details]
200% scaling
Comment 4 Anton Gubarkov 2019-10-15 07:06:28 UTC
Created attachment 592740 [details]
300% scaling
Comment 5 Anton Gubarkov 2019-10-15 07:06:49 UTC
Created attachment 592742 [details]
400% scaling
Comment 6 Larry the Git Cow gentoo-dev 2019-10-15 16:33:47 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5cfa9720519e4f6fd27d91fdb8d0a20ec856c15

commit f5cfa9720519e4f6fd27d91fdb8d0a20ec856c15
Author:     Matthias Maier <tamiko@gentoo.org>
AuthorDate: 2019-10-15 16:30:51 +0000
Commit:     Matthias Maier <tamiko@gentoo.org>
CommitDate: 2019-10-15 16:33:17 +0000

    net-misc/spice-gtk: fix scaling bug
    
     * Backport a patch to 0.37
    
    Closes: https://bugs.gentoo.org/686570
    Package-Manager: Portage-2.3.76, Repoman-2.3.17
    Signed-off-by: Matthias Maier <tamiko@gentoo.org>

 .../spice-gtk-0.37-adjust-to-window-scaling.patch  | 132 +++++++++++++++++++++
 net-misc/spice-gtk/spice-gtk-0.37-r2.ebuild        |   1 +
 2 files changed, 133 insertions(+)