[Bug,101736] Disabling working OpenGL 2.1 in the i915 driver
diff mbox

Message ID bug-101736-502-K2MDFTnfCp@http.bugs.freedesktop.org/
State New
Headers show

Commit Message

bugzilla-daemon@freedesktop.org July 10, 2017, 12:50 p.m. UTC

--- Comment #1 from Emil Velikov <emil.l.velikov@gmail.com> ---
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

diff mbox

--- 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" />
+    <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>