Dual monitor desktop background buffer not clearing

Hello Team,

I have a certain issue regarding desktop wallpapers that only seems to occur when maximizing a window such as Steam on my leftmost, secondary monitor. I have a hunch that something thinks the desktop wallpaper should be invisible or covered up, so it's not drawing the image.

Anyway, video clip below and steps to repro:

  1. Have two monitors. In my instance, on a fresh install and the login screen, my rightmost monitor is assumed to be leftmost.
  2. Open Displays, swap their positions. Primary on right, secondary on left.
  3. Maximize window on leftmost monitor.
  4. Intermittently, issue will occur on primary monitor: apparent by dragging windows or seeing window drop shadows turn into a solid square of black. Desktop wallpaper fails to draw, leaving ghost images.
  5. Restore maximized window on left. Dragging a window over ghosted space often 'fixes' it, allowing the wallpaper to be redrawn under it.

Video:

I haven't been able to recreate the issue when using either a solid colour or a gradient as a background. It only seems to happen with images, so far.

RX 580, R5 2600, Ubuntu Mate 20.04 and 21.04 tested.

Things I have tried to hopefully narrow things down, with the issue still persisting:

  1. Purging both Kisak-mesa and Fresh-mate PPAs, reverting to the distro-standard ones.
  2. Setting refresh rates of both monitors to matching rates.
  3. Switching Primary monitor's Freesync option on and off, via monitor buttons and rebooting.
  4. Switching between Marco (no comp) and Marco (Adaptive comp).

Hopefully someone more knowledgeable than I has an idea of where to go from here. I really enjoy using this desktop, and this is the only snag I've hit with it. I'd rather help and keep enjoying it.

Cheers,
James

Coming back to note that this issue was caused by turning off desktop icons in MATE Tweak. Turning desktop icons back on resolved the issue in all instances.

Hope that helps anyone who encounters the same issue.

2 Likes

This is more work around but is there any information that I added to get his bug fix?
I got new LG 32GN63T G SYNC monitor and it happens on it.
System Status:

Summary
Processor Intel(R) Core(TM) i7-3520M CPU @ 2.90GHz
Memory 7834MB (5784MB used)
Operating System Ubuntu 22.04.1 LTS
User Name Neo (laptop)
Date/Time Wed 28 Dec 2022 08:10:47 AM
Display
Resolution 2560x1440 pixels
OpenGL Renderer NVS 5400M/PCIe/SSE2
X11 Vendor The X.Org Foundation
Audio Devices
Audio Adapter HDA-Intel - HDA Intel PCH
Audio Adapter HDA-Intel - HDA NVidia
Audio Adapter USB-Audio - Logitech H570e Mono
Input Devices
Lid Switch
Sleep Button
Power Button
AT Translated Set 2 keyboard
Video Bus
Video Bus
TPPS/2 IBM TrackPoint
Logitech Inc Logitech H570e Mono Consumer Control
Logitech Inc Logitech H570e Mono
Logitech ERGO M575
Logitech M215 2nd Gen
Logitech K360
ThinkPad Extra Buttons
HDA NVidia HDMI/DP,pcm:3
HDA NVidia HDMI/DP,pcm:7
HDA NVidia HDMI/DP,pcm:8
HDA NVidia HDMI/DP,pcm:9
HDA Intel PCH Mic
HDA Intel PCH Dock Mic
HDA Intel PCH Headphone
HDA Intel PCH Dock Headphone
Logitech Logitech RumblePad 2 USB
Printers (CUPS)
HP_ENVY_4520_series_50ADB9
SCSI Disks
ATA ST320LT020-9YG14
HL-DT-ST DVDRAM GT50N
Operating System
Version
Kernel Linux 5.15.0-56-generic (x86_64)
Version #62-Ubuntu SMP Tue Nov 22 19:54:14 UTC 2022
C Library GNU C Library / (Ubuntu GLIBC 2.35-0ubuntu3.1) 2.35
Distribution Ubuntu 22.04.1 LTS