Skip to content
Snippets Groups Projects
Commit 7f5a55ef authored by Simon McVittie's avatar Simon McVittie
Browse files

runtime: Make bumblebee.socket visible in container

When using Primus/Bumblebee, having this available is apparently enough
for at least some games to work, and having this not available will
result in the driver failing to load.

Note that Primus/Bumblebee is not really supported by any of the GPU or
driver vendors. Using PRIME render offloading (DRI_PRIME=1 for
open-source Mesa drivers, __NV_PRIME_RENDER_OFFLOAD=1 for the proprietary
NVIDIA drivers) is likely to work more reliably.

Helps: https://github.com/ValveSoftware/steam-runtime/issues/372


Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
parent 304efd9c
No related branches found
No related tags found
1 merge request!262runtime: Make bumblebee.socket visible in container
Pipeline #9784 passed
......@@ -2212,6 +2212,7 @@ bind_runtime_base (PvRuntime *self,
{
"/etc/amd",
"/etc/drirc",
"/run/bumblebee.socket",
NULL
};
g_autofree gchar *xrd = g_strdup_printf ("/run/user/%ld", (long) geteuid ());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment