You are not logged in.

#1 2017-04-14 17:45:16

gameboy9309
Member
From: United States
Registered: 2016-03-03
Posts: 52

[SOLVED] Compton and i3-gaps screen tearing

Hi, I'm using i3-gaps with compton, and everything's been fine except vsync. On XFCE, it's just fine. No screen tearing at all. But on i3, there's a ton of it. Not sure why it's like that but if anyone could help, I'd really appreciate it. My GPU is AMD Radeon HD 6480G and I'm using xf86-video-ati as the driver. Here's my compton.conf: https://pastebin.com/7209Ez3h

Thanks

Last edited by gameboy9309 (2017-04-15 04:24:56)


Don't like me? Well I can agree

Offline

#2 2017-04-14 19:09:39

onslow77
Member
Registered: 2014-09-21
Posts: 279

Re: [SOLVED] Compton and i3-gaps screen tearing

Hello!

I have three questions:
- How do you load compton when you use i3-gaps?
- Have you tried diffrent vsynch options in compton.conf?
- What happens if you load a minimum compton.conf in i3-gaps just to fix screen tearing, for example:

compton.conf

backend = "glx";
paint-on-overlay = true;
glx-no-stencil = true;
vsync = "opengl-swc";

Regards
Martin

Last edited by onslow77 (2017-04-14 19:16:43)


It is advised to follow the How to post guide when posting on the Arch forum. If one consciously jumps over these elementary steps like reading the wiki and providing necessary information about the problem, one can be regarded as a Help Vampire.

Offline

#3 2017-04-14 19:19:22

gameboy9309
Member
From: United States
Registered: 2016-03-03
Posts: 52

Re: [SOLVED] Compton and i3-gaps screen tearing

Hi!

1. compton --backend glx --vsync opengl-swc

2. Yes. All of them.

3. Does the exact same thing. D:


Don't like me? Well I can agree

Offline

#4 2017-04-14 20:30:03

onslow77
Member
Registered: 2014-09-21
Posts: 279

Re: [SOLVED] Compton and i3-gaps screen tearing

gameboy9309 wrote:

Hi!

1. compton --backend glx --vsync opengl-swc

Do you meen that you use the above at the commandline? If so, you do not use your "compton.conf" file. I suggest you put a line in your  ".xinitrc" instead, like this:

compton --config ~/.config/compton.conf -b

Regards
Martin


It is advised to follow the How to post guide when posting on the Arch forum. If one consciously jumps over these elementary steps like reading the wiki and providing necessary information about the problem, one can be regarded as a Help Vampire.

Offline

#5 2017-04-14 20:47:32

gameboy9309
Member
From: United States
Registered: 2016-03-03
Posts: 52

Re: [SOLVED] Compton and i3-gaps screen tearing

I put it in my i3 config to autostart.


Don't like me? Well I can agree

Offline

#6 2017-04-14 21:23:26

onslow77
Member
Registered: 2014-09-21
Posts: 279

Re: [SOLVED] Compton and i3-gaps screen tearing

gameboy9309 wrote:

I put it in my i3 config to autostart.

Ok, that is fine according to Arch I3 wiki. But (correct me if I am wrong) you are not using your "compton.conf" file since you are not referring to it. This line: "compton --backend glx --vsync opengl-swc" only tells compton to run with the "backend glx and vsync opengl-swc" options

Try to use the ".xinitrc" method instead with a minimal "compton.conf" like I described in post 2 and 4 and see if it makes a difference.

Update: Remember to reboot your X session so that your changes are picked up!

Regards
Martin

Last edited by onslow77 (2017-04-15 03:37:29)


It is advised to follow the How to post guide when posting on the Arch forum. If one consciously jumps over these elementary steps like reading the wiki and providing necessary information about the problem, one can be regarded as a Help Vampire.

Offline

#7 2017-04-14 23:23:36

gameboy9309
Member
From: United States
Registered: 2016-03-03
Posts: 52

Re: [SOLVED] Compton and i3-gaps screen tearing

I'll get back to you when I get to my PC. Thanks for the help so far.


Don't like me? Well I can agree

Offline

#8 2017-04-15 04:00:41

gameboy9309
Member
From: United States
Registered: 2016-03-03
Posts: 52

Re: [SOLVED] Compton and i3-gaps screen tearing

onslow77 wrote:
gameboy9309 wrote:

I put it in my i3 config to autostart.

Ok, that is fine according to Arch I3 wiki. But (correct me if I am wrong) you are not using your "compton.conf" file since you are not referring to it. This line: "compton --backend glx --vsync opengl-swc" only tells compton to run with the "backend glx and vsync opengl-swc" options

Try to use the ".xinitrc" method instead with a minimal "compton.conf" like I described in post 2 and 4 and see if it makes a difference.

Update: Remember to reboot your X session so that your changes are picked up!

Regards
Martin

I did everything you said to do except the xinitrc part. Xinitrc won't run since I have a login manager. So I ran it in my i3 config if that's fine. Still does the same thing. Tearing.

EDIT: TL;DR basically I was stupid and disabled hardware acceleration a while back on Chromium. So basically only the browser had tearing. Thanks so much for helping though. Appreciate it! big_smile

Last edited by gameboy9309 (2017-04-15 04:22:57)


Don't like me? Well I can agree

Offline

Board footer

Powered by FluxBB