Re: [Spice-devel] [PATCH v2 5/6] spice: get monitors physical dimension

2020-09-25 Thread Frediano Ziglio
> > From: Marc-André Lureau > > Note that for consistency, we use the same logic as MonitorsConfig to > figure out the associated monitor. However, I can't find traces of the > discussion/patches about the "new spice-server" behaviour: it still uses > the multiple-configurations path in git mast

Re: [Spice-devel] Windows 10 VDAgent incompatible with "hidden" KVM?

2020-09-25 Thread Frediano Ziglio
> > On 9/25/20 9:47 AM, Ian Pilcher wrote: > > On 9/25/20 2:34 AM, Frediano Ziglio wrote: > > > >> Can you post the agent logs when it's not working? > > > > Where are the agent logs stored? > > > > Found 'em. > > Here is the vdagent.log when the GPU is disabled (when the mouse works): > > 4

Re: [Spice-devel] Windows 10 VDAgent incompatible with "hidden" KVM?

2020-09-25 Thread Ian Pilcher
On 9/25/20 9:47 AM, Ian Pilcher wrote: On 9/25/20 2:34 AM, Frediano Ziglio wrote: Can you post the agent logs when it's not working? Where are the agent logs stored? Found 'em. Here is the vdagent.log when the GPU is disabled (when the mouse works): 4348::INFO::2020-09-25 10:26:31,627::r

Re: [Spice-devel] Windows 10 VDAgent incompatible with "hidden" KVM?

2020-09-25 Thread Ian Pilcher
On 9/25/20 2:34 AM, Frediano Ziglio wrote: Without this flag, the NVIDIA drivers refuse to load in a virtual machine, giving a "Code 43" error. Do you know what this flag is doing? The only documentation that I've been able to find is on the libvirt site: https://libvir

[Spice-devel] [PATCH v2 1/6] edid: fix physical display size computation

2020-09-25 Thread marcandre . lureau
From: Marc-André Lureau Divide the resolution by the DPI, and multiply to mm. Note the computation done for edid[21/22] is correct (in cm). Signed-off-by: Marc-André Lureau --- hw/display/edid-generate.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/display/edid-g

[Spice-devel] [PATCH v2 6/6] virtio-gpu: set physical dimensions for EDID

2020-09-25 Thread marcandre . lureau
From: Marc-André Lureau Signed-off-by: Marc-André Lureau --- hw/display/virtio-gpu-base.c | 2 ++ hw/display/virtio-gpu.c| 2 ++ include/hw/virtio/virtio-gpu.h | 1 + 3 files changed, 5 insertions(+) diff --git a/hw/display/virtio-gpu-base.c b/hw/display/virtio-gpu-base.c index aeb87

[Spice-devel] [PATCH v2 4/6] spice: remove the single monitor config logic

2020-09-25 Thread marcandre . lureau
From: Marc-André Lureau Introduced in commit 9c956e646178fee8c14ce7dfae5a9d7cb901876c ("spice: prepare for upcoming spice-server change"), the new logic never materialized in the spice server source tree. Let's remove it for now, until it actually changes in Spice. Signed-off-by: Marc-André Lure

[Spice-devel] [PATCH v2 5/6] spice: get monitors physical dimension

2020-09-25 Thread marcandre . lureau
From: Marc-André Lureau Note that for consistency, we use the same logic as MonitorsConfig to figure out the associated monitor. However, I can't find traces of the discussion/patches about the "new spice-server" behaviour: it still uses the multiple-configurations path in git master. Signed-off

[Spice-devel] [PATCH v2 3/6] ui: add getter for UIInfo

2020-09-25 Thread marcandre . lureau
From: Marc-André Lureau The following patch is going to introduce extra fields / details to UIInfo. Add a getter and keep the current values, instead of memset(0) Signed-off-by: Marc-André Lureau --- include/ui/console.h | 1 + ui/console.c | 7 +++ ui/spice-display.c | 2 +- 3 f

[Spice-devel] [PATCH v2 2/6] edid: use physical dimensions if available

2020-09-25 Thread marcandre . lureau
From: Marc-André Lureau Replace dpi with width_mm/height_mm in qemu_edid_info. Use it when set (non-zero) to compute the DPI and generate the EDID. Signed-off-by: Marc-André Lureau --- hw/display/edid-generate.c | 36 +--- include/hw/display/edid.h | 5 -

[Spice-devel] [PATCH v2 0/6] Add physical display dimensions to spice/virtio-gpu

2020-09-25 Thread marcandre . lureau
From: Marc-André Lureau Hi, This series improves the support for HiDPI displays with Spice. The related spice series have already been merged. v2: - add patch to "spice: remove the single monitor config logic" (Gerd) Marc-André Lureau (6): edid: fix physical display size computation edid:

Re: [Spice-devel] Windows 10 VDAgent incompatible with "hidden" KVM?

2020-09-25 Thread Frediano Ziglio
> > I'm in the process of setting up a Windows 10 (x64) VM with an NVIDIA > Quadro P1000 GPU (using PCI passthrough). The GPU will be used only for > video processing, so it has no displays connected, and access to the > VM's user interface is via RDP or (preferably) SPICE. > > I have everything