Skip to content

Commit 38f3f30

Browse files
committed
fix: install mesa/bookworm-backports when building bookworm
Using the latest GPU user level driver, can avoid memory leaks in certain scenarios. Link: https://applink.feishu.cn/client/message/link/open?token=AmZic1S0xQACaTfbUr0Gi8Q%3D Signed-off-by: Jiali Chen <chenjiali@radxa.com>
1 parent 7a240ae commit 38f3f30

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

src/share/rsdk/build/mod/packages/categories/desktop.libjsonnet

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,18 @@ else
7474

7575
(if suite == "bookworm"
7676
then
77-
// Install Debian 12 packages
77+
// 1. Install Debian 12 packages
78+
// 2. Using the latest GPU user level driver,
79+
// can avoid memory leaks in certain scenarios.
7880
[
7981
"wayland-utils",
8082
"gstreamer1.0-pipewire",
83+
"mesa-va-drivers/bookworm-backports",
84+
"mesa-vdpau-drivers/bookworm-backports",
85+
"mesa-vulkan-drivers/bookworm-backports",
86+
"libegl-mesa0/bookworm-backports",
87+
"libgl1-mesa-dri/bookworm-backports",
88+
"libglx-mesa0/bookworm-backports",
8189
]
8290
else
8391
// Install common X.Org packages

0 commit comments

Comments
 (0)