English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 02 April 2012, 20:52   #1
raudi
 
Posts: n/a
Mouse inside a ESX VirtualMachine

Hello,

i use WinUAE in a VMware ESX virtual machine on Windows 2003 with SP2.

With the current version 2.4 and the current beta i can't select something with the mouse. When i want to click "OK" in a MUI requester, the OK button changes the color but nothing happens. At the same time the screen change field at the top right corner blinks.

Before i used the version 2.4 i used 2.2.0 with no problems.

Is there something i can change?

Greetings

Stefan
Attached Files
File Type: uae Startup.uae (13.4 KB, 183 views)
 
Old 03 April 2012, 00:05   #2
dirkies
Zone Friend
 
dirkies's Avatar
 
Join Date: Aug 2002
Location: Belgium
Age: 51
Posts: 1,296
What ESX are you using (with latest update installed)? Are the updated VMtools installed.
dirkies is offline  
Old 03 April 2012, 08:41   #3
raudi
 
Posts: n/a
ESXi 5 Update 1 and the virtual machine Hardware is Version 8.

When i'm going back to 2.2.0 all is working normal.

Stefan
 
Old 03 April 2012, 09:42   #4
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
Test with both "Windows mouse" and "raw mouse" (or whatever the name of the rawinput mouse is). "Windows mouse" should work.

Virtual machines, especially in windowed mode, usually also need winuae virtual mouse driver option checked.

Attach also winuaebootlog.txt if above does not fix it.
Toni Wilen is offline  
Old 04 April 2012, 07:53   #5
raudi
 
Posts: n/a
In Version 2.2.0 it is called RAW-Mouse in Version 2.4.1 it is called VMware pointing device. But whatever i select here it makes no difference when i use the option "install virtual mosue driver". When the "install virtual mouse driver" option is not selected the mouse moves with big steps 10 or 20 pixels with the VMware pointing device. With the Windows mouse the mouse isn't realy work, it is very slow and often moves ito the wrong direction. But the problem with the mouse click is here not present when the option "install virtual mouse driver" is not selected.

Now i found additonal infos:
- When there is a checkbox to click, this works.
- The right mouse button works normal.
- When i click the left button the pointer is going off, if i click a second time the screen switches to the next application screen. -> At a mouse click the mouse jumps to the top right corner. If i move the mouse again it will came back at the old place.
- Wen i click to a harddisk on the Workbench it will placed in the AmiDock.

Hpe this helps...
Attached Files
File Type: txt winuaebootlog.txt (8.5 KB, 157 views)
File Type: txt winuaebootlog-withoutdriver.txt (8.5 KB, 174 views)
 
Old 04 April 2012, 09:18   #6
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
Works fine in VMWare Workstation 8 (Windows 7). Windows Mouse works even without mouse driver. VMWare Pointing Device and HID compliant mouse (x2) need driver or mouse jumps around (as expected).

But there is one oddity, first HID compliant mouse has working movement but no buttons. Second HID compliant mouse works fine. (Perhaps VMWare gets confused when more than 1 mouse is available?)

Going to test VMWare + XP later.

EDIT: Open F12 GUI, select first mouse, click "Test", move mouse and click buttons to see if they match, select next mouse. Does this test also show same left button problem?

Last edited by Toni Wilen; 04 April 2012 at 09:27.
Toni Wilen is offline  
Old 05 April 2012, 04:51   #7
raudi
 
Posts: n/a
Quote:
Originally Posted by Toni Wilen View Post
EDIT: Open F12 GUI, select first mouse, click "Test", move mouse and click buttons to see if they match, select next mouse. Does this test also show same left button problem?
This test i made and it will always be reported the correct buttons...

I there something i forgotten? When i'm update from 2.2 to 2.4, must i change something inside the Amiga installation? Should i change something inside Windows?

Perhaps i use the 2.2...

Here you can see what i'm running on it: http://www.raudonis.de/amiga
 
Old 05 April 2012, 19:44   #8
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
It does not make any sense because "test" uses exact same code to read mouse (plus joysticks and keyboard).

I'd guess VM does something weird when mouse is "captured" by WinUAE. Does anything change if you also enable "magic mouse" option in WinUAE? (GamePorts panel)
Toni Wilen is offline  
Old 06 April 2012, 16:43   #9
raudi
 
Posts: n/a
Changes noting...

I tested by downloading some old versions... The 2.3.2 is the last version with a working mouse in my enviroment. In 2.3.3 the problem starts...
 
Old 06 April 2012, 17:12   #10
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
Could you test 2.3.3 betas to find last working version? (http://www.winuae.net/files/b/winuae_2330b?.zip ? = 1 to 7)
Toni Wilen is offline  
Old 06 April 2012, 20:02   #11
raudi
 
Posts: n/a
The 2.3.3.0 Beta 5 is the last working version in my enviroment...
 
Old 07 April 2012, 13:26   #12
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
Quote:
Originally Posted by raudi View Post
The 2.3.3.0 Beta 5 is the last working version in my enviroment...
Unfortunately I can't see anything in b6 that have anything to do with mouse. (Except one mouse movement fix, nothing to do with buttons)
Toni Wilen is offline  
Old 07 April 2012, 15:44   #13
raudi
 
Posts: n/a
But the mouse movement can be, because when i click, the mouse moves away to the top right corner. I can't see the pointer, when i move the mouse the pointer came back to the last place...
 
Old 07 April 2012, 16:06   #14
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
Ah, ok, Hmmm.. There is one possibility..

Does http://www.winuae.net/files/b/winuae.zip work better?
Toni Wilen is offline  
Old 12 April 2012, 21:54   #15
raudi
 
Posts: n/a
Yes, it works better! No mouse problems with this version.
 
Old 13 April 2012, 10:59   #16
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
Great!

I am not sure if this is rawinput weirdness or driver bug.

Single rawinput message includes both mouse movement values (x and y) and mouse button pressed/released bit mask. There is also a flag that tells if mouse position is using absolute (windowed virtual machine, remote desktop etc..) or relative coordinates ("normal" mouse movement)

When mouse button press comes, mouse position values are zero but absolute flag is still set which should mean "mouse is now at (0,0)", so thats what WinUAE did..

In my tests mouse values were always zero when mouse button press/release bits were set so I guess movement can be (should be?) ignored if message includes mouse button state change.

No idea if this is 100% correct, documentation of course says nothing about this situation. But it seems to work.

(It did work previously only accidentally, there was bad unrelated test that hide this special case)
Toni Wilen is offline  
Old 14 April 2012, 06:57   #17
raudi
 
Posts: n/a
What have do you decide to handle this special case?

Can you leave it like in the old and in the test version? If not, i think that in this case is the best way is to make a additional checkbox available (perhaps "use in ESX vm" or something) when selecting the "install virtual mouse driver" checkbox.

Many Thanks!
Stefan
 
Old 14 April 2012, 14:31   #18
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
I simply ignore mouse movement values in messages that also include mouse button changes. It seems mouse movement values are always zero when mouse button state changes.

In other words mouse movement and button pressed are separate messages that share same message structure.

Of course documentation does not mention this but at least I haven't noticed any problems doing it this way.
Toni Wilen is offline  
Old 04 October 2020, 14:20   #19
Raudi
Registered User
 
Join Date: Oct 2020
Location: Germany
Posts: 3
Hi,

i'm still running the 2.2.0 in my Win 2003 VM, and now i'm trying to bring all to a more current version.

But now i have again a issue with the mouse after installing WinUAE 4.4.0 in a Windows 2019 VM.

This time both mouse pointers are not in sync. With a speed of 500 both pointers have nearly the same speed, but it is difficult to click on something what is at the border of my vm.

When i enable the option "Install virtual mouse driver" the pointer is in sync but i can't click on buttons, one or two times this wokrs at the beginning but after that it stops working. Sometimes it looks that the pointer jumps to the top left corer...

In the old VM, both mouse poiters are in sync, i can see both pointers and all is working perfect...

What can i try to configure to get this working again?

Kind regards
Stefan
Raudi is offline  
Old 05 October 2020, 14:52   #20
Raudi
Registered User
 
Join Date: Oct 2020
Location: Germany
Posts: 3
Forget my question, i can't update...

On the host is a tool running which converts the ZCONNECT mail paket (from the mailbox software on the Amiga) to SMTP and sends it to my mail-server. This old DOS tool (UUZ) can't run on 64bit and there is nothing newer...

So it must be still a windows server 2003 and on this server there is no problem when still running the old WinUAE version.
Raudi is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mouse mat to lower optical mouse sensitivity? Bamiga2002 support.Hardware 7 22 March 2013 07:35
Magic mouse/virtual mouse driver issues mark_k support.WinUAE 2 04 December 2012 20:43
Can a Commodore mouse work as an Amiga mouse? Amiga1992 support.Hardware 6 11 August 2012 18:01
A4000, mouse clicks, no mouse move, no keyboard OverDose support.Hardware 4 16 March 2011 13:25
Amiga mouse moonlighting as Myarc Mouse thinlega Nostalgia & memories 1 11 April 2008 13:53

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 15:12.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.13977 seconds with 14 queries