Bug 426261 - Compositing OpenGL is rediculously out of date
Summary: Compositing OpenGL is rediculously out of date
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: compositing (other bugs)
Version First Reported In: 5.19.5
Platform: openSUSE Linux
: NOR critical
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-06 19:45 UTC by Roman
Modified: 2020-10-07 04:33 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Must be supported OpenGL version by KWin compositor (101.87 KB, image/png)
2020-09-06 19:45 UTC, Roman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roman 2020-09-06 19:45:58 UTC
Created attachment 131455 [details]
Must be supported OpenGL version by KWin compositor

SUMMARY


STEPS TO REPRODUCE
1. Install kde.
2. Open Display => Compositing.
3. Max supported version of OpenGL is 3.1 which is dated 2009!!!! It's disgustingly lagging, slow etc.

OBSERVED RESULT


EXPECTED RESULT
OpenGL 4.6

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: latest opensuse and latest kde
(available in About System)
KDE Plasma Version: latest
KDE Frameworks Version: latest
Qt Version: 5.15

ADDITIONAL INFORMATION

Please, please finally rework and update compositor!! It's disgustingly slow, uses over 10 years old legacy OpenGL 3.1, while must support 4.6. All drivers support 4.6 out of the box, but KDE does nothing to update compositor's OpenGL support. It's not modern, but very old school slow as hell compositing. Please release update to support OpenGL 4.6.

Thank you very much!
Comment 1 Roman 2020-09-06 20:19:29 UTC
In general OpenGL versions supported as selectable use too legacy and slow technologies not using the latest technologies resulting on simple things loading CPU up to 100% per core, while GPU remains almost idle (below 5% usage).

So please consider updating target OpenGL version to latest 4.6 please
Comment 2 David Edmundson 2020-09-06 21:00:17 UTC
Using core profile arguably could make things faster. Sure. We expose that.

I don't understand how making a context with a newer opengl version will make anything faster, could you cite a resource on that.
Comment 3 2wxsy58236r3 2020-09-07 14:35:16 UTC
Maybe the bug reporter wants to know that whether kwin can make use of the new extensions or features available in OpenGL 4.x (maybe because he thinks that the new features are more efficient?).
Comment 4 David Edmundson 2020-09-07 15:04:19 UTC
As a general rule there are not for the very simple rendering that we do. 

If some profiling of frames finds a blocker that has some faster replacement, sure we shouldn't ignore something just because it's 4.x, but changing the minimum version first won't provide anything as far as I know. I will leave this open so OP can clarify what specific things he meant.
Comment 5 Bug Janitor Service 2020-09-22 04:33:13 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Bug Janitor Service 2020-10-07 04:33:15 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!