Hi, I'm facing a problem with the mouse cursor in Ubuntu virtual machines. I am not using Virtualbox's integrated mouse mode as it is buggy on Linux machines. When my cursor is on the primary monitor, the cursor is mirrored to the second monitor. When I move my mouse to the second monitor, the mouse cursor disappears visually but is still able to interact with the machine as if it had not disappeared.
This is my first post so I am not allowed to post urls, see this screen recording for a demonstration: www streamable com/z8vwg0
I have tested this with xubuntu 20.10 and a fresh install of Linux Mint 20.2, both machines have the same issue.
My computer specs:
Virtualbox 6.1.26
Windows 10 64 bit
Intel i5-9400F
32GB Ram
GTX 750 Ti
Mouse cursor is duplicated and hidden on second screen on Ubuntu virtual machines
-
- Posts: 7
- Joined: 12. Sep 2021, 12:07
-
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Mostly XP
Re: Mouse cursor is duplicated and hidden on second screen on Ubuntu virtual machines
Please provide a VM log file. Make sure the VM is fully shut down, then right click it in the manager UI. Select "Show Log" and save "VBox.log" (no other file) to a zip file. Attach the zip here.
-
- Posts: 7
- Joined: 12. Sep 2021, 12:07
Re: Mouse cursor is duplicated and hidden on second screen on Ubuntu virtual machines
Here is the log file:
- Attachments
-
- Mint-2021-09-12-13-30-24.zip
- (35.82 KiB) Downloaded 14 times
-
- Site Moderator
- Posts: 20945
- Joined: 30. Dec 2009, 20:14
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Windows, Linux
Re: Mouse cursor is duplicated and hidden on second screen on Ubuntu virtual machines
I don't see anything wrong as such in the log. But there are a few things that can be tried, which might also fix the apparently "buggy" Mouse Integration too.
Please then turn on Mouse Integration, and let us know what happens.
This may not be the cause of the double mouse cursor, but it's not usually a good idea to throw lots of processors at a VM, unless there is heavily-multi-threaded 3rd-party software, like video transcoding, code-compiling, etc., installed in the VM. Host code has to schedule the VM's threads, and this scheduling is extra time the VM can't do anything. If this is a plain-vanilla Linux OS, try reducing processor count to 2.Host CPU status:
00:00:03.682627 CPUM: Logical host processors: 6 present, 6 max, 6 online, online mask: 000000000000003f
00:00:03.682628 CPUM: Physical host cores: 6
00:00:03.682846 Full Name: "Intel(R) Core(TM) i5-9400F CPU @ 2.90GHz"
Guest CPU settings:
00:00:02.982129 NumCPUs <integer> = 0x0000000000000006 (6)
Up-to-date Guest Additions are installed. So 3D acceleration can be enabled, and video RAM maxed out. The host has room for the extra bit of video RAM.RAM settings:
00:00:02.852550 Host RAM: 32706MB (31.9GB) total, 24238MB (23.6GB) available
00:00:02.982132 RamSize <integer> = 0x0000000400000000 (17 179 869 184, 16 384 MB, 16.0 GB)
00:00:02.982331 VRamSize <integer> = 0x0000000003200000 (52 428 800, 50 MB)
Video settings:
00:00:02.982325 3DEnabled <integer> = 0x0000000000000000 (0)
00:00:02.982329 VMSVGA3dEnabled <integer> = 0x0000000000000000 (0)
00:00:02.982330 VMSVGAEnabled <integer> = 0x0000000000000001 (1)
00:00:02.982330 VMSVGAPciBarLayout <integer> = 0x0000000000000001 (1)
00:00:02.982330 VMSVGAPciId <integer> = 0x0000000000000001 (1)
00:00:02.816528 VirtualBox VM 6.1.26 r145957 win.amd64 (Jul 28 2021 17:15:09) release log
00:00:26.389551 VMMDev: Guest Additions information report: Version 6.1.26 r145957 '6.1.26'
Please then turn on Mouse Integration, and let us know what happens.
-
- Posts: 7
- Joined: 12. Sep 2021, 12:07
Re: Mouse cursor is duplicated and hidden on second screen on Ubuntu virtual machines
I enabled 3D acceleration and turned down the number of cores to 2. The desktop environment becomes bugged and most items are displayed as a solid white color. See this screen capture: https://streamable.com/nb7kem
I don't want to use mouse integration because scrolling does not work properly, see this thread: viewtopic.php?f=6&t=103879&p=506255
With mouse integration disabled, the issue still persists and I see duplicate cursors.
I have attached the log file to this post.
I don't want to use mouse integration because scrolling does not work properly, see this thread: viewtopic.php?f=6&t=103879&p=506255
With mouse integration disabled, the issue still persists and I see duplicate cursors.
I have attached the log file to this post.
- Attachments
-
- Mint-2021-09-26-18-05-35.zip
- (33.39 KiB) Downloaded 6 times
-
- Site Moderator
- Posts: 20945
- Joined: 30. Dec 2009, 20:14
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Windows, Linux
Re: Mouse cursor is duplicated and hidden on second screen on Ubuntu virtual machines
I've seen that white-block issue recently in the forum, can't locate the link. It's been in the last few weeks though.
scottgus1 wrote:Please then turn on Mouse Integration, and let us know what happens.
While scrolling does not work, what did the mouse cursor do when you followed my directions to test MI?lylemelende wrote:I don't want to use mouse integration because scrolling does not work properly,
-
- Volunteer
- Posts: 5677
- Joined: 14. Feb 2019, 03:06
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Linux, Windows 10, ...
- Location: Germany
Re: Mouse cursor is duplicated and hidden on second screen on Ubuntu virtual machines
You'll find my concise summary in the last paragraph of Cinnamon + Mesa 21.0.3 white screen.scottgus1 wrote:I've seen that white-block issue recently in the forum, can't locate the link.
-
- Posts: 7
- Joined: 12. Sep 2021, 12:07
Re: Mouse cursor is duplicated and hidden on second screen on Ubuntu virtual machines
The mouse does not appear duplicated and behaves normally, the only issue is the ability to scroll. This can be seen in the video above before I disabled mouse integration at about 0:12.scottgus1 wrote:While scrolling does not work, what did the mouse cursor do when you followed my directions to test MI?
-
- Site Moderator
- Posts: 20945
- Joined: 30. Dec 2009, 20:14
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Windows, Linux
Re: Mouse cursor is duplicated and hidden on second screen on Ubuntu virtual machines
Awesome! Thanks, fth0, that was what I was remembering.
-
- Site Moderator
- Posts: 20945
- Joined: 30. Dec 2009, 20:14
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Windows, Linux
Re: Mouse cursor is duplicated and hidden on second screen on Ubuntu virtual machines
Good. The double mouse cursor might be coming from the double mouse driver interpretation that is discussed in your other post. How to fix that, I have absolutely no idea.lylemelende wrote:The mouse does not appear duplicated and behaves normally