PDA

View Full Version : Leftover remnants appear after wake from suspend


vdoo
09-11-2018, 01:40 AM
I'm using v4.2 on Ubuntu MATE 18.04. I got DisplayLink working after applying these (https://support.displaylink.com/knowledgebase/articles/1181623-displaylink-ubuntu-driver-after-recent-x-upgrades) two (https://support.displaylink.com/knowledgebase/articles/1843660-screen-freezes-after-opening-an-application-only) workarounds. Disabling "pageflip" caused issue so I removed the line.

I have two monitors connected to my laptop. One connected via HDMI port and the other one via DisplayLink.

Whenever the laptop wake from suspend, the DisplayLink monitor would exhibit:
1. Leftover remnants when I move a window around or switch workspace.
2. Blank wallpaper.

3. No issue on mouse cursor (no trail).
4. MATE panels work fine.
5. No issue on laptop screen and HDMI monitor.

I tried re-plug, but it's still the same.

Above issues can be resolved by logout-login, but it defeats the purpose of suspend though (i.e. resume opened programs).

Edit: seems like incompatibility issue with Compiz (as other (https://askubuntu.com/questions/517339/displaylink-usb-3-0-not-working-on-ubuntu-14-04lts#comment992087_656643) also experience). The screen returns normal once I terminate compiz. Issue comes back when compiz is relaunched. To use compiz, I need to logout-login.

Edit: Found this comment (https://github.com/DisplayLink/evdi/issues/65#issuecomment-280591000), Note that Ubuntu driver ships a set of quite complex set of scripts that use udev to control the lifetime of DLM (that it only runs when a compatible device is connected), it also makes sure that DLM is aware of sleep/resume. Could be related?

Edit: Instead of logout-login, I resolve it by disable and re-enable the monitor through Displays settings (mate-display-properties).

Edit: Same issue on v4.4 in Ubuntu 18.10.