Comments (24)
Can you confirm whether backend = "xrender"
works fine?
from picom.
And, if you are able to build from source and run, can you test commit 56f7dd3, and see if that works?
from picom.
Can you confirm whether
backend = "xrender"
works fine?
I get no artifacts with my config and backend = "xrender"
from picom.
And, if you are able to build from source and run, can you test commit 56f7dd3, and see if that works?
I'm sorry but I'm confused, how do you build 56f7dd3? It does not contain meson.build files.
from picom.
@jeLee6gi That commit is before the meson conversion. You build it by running make
.
from picom.
Oh ...
I ran 56f7dd3 with my original config using the glx
backend and I don't get any artifacts.
from picom.
I have some guesses. Can you record a trace of compton --config /dev/null --backend glx
use apitrace? Thanks.
from picom.
And if you can, can you record a trace of compton v2 as well? So we can compare.
from picom.
I made a mistake earlier, 56f7dd3 still has artifacts for me. I don't get flickering but windows are not redrawn. I accidentally ran it with the xrender
backend before, my bad.
Here are the logs for v2 and v3, I tried to keep them short, I hope they are long enough
compton_v2.trace.log
compton_v3.trace.log
from picom.
@jeLee6gi As long as the flickering happened when you were capturing the trace, it is good.
from picom.
I don't get flickering but windows are not redrawn.
That seems to be a different issue. I will take that as 56f7dd3 fixes the flickering, but has another bug (which is likely to have been fixed by now).
from picom.
Oh BTW, I just remembered two things.
- Have you tried enabling
TearFree
as described here: https://wiki.archlinux.org/index.php/intel_graphics#Tearing ? - Have you tried the
modesetting
driver instead ofxf86-video-intel
? (not likely to help, try only if you have time to waste).
from picom.
Looking at my xorg.conf again was a good lead, I had modified mine according to https://wiki.archlinux.org/index.php/intel_graphics#Tearing and https://wiki.archlinux.org/index.php/intel_graphics#DRI3_issues so it looked like this.
Section "Device"
Identifier "Intel Graphics"
Driver "intel"
Option "DRI" "2"
Option "TearFree" "true"
EndSection
I took out the fallback to DRI 2 and it seems like it fixes the visual glitches and redraw issues with compton v3 on my end. I do see the problems I had with DRI 3 again though, mostly redraw problems when resizing windows but they are only a minor annoyance.
from picom.
Hmmm. So you trace of v2 and v3 looks basically the same. Plus using DRI 2 instead of DRI 3 fixes the problem. I will (tentatively) call this a hardware/driver problem.
Instead of fiddling with how compton uses opengl to find a workaround, I suggest you raise this issue with intel developers, and see if they have better ideas. (And you should report the DRI 3 issue too)
I will keep this issue open in the meantime.
from picom.
I agree, it sounds like a driver problem now. Thank you for helping me debug this issue, it works for me and from my side this issue is resolved. If I learn more about this issue I will reply in this thread.
from picom.
I use integrated intel graphics too, I don't find any issue, no tearing at all.
from picom.
Integrated intel here as well, using modesetting driver instead of intel. No tearing, vsync works like a charm, also i <3 your config :)
from picom.
@osleg : any benefits of using modesettings
driver over intel
?
from picom.
from picom.
@osleg : I have hd630 but enable modesetting
driver in /etc/x11... causing much tearing than intel, and according to packages page of archlinux, latest update of xf86-video-intel is 26-Oct-2018: https://www.archlinux.org/packages/extra/x86_64/xf86-video-intel/
Don't know what to think, even upsteam stop contribute, it seems opensource project and still something relevant and work for me.
@jeLee6gi : I have to admit, your config is very good, but you may need blank_mode=0
to speed up.
@yshui : Is Lee config is similar to default? If not how to get default options list of compton?
from picom.
Yeah tearimg happens, there are some keys to fix that but tbh the only thing I use to prevent tearing is compton and it works like a charm 😉
from picom.
@jeLee6gi Hi, can you test the dri2-hack
branch, see if it works without DRI3?
from picom.
Your hack fixes the flickering under DRI2 on my end too, thanks for investigating and fixing it so quickly!
from picom.
Thank @jlindgren90 too, they helped immensely
from picom.
Related Issues (20)
- bug report HOT 1
- Freesync doesn't work after big system and Xfce update on Manjaro Testing.
- picom next (animations) crashes on startup
- Animation crops right and bottom borders HOT 1
- Picom spams sgi_video_sync_scheduler_callback with latest nvidia driver HOT 22
- Cannot disable frame blur from firefox pop-up HOT 6
- picom 9.1 - X error 8 MATCH request 139 minor 4 HOT 7
- Picom not launcing no matter what. Instead i get this error: HOT 4
- Refuse to run under wayland HOT 9
- After enabling second monitor, the new area is not rendered correctly HOT 12
- Crash when `gpg-agent` calls `pinentry-gtk-2` HOT 4
- Unable to remove polybar shadow HOT 5
- Picom causes noticeable framerate stutters HOT 2
- [feature] [RFC] universal window rules HOT 6
- `id` pattern does not work for `opacity-rule` HOT 3
- 10 bit colour depth breaks picom ? HOT 3
- High CPU usage when screen is off HOT 3
- Long-running picom causes system slowdown (high CPU usage of Xorg process) HOT 31
- Changing workspace in i3 doesn't trigger window focus animation on target workspace window HOT 2
- Slow release pace HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from picom.