-
-
Notifications
You must be signed in to change notification settings - Fork 588
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP] Remove the old backends #207
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## next #207 +/- ##
==========================================
+ Coverage 37.39% 42.85% +5.46%
==========================================
Files 50 46 -4
Lines 11653 10091 -1562
==========================================
- Hits 4358 4325 -33
+ Misses 7295 5766 -1529
|
2338e67
to
5b5e906
Compare
Does this mean that compton will no longer be compatible with opengl 2? |
@ggroucho xrender should be preferred on old hardware. Can you elaborate why do you think xrender is not performant? Also, what is your hardware setup? |
@yshui I am using compton on an old laptop with a first gen core i5 (which is limited to opengl 2.1 unfortunately). My most demanding use case should be playing 60fps videos with firefox or mpv on an external monitor while doing something else on the laptop. |
Actually, there is also screen tearing with the old opengl backend on vNext. |
@ggroucho there is no change made to the old backend since v7 |
@yshui I can reproduce it every time, going back and forth between compton-git and compton in Arch Linux with the same config file. With compton-git, mpv is tearing when it is in full screen on one of the monitors (I have tried opengl and xv outputs). But I have no issues with v7, even with two mpv videos in full screen on both monitors. |
@ggroucho : are you sure you're using 7.0 and not 6.2? The 7.0 has been updated 13h ago in [community] |
@aruhier Yes, it did my test with 7.0. But I have managed to remove the tearing with vNext and the old opengl backend by adding mpv to the unredir-if-possible-exclude list. I will try to give xorg-server-git another go, to see if it solves my issues with the new xrender backend. |
@ggroucho modesetting driver of xorg has a bug with Intel which causes stutter in regular intervals in mpv (and possibly elsewhere). Thus xf86-video-intel should be used. Long story short for the meantime: You need to compile xorg-server-git, install it and then recompile xf86-video-intel(-git) against that newly installed xorg-server-git. This works fine for me with Gemini Lake, no tearing or stutter with new experimental xrender backend + vsync. |
@aufkrawall Thank you very much. I have tried compton-git and the latest xorg-server-git with the Intel driver (SNA, with and without TearFree) and with modesetting:
It is not bad, but I think I will stick to a version with the old opengl backend. |
@ggroucho Rendering with xrender is actually hardware accelerated in most case and should have performance on par with opengl if blurring is not used (in fact, if you use the modesetting driver, xrender is actually using opengl behind the scene through glamor). I feel bad that you are stuck with an older version of compton, OTOH compton cannot support old hardware forever. I will see what I can do with the performance of the new xrender client, hopefully one day it will be good enough for you. |
@yshui No worries. |
5b5e906
to
59e3525
Compare
b85e3d0
to
aa88d97
Compare
Just my two cents: Perhaps it wouldn't be a bad idea to wait with this until xorg 1.20.6 and xf86-video-amdgpu 19.1 are released, as they are important for new xrender backend vsync. Shouldn't take too long anymore. |
@aufkrawall don't worry. this is more a WIP. there are still features missing from the new backends (e.g. |
84a5665
to
d8ad95d
Compare
ae3e78e
to
9b88d49
Compare
9b88d49
to
aa6943e
Compare
Yay we are finally free from the shackles of the old backends! 🎉 🎉 |
Signed-off-by: Yuxuan Shui [email protected]