! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Tear-free compositing stops working with secondary monitor
Status:
RESOLVED: MOVED

Comments

Description Marcos Mello 2017-11-06 10:57:50 CET
I run xfwm4-git (g80453816, XPresent and Epoxy enabled, aee8b25 reverted because bug 13954), Intel GM45, Xorg modesetting driver. With only my laptop's primary screen active tear-free compositing is great (thanks for XPresent/OpenGL support!). But when I plug a secondary monitor (VGA or HDMI), I get horrible tearing on both screens.

How can I debug this?
Comment 1 Andre Miranda editbugs 2017-11-06 15:55:27 CET
I'm also experiencing tearing in both monitors after switching from xf86-video-intel to modesetting.
While using the intel driver, from time to time the active window was blinking, now that glitch is gone but tearing is back, it was minimal and only affected the secondary monitor.
As described by Marcos, it only occurs when the secondary monitor is active, when just the primary is in use I get no tearing.

Specs:
Arch Linux 64-bit
xfwm4 4.13.0 (rev a46bb00, from AUR)
Build configuration and supported features:
- Startup notification support:          Yes
- XSync support:                               Yes
- Render support:                              Yes
- Xrandr support:                               Yes
- Xpresent support:                           No
- Embedded compositor:                  Yes
- Epoxy support:                               Yes
- KDE systray proxy (deprecated):   No
Comment 2 Marcos Mello 2017-11-07 10:26:51 CET
I have XPresent enabled here on Arch. You need libxpresent from AUR (https://aur.archlinux.org/packages/libxpresent).

This is xfwm4 version 4.13.0git.80453816 (revision 80453816) for Xfce 4.12
Released under the terms of the GNU General Public License.
Compiled against GTK+-2.24.31, using GTK+-2.24.31.

Build configuration and supported features:
- Startup notification support:                 Yes
- XSync support:                                Yes
- Render support:                               Yes
- Xrandr support:                               Yes
- Xpresent support:                             Yes
- Embedded compositor:                          Yes
- Epoxy support:                                Yes
- KDE systray proxy (deprecated):               No
Comment 3 Andre Miranda editbugs 2017-11-08 18:09:03 CET
I was able to build with XPresent but it made no difference.
Comment 4 Olivier Fourdan editbugs 2017-11-16 09:15:41 CET
Could be an issue with the modesettings driver as well.
Comment 5 pcdoc2000 2018-05-15 23:34:41 CEST
I'm having the same issue with two monitors and screen tearing.

System: Xubuntu 16.04/18.04 with an Nvidia GeForce card

	This is xfwm4 version 4.12.3 (revision 7fdcb53) for Xfce 4.12
	Released under the terms of the GNU General Public License.
	Compiled against GTK+-2.24.30, using GTK+-2.24.30.

	Build configuration and supported features:
	- Startup notification support:                 Yes
	- XSync support:                                Yes
	- Render support:                               Yes
	- Xrandr support:                               Yes
	- Embedded compositor:                          Yes
	- KDE systray proxy (deprecated):               No

I tried a couple of things mainly related to settings on the nvidia driver, but none of them worked with both screens active.
Comment 6 Git Bot editbugs 2020-05-29 12:18:25 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/xfwm4/-/issues/273.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #13977

Reported by:
Marcos Mello
Reported on: 2017-11-06
Last modified on: 2020-05-29

People

Assignee:
Olivier Fourdan
CC List:
2 users

Version

Version:
unspecified

Attachments

Additional information