Comments (16)
KWin desktop effects can be unstable with OpenGL 3.1, at least this is true for some older Intel iGPUs I'm using, and also for some older NVIDIA proprietary drivers (tho I didn't see any problems with current drivers). So at least OpenGL 2.0 should stay. Your patches could use different code paths depending on which implementation is used.
Why would KWin (and this fork) maintain compatibility for hardware that old or crappy?
I personally would just say: use another lightweight desktop environment that would be more suitable anyhow or use a still active LTS version. But again, that's just me :)
from kwin-lowlatency.
Why would KWin (and this fork) maintain compatibility for hardware that old or crappy?
I personally would just say: use another lightweight desktop environment that would be more suitable anyhow or use a still active LTS version. But again, that's just me :)
Sorry, I don't break compatibility.
from kwin-lowlatency.
KWin desktop effects can be unstable with OpenGL 3.1, at least this is true for some older Intel iGPUs I'm using, and also for some older NVIDIA proprietary drivers (tho I didn't see any problems with current drivers). So at least OpenGL 2.0 should stay. Your patches could use different code paths depending on which implementation is used.
from kwin-lowlatency.
You forgot about one thing: KWin has 2 OpenGL backends, which are OpenGL 2.0 and OpenGL 3.1. Of course the GL_ARB_sync isn't present in any of the aforementioned versions.
You're absolutely right!
I noticed that just a minute ago when installing your version of KWin :)
But... to be honest... I think it's very safe to require OpenGL 3.2 or even higher these days.
from kwin-lowlatency.
What would take more work to do either short or long term? Adding support to Kwin's backend for a newer opengl version OR supporting this fork.
The former.
from kwin-lowlatency.
Hmm, so maintaining the OpenGL 2.0 code path and upgrading the 3.1 code path to 3.3 would make sense, by retaining compatibility with old hardware and making use of required newer features ?
It would, but would take me more effort (I will do this at some point in the future).
from kwin-lowlatency.
You forgot about one thing: KWin has 2 OpenGL backends, which are OpenGL 2.0 and OpenGL 3.1. Of course the GL_ARB_sync isn't present in any of the aforementioned versions.
from kwin-lowlatency.
Are there even any drivers that support OpenGL 3.1 but not 3.3? There's Intel HD 3000 on Windows, but that's the only one I know of, and I don't think Windows is a target of Kwin ;) It's probably safe to require 3.3.
from kwin-lowlatency.
I think that 3.1 requirement was a conservative requirement in the time that Mesa drivers were just inching towards 3.0 support. That's years ago, now they fully support all of OpenGL 3.3. Even the software implementations!
I'd say that requiring 3.3 (and kicking out 2.0 and 3.1 if they become an issue) is fine.
from kwin-lowlatency.
The only issue is I think I've seen kwin default to OpenGL 2.0 -- likely not an issue for users like us -- and maybe it doesn't actually matter -- but perhaps something to note before installing if 3.3 becomes required.
from kwin-lowlatency.
Out of pure ignorant curiosity, since apparently updating the backed support would solve a bunch of issues or help solve them in a more modern, efficient(?) manner.
What would take more work to do either short or long term? Adding support to Kwin's backend for a newer opengl version OR supporting this fork.
from kwin-lowlatency.
Why would KWin (and this fork) maintain compatibility for hardware that old or crappy?
This is a very subjective answer. How can you define something as "old or crappy" if you even didn't know what it is?
I personally would just say: use another lightweight desktop environment that would be more suitable anyhow or use a still active LTS version. But again, that's just me :)
That's also not why I use Linux. If I wanted an OS that simply throws away compatibility with somewhat older hardware, I'd go for Windows or MacOS.
Also, how can you pretend that the system I am using has LTS versions? It doesn't.
The distribution itself supports my hardware just fine but drivers may have bugs, or that particular support branch of the driver just doesn't implement some fancy new graphics APIs. Why should KWin force-fully break compatibility with such drivers? If it cuts away some effects that's okay. But it shouldn't show any obscure bugs like freezes and crashes. That's why a feature-limited fall-back implementation should remain.
And just calling the NVIDIA proprietary driver crap (which from the context you probably meant) because you may be an open source activist is just punching the open source devs at NVIDIA in the face. After all, they contributed a KWin patch to finally support wayland - and BTW: Wayland is far far from feature complete in KWin - and that does say nothing about how it could be superior or not. So how to continue? Just throw away a "crappy" wayland implementation? Or better throw away a working Xorg implementation? Such arguments help no one.
Don't get me wrong: I'm not a fan of closed source drivers, too. But these drivers particularly (in contrast to many others) show a very high quality in stability and performance. And looking at projects like DXVK, NVIDIA devs are working more and more closely with open source developers to improve the driver.
from kwin-lowlatency.
And just calling the NVIDIA proprietary driver crap (which from the context you probably meant) because you may be an open source activist is just punching the open source devs at NVIDIA in the face. After all, they contributed a KWin patch to finally support wayland - and BTW: Wayland is far far from feature complete in KWin - and that does say nothing about how it could be superior or not. So how to continue? Just throw away a "crappy" wayland implementation? Or better throw away a working Xorg implementation? Such arguments help no one.
Wow, your comment really is nasty and fully out of context. You're even blaming me for things i never even said! Really, comments like that are a thorn in the eye of FOSS development. Out of context crap. Go re-read your insanity and apologize for it.
To quickly moot your arguments.
I did not say Nvidia is crap, you made that up.
I said that if you require opengl 2.0 or 3.1 that you have crappy old hardware and that you should be better off running a distro aimed for old hardware. I did not say you were running an LTS version, just that you might be better off if you did.
So cut the assumptions and spreading of fud.
But now that we're on the opengle version subject (again, that is the topic).. OpenGL 3.1 was released in 2009.
3.2 in 2009 as well
3.3 in 2010.
I really don't think there are any gpu drivers that do support 3.1, but don't support 3.3. And given that 3.3 has the potentially better glFinish alternative, it might be worth just tweaking the current 3.1 driver and require 3.3 instead.
from kwin-lowlatency.
Hmm, so maintaining the OpenGL 2.0 code path and upgrading the 3.1 code path to 3.3 would make sense, by retaining compatibility with old hardware and making use of required newer features ?
from kwin-lowlatency.
Yeah, it definitely shouldn't solely lie on your shoulders :-)
Thank you so much for your efforts.
from kwin-lowlatency.
Closing as KWin-lowlatency 5.22+ does not use glFinish anymore.
from kwin-lowlatency.
Related Issues (20)
- Readme: Manjaro Stable is now on Plasma/Kwin 5.20.3-1 HOT 1
- Sometimes, compositing suddenly off when logging in. HOT 2
- Plasma 5.21 - Is that the end of this project? HOT 19
- Packaging for Debian? HOT 1
- Failed to install from AUR: ERROR: A failure occurred in build() — Arch Linux HOT 5
- v5.20.5 not market as the latest release HOT 1
- Disabling composition for full-screen applications HOT 3
- Just opening this to say that this is still smoother/lower latency for me than 5.21 HOT 3
- Does not compile HOT 16
- kwin-lowlatency breaks Input Method Panel widget on panel HOT 36
- "Enable full-screen unredirection" settings do not follow config and do not enable Apply button HOT 1
- Crashes upon exiting unredirected application D: HOT 1
- KWin does not allow setting which monitor to synchronize with HOT 10
- Compositor crashes when "abruptly and normally" closing VLC HOT 20
- Unredirection getting temporarily disabled by invisible notifications HOT 7
- Full screening an application makes things lag on other monitor. HOT 2
- Add back xrender
- Add disable compositing button HOT 5
- Building error: KF5 not found
- Is there work being done for kwin 5.24.0? HOT 8
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 kwin-lowlatency.