You are not logged in.

#1 2013-04-09 18:39:14

kanikuleet
Member
Registered: 2012-12-22
Posts: 36

[SOLVED] [QEMU] Improve graphics performance/resolution

Hi,

I use qemu's kvm feature and successfuly installed Windows 7 in it.
Everything works quite well except the graphics performance being very poor.

When I move the cursor it starts flickering ('lagging') and I can't set the resolution fitting my laptop screen with a native resolution of 1366x768. (So currently using 1024x768 in the VM)
I start qemu with -vga vmware.

command I use for starting qemu:
qemu-system-x86_64 -enable-kvm -machine type=pc,accel=kvm -cpu host -vga vmware -full-screen -k de -usb -usbdevice tablet -m 3072 /path/to/image.qcow2


Is there a way to fix this??

Last edited by kanikuleet (2013-04-15 10:49:36)

Offline

#2 2013-04-09 18:52:55

jordi
Member
Registered: 2006-12-16
Posts: 103
Website

Re: [SOLVED] [QEMU] Improve graphics performance/resolution

I think the best graphic performance for qemu is currently achieved by using spice. http://www.linux-kvm.org/page/SPICE   http://spice-space.org/

But the last time I tried it it was still a bit tricky to get to run correctly.

Offline

#3 2013-04-09 19:24:02

smph
Member
Registered: 2013-03-30
Posts: 4

Re: [SOLVED] [QEMU] Improve graphics performance/resolution

I run my Windows VMs in qemu with the -nographic option and connect to them using FreeRDP. The mouse cursor is then drawn by the host and the responsiveness is quite good in general.

Offline

#4 2013-04-09 21:23:43

skanky
Member
From: WAIS
Registered: 2009-10-23
Posts: 1,838

Re: [SOLVED] [QEMU] Improve graphics performance/resolution

Try

-vga std

"...one cannot be angry when one looks at a penguin."  - John Ruskin
"Life in general is a bit shit, and so too is the internet. And that's all there is." - scepticisle

Offline

#5 2013-04-09 21:30:30

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,604

Re: [SOLVED] [QEMU] Improve graphics performance/resolution

smph wrote:

I run my Windows VMs in qemu with the -nographic option and connect to them using FreeRDP. The mouse cursor is then drawn by the host and the responsiveness is quite good in general.

I use rdesktop to connect, but otherwise same here.


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

#6 2013-04-14 19:15:53

kanikuleet
Member
Registered: 2012-12-22
Posts: 36

Re: [SOLVED] [QEMU] Improve graphics performance/resolution

Okay I tried to set it up with -nographic and rdesktop but I dont know how to retrieve my vm's ip address for connecting with rdesktop.

Any ideas how to get this working, maybe post examples? :s

Offline

#7 2013-04-15 10:31:31

combuster
Member
From: Serbia
Registered: 2008-09-30
Posts: 711
Website

Re: [SOLVED] [QEMU] Improve graphics performance/resolution

Spice and QXL generally gave me the best perfomance, but Spice bugs out with gnome-keyring on Xfce at least. It requires to enter password for several times before virtmanager segfaults. However, on KDE it worked just fine, perfomance was extraordinary (Windows XP guest).

Offline

#8 2013-04-15 10:49:09

kanikuleet
Member
Registered: 2012-12-22
Posts: 36

Re: [SOLVED] [QEMU] Improve graphics performance/resolution

Finally got it working now, performance is surprisingly good!!!
I used to have Windows 7 Home Premium, then I discovered you cannot remote-connect to Home Prem as this version lacks that feature big_smile
So I got me Ultimate 64bit and it works.

I start the qemu vm with:

qemu-system-x86_64 -enable-kvm -machine type=pc,accel=kvm -cpu host -nographic -k de -usb -m 4096 -net nic -net user,hostfwd=tcp::3389-:3389 /home/kanikuly/Pictures/ISO/Win7Ult64Bit.qcow2

and rdesktop with:

rdesktop -g 100% -E -D -K -P -f -z -x b -r sound:off -a 32 -u *** -p *** localhost

Offline

Board footer

Powered by FluxBB