KVM - The Linux Kernel-Based Virtual Machine
News, Blogs and Resources on the Linux (KVM) Kernel-Based Virtual Machine

WIndows 7 Pro x64 VMWare Display driver

9 replies [Last post]
jserink
Offline
Joined: Sep 10 2009
Points: 43

Hi All:

I have followed all sorts of instructions on how to install the WDDM driver for WIndows 7 x64 and it just does not work. The is a yellow exclamation mark over it device manager (it shows a windows atop error)and the display is substandard.
Here is how I call qemu-kvm:
export SDL_VIDEO_X11_DGAMOUSE=0
export QEMU_AUDIO_DRV=alsa
qemu-kvm -boot c -hda /home/jserink/VMs/Win_7_Pro.img -cdrom /home/jserink/CDs/windows.iso -m 6291 -smp 2 -usb -net nic,vlan=0,model=virtio,macaddr=52:54:00:00:EE:07 -net vde -localtime -no-quit -vga vmware -name Win7 -monitor telnet:127.0.0.1:12997,server,nowait,ipv4 &
/home/jserink/qemu/qgt-2005-03-02-19/host-linux 192.168.100.1 > /dev/null 2>&1 &

Because the WDDM driver does not appear to work, I'm using this instead:
export SDL_VIDEO_X11_DGAMOUSE=0
export QEMU_AUDIO_DRV=alsa
qemu-kvm -boot c -hda /home/jserink/VMs/Win_7_Pro.img -cdrom /home/jserink/CDs/virtio-win-0.1-15.iso -m 6291 -smp 2 -usb -net nic,vlan=0,model=virtio,macaddr=52:54:00:00:EE:07 -net vde -localtime -no-quit -vga std -name Win7 -monitor telnet:127.0.0.1:12997,server,nowait,ipv4 &
/home/jserink/qemu/qgt-2005-03-02-19/host-linux 192.168.100.1 > /dev/null 2>&1 &

The video is OK but Acad is slightly sluggish so I'd like to improve things.
Would be great if I could get the WDDM driver working.

Cheers,
John

jserink
Offline
Joined: Sep 10 2009
Points: 43
Additional details

Here is the error:
Windows has stopped this device because it has reported problems. (Code 43)

Here is the driver:

Name VMware SVGA 3D (Microsoft Corporation - WDDM)
PNP Device ID PCI\VEN_15AD&DEV_0405&SUBSYS_040515AD&REV_00\3&13C0B0C5&0&10
Adapter Type Not Available, VMware, Inc. compatible
Adapter Description VMware SVGA 3D (Microsoft Corporation - WDDM)
Adapter RAM Not Available
Installed Drivers vm3dum64.dll,vm3dum,vm3dgl64.dll,vm3dgl
Driver Version 7.14.1.1134
INF File oem27.inf (VM3D_AMD64 section)
Color Planes Not Available
Color Table Entries Not Available
Resolution Not Available
Bits/Pixel Not Available
I/O Port 0x0000C050-0x0000C05F
Memory Address 0xFD000000-0xFDFFFFFF
Memory Address 0xFE000000-0xFE00FFFF
Driver c:\windows\system32\drivers\vm3dmp.sys (7.14.1.1134, 135.11 KB (138,352 bytes), 1/17/2012 3:28 PM)

Cheers,
John

jserink
Offline
Joined: Sep 10 2009
Points: 43
More info....

According to this:
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd...

you need to be on VMWare HW 7 to use this driver to solve the exact same problem that I am having under qemu-kvm. This leads to the conclusion that it must be qemu-kvm related.

I'm checking google on this.

Cheers,
john

jserink
Offline
Joined: Sep 10 2009
Points: 43
Update

Hi All:

Unmasked qemu-kvm-9999 which is gentoo speak for the nightly git sources, am running this now:
jserink@jserinki7 ~/qemu/vde $ qemu-kvm --version
QEMU emulator version 1.0.50 (qemu-kvm-devel), Copyright (c) 2003-2008 Fabrice Bellard

Same problem, no improvement.

Cheers,
john

Graham Anderson (not verified)
The vmware SVGA II driver

The vmware SVGA II driver works well but you'll need to edit the vmx_svga.inf to install the driver on windows 7. The following procedure works for Windows 7 pro 64bit running on qemu-kvm with seabios 1.7.

Follow the instructions for downloading and extracting the .iso image with drivers from the following blog post:

http://www.blah-blah.ch/it/general/kvm-and-windows-vms/

Note the section at the bottom that shows how to extract the files from the installer rather than running the installer itself (which will fail because you are not running on a vmware virtual machine)

Once you have extracted the drivers from the installer, navigate to the location of the SVGA II driver e.g.

c:\vmvga\Program Files\VMware\VMware Tools\VMware\Drivers\video_xpdm

Now you'll need to edit the driver .inf (vmx_svga.inf) otherwise attempting to install the driver will claim it doesn't support windows 7

Open the file in notepad and copy the entries from the windows vista 64 bit section and paste them into the windows 7 64 bit section underneath.

Save the file then install the driver via the windows device manager, make sure you point the folder chooser at the exact location of the SVGA II driver, if you point it at a folder above and allow the installer to recurse through the folder tree it will choose the WDDM driver instead, and that doesnt work on KVM.

Hope this helps ;)

jserink
Offline
Joined: Sep 10 2009
Points: 43
video_xpdm

Hi Graham:

Followed your advice and it did install, thanx for that. But I got two issues:
1. I get this error on the console from where I called qemu, "vmsvga_value_read: Bad register 2b",
2. The mouse has gone crazy. Its all over the place such that the session is unusable.

Here is my calling script:
export QEMU_AUDIO_DRV=alsa
qemu-kvm -boot c -hda /home/jserink/VMs/Win_7_Pro.img -cdrom /home/jserink/CDs/vmwarevga64-kvm-2.iso -m 6291 -smp 2 -usb -net nic,vlan=0,model=virtio,macaddr=52:54:00:00:EE:07 -net vde -rtc base=localtime -no-quit -vga vmware -name Win7 -monitor telnet:127.0.0.1:12997,server,nowait,ipv4 &
/home/jserink/qemu/qgt-2005-03-02-19/host-linux 192.168.100.1 > /dev/null 2>&1 &
#/home/jserink/qemu/shareclip-linux-12/ShareClip > /dev/null 2>&1 &

I removed the line "export SDL_VIDEO_X11_DGAMOUSE=0" to try and fix the mouse issue but didn't improve things.

Any pointers?

Cheers,
john

jserink
Offline
Joined: Sep 10 2009
Points: 43
WORKING!!!

Hi All:

Got it working. Just needed to install the VMWare mouse driver which is in the same general area of the files tree as the video driver.

One MAJOR difference with the VMware mouse driver and the VMWare SVGA II display is that mouse movement is no seamless, I don't need to do cntrl-alt to jump our of the VM anymore.

Will update you on Acad performance.

Thanx a bunch Graham.

Cheers,
John

jserink
Offline
Joined: Sep 10 2009
Points: 43
Preliminary Evaluation VMWare SVGA II windows 7 guest

Hi All:

Ok, so far the performance is patchy. There are some display bugs when autocad 13 is up such as:
-Save as dialogs do not fill in until after focus is rotated through other windows,
-While Acad is open, certain messages opened in outlook cannot get the mouse pointer,

I don't have any of these issues using -vga std but will contiue to fiddle with it and see how it goes.

There is my platform:
qemu-kvm --version
QEMU emulator version 1.2.1 (qemu-kvm-1.2.0), Copyright (c) 2003-2008 Fabrice Bellard

My calling script:
jserink@jserinki7 ~/qemu/vde $ cat startWin7kvmtap-7a.sh
export SDL_VIDEO_X11_DGAMOUSE=0
export QEMU_AUDIO_DRV=alsa
qemu-kvm -boot c -hda /home/jserink/VMs/Win_7_Pro.img -cdrom /home/jserink/CDs/vmwarevga64-kvm-2.iso -m 6291 -smp 2 -usb -net nic,vlan=0,model=virtio,macaddr=52:54:00:00:EE:07 -net vde -rtc base=localtime -no-quit -vga vmware -name Win7 -monitor telnet:127.0.0.1:12997,server,nowait,ipv4 &
/home/jserink/qemu/qgt-2005-03-02-19/host-linux 192.168.100.1 > /dev/null 2>&1 &

jserink
Offline
Joined: Sep 10 2009
Points: 43
Update

Hi All;

Ok, its official, the VMWare SVGA II windows 7 64 bit display driver blows chunks. the mouse cursor disappears in most of the dialog boxes inside outlook and ACad....so that is that since its those two apps I run my VM for. Switching back to vga -std fixes the issues.

i am staying with the mouse driver however, its great not having to cntrl-alt everytime I want to move the mouse outside the VM window.

Cheers,
john

Fred Bloggs (not verified)
You can use straight

You can use straight "-usbdevice tablet" after your -usb on the command line and get all the benefits of grabless mousing without the vmware driver.

Post new comment

The content of this field is kept private and will not be shown publicly.
Type the characters you see in this picture. (verify using audio)
Type the characters you see in the picture above; if you can't read them, submit the form and a new image will be generated. Not case sensitive.