Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
67 commits
Select commit Hold shift + click to select a range
0332234
feat(gpusandbox): add some basic logic to handle gpu sandbox autoconfig
RKNF404 Oct 15, 2025
5e11fd7
Merge branch 'secureblue:live' into gpu-sandbox-auto
RKNF404 Oct 15, 2025
7c079ef
feat(gpusandbox): add basic logic for detecting system primary GPU
RKNF404 Oct 15, 2025
6b17230
fix(typo)
RKNF404 Oct 15, 2025
10e0b69
Merge branch 'secureblue:live' into gpu-sandbox-auto
RKNF404 Oct 16, 2025
ed1c6a8
chore(gpusandbox): check secondary GPUs as well
RKNF404 Oct 16, 2025
b968f77
chore(gpusandbox): disable Intel
RKNF404 Oct 16, 2025
f97ff73
Revert checking secondary GPUs
RKNF404 Oct 16, 2025
27f2b59
fix
RKNF404 Oct 16, 2025
6854d07
fix
RKNF404 Oct 20, 2025
823e07c
Merge branch 'live' into gpu-sandbox-auto
RKNF404 Nov 27, 2025
125f40e
feat(gpusandbox): automatically detect gallium version
RKNF404 Nov 27, 2025
3f44201
feat(gpusandbox): enable intel in autoconfig
RKNF404 Nov 27, 2025
db9d9de
fix(typo)
RKNF404 Nov 27, 2025
5db5114
fix
RKNF404 Nov 27, 2025
c737779
Merge branch 'live' into gpu-sandbox-auto
RKNF404 Nov 27, 2025
b00767c
fix(gpusandbox): various definitions and function calls
RKNF404 Nov 28, 2025
ffab97b
Update linux-gpu-sandbox.patch
RKNF404 Nov 28, 2025
aab2cda
chore(gpusandbox): rework
RKNF404 Nov 29, 2025
87b45c4
fix
RKNF404 Nov 29, 2025
92e570e
feat(flags): expose autoconfig flag
RKNF404 Nov 30, 2025
b7a1e2c
Update expose-flags.patch
RKNF404 Nov 30, 2025
28f2644
Update expose-flags.patch
RKNF404 Nov 30, 2025
00bfa78
Update expose-flags.patch
RKNF404 Nov 30, 2025
1dfdaa5
Update linux-gpu-sandbox.patch
RKNF404 Nov 30, 2025
4c5ffc2
Update linux-gpu-sandbox.patch
RKNF404 Nov 30, 2025
d3147ab
Update linux-gpu-sandbox.patch
RKNF404 Nov 30, 2025
2696fc0
Update linux-gpu-sandbox.patch
RKNF404 Dec 2, 2025
f911f76
Update linux-gpu-sandbox.patch
RKNF404 Dec 3, 2025
06a8db8
Update linux-gpu-sandbox.patch
RKNF404 Dec 3, 2025
2cab0b6
Update linux-gpu-sandbox.patch
RKNF404 Dec 4, 2025
af1bee2
Merge branch 'secureblue:live' into gpu-sandbox-auto
RKNF404 Dec 4, 2025
a09b7bb
Update linux-gpu-sandbox.patch
RKNF404 Dec 4, 2025
73ea5f0
Update linux-gpu-sandbox.patch
RKNF404 Dec 4, 2025
7c64818
Update linux-gpu-sandbox.patch
RKNF404 Dec 5, 2025
2b58aad
Update linux-gpu-sandbox.patch
RKNF404 Dec 5, 2025
4ca4c58
Update linux-gpu-sandbox.patch
RKNF404 Dec 5, 2025
090a7f7
Merge branch 'live' into gpu-sandbox-auto
RKNF404 Dec 6, 2025
3874ac2
Update linux-gpu-sandbox.patch
RKNF404 Dec 6, 2025
770d51a
Update linux-gpu-sandbox.patch
RKNF404 Dec 7, 2025
2088c31
Update linux-gpu-sandbox.patch
RKNF404 Dec 7, 2025
db06b74
Update linux-gpu-sandbox.patch
RKNF404 Dec 8, 2025
3bb9b2f
Update linux-gpu-sandbox.patch
RKNF404 Dec 15, 2025
12d5263
Merge branch 'secureblue:live' into gpu-sandbox-auto
RKNF404 Dec 15, 2025
49ced13
Update trivalent.conf
RKNF404 Dec 15, 2025
56221b1
Update trivalent.conf
RKNF404 Dec 15, 2025
a440847
Update trivalent.conf
RKNF404 Dec 15, 2025
6ff909e
Update linux-gpu-sandbox.patch
RKNF404 Dec 15, 2025
ebb6a30
Update trivalent.conf
RKNF404 Dec 15, 2025
9ec6123
Update trivalent.conf
RKNF404 Dec 15, 2025
19abef8
Update trivalent.conf
RKNF404 Dec 15, 2025
017c8d4
Update linux-gpu-sandbox.patch
RKNF404 Dec 15, 2025
e4b5137
Update linux-gpu-sandbox.patch
RKNF404 Dec 15, 2025
e6b2c85
Update trivalent.conf
RKNF404 Dec 15, 2025
0b8d685
Update linux-gpu-sandbox.patch
RKNF404 Dec 15, 2025
3e1e578
Update linux-gpu-sandbox.patch
RKNF404 Dec 16, 2025
68efe9e
Merge branch 'live' into gpu-sandbox-auto
RKNF404 Dec 20, 2025
537d717
Update linux-gpu-sandbox.patch
RKNF404 Dec 20, 2025
1cf2a77
Update linux-gpu-sandbox.patch
RKNF404 Dec 20, 2025
6bf0a35
Update linux-gpu-sandbox.patch
RKNF404 Dec 20, 2025
348d176
Update linux-gpu-sandbox.patch
RKNF404 Dec 21, 2025
2063825
Update linux-gpu-sandbox.patch
RKNF404 Dec 22, 2025
7f16183
Update linux-gpu-sandbox.patch
RKNF404 Dec 22, 2025
5d357ca
Update linux-gpu-sandbox.patch
RKNF404 Dec 22, 2025
92334e9
Update trivalent.conf
RKNF404 Dec 23, 2025
7ce42d8
Update linux-gpu-sandbox.patch
RKNF404 Dec 23, 2025
6dbea5b
Update linux-gpu-sandbox.patch
RKNF404 Dec 23, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 15 additions & 3 deletions build/trivalent.conf
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ elif [ -z "$USE_WAYLAND" ]; then
;;
esac
fi
[ "$USE_WAYLAND" == "false" ] && CHROMIUM_SYSTEM_FLAGS+=" --ozone-platform=x11"
if [ "$USE_WAYLAND" == "false" ]; then
CHROMIUM_SYSTEM_FLAGS+=" --ozone-platform=x11"
fi

# Other architectures are not tested for and should not be included yet
# ENABLE_VULKAN=[true|false]
Expand All @@ -61,8 +63,18 @@ if [ "$ARCH" == "x86_64" ] ; then
CHROMIUM_SYSTEM_FLAGS+=" --use-angle=vulkan --use-vulkan"
FEATURES+=",Vulkan,DefaultANGLEVulkan,VulkanFromANGLE,VaapiIgnoreDriverChecks"
fi

GALLIUMVER="$(compgen -G "/usr/lib64/libgallium-[0-9][0-9].[0-9].[0-9].so" | grep -oE "[0-9]+\.[0-9]\.[0-9]")"
declare -r GALLIUMVER
if [[ -n "$GALLIUMVER" ]]; then
CHROMIUM_SYSTEM_FLAGS+=" --libgallium-version=\"$GALLIUMVER\""
fi
fi

[ "$BROWSER_LOG_LEVEL" -ge 2 ] && CHROMIUM_SYSTEM_FLAGS+=" --enable-logging=stderr --v=1"
if [ "$BROWSER_LOG_LEVEL" -ge 2 ]; then
CHROMIUM_SYSTEM_FLAGS+=" --enable-logging=stderr --v=1"
fi

[ -n "$FEATURES" ] && CHROMIUM_SYSTEM_FLAGS+=" --enable-features=$FEATURES"
if [ -n "$FEATURES" ]; then
CHROMIUM_SYSTEM_FLAGS+=" --enable-features=$FEATURES"
fi
7 changes: 6 additions & 1 deletion patches/expose-flags.patch
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 7613006656aaa..ee707f847ccba 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -4343,6 +4343,64 @@ const FeatureEntry kFeatureEntries[] = {
@@ -4343,6 +4343,69 @@ const FeatureEntry kFeatureEntries[] = {
// //tools/flags/generate_unexpire_flags.py.
#include "build/chromeos_buildflags.h"
#include "chrome/browser/unexpire_flags_gen.inc"
Expand Down Expand Up @@ -58,6 +58,11 @@ index 7613006656aaa..ee707f847ccba 100644
+ "network service sandbox to become persistently disabled, enable only "
+ "if absolutely necessary. This switch is provided by Trivalent.",
+ kOsLinux, SINGLE_VALUE_TYPE("enable-gssapi")},
+ {"gpu-sandbox-autoconfig", "Enable GPU Sandbox Auto-Configuration",
+ "Enables the GPU sandbox if your system supports it, this depends on "
+ "your graphics card, whether Vulkan is in use, or if X11 is used for "
+ "windowing. This flag is provided by Trivalent.",
+ kOsLinux, SINGLE_VALUE_TYPE("enable-gpu-sandbox-linux")},
+ {"gpu-sandbox-test", "Force GPU Sandbox For Testing",
+ "Enables the GPU sandbox. WARNING: This is HIGHLY experimental and "
+ "can disable hardware acceleration or cause crashes. It is for "
Expand Down
Loading