From cd707cc4491f3c5068666e66367bfdc3fa503e3c Mon Sep 17 00:00:00 2001 From: Janne Grunau Date: Mon, 8 Dec 2025 09:28:05 +0100 Subject: [PATCH] util/driconf/asahi: Override GL renderer for web browsers Several web sites block clients with "Apple" in the WebGL renderer string if the reported OS is not one of Apple's. This check seems to implemented via a 3rd party product which is slowly rolled out over more web sites. Instead of playing whack-a-mole with web sites in multiple browsers override the OpenGL renderer in mesa for known browsers. Backport-to: 25.3 Signed-off-by: Janne Grunau (cherry picked from commit f912db3f8dc0c0cb8cb2358e6ec79dd03b7a875d) Part-of: --- .pick_status.json | 2 +- src/util/00-mesa-defaults.conf | 45 ++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+), 1 deletion(-) diff --git a/.pick_status.json b/.pick_status.json index 4cfd3b10ecf..5eceb84287b 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -4,7 +4,7 @@ "description": "util/driconf/asahi: Override GL renderer for web browsers", "nominated": true, "nomination_type": 4, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": null, "notes": null diff --git a/src/util/00-mesa-defaults.conf b/src/util/00-mesa-defaults.conf index 643366c6da0..df2466ccfcd 100644 --- a/src/util/00-mesa-defaults.conf +++ b/src/util/00-mesa-defaults.conf @@ -1361,6 +1361,51 @@ TODO: document the other workarounds. + + + + + + + + + + + + + + + + + + + + + + + + + + +