Fix screen tearing in Xfce (Intel)

Post Reply
ivanovnegro
Posts: 5
Joined: 5. Jul 2021, 22:07

Fix screen tearing in Xfce (Intel)

Post by ivanovnegro » 16. Jul 2021, 20:15

I use an old Thinkpad with Intel integrated graphics that always has problems with screen tearing while watching videos, also in the web browser as in scrolling on websites. That typically happens with Xfce's inbuilt window manager xfwm4 when you enable compositing but I want to use compositing because it actually helps in many cases to reduce screen tearing outside the video content.

In order to have some transparency effects and the compositor working without screen tearing under Xfce I added a configuration file to my system in

Code: Select all

/usr/share/X11/xorg.conf.d/


I named it 10-intel.conf and that is its content:

Code: Select all

Section "Device"
	 Identifier  "Intel Graphics"
	 Driver      "intel"
	 Option "TearFree" "true"
EndSection
Then disable the option "Synchronize drawing to vertical blank" from the window manager settings if enabled.
It works perfectly after a reboot.

Now that is a little bit hacky but it gets the job done. I know in the newest iterations they fixed that problem in Xfce or you can apply OpenGL rendering in Xfconf in my case. But here we are speaking of Slackware's Xfce 4.12. Another solution would be to use an external compositor like compton and later picom.

User avatar
Artim
Donor
Posts: 46
Joined: 9. Feb 2019, 13:21
Contact:

Re: Fix screen tearing in Xfce (Intel)

Post by Artim » 18. Jul 2021, 09:59

I find that using Compton instead fixes my issue with screen tearing. I think this old issue will be all behind us in Slackware 15.

ivanovnegro
Posts: 5
Joined: 5. Jul 2021, 22:07

Re: Fix screen tearing in Xfce (Intel)

Post by ivanovnegro » 18. Jul 2021, 17:05

Artim wrote:
18. Jul 2021, 09:59
I think this old issue will be all behind us in Slackware 15.
I think it definitely will.

Post Reply