Opened 13 years ago
Last modified 3 years ago
#9639 reopened defect
v4.1.2 and previous: amplified OpenGL mouse movements
Reported by: | Selden Ball | Owned by: | |
---|---|---|---|
Component: | other | Version: | VirtualBox 4.1.2 |
Keywords: | opengl mouse celestia | Cc: | |
Guest type: | Windows | Host type: | Windows |
Description (last modified by )
Host: System -- Dell E6510: 8GB, 1.7GHz Core i7 Q720; Win7 Pro SP1 x64 Graphics -- Nvidia NVS 3100M; Forceware v270.61 Mouse -- Microsoft USB IntelliMouse Optical; IntelliPoint v8.20.409.0 VirtualBox v4.1.2
Guests: Win7 Ultimate SP1 x64 with Guest Additions installed Win8 Developer Preview x64 with NO Guest Additions installed
Symptoms:
When running the OpenGL program Celestia v1.6.1 which is available at http://sourceforge.net/projects/celestia/files/ dragging the mouse in its window with either or both mouse buttons held down seems to cause the application to receive many more mouse evemts than it should or to receive unrealistically large mouse motion values.
When the LMB is dragged, the selected object should move the same amount of distance that the mouse is dragged. Instead it "leaps off the screen"
When the RMB is dragged, the selected object should rotate smoothly. Instead it rotates by unpredictably large amounts.
When both buttons are held down simultaneously, the selected object should move at a moderate speed toward or away from the viewpoint. Instead it immediately becomes extremely close or invisibly distant.
Exactly the same symptoms are seen when running Celestia in both guests and whether or not 2D or 3D graphics acceleration is enabled.
These symptoms are not seen when running on the host.
I am attaching a zip file containing VirtualBox logs recorded while running Celestia under Win8.
Attachments (1)
Change History (3)
by , 13 years ago
Attachment: | vbox_celestia_logs.zip added |
---|
comment:1 by , 8 years ago
Description: | modified (diff) |
---|---|
Resolution: | → obsolete |
Status: | new → closed |
Please reopen if still relevant with a recent VirtualBox release.
comment:2 by , 3 years ago
Resolution: | obsolete |
---|---|
Status: | closed → reopened |
Another application which is affected by this bug is Enigma (I tested version 1.30). https://www.nongnu.org/enigma/ and https://github.com/Enigma-Game/Enigma Unlike Celestia, Enigma doesn't use OpenGL.
When Enigma is ran natively on Windows or Linux it works fine; the marble moves in the direction the mouse is moved.
However, when running a Linux build of Enigma in VirtualBox, the marble doesn't move unless I move the mouse cursor to the top left of the VirtualBox window. Enigma prints out all the relative mouse coordinates it receives which are greater than 300, e.g. "mouse event with 23729, 22850". The force applied to the marble depends on the amount of relative movement and is only applied when the relative values are less than 300. When I move the mouse to the top left corner of the VirtualBox window, the marble moves and Enigma prints, for example, "mouse event with 7, 499". Playing the game like this is difficult since the marble moves unpredictably with such high relative mouse movements. The force applied to the marble depends on the relative mouse movement. I run the game from a shared folder.
VirtualBox 6.1.30 r148432 (Qt 5.6.2)
Host: Windows 10 Home 64bit 21H2 (OS Build 19044.1415)
Guest: openSUSE Linux 15.3 64bit with guest additions.
Guest settings: Memory 8GB Processors 2 Video memory 16MB Acceleration VT-X, Nested Paging, KVM Paravirtualization 3D Acceleration is off. Shared folder: D:\Linux_home\nathan mounted at /mnt/d
Host details: CPU: Core i7 with 6 cores and 12 logical processors Video Card: GeForce GTX 1060 (6GB VRAM) and Intel UHD Graphics 630 (1GB VRAM) Memory: 16GB Hyper V: off (in Windows Features, Hyper V Management Tools and Hyper V Services are on but Hyper V Hypervisor is unchecked.)
logs of vb 4.1.2 when running Celestia