1 |
Oh, I forgot about the gtk and sdl displays... I'll test them together |
2 |
with QXL. |
3 |
|
4 |
Thanks for your hint! |
5 |
|
6 |
But anyways, I'll need two X servers when using this setup - one on the |
7 |
VM and one on the hypervisor. |
8 |
Shouldn't X11 forwarding be less overhead? |
9 |
|
10 |
Thank you |
11 |
Ralf |
12 |
|
13 |
On 06/25/2015 05:44 AM, wabenbau@×××××.com wrote: |
14 |
> Ralf <ralf+gentoo@×××××××××××××××××××.de> wrote: |
15 |
> |
16 |
>> Hi out there, |
17 |
>> |
18 |
>> assume the following situation: |
19 |
>> |
20 |
>> I do have a minimalistic hypervisor running a minimalistic virtual |
21 |
>> machine (qemu with kvm, qxl and spice). |
22 |
>> Both systems, hypervisor and VM are able to run X servers and |
23 |
>> apllications. The graphics card of the hypervisor is connected to a |
24 |
>> monitor. This monitor only has to show one single standalone QT |
25 |
>> application which is running on the virtual machine. |
26 |
>> |
27 |
>> What will give me more video performance? |
28 |
>> |
29 |
>> 1. Running a minimalistic X server on the virtual machine showing the |
30 |
>> application AND running a minimalistic X server on the hypervisor |
31 |
>> running remote-viewer |
32 |
>> or |
33 |
>> 2. Running a minimalistic X server on the hypervisor and using |
34 |
>> X11-Forwarding via bridged ethernet |
35 |
>> |
36 |
>> Or maybe even someone knows a better solution? |
37 |
>> |
38 |
>> Thank you folks! |
39 |
>> |
40 |
>> Cheers |
41 |
>> Ralf |
42 |
> On my system, qemu-kvm has the best performance with X11 on guest. |
43 |
> I've also tested vnc and spice with qxl video driver on guest, but X11 |
44 |
> was faster. |
45 |
> |
46 |
> I can imagine that this depends on the hardware and screen resolution. |
47 |
> So maybe on your system an other setup is better. |
48 |
> |
49 |
> My host GPU is a Radeon Ultimate R7 250, resolution is 3840x2160@60Hz, |
50 |
> driver is xf86-video-ati. |
51 |
> X11 compositing is deactivated on host as well as on guest. |
52 |
> |
53 |
> As "video card" on guest I use vmware (-vga vmware). Screen resolution |
54 |
> on guest is 2386x1770. That seems to be the highest possible screen size |
55 |
> that is available with this settings. I also tested other guest video |
56 |
> drivers (std and cirrus) but vmware was the fastest and also the one with |
57 |
> the highest resolution. |
58 |
> |
59 |
> Before I bought an UHD monitor, I used sdl as qemu display (-display sdl) |
60 |
> in borderless fullscreen mode (-no-frame -full-screen). I used the same |
61 |
> screen resolution on host and guest (1920x1200) and qemu was running on |
62 |
> one of my virtual XFCE desktops. |
63 |
> This was very handy. But as I've written before, it seems not possible for |
64 |
> me to run qemu with UHD screen size. So fullscreen mode isn't possible any |
65 |
> longer and now qemu runs in a window on my desktop (-display gtk). |
66 |
> |
67 |
> But with none of my setups it was/is possible to run a fullscreen video |
68 |
> on the guest vm. Performance is much to slow for that. I've spent some |
69 |
> time to make it faster, but I failed. |
70 |
> |
71 |
> I would be happy for any hints about better video performance with qemu. |
72 |
> |
73 |
> -- |
74 |
> Regards |
75 |
> wabe |
76 |
> |