Welcome!
Important information
-- Spectre and Meltdown vulnerabilities
-- Change in MX sources

News
-- MX Linux on social media: here
-- Mepis support still here

Current releases
-- MX-17.1 Final release info here
-- antiX-17 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

Remove screen tearing using Compton

Report Bugs, Issues and non- pacakage Requests
Message
Author
User avatar
DaGama
Forum Novice
Forum  Novice
Posts: 4
Joined: Sun Mar 19, 2017 5:52 am

Remove screen tearing using Compton

#1 Post by DaGama » Sun Mar 19, 2017 6:10 am

The Compton tool developed by the MX team is great. But still I noticed some screen tearing after enabling it.

The solution I found was to start Compton, not using the setting provided by the mentioned tool, but using this command instead:
Set to autostart:

Code: Select all

compton --backend glx --paint-on-overlay --vsync opengl-swc
This removes all screen tearing in video and scrolling.

Would you consider applying this in the future?

Thank you very much.

PS: I use a Mobility Radeon HD3650 with open source drivers

Zoleeka88
Forum Novice
Forum  Novice
Posts: 38
Joined: Tue Feb 21, 2017 7:47 pm

Re: Remove screen tearing using Compton

#2 Post by Zoleeka88 » Sun Mar 19, 2017 8:32 am

Hi everyone! It worked like a charm for me too! No screen tearing at all :)

colin_b
Forum Regular
Forum Regular
Posts: 138
Joined: Sun Mar 19, 2017 7:21 pm

Re: Remove screen tearing using Compton

#3 Post by colin_b » Mon Mar 20, 2017 12:53 am

Hurrah! My biggest gripe with Linux has been solved!

It works with my GeForce card.

Video tearing all but gone.

Please make this a standard startup for Compton, it works a treat.

User avatar
Jerry3904
Forum Veteran
Forum Veteran
Posts: 21615
Joined: Wed Jul 19, 2006 6:13 am

Re: Remove screen tearing using Compton

#4 Post by Jerry3904 » Mon Mar 20, 2017 5:25 am

DaGama wrote:The Compton tool developed by the MX team is great. But still I noticed some screen tearing after enabling it.

The solution I found was to start Compton, not using the setting provided by the mentioned tool, but using this command instead:
Set to autostart:

Code: Select all

compton --backend glx --paint-on-overlay --vsync opengl-swc
This removes all screen tearing in video and scrolling.

Would you consider applying this in the future?

Thank you very much.

PS: I use a Mobility Radeon HD3650 with open source drivers
Thanks very much for chasing this down and posting it here. We will certainly take a careful look at it.
Production: 4.15.0-1-amd64, MX-17.1, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 8 GB, Kingston SSD 120 GB and WesternDigital 1TB
Testing: AAO 722: 4.15.0-1-386. MX-17.1, AMD C-60 APU, 4 GB

colin_b
Forum Regular
Forum Regular
Posts: 138
Joined: Sun Mar 19, 2017 7:21 pm

Re: Remove screen tearing using Compton

#5 Post by colin_b » Fri Apr 14, 2017 10:32 pm

I have got a humble spec PC - Intel Celeron G1610T 2.3GHz, GeForce GT 710 2GB DDR3 (Nouveau drivers), 8GB RAM.

The above Compton settings worked fine for removing video tearing but I still had some stutter when playing videos on YouTube etc.

I am a born tinkerer, so I decided to explore and test some of Compton's numerous settings, most are shown at https://github.com/chjj/compton/wiki/perf-guide.

After many attempts I have come up with a setup which totally eliminates tearing and drastically reduces video stutter. As a suggestion, would it be possible to give the Compton manager the option of 3 startup modes which can be set with something like checkboxes.

1) Default - Basic Compton startup (should work on all machines)
2) Faster - compton --backend glx --paint-on-overlay --vsync opengl-swc (should work on most machines)
3) Fastest - compton --backend glx --unredir-if-possible --glx-no-stencil --glx-no-rebind-pixmap --glx-swap-method buffer-age --vsync opengl-swc (might need a reasonably modern video card)

User avatar
dolphin_oracle
Forum Veteran
Forum Veteran
Posts: 8467
Joined: Sun Dec 16, 2007 1:17 pm

Re: Remove screen tearing using Compton

#6 Post by dolphin_oracle » Fri Apr 14, 2017 11:18 pm

colin_b wrote:I have got a humble spec PC - Intel Celeron G1610T 2.3GHz, GeForce GT 710 2GB DDR3 (Nouveau drivers), 8GB RAM.

The above Compton settings worked fine for removing video tearing but I still had some stutter when playing videos on YouTube etc.

I am a born tinkerer, so I decided to explore and test some of Compton's numerous settings, most are shown at https://github.com/chjj/compton/wiki/perf-guide.

After many attempts I have come up with a setup which totally eliminates tearing and drastically reduces video stutter. As a suggestion, would it be possible to give the Compton manager the option of 3 startup modes which can be set with something like checkboxes.

1) Default - Basic Compton startup (should work on all machines)
2) Faster - compton --backend glx --paint-on-overlay --vsync opengl-swc (should work on most machines)
3) Fastest - compton --backend glx --unredir-if-possible --glx-no-stencil --glx-no-rebind-pixmap --glx-swap-method buffer-age --vsync opengl-swc (might need a reasonably modern video card)
thank you for the research! i'll take a look. i'll post bck any questions.
http://www.youtube.com/runwiththedolphin
eeepc 904ha antix 17 32 bit (streaming media player)
lenovo ThinkPad T530 - MX-17
lenovo s21e - antiX-17, MX17(live-usb)

Kestrel
Forum Novice
Forum  Novice
Posts: 55
Joined: Sat Sep 23, 2017 8:52 pm

Re: Remove screen tearing using Compton

#7 Post by Kestrel » Thu Sep 28, 2017 2:10 am

This has fixed my screen tearing intel duo e8600 cpu with integrated graphics. Using the old debian jessie package (I downgraded due to program crashes - seperate issue) but pretty sure it would work on the latest ones in the repository too. Excellent and simple fix.

I read the next version of xfce will have tearing fixed by default.
Dell Inspiron 530 Desktop
160gb HDD
8gb DDR2 RAM @ 800mhz
Intel® Core™2 Duo Processor E8600 (6M Cache, 3.33 GHz, 1333 MHz FSB)
Integrated Intel Graphics (no GPU installed)
MX-16.1 64-bit (4.9.0 kernel)

Clidix
Forum Novice
Forum  Novice
Posts: 15
Joined: Sun Jan 07, 2018 3:09 pm

Re: Remove screen tearing using Compton

#8 Post by Clidix » Tue Jan 09, 2018 9:25 am

DaGama wrote:The Compton tool developed by the MX team is great. But still I noticed some screen tearing after enabling it.

The solution I found was to start Compton, not using the setting provided by the mentioned tool, but using this command instead:
Set to autostart:

Code: Select all

compton --backend glx --paint-on-overlay --vsync opengl-swc
This removes all screen tearing in video and scrolling.

Would you consider applying this in the future?

Thank you very much.

PS: I use a Mobility Radeon HD3650 with open source drivers
Hi!

Thank you for your solution, it's worked for me on MX17.
I edited the compton.conf file with this paramertes, and now everything is fine, there isn't screen tearing!

Thank you again!

Accron
Forum Novice
Forum  Novice
Posts: 5
Joined: Sat Jan 27, 2018 9:50 am

Re: Remove screen tearing using Compton

#9 Post by Accron » Sat Jan 27, 2018 10:08 am

Just registered to say that the solution suggested by OP (DaGama) worked for me as well on MX17, on two different computers:
- Intel i3 4030U, Intel HD Graphics 4400, open source drivers
- AMD C60, Radeon HD 6290, open source drivers

I also added the command to autostart, as OP did, and it has worked perfectly.

Thank you for the best distro I have used since I started with Linux 10 years ago!

User avatar
stroudmw
Forum Novice
Forum  Novice
Posts: 39
Joined: Fri Jun 23, 2017 2:13 am

Re: Remove screen tearing using Compton

#10 Post by stroudmw » Thu Feb 01, 2018 9:20 am

Thanks so much for posting this! It worked for me too! :number1:

Post Reply

Return to “Bugs and Non-Package Requests Forum”