Skip to content

Instantly share code, notes, and snippets.

@jannau
Last active December 8, 2025 07:15
Show Gist options
  • Select an option

  • Save jannau/8c633a4b9be69475e3e923c05438bcba to your computer and use it in GitHub Desktop.

Select an option

Save jannau/8c633a4b9be69475e3e923c05438bcba to your computer and use it in GitHub Desktop.
Copy this file to /usr/share/drirc.d (on Fedora-Asahi-Remix) to workaround https://github.com/webcompat/web-bugs/issues/189524
<?xml version="1.0" standalone="yes"?>
<!--
============================================
Application bugs worked around in this file:
============================================
* web broswer OpenGL renderer override fo asahi
Several web sites (paypal.com, etsy.com) apparently block on "Apple" in
WebGL renderer strings when the UA reports Linux as OS.
See https://github.com/webcompat/web-bugs/issues/189524
-->
<!DOCTYPE driconf [
<!ELEMENT driconf (device+)>
<!ELEMENT device (application | engine)+>
<!ATTLIST device driver CDATA #IMPLIED
device CDATA #IMPLIED>
<!ELEMENT application (option+)>
<!ATTLIST application name CDATA #REQUIRED
executable CDATA #IMPLIED
executable_regexp CDATA #IMPLIED
sha1 CDATA #IMPLIED
application_name_match CDATA #IMPLIED
application_versions CDATA #IMPLIED>
<!ELEMENT engine (option+)>
<!-- engine_name_match: A regexp matching the engine name -->
<!-- engine_versions: A version in range format
(version 1 to 4 : "1:4") -->
<!ATTLIST engine engine_name_match CDATA #REQUIRED
engine_versions CDATA #IMPLIED>
<!ELEMENT option EMPTY>
<!ATTLIST option name CDATA #REQUIRED
value CDATA #REQUIRED>
]>
<driconf>
<device driver="asahi">
<application name="Firefox" executable="firefox">
<option name="force_gl_renderer" value="AGX G1Nx"/>
</application>
<application name="Firefox ESR" executable="firefox-esr">
<option name="force_gl_renderer" value="AGX G1Nx"/>
</application>
<application name="Chromium" executable="chromium">
<option name="force_gl_renderer" value="AGX G1Nx"/>
</application>
<application name="Chromium" executable="chromium-browser">
<option name="force_gl_renderer" value="AGX G1Nx"/>
</application>
<application name="Google Chrome" executable="chrome">
<option name="force_gl_renderer" value="AGX G1Nx"/>
</application>
<application name="vivaldi-bin" executable="vivaldi-bin">
<option name="force_gl_renderer" value="AGX G1Nx"/>
</application>
<application name="Iceweasel" executable="iceweasel">
<option name="force_gl_renderer" value="AGX G1Nx"/>
</application>
<application name="Epiphany" executable="epiphany">
<option name="force_gl_renderer" value="AGX G1Nx"/>
</application>
<application name="Konqueror" executable="konqueror">
<option name="force_gl_renderer" value="AGX G1Nx"/>
</application>
<application name="Falkon" executable="falkon">
<option name="force_gl_renderer" value="AGX G1Nx"/>
</application>
<application name="Seamonkey" executable="seamonkey">
<option name="force_gl_renderer" value="AGX G1Nx"/>
</application>
<application name="Waterfox" executable="waterfox">
<option name="force_gl_renderer" value="AGX G1Nx"/>
</application>
</device>
</driconf>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment