In this post I’ll walk through the procedure for using vmware’s vga driver with your kvm windows guests along with a download for testing. Using vmware’s vga is something that a lot of users have been asking about and , to be honest, I was also curious about. I’ve read claims that vmware’s vga performs better than the standard kvm vga driver however this all depends. Running vmware’s vga driver will certainly perform well on vmware’s hypervisor but how well it performs on kvm’s hypervisor depends on it’s implementation there. I’ve only now started playing with this driver on kvm and I’m already seeing a few bugs but performance seems decent. One obvious bug I can report is screen redraws after changing screen resolution. Anyway, let’s move on.

To install the driver, boot your windows guest with the provided cdrom image included at the end of this post attached. I’ve included two images, one for windows 32-bit guests and another for 64-bit guests. This driver is taken from the cdrom image provided with the free vmware server product. After booting your windows guest, navigate to your cdrom device and simply double click on the device or right click on the cdrom device and run “autoplay” to begin the installation as shown below.

Run Autoplay to being the installation.

Click next to complete the install.

To verify your install, you can go to the “Add/Remove Programs” section of your control panel and you’ll see the vmware vga driver installation as shown below.

This completes the installation of the vmware vga driver.
To actually use your newly installed vmware vga driver you need to reboot your windows guest to use the kvm provided vmware vga device option. If you’re managing your kvm , from the command line then you need to use the option –vga vmware option as follows.
qemu-kvm -vga vmware ...
If you’re using a GUI management tool then select the vmware vga option. Since virt-manager seems be popular below shows the option in virt-manager VM details window.

On booting your windows guest, it’ll take a minute to register the driver after logon and you may notice a screen flicker. Once this is complete you will now see the vmware vga driver under your device drivers as shown in the screenshot below.

The vmware vga driver seems to be performing decently under kvm with a few minor bugs as mentioned at the beginning of this post. I’ve only just started using this so apart from the screen resolution change bug, I haven’t experienced any other issues. I have only tested this on a windows XP SP3 32-bit guest so far so please give these drivers a test on other windows guest versions and provide some feedback. Attached at the bottom of this post are the drivers for download.
| Attachment | Size |
|---|---|
| vmwarevga32-kvm.iso | 1 MB |
| vmwarevga64-kvm-2.iso | 1.14 MB |
Comments
Performance
Sunday, May 9, 2010 - 10:00 krwi (not verified)Is this driver provide any graphics acceleration? Is performing better than -vga std?
Re: performance
Sunday, May 9, 2010 - 11:03 Haydn SolomonI have no numbers to conclude better performance but based on observation it performs very good. There are some minor redraw issues that happens on rare occasions. I've tested on windows xp and 2003 and it seems to be more stable on 2003. The kvm vga device performs pretty good too , probably just as good so I can't say I have a preference.
screen redraw
Sunday, May 9, 2010 - 22:05 Anonymous (not verified)I am using VBE miniport SVGA driver and having very slow screen redraw. Dragging a window across screen take 2-3 seconds. I tried to using -vga vmware but my vm won't start. I tried to find all over the internet how to set up kvm to use this switch without success. Any info about this set up is very appreciated. I have my server set up with qemu 0.9.1 and kvm under RHEL5.
Re: screen redraw
Sunday, May 9, 2010 - 23:30 Haydn Solomonqemu-0.9.1 is a little old. Are you getting any error messages? Did you try running the qemu command with only the -vga ? to list the available vga devices? As far as the VBE miniport driver, are you saying that you have tried using that driver with -vga std option?
Thank you for your prompt
Monday, May 10, 2010 - 08:12 langmandoi (not verified)Thank you for your prompt response. Yes I use -vga std. Here is my whole command: qemu-kvm -name VMID_57370 -m 1024 -net tap,ifname=tap0 -net nic,macaddr=00:50:56:00:00:01 -vnc 10.0.0.101:0 -usbdevice tablet -cdrom /virtuals/netvideo.iso -drive file=/virtuals/efcl6Bkvm/virtual.01/efcl.vm,index=0,media=disk -net nic,model=virtio -vga std -snapshot.
If I try -vga ?, the VM does not boot up. It seems like I was limited to use only cirrus or VBE drivers for the video adapter. Do you have any idea why?
Screen redraw
Monday, May 10, 2010 - 08:29 langmandoi (not verified)The errors that I got when trying to use -vga vmware or -vga ? are:
Unkown vga type: vmware and Unkown vga type: ?
Re: screen redraw
Monday, May 10, 2010 - 09:05 Haydn SolomonThat's what I figured. Your version of qemu is so old that it probably didn't support vmware vga device at that time. vmware vga was added somewhere around version 0.10 or 0.11. More recent versions of qemu will list the vga options as follows.
The -vga ? seems to be deprecated now... sorry about that.
Screen redraw
Monday, May 10, 2010 - 09:28 langmandoi (not verified)When I tried
/usr/libexec/qemu-kvm --help | grep vga
I got
-vga [std|cirrus|vmware]
Does -vga vmware switch suppose to work on my system?
Thank you.
Re: screen redraw
Monday, May 10, 2010 - 09:41 Haydn Solomonlangmandoi,
Yes, it should work on your system.
Screen redraw
Monday, May 10, 2010 - 10:32 langmandoi (not verified)I am really confused now. Why do I have
Unkown vga type: vmware and Unkown vga type: ?
when tried to use -vga vmware and on the other hand have
-vga [std|cirrus|vmware]
when running this command
/usr/libexec/qemu-kvm --help | grep vga
Am I missing something here to make it work?
Thank you.
Re: screen redraw
Monday, May 10, 2010 - 10:36 Haydn SolomonWhat version of qemu-kvm are you running?
Screen redraw
Monday, May 10, 2010 - 10:49 langmandoi (not verified)I have
QEMU PC emulator version 0.9.1 (kvm-83-maint-snapshot-20090205)
Re: screen redraw
Monday, May 10, 2010 - 10:58 Haydn SolomonOK, are you the same anonymous user in previous message? I'll have to double check but I don't think that version supported -vga vmware.
Screen redraw
Monday, May 10, 2010 - 11:11 langmandoi (not verified)Oh yes it was me. Your help is really appreciated.
Screen
Monday, May 10, 2010 - 11:27 langmandoi (not verified)Here is what I found on the QEMU website. Below is the changelog of
version 0.9.1:
- TFTP booting from host directory (Anthony Liguori, Erwan Velu)
- Tap device emulation for Solaris (Sittichai Palanisong)
- Monitor multiplexing to several I/O channels (Jason Wessel)
- ds1225y nvram support (Herve Poussineau)
- CPU model selection support (J. Mayer, Paul Brook, Herve Poussineau)
- Several Sparc fixes (Aurelien Jarno, Blue Swirl, Robert Reif)
- MIPS 64-bit FPU support (Thiemo Seufer)
- Xscale PDA emulation (Andrzej Zaborowski)
- ColdFire system emulation (Paul Brook)
- Improved SH4 support (Magnus Damm)
- MIPS64 support (Aurelien Jarno, Thiemo Seufer)
- Preliminary Alpha guest support (J. Mayer)
- Read-only support for Parallels disk images (Alex Beregszaszi)
- SVM (x86 virtualization) support (Alexander Graf)
- CRIS emulation (Edgar E. Iglesias)
- SPARC32PLUS execution support (Blue Swirl)
- MIPS mipssim pseudo machine (Thiemo Seufer)
- Strace for Linux userland emulation (Stuart Anderson, Thayne Harbaugh)
- OMAP310 MPU emulation plus Palm T|E machine (Andrzej Zaborowski)
- ARM v6, v7, NEON SIMD and SMP emulation (Paul Brook/CodeSourcery)
- Gumstix boards: connex and verdex emulation (Thorsten Zitterell)
- Intel mainstone II board emulation (Armin Kuster)
- VMware SVGA II graphics card support (Andrzej Zaborowski)
Re: screen
Monday, May 10, 2010 - 13:10 Haydn Solomonlangmandoi,
That certainly does look like it should support vmware graphics card. Maybe it was a buggy implementation. I'll have to test that snapshot version of kvm-83 to see if I get the same thing.
Please do let me know if
Thursday, May 13, 2010 - 13:22 langmandoi (not verified)Please do let me know if anything I can do to make this work.
Thank
Need 64-bit DPInst.exe
Saturday, June 5, 2010 - 14:40 Peter (not verified)Hi,
Thanks for the hard work. Is there a problem with the 64-bit iso however? When I try to autoplay it, I get a message. "You have to run the 64-bit version of DPInst.exe on this machine.
Re: 64-bit DPinst.exe
Saturday, June 5, 2010 - 16:49 Haydn SolomonPeter,
Let me look into that and provide an update.
Haydn
Re: 64-bit DPinst.exe
Sunday, June 6, 2010 - 10:14 Peter (not verified)Hi Haydn,
That would be great. I'm not much of a Windows head, but I did try downloading the Windows Driver Kit, which I suppose is what is used to create the driver iso. The WDK I downloaded didn't have a tool for creating drivers for XP x86_64, which is what I'm using. Perhaps I'm misinterpreting all this, or I could have used one of the other 64 tools, etc. It was a long shot anyway, since I don't know the tool.
Peter
(Virtual) blank screen problem in Windows XP guest
Monday, June 7, 2010 - 07:05 Christoph Patsch (not verified)Hello Haydn,
and first of all: thanks for your article, it's just what I was looking for a while.
Nevertheless, I still have the problem many other users also report when trying to use the -vga vmware option: during booting the screen stays (virtual) black. I use kubuntu 10.04.
I found this thread http://ubuntuforums.org/showthread.php?t=1170655 but setting the environment variable SVGA_REG_CONFIG_DONE=1 is no solution. Do you have any suggestion? Thanks in advance!
--
Christoph
Solved: (Virtual) blank screen problem in Windows XP guest
Monday, June 7, 2010 - 08:11 Christoph Patsch (not verified)Hi again,
I think that I have solved my problem discussed above. And it is kind of trivial: my user account in Windows XP guest-system was password protected, so I had to log into the Windows welcome screen after booting. But that was not possible due to the described (virtual) blank screen problem, so the quest system could never reach a state, where the previously installed vmware drivers could be registered.
Simple deactivating the password of my account solved the problem.
Maybe this also helps someone else.
Greetings!
--
Christoph
Re: 64-bit DPinst.exe
Monday, June 7, 2010 - 08:42 Haydn SolomonPeter,
I've updated the iso for 64-bit with the correct version of DPinst.exe so it's now listed as "vmwarevga64-kvm-2.iso" at the bottom of this post above the comments section. Please test and let me know if it works.
Re: 64-bit DPinst.exe
Monday, June 7, 2010 - 18:13 Peter (not verified)Hi Haydn,
That worked! The only problem (for my use) is that it does not have a 1920X1200 mode, or something similar. It has 1920x1440 but, of course, that cuts off the bottom of my 1920x1200 screen in full-screen mode.
Elsewhere I have a VM created under VMware 6.5.3, that has a 1904x1200 mode. Not sure whether that driver is free.
Peter
Re: 64-bit DPinst.exe
Monday, June 7, 2010 - 18:21 Haydn SolomonPeter,
Thanks for the feedback. Out of curiosity, how's it performing? Noticing any bugs? If you notice any now or in future, please drop a message in this comment section.
Thanks
Haydn
Re: 64-bit DPinst.exe
Monday, June 7, 2010 - 22:41 Peter (not verified)Hi Haydn,
It seems to perform OK, but it crashes the OS sometimes when I change modes. I was hoping it would be a bit less fuzzy than the vga monitor, but it doesn't seem to be. The driver under VMware is a bit sharper.
Peter
vmwarevga64-kvm-2.iso driver does not work in Windows 7
Monday, July 5, 2010 - 14:03 Anonymous (not verified)I tried the ISO in Windows 7 64-bit. That driver does not install. So I assume the driver is Vmware VGA II driver for XP. Windows 7 requires a WDDM driver, however. Vmware Tools has a WDDM driver. But it does not install in KVM.
The new Vmware WDDM driver has 3D/Aero support and is reported to work MUCH better than standard VGA. I can personally attest that the earlier Vmware VGA II driver worked MUCH better than standard VGA in Windows versions that support it. According to Vmware "The WDDM driver only works with harware version (HW) 7 and above." I would think that implementing Vmware v7 VGA WDDM support in kvm’s hypervisor should be fairly straightforward. So I think it would be VERY worthwhile to implement Vmware WDDM driver as an additional interim video improvement until VGA passthrough is worked out. That would be a major KVM improvement!!!
Vmware WDDM
Monday, July 5, 2010 - 14:34 Haydn SolomonInteresting, I didn't know about this driver. I'll have to read up on it.
VMWare wddm_video drivers
Monday, July 12, 2010 - 00:07 john serink (not verified)Hi All:
I just downloaded the VMware-tools-windows-4.0.0-258828.iso, mounted it and extracted the drivers. There are 2 video drivers included, video:
DiskID = "VMware Tools"
CompanyName = "VMware, Inc."
SVGA = "VMware SVGA II"
And wddm_video:
DiskID = "VMware Tools"
CompanyName = "VMware, Inc."
SVGA = "VMware SVGA 3D (Microsoft Corporation - WDDM)"
Has anyone tried this wddm driver? It 'appears" it should at least supply opengl which when used with the wined3d should give 3D accell to KVM?
Has anyone tried this?
Cheers,
john
Have gone back to the cirrus driver
Monday, July 12, 2010 - 05:13 jserinkTried the VMware driver but it screwed up my mouse pointer and it only allows 32bit colour depth, not 16bit depths possible.
Still waiting patiently for open GL support in KVM.
Here's hoping.
Cheers,
john
Have gone back to the cirrus driver 2
Sunday, July 18, 2010 - 17:08 Krasi0 (not verified)Same as with jserink, the vmware driver has screwed my mouse pointer(moving in all directions to edges of the screen). Host Ubuntu 10.04. Gues - XP SP2 x64
Post new comment