Skip to content

Commit 4e9c5b4

Browse files
CodeChenLRadxaYuntian
authored andcommitted
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 d69873e commit 4e9c5b4

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

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

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,21 @@ else
8686
[
8787
"xiccd",
8888
]
89+
) +
90+
(if suite == "bookworm"
91+
then
92+
// Using the latest GPU user level driver,
93+
// can avoid memory leaks in certain scenarios.
94+
[
95+
"mesa-va-drivers/bookworm-backports",
96+
"mesa-vdpau-drivers/bookworm-backports",
97+
"mesa-vulkan-drivers/bookworm-backports",
98+
"libegl-mesa0/bookworm-backports",
99+
"libgl1-mesa-dri/bookworm-backports",
100+
"libglx-mesa0/bookworm-backports",
101+
]
102+
else
103+
[]
89104
)
90105
},
91106
}

0 commit comments

Comments
 (0)