Hello,
I tried to use the multiple monitor feature on a Ubuntu host and a Windows 10 guest. Unfortunally, this do not work if I switch on 3d acceleration. Generally, 3d acceleration works fine. It just kills the multi monitor feature.
Visiting the mksSandbox.log, it looks like the offset of the 2nd screen is not correctly calculated and always set to 0. This results in both screen being located above each other.
If should look like this:
2023-09-20T10:57:54.518Z In(05) svga SWBScreen: Screen 1 Defined: xywh(0, 0, 3440, 1440) flags=0x0
2023-09-20T11:01:40.015Z In(05) svga SWBScreen: Screen 2 Defined: xywh(-1920, 0, 1920, 1080) flags=0x0
2023-09-20T11:01:40.114Z In(05) mks SWBWindow: Number of MKSWindows changed: 2 rendering MKSWindow(s) of total 2.
2023-09-20T11:01:40.114Z In(05) mks SWBWindow: Window 1 Defined: src screenId=2, src xywh(0, 0, 1920, 1080) dest xywh(0, 0, 1920, 1080) pixelScale=1, flags=0xF
2023-09-20T11:01:41.287Z In(05) mks SWBWindow: Number of MKSWindows changed: 1 rendering MKSWindow(s) of total 2.
Here is the failed output:
2023-09-20T11:01:41.292Z In(05) svga SWBScreen: Screen 1 Defined: xywh(1920, 0, 3440, 1440) flags=0x0
2023-09-20T11:01:41.292Z In(05) svga SWBScreen: Screen 2 Defined: xywh(0, 0, 1920, 1080) flags=0x0
2023-09-20T11:01:41.298Z In(05) mks SWBWindow: Number of MKSWindows changed: 2 rendering MKSWindow(s) of total 2.
2023-09-20T11:01:41.321Z In(05) mks SWBWindow: Number of MKSWindows changed: 3 rendering MKSWindow(s) of total 3.
2023-09-20T11:01:41.321Z In(05) mks SWBWindow: Window 2 Defined: src screenId=2, src xywh(0, 0, 1920, 1080) dest xywh(0, 0, 1920, 1080) pixelScale=1, flags=0xF
2023-09-20T11:01:46.454Z In(05) mks SWBWindow: Number of MKSWindows changed: 2 rendering MKSWindow(s) of total 3.
2023-09-20T11:02:13.216Z In(05) mks SWBWindow: Number of MKSWindows changed: 3 rendering MKSWindow(s) of total 3.
2023-09-20T11:02:16.267Z In(05) mks SWBWindow: Number of MKSWindows changed: 2 rendering MKSWindow(s) of total 3.
2023-09-20T11:03:07.079Z In(05) mks SWBWindow: Number of MKSWindows changed: 3 rendering MKSWindow(s) of total 3.
2023-09-20T11:03:10.356Z In(05) mks SWBWindow: Number of MKSWindows changed: 2 rendering MKSWindow(s) of total 3.
2023-09-20T11:03:10.358Z In(05) svga SWBScreen: Screen 2 Destroyed: xywh(0, 0, 1920, 1080) flags=0x0
2023-09-20T11:03:10.466Z In(05) svga SWBScreen: Screen 1 Destroyed: xywh(1920, 0, 3440, 1440) flags=0x0
Does anyone have a suggestion what I am doing wrong?
Regards
Sebastian
Graphicscard: Nvidia P2000 + Intel UHD 630 (does not matter if I use intel or nvidia)
VMware Workstation Player 17.0.2 build-21581411
Host: Ubuntu 22.04 x64 (with latest updates)
Nvidia Driver: 535.86.05-0ubuntu0.22.04.1