Bug 161140 - Automatic composite disabling/enabling when OpenGL application started
Summary: Automatic composite disabling/enabling when OpenGL application started
Status: RESOLVED DUPLICATE of bug 155581
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-22 10:49 UTC by Roman Šmakal
Modified: 2008-04-22 12:41 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Šmakal 2008-04-22 10:49:53 UTC
Version:            (using KDE 4.0.3)
Installed from:    Ubuntu Packages
OS:                Linux

Hello,
it will be great, if KDE will have some OpenGL detection and then he will stop desktop acceleration (composite?). It will stop making problems with 3D games and games in Wine. I think it is easiest way to stop OpenGL artifacts in games.
Comment 1 Christian Parpart 2008-04-22 12:26:25 UTC
it is possible to hook those functions responsible for creating an OpenGL window on libX11 level, however, to achieve that, you'd have to LD_PRELOAD a library that does that, and then informs (dbus/rpc/...) other processes about this event.

However, this is *hackery*, and I guess a better approach would be to have a hook API for that registered in the libX11 library.

but as we speak of window managers, which get already informed when windows get created (and mapped) onto the screen - is it also possible to retrieve the info on wether this window is a 3d accelerated window/widget??? if yes, that would make things much easier, and implementing a (configurable!) switch to your which would be easily possible - does someone know how?
Comment 2 Lubos Lunak 2008-04-22 12:41:09 UTC

*** This bug has been marked as a duplicate of 155581 ***