VMware Communities
ijhunter
Contributor
Contributor

Display issues in Windows 10 guest after returning from sleep mode in Ubuntu 18.10 host

Hello,

This display bug is hard to replicate, but I'm running a Windows 10 guest with Ubuntu 18.10 host. After I return the laptop from sleep mode a couple of issues will often occur.

First, the gnome lock screen doesn't activate and I am free to continue using both the guest and host system without my password - this almost always happens when the virtual machine is in full screen mode.

Secondly, Windows itself will produce a whirlwind of display issues including missing borders around the windows, missing buttons in programs, etc. It looks like the graphics driver is not properly redrawing everything. I either have to manually restart Windows Explorer or restart Windows completely. Here is a screenshot of one of the problems (but sometimes it looks worse with tearing and missing icons):

Capture.PNG

Here's another screenshot that looks worse with the windows settings app open after sleep (without Windows being full screen):

Screenshot from 2019-01-17 23-12-08.png

My system specs are:

  • Workstation Player 15.0.2 build-10952284
  • Ubuntu 18.10 (Gnome 3.30.1, stock settings from the install)
  • Kernel 4.18.0-13-generic
  • Using X (Wayland doesn't seem to work with VMware)
  • Dell Latitude 5591 with i7 8850H and Nvidia GeForce MX 130 graphics
  • 16 GB RAM
  • 1080p touchscreen display
  • Windows 10 is using 1809 and has 2 CPU cores, 4 GB RAM, and 1 GB of graphics with 3D acceleration enabled.

Thanks,

Ian

Reply
0 Kudos
4 Replies
bluefirestorm
Champion
Champion

Don't have anything to add about the first issue (Gnome lock).

But for the second issue (screen rendering), when this happens what is the active graphics adapter? Is it the Intel HD630 integrated into the CPU or the Nvidia MX-130.

For a Linux host, with 3D accelerated graphics enabled, OpenGL 4.x would be used.

On a Windows host, if I switch to use the Intel HD 530 on the Windows host using OpenGL (instead of the default DX11), incomplete screen rendering is the result similar to your second sreenshot.

So you might want to make the MX130 the default (if at all possible) regardless whether the host is using battery power or plugged in.

Reply
0 Kudos
wila
Immortal
Immortal

Hi,

Are you passing through the battery status to the guest?

--

Wil

| Author of Vimalin. The virtual machine Backup app for VMware Fusion, VMware Workstation and Player |
| More info at vimalin.com | Twitter @wilva
Reply
0 Kudos
ijhunter
Contributor
Contributor

bluefirestormwila

Thanks for your replies. I'm logging into gnome using my nVidia card, but I don't know for sure if vmware if using it. I never really liked how laptops will have these dual cards: unlike desktops where you physically plug your monitor into the card.

I'm not passing the battery status through.

-Ian

Reply
0 Kudos
ijhunter
Contributor
Contributor

I will add, the best workaround for the moment is to save/suspend the VM state to disk before shutting my laptop screen, then I can resume it later without problem. I just have to train myself to remember to do this. It is faster than I thought since I have an SSD, perhaps later I can upgrade to an M.2 drive which might make it even faster.

-Ian

Reply
0 Kudos