<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Disabling working OpenGL 2.1 in the i915 driver"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=101736#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Disabling working OpenGL 2.1 in the i915 driver"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=101736">bug 101736</a>
              from <span class="vcard"><a class="email" href="mailto:emil.l.velikov@gmail.com" title="Emil Velikov <emil.l.velikov@gmail.com>"> <span class="fn">Emil Velikov</span></a>
</span></b>
        <pre>Afaict the drirc bits were left so that people can override them based on their
liking. Something like the following should do it.

Do enhance to your liking. Note that separate hunk is needed for each
application.


--- a/src/mesa/drivers/dri/common/drirc
+++ b/src/mesa/drivers/dri/common/drirc
@@ -187,4 +187,10 @@ TODO: document the other workarounds.
            <option name="glx_disable_oml_sync_control" value="true" />
         </application>
     </device>
+    <device driver="i915">
+        <application name="App symbolic name" executable="actual-binary-name">
+            <option name="fragment_shader" value="true" />
+            <option name="stub_occlusion_query" value="true" />
+        </application>
+    </device></pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>