<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>161140</bug_id>
          
          <creation_ts>2008-04-22 10:49:53 +0000</creation_ts>
          <short_desc>Automatic composite disabling/enabling when OpenGL application started</short_desc>
          <delta_ts>2008-04-22 12:41:09 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Plasma</classification>
          <product>kwin</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>Ubuntu</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>155581</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>wishlist</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Roman Šmakal">schmaker</reporter>
          <assigned_to name="KWin default assignee">kwin-bugs-null</assigned_to>
          
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>596200</commentid>
    <comment_count>0</comment_count>
    <who name="Roman Šmakal">schmaker</who>
    <bug_when>2008-04-22 10:49:53 +0000</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>596207</commentid>
    <comment_count>1</comment_count>
    <who name="Christian Parpart">trapni</who>
    <bug_when>2008-04-22 12:26:25 +0000</bug_when>
    <thetext>it is possible to hook those functions responsible for creating an OpenGL window on libX11 level, however, to achieve that, you&apos;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?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>596220</commentid>
    <comment_count>2</comment_count>
    <who name="Lubos Lunak">l.lunak</who>
    <bug_when>2008-04-22 12:41:09 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of 155581 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>