Mouse freezes under Linux

Started by Radiant, Tue 12/09/2023 21:19:11

Previous topic - Next topic

Radiant

Trying to run an AGS game from Linux, I find that the mouse cursor freezes (for the entire system). The game still responds to mouse clicks and to keyboard commands, but for the entire Linux system the mouse is frozen in the middle of the screen until I quit AGS.

This is Ubuntu 22.04.2 LTS on a virtual machine. It happens with both AGS 3.3 and with 3.6, leading me to think it's probably a driver issue or a faulty install of Allegro or something. Still, does this look familiar to anyone? Suggestions are welcome, thank you for your time!

eri0o

I can't reproduce this, can you tell me which virtual machine (Virtual Box, WSL2+Win11, VMWare...) you are using and which host system?

Radiant

It's VMware Workstation 7 running under Windows 11.

I've tested this with both Heroine's Quest and Cedric Shooter ( https://brocantygames.itch.io/cedric-shooter ).
The startup logs on stdout tell me this about the mouse:
Mouse control: on, base: 1,000000, speed: 1,000000

morganw

I'm fairly sure that there were previous issues which were specific to the VMware mouse integration, although this was when AGS was using Allegro.

Do you have an option to disable the VMware mouse integration and just lock the mouse input to the VM window?

Radiant

Quote from: morganw on Fri 15/09/2023 10:21:11Do you have an option to disable the VMware mouse integration and just lock the mouse input to the VM window?

Thank you for the tip. Googling it suggests to edit %APPDATA%\VMware\preferences.ini and add the lines
Code: ags
pref.motionGrab = "FALSE"
pref.motionUngrab = "FALSE"

And that works; problem solved!

SMF spam blocked by CleanTalk