#644 closed defect (fixed)
VirtualBox randomly causes mouse to jump to top left corner permanently in Ubuntu Gutsy host, XP VM
Reported by: | Neil Cawse | Owned by: | |
---|---|---|---|
Component: | other | Version: | VirtualBox 1.5.0 |
Keywords: | Cc: | ||
Guest type: | other | Host type: | other |
Description
Also applies to 1.4.0. While working in an XP virtual machine, occasionally the mouse "jumps" position by a couple of inches. Every now and then, the mouse seems to jump into a state that it cannot recover. It moves to the top left corner of the screen and is trapped there. The mouse button still works but you cannot move it off that position. This occurs both for the built in trackpad and any external mouse. Restarting X fixes the problem. I suspect there may be an issue with Gutsy or my drivers causing the jump but VirtualBox should not trap the mouse that way. I can provide further data if needs be xorg.conf or anything.
Attachments (1)
Change History (21)
comment:1 by , 17 years ago
comment:3 by , 17 years ago
I meet the issue too, on Archlinux , kernel 2.6.22.6, xorg 1.4.0.90, virtualbox 1.5.2
comment:4 by , 17 years ago
Did I understand correctly that the mouse gets stuck in the top left-hand corner of the host display? And that it stays there even after exiting VirtualBox? Does this also occur with Guest Additions installed?
comment:5 by , 17 years ago
Thats correct. It failed in the host. Guest additions were installed. Only thing that corrected problem was restarting X. Never happened without VirtualBox running.
comment:6 by , 17 years ago
I meet the issue too, on Ubuntu , kernel 2.6.24.2, (xorg-server 2:1.4.1~git20071212-1ubuntu2), virtualbox 1.5.4
comment:7 by , 17 years ago
Please could you check if this problem appears when you disable virtualization hardware support (VT-x/SVM) in the VM settings as well?
comment:8 by , 17 years ago
Im not having any problems with my current config - old config is gone - so I cant recreate. I remember clearly trying it both ways and it failed..
follow-up: 10 comment:9 by , 17 years ago
I have exact same problem on Kernel 2.6.23-gentoo-r3, VirtualBox 1.5.4 with guest additions installed.
It seems the problem occurs when VT-x is enabled. Though,I have only spent short amount of time to test this. Please let me know if there is any further information or tests that may help to track down this problem.
comment:10 by , 17 years ago
Correction to my previous post:
VirtualBox version is 1.5.2.
I have not met this issue with OSE. However, I can't say anything for sure since it occurs randomly (but quite often).
comment:11 by , 17 years ago
Everyone who is posting additional comments here: Please attach your VBox.log file and please check if this happens with disabled VT-x / SVM!
by , 17 years ago
Attachment: | VBox.log.VTon added |
---|
VT-x enabled, from start up virtual machine till mouse locks up.
comment:12 by , 17 years ago
Replying to frank:
Here's my result..
binary edition 1.5.4
1, VT-x enabled => Happened (See attached 'VBox.log.VTon')
2, VT-x enabled, nohz=off => Happened
3, VT-x disabled => Not happned
open source edition 1.5.4
1, VT-x enabled => Not happned.
Machine: Thinkpad X61 (C2D T7500)
Kernel: 2.6.23-gentoo-r3 (NO_HZ [y])
Note that I only tested twice in each, about an hour total.
comment:13 by , 17 years ago
Fixed it für my gentoo box.
You have to disable virtualiziaion in kernel, and if possible activate virtualiziaion in bios.
MfG Matze
comment:14 by , 17 years ago
Well, I started having this problem some time ago, but was too busy to debug it. Now that I have found this bug, and the problem starting to get more reproducible (several times a day) I did some tests. I even happens when VirtualBox is running in the background and I am moving some windows around or scrolling.
As a start I switched back to 1.5.6_OSE, and installed latest guest addons. However the problem persists.
My relevant kernel config:
$ uname -a Linux jr 2.6.24.0-K01_C2D_laptop #1 SMP Thu Jan 31 12:43:26 JST 2008 i686 Intel(R) Core(TM)2 Duo CPU T7100 @ 1.80GHz GenuineIntel GNU/Linux
$ zcat /proc/config.gz| egrep "VIRTUALIZATION|NO_HZ" CONFIG_NO_HZ=y CONFIG_VIRTUALIZATION=y
VT-x is enabled in BIOS.
So, I can say as long as VT-x is enabled for the virtual machine and is compiled in the kerel the bug is present in both OSE and closed source of 1.5.6.
I turned off the VT-x, will see how it behaves now.
follow-up: 17 comment:15 by , 17 years ago
The same problem occurs for me on my Lenovo R60 (VT-X enabled in BIOS).
I'm running Virtualbox 1.5.6 binary edition on an actual ArchLinux installation. My relevant kernel config:
$ uname -a
Linux myhost 2.6.24-ARCH #1 SMP PREEMPT Sun Mar 30 11:40:06 CEST 2008 i686 Intel(R) Core(TM)2 CPU T5600 @ 1.83GHz GenuineIntel GNU/Linux
$ zcat /proc/config.gz| egrep "VIRTUALIZATION|NO_HZ"
CONFIG_NO_HZ=y CONFIG_VIRTUALIZATION=y
I've tried to disable NO_HZ via the kernel parameter nohz=off (also in combination highres=off), but that didn't work.
In the config.gz from ArchLinux there are also the following options set:
CONFIG_PARAVIRT=y CONFIG_PARAVIRT_GUEST=y
Might that cause the problems?
comment:16 by , 17 years ago
Well, after about two weeks of testing I can conclude that turning off VT-x for the guest solves the problem. I am running 1.5.6_OSE at the moment, but I guess non-OSE will behave the same.
Apart from that I seem to be experiencing more hangs/crashes in certain apps (e.g. Lotus Notes) inside the WinXP guest, but it is very hard to measure or reproduce.
comment:17 by , 17 years ago
Replying to abouillet:
Tested it this evening with VT-X disabled in Virtualbox and the problem appeared again!
So in summary my tests:
binary edition 1.5.6
1, VT-X enabled in Virtualbox: Happened
- VT-X enabled in Virtualbox: nohz=off: Happend
- VT-X disabled in Virtualbox: Happend[[BR]]
So I had no success so far to run Virtualbox stable on my computer!
comment:19 by , 17 years ago
I faced the same problem in 1.5.7/6/0 , whatever the VT-X is on or off. After I upgrade it to 1.6, the problem disappeared, at least until now.
comment:20 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Thank you for this report. I will close this defect as 'solved', reopen if necessary.
I experience the same problem on Gentoo, with app-emulation/virtualbox-bin-1.5.2. In my X server logfile I can see the message
'Synaptics DeviceOff called'
two times right after the mouse freezes in the top-left corner of the screen. The same, if I restart X, everything works fine for a while. I can still use the mouse pointer with the help of the numeric keypad (option enabled in the KDE Config Center). I have experienced this behavior more while being in "Seamless Integration", "Full Screen" or "Maximize Window" than in a regular window smaller than the desktop.The behavior is for the Synaptics Touchpad and extends to the USB mouse plugged in (of course, when I have the USB mouse plugged in).
My setup is:
The relevant part of xorg.conf is:
This problem doesn't appear with other VM software, or other software whatsoever, except while using these setting in xorg.conf:
or when I omit: