Just want to add some additional details, because I have two systems with different hardware but the same software (window-manager, DE, ...) and not using i3 as a WM. On one screen sharing works, on the other it is broken (black screen, with red border).
I tried to run 'rect-overlay' directly via rect-overlay -p 0x0 -s 100x100
and on the notebook it works fine, and on the desktop machine I get a black screen with a 100x100 red bordered rectangle.
On both systems I currently run an up-to-date Debian Unstable with KDE/Plasma with a X-server and the package is retrieved via apt: 'deb [trusted=yes] https://packages.microsoft.com/repos/ms-teams stable main'
me debian version and 'similar' packages installed, where screensharing/overlay-rect is working (Lenovo X1 Carbon 2nd gen: Intel CPU, Intel graphics, X-Server, KDE/Plasma).
Summary of the setup where screensharing stopped working:
- Hardware
- CPU: AMD Ryzen Threadripper 1920X 12-Core Processor
- Mainboard: MSI X399 Gaming Pro Carbon AC
- Graphics-Card: MSI Radeon RX 560 Aero ITX OC 4GB
- Single monitor setup (1920x1200)
- Sofware versions
- QT-Version: 5.14.2
- KDE Plasma: 5.17.5
- X-Server: X.org 7.7
- Kernel: 5.7.6
- GPU-Module: amdgpu 19.1.0 (open-source version)
In contrast the Notebook where screen sharing is working:
- Hardware
- CPU: Intel(R) Core(TM) i7-3667U
- GPU: Integrated Graphics: Intel HD 4000
- Lenovo Thinkpad X1 Carbon 2nd Gen (2012)
- Notebook monitor only (1600x900)
- Software versions
- SW-Versions are the same as on the system with the bug, except the graphics module
- GPU-Module: i915/intel 2.99.917
Feel free to reach out for further information