On Saturday, 07-12-2024 at 05:35 Dominique Dumont wrote:
> On Monday, 2 December 2024 04:56:09 CET Timothy M Butterworth wrote:
> > Were you using a Wayland session or an X11 session?
> > 
> > Wayland
> 
> On my side, kde6 with wayland does not work in a VirtualBox VM.
> 
> I had to switch to X11

Dominique,

Thanks for your comment. 

What GPU does the computer running the virtual machine use?  That is, what 
brand and model is the video card on the computer running Virtual Box?

What version of VirtualBox are you using?

I found a comment on the internet that suggests VirtualBox 7.1 under debian12 
does not support 3D acceleration.  

$ vboxmanage modifyvm deb-cube --accelerate3d on
VBoxManage: error: The graphics controller does not support the given feature

As I use KVM, I am able to run KDE with Wayland on my computers which have AMD 
Radeon graphics cards, when enabling OpenGL support (Requires 'Listen type' to 
be set to None')

Has anyone had success with getting Mice to work correctly for 3D games run in 
VMs?

I installed Minecraft into a Debian Testing, KDE Wayland, VM and ran Minecraft, 
Minecraft runs, however the mouse did not work correctly, when in a game world, 
I could not use (move around with) the mouse inside the Minecraft World 
correctly.  When I tested X11, the mouse behaved differently but not correctly 
in X11 either.

After adding a second mouse to my PC, (a logitech USB Wireless mouse and 
keyboard), in Virt-Manager, I selected "Redirect USB device" and selected 
"Logitech USB receiver". Then the logitech USB Wireless mouse worked normally 
within the Minecraft game World, allowing me to move around normally. However 
the logitech USB Wireless mouse did not operate correctly in the KDE 
environment, and I had to use the PC's (normally used) mouse in KDE, to start 
the Minecraft Launcher and to select the Minecraft 'Play' button, and to select 
between "Singleplayer" and "Multiplayer" options to join the Minecraft World. 
Once in the World, it was only the logitech USB Wireless mouse which worked 
normally. My PC is not too powerful so while this worked, it is not something I 
want to do for "gaming", lol. 

I also tried TuxRacer. The USB redirected logitech USB Wireless mouse worked 
well for selecting options within the game. However the mouse is not required 
for playing this game, so it was not much of a test for mice functionality. 

I find this strange behaviour which I cannot easily explain.


Via Virt-Manager I tried to 'Remove' the virtual mouse , e.g. <input 
type="mouse" bus="ps2"/> but this option is greyed out, so I was not able to do 
so. I was hoping if I removed KVM's virtual mouse, the USB redirected mouse 
would work better. I what what others have tried and maybe succeeded in doing?




George.




> 
> HTH
> 
> 
> 
> 
> 
> 

Reply via email to