* Missing mouse clicks running windows XP
@ 2007-04-22 10:10 Andrew Walrond
[not found] ` <200704221110.33294.andrew-2/QedQ4M3FBAfugRpC6u6w@public.gmane.org>
0 siblings, 1 reply; 11+ messages in thread
From: Andrew Walrond @ 2007-04-22 10:10 UTC (permalink / raw)
To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
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.
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/
^ permalink raw reply [flat|nested] 11+ messages in thread[parent not found: <200704221110.33294.andrew-2/QedQ4M3FBAfugRpC6u6w@public.gmane.org>]
* Re: Missing mouse clicks running windows XP [not found] ` <200704221110.33294.andrew-2/QedQ4M3FBAfugRpC6u6w@public.gmane.org> @ 2007-04-22 10:25 ` Avi Kivity [not found] ` <462B3811.80202-atKUWr5tajBWk0Htik3J/w@public.gmane.org> 2007-04-22 10:37 ` Carsten Emde 1 sibling, 1 reply; 11+ messages in thread From: Avi Kivity @ 2007-04-22 10:25 UTC (permalink / raw) To: Andrew Walrond; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f 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? Are you running as root or as a regular user? Does time flow normally in the guest (watch the Windows clock) What's the kernel version? What's CONFIG_HZ set to? If you run the guest with 'taskset 1', does the problem go away? (e.g. taskset 1 qemu ...) If you run with -no-kvm, does the problem go away? Anything in dmesg? -- error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- 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/ ^ permalink raw reply [flat|nested] 11+ messages in thread
[parent not found: <462B3811.80202-atKUWr5tajBWk0Htik3J/w@public.gmane.org>]
* Re: Missing mouse clicks running windows XP [not found] ` <462B3811.80202-atKUWr5tajBWk0Htik3J/w@public.gmane.org> @ 2007-04-22 11:21 ` Andrew Walrond [not found] ` <200704221221.40543.andrew-2/QedQ4M3FBAfugRpC6u6w@public.gmane.org> 2007-04-22 11:37 ` Andrew Walrond 2007-04-22 11:46 ` Andrew Walrond 2 siblings, 1 reply; 11+ messages in thread From: Andrew Walrond @ 2007-04-22 11:21 UTC (permalink / raw) To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f 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/ ^ permalink raw reply [flat|nested] 11+ messages in thread
[parent not found: <200704221221.40543.andrew-2/QedQ4M3FBAfugRpC6u6w@public.gmane.org>]
* Re: Missing mouse clicks running windows XP [not found] ` <200704221221.40543.andrew-2/QedQ4M3FBAfugRpC6u6w@public.gmane.org> @ 2007-04-22 13:46 ` Avi Kivity 2007-04-22 15:12 ` Jon 1 sibling, 0 replies; 11+ messages in thread From: Avi Kivity @ 2007-04-22 13:46 UTC (permalink / raw) To: Andrew Walrond; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f Andrew Walrond wrote: > >> 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. > Okay, this is 2.4 in the FAQ: 2.4. I get "rtc interrupts lost" messages, and the guest is very slow? Try setting CONFIG_HPET_EMULATE_RTC=y in your host .config. Perhaps your config is in /boot (as Fedora does). If not perhaps some Ubuntu maintainer can comment? -- error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- 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/ ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Missing mouse clicks running windows XP [not found] ` <200704221221.40543.andrew-2/QedQ4M3FBAfugRpC6u6w@public.gmane.org> 2007-04-22 13:46 ` Avi Kivity @ 2007-04-22 15:12 ` Jon 1 sibling, 0 replies; 11+ messages in thread From: Jon @ 2007-04-22 15:12 UTC (permalink / raw) To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f On Sun, Apr 22, 2007 at 12:21:40PM +0100, Andrew Walrond wrote: > 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? grep CONFIG_HZ /boot/config-`uname -r` > [ 3949.793179] rtc: lost some interrupts at 1024Hz. I get these when rtc is compiled as a module. Compiling it 'into' the kernel gets rid of the messages. For what it's worth, I also get the occasional missed mouse click, but only very rarely with kvm. The situation is far worse with qemu where the GUI redrawing/painting is much slower in my experience. ------------------------------------------------------------------------- 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/ ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Missing mouse clicks running windows XP [not found] ` <462B3811.80202-atKUWr5tajBWk0Htik3J/w@public.gmane.org> 2007-04-22 11:21 ` Andrew Walrond @ 2007-04-22 11:37 ` Andrew Walrond 2007-04-22 11:46 ` Andrew Walrond 2 siblings, 0 replies; 11+ messages in thread From: Andrew Walrond @ 2007-04-22 11:37 UTC (permalink / raw) To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f Interestingly, I still get the lost interrupts messages if I leave the max-user-freq at the bootup default of 64. Running XP under kvm fresh after a reboot: $ cat /proc/sys/dev/rtc/max-user-freq 64 $ dmesg | tail -n 3 [ 362.567318] rtc: lost some interrupts at 1024Hz. [ 362.569987] rtc: lost some interrupts at 1024Hz. [ 362.574685] rtc: lost some interrupts at 1024Hz. $ The messages are definitely down to the kvm session; they don't appear until I start the XP vm. 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/ ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Missing mouse clicks running windows XP [not found] ` <462B3811.80202-atKUWr5tajBWk0Htik3J/w@public.gmane.org> 2007-04-22 11:21 ` Andrew Walrond 2007-04-22 11:37 ` Andrew Walrond @ 2007-04-22 11:46 ` Andrew Walrond 2 siblings, 0 replies; 11+ messages in thread From: Andrew Walrond @ 2007-04-22 11:46 UTC (permalink / raw) To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f On Sunday 22 April 2007 11:25:21 Avi Kivity wrote: > > Anything in dmesg? Ok, so running as root allows qemu to ignore /proc/sys/dev/rtc/max-user-freq and increase the frequency to 1024Hz anyway. Running as a user means I get this message from qemu again: Could not configure '/dev/rtc' to have a 1024 Hz timer. This is not a fatal error, but for better emulation accuracy either use a 2.6 host Linux kernel or type 'echo 1024 > /proc/sys/dev/rtc/max-user-freq' as root. which is itself a bit confusing, since its says _either_ run a 2.6 kernel (which I obviously am) _or_ increase the max user frequency. But anyway, even running as a user at 64Hz the mouse click problem remains. 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/ ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Missing mouse clicks running windows XP [not found] ` <200704221110.33294.andrew-2/QedQ4M3FBAfugRpC6u6w@public.gmane.org> 2007-04-22 10:25 ` Avi Kivity @ 2007-04-22 10:37 ` Carsten Emde [not found] ` <462B3AFF.9050701-Q945KHDl0DbYtjvyW6yDsg@public.gmane.org> 1 sibling, 1 reply; 11+ messages in thread From: Carsten Emde @ 2007-04-22 10:37 UTC (permalink / raw) To: Andrew Walrond; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f Andrew, > 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 had the same problem, it went away immediately after I changed the setting of the Windows XP "hardware" explicitly to "Standard PC" as explained here http://sourceforge.net/mailarchive/forum.php?thread_name=87veg1ybb0.fsf%40grogan.peloton&forum_name=kvm-devel Essentially you have to follow: My Computer -> Properties -> Hardware -> Device Manager -> [Whatever's under Computer, unless it's "Standard PC"] -> Properties -> Update Driver -> Not at this time -> Next -> Install from a list -> Next -> Don't search -> Next -> Standard PC -> Next --cbe ------------------------------------------------------------------------- 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/ ^ permalink raw reply [flat|nested] 11+ messages in thread
[parent not found: <462B3AFF.9050701-Q945KHDl0DbYtjvyW6yDsg@public.gmane.org>]
* Re: Missing mouse clicks running windows XP [not found] ` <462B3AFF.9050701-Q945KHDl0DbYtjvyW6yDsg@public.gmane.org> @ 2007-04-22 10:40 ` Avi Kivity [not found] ` <462B3BA0.8060703-atKUWr5tajBWk0Htik3J/w@public.gmane.org> 0 siblings, 1 reply; 11+ messages in thread From: Avi Kivity @ 2007-04-22 10:40 UTC (permalink / raw) To: Carsten Emde; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f Carsten Emde wrote: > Andrew, > >> 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 had the same problem, it went away immediately after I changed the > setting of the Windows XP "hardware" explicitly to "Standard PC" as > explained here > http://sourceforge.net/mailarchive/forum.php?thread_name=87veg1ybb0.fsf%40grogan.peloton&forum_name=kvm-devel > > Essentially you have to follow: > My Computer -> Properties -> Hardware -> Device Manager -> [Whatever's > under > Computer, unless it's "Standard PC"] -> Properties -> Update Driver -> > Not at this time -> Next -> Install > from a list -> Next -> Don't search -> Next -> Standard PC -> Next > > This means our apic implementation is broken. -- error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- 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/ ^ permalink raw reply [flat|nested] 11+ messages in thread
[parent not found: <462B3BA0.8060703-atKUWr5tajBWk0Htik3J/w@public.gmane.org>]
* Re: Missing mouse clicks running windows XP [not found] ` <462B3BA0.8060703-atKUWr5tajBWk0Htik3J/w@public.gmane.org> @ 2007-04-22 10:56 ` Andrew Walrond [not found] ` <200704221156.04846.andrew-2/QedQ4M3FBAfugRpC6u6w@public.gmane.org> 0 siblings, 1 reply; 11+ messages in thread From: Andrew Walrond @ 2007-04-22 10:56 UTC (permalink / raw) To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f On Sunday 22 April 2007 11:40:32 Avi Kivity wrote: > Carsten Emde wrote: > > Andrew, > > > >> 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 had the same problem, it went away immediately after I changed the > > setting of the Windows XP "hardware" explicitly to "Standard PC" as > > explained here > > http://sourceforge.net/mailarchive/forum.php?thread_name=87veg1ybb0.fsf%4 > >0grogan.peloton&forum_name=kvm-devel > > Thanks Carsten, but I have already set the computer to "Standard PC", so this does not resolve the mouse problem for me. > > This means our apic implementation is broken. 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/ ^ permalink raw reply [flat|nested] 11+ messages in thread
[parent not found: <200704221156.04846.andrew-2/QedQ4M3FBAfugRpC6u6w@public.gmane.org>]
* Re: Missing mouse clicks running windows XP [not found] ` <200704221156.04846.andrew-2/QedQ4M3FBAfugRpC6u6w@public.gmane.org> @ 2007-04-22 12:05 ` Carsten Emde 0 siblings, 0 replies; 11+ messages in thread From: Carsten Emde @ 2007-04-22 12:05 UTC (permalink / raw) To: Andrew Walrond; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f Andrew Walrond wrote: > On Sunday 22 April 2007 11:40:32 Avi Kivity wrote: >> Carsten Emde wrote: >>> Andrew, >>>> 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 had the same problem, it went away immediately after I changed the >>> setting of the Windows XP "hardware" explicitly to "Standard PC" as >>> explained here >>> http://sourceforge.net/mailarchive/forum.php?thread_name=87veg1ybb0.fsf%4 >>> 0grogan.peloton&forum_name=kvm-devel > Thanks Carsten, but I have already set the computer to "Standard PC", so this > does not resolve the mouse problem for me. Hmm, the way you describe the problem sounds absolutely identical to the problem I had here, and setting the computer to "Standard PC" solved it like magic. Sorry for the false hope... You probably need to go back to Avi's "questionnaire" - I will then compare your settings with the settings of the system that runs okay here. --cbe ------------------------------------------------------------------------- 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/ ^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2007-04-22 15:12 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-22 10:10 Missing mouse clicks running windows XP Andrew Walrond
[not found] ` <200704221110.33294.andrew-2/QedQ4M3FBAfugRpC6u6w@public.gmane.org>
2007-04-22 10:25 ` Avi Kivity
[not found] ` <462B3811.80202-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-04-22 11:21 ` Andrew Walrond
[not found] ` <200704221221.40543.andrew-2/QedQ4M3FBAfugRpC6u6w@public.gmane.org>
2007-04-22 13:46 ` Avi Kivity
2007-04-22 15:12 ` Jon
2007-04-22 11:37 ` Andrew Walrond
2007-04-22 11:46 ` Andrew Walrond
2007-04-22 10:37 ` Carsten Emde
[not found] ` <462B3AFF.9050701-Q945KHDl0DbYtjvyW6yDsg@public.gmane.org>
2007-04-22 10:40 ` Avi Kivity
[not found] ` <462B3BA0.8060703-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-04-22 10:56 ` Andrew Walrond
[not found] ` <200704221156.04846.andrew-2/QedQ4M3FBAfugRpC6u6w@public.gmane.org>
2007-04-22 12:05 ` Carsten Emde
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox