vmware / open-vm-tools

Official repository of VMware open-vm-tools project
http://sourceforge.net/projects/open-vm-tools/
2.27k stars 427 forks source link

Multi monitor layout show only single window with scroll bars and mouse pointer location is offset #741

Open mortenvf opened 1 month ago

mortenvf commented 1 month ago

Describe the bug

Since the last update of VMware tools on Ubuntu, expanding on multiple physical monitors has not worked as expected. Instead of displaying over multiple monitors, only one window is displayed with the multi screen contents side by side and with scroll bars. Also, the mouse pointer location in the guest VM is offset relative to the host mouse pointer, making it impossible to navigate the guest UI. Returning to single monitor does not resolve the problem and a guest OS reboot is required to reset monitors to a usable state.

VMware Workstation Pro: 16.2.3 Host: Windows 11 Guest: Ubuntu 22.04 WMware tools: 12.3.5.46049 (build-22544099) Monitor setup (left to right): Monitor 1: 19201200; Monitor 2: 12001920; Monitor 3: 1920*1200

Reproduction steps

  1. Enter full screen mode
  2. Select any multi monitor layout

Expected behavior

Display guest OS across multiple monitors. Mouse pointer location aligned between host and guest.

Additional context

No response

mortenvf commented 1 month ago

Screenshot with scroll bars

vmwkruti1111 commented 1 month ago

Thanks for reporting this, would file an internal PR to track this issue. Could you please also provide

Since the last update of VMware tools on Ubuntu, expanding on multiple physical monitors has not worked as expected.

What was the version before update when it worked ?

mortenvf commented 1 month ago

Here are logs from testing with Ubuntu 24 and open-vm-tools 12.4.5. The issue is the same with these versions.

vmware.log mksSandbox.log

mortenvf commented 1 month ago

Based on the time line for open-vm-tools in Ubuntu 22.04 repository, the version I must have upgraded from was open-vm-tools 12.1.5.

mortenvf commented 1 month ago

Found very similar issue posted elsewhere: https://community.broadcom.com/vmware-cloud-foundation/question/ubuntu-22044-guest-multi-monitor-layout-results-in-scroll-bars

vmwkruti1111 commented 1 month ago

Reported this issue internally, please see the latest comment from the MKS Team at https://community.broadcom.com/vmware-cloud-foundation/question/ubuntu-22044-guest-multi-monitor-layout-results-in-scroll-bars for ubuntu 22 and the fix got ported to ubuntu 24.04 yesterday only (https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/noble/log/drivers/gpu/drm/vmwgfx?h=master-next) .

mortenvf commented 1 month ago

The suggested workaround (lock and unlock guest OS screen) does not work for me on Ubuntu 22. I does, however, seem to work on Ubuntu 24.