From: Andrew Walrond Subject: Re: Missing mouse clicks running windows XP Date: Sun, 22 Apr 2007 12:21:40 +0100 Message-ID: <200704221221.40543.andrew@walrond.org> References: <200704221110.33294.andrew@walrond.org> <462B3811.80202@qumranet.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Return-path: In-Reply-To: <462B3811.80202-atKUWr5tajBWk0Htik3J/w@public.gmane.org> Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org On Sunday 22 April 2007 11:25:21 Avi Kivity wrote: > Andrew Walrond wrote: > > On all kvm versions I have tried (16 - 19) running windows XP, with the > > XP window having captured the mouse, I have to make my mouse clicks slow > > and deliberate else XP does notice them. It makes double clicks > > especially hard. > > > > I am running Kubuntu Feisty 64bit on a core 2 duo dell laptop, and the > > external kvm modules. > > > > Hope that's useful. Let me know if I can provide further information. > > What's your host cpu type? vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz stepping : 6 The cpu frequency control is set to Dynamic, and both cores seems to run at half speed (1GHz) most of the time, incase that makes a difference. > > Are you running as root or as a regular user? As root. Here is the little script I use to start VMs: #!/bin/sh sudo modprobe kvm-intel sudo bash -c 'echo 1024 > /proc/sys/dev/rtc/max-user-freq' sudo qemu-system-x86_64 -m 512 -daemonize -hda $1 > > Does time flow normally in the guest (watch the Windows clock) > After a couple of hours uptime, the kubuntu/XP clocks match exactly. (Well, exactly 1 hour out, but I guess thats because I'm on BST which is being propagated to the VM as the hardware clock time; A minor issue for another day) > What's the kernel version? What's CONFIG_HZ set to? Latest Feisty kernel but using kvm-19 modules No idea about CONFIG_HZ. The Kubuntu kernel doesn't seem to expose the .config in /proc. Any other way I can find out? $ uname -a Linux andrew-xps 2.6.20-15-generic #2 SMP Sun Apr 15 06:17:24 UTC 2007 x86_64 GNU/Linux > > If you run the guest with 'taskset 1', does the problem go away? (e.g. > taskset 1 qemu ...) > Modified my script above to do sudo taskset 1 qemu-system-x86_64 -m 512 -daemonize -hda $1 but no improvement I'm afraid > If you run with -no-kvm, does the problem go away? No, still there. > Anything in dmesg? Ah... A load of these [ 3949.793179] rtc: lost some interrupts at 1024Hz. [ 3949.813162] rtc: lost some interrupts at 1024Hz. [ 3949.833150] rtc: lost some interrupts at 1024Hz. [ 3949.853139] rtc: lost some interrupts at 1024Hz. [ 3949.873130] rtc: lost some interrupts at 1024Hz. [ 3949.893117] rtc: lost some interrupts at 1024Hz. [ 3949.913108] rtc: lost some interrupts at 1024Hz. Which I guess might just be the problem? I only added the sudo bash -c 'echo 1024 > /proc/sys/dev/rtc/max-user-freq' line to my script because qemu-system-x86_64 told me to. Should I try removing it? Andrew Walrond ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/