* bug#59166: Fw: Unable to use GPU in guix shell container with FHS
[not found] <xHd1cq7RQlUrcdcmp_Af4n5HwvXr3nl5OuJh2rj8K49rd1QkEfI2N8WQZ52DlrKayKIX4NBdRK4NhsaLVjDDAJSiNhKiahwwppXX7TM5f6M=@rixotstudio.cz>
@ 2022-11-10 12:51 ` dan
0 siblings, 0 replies; only message in thread
From: dan @ 2022-11-10 12:51 UTC (permalink / raw)
To: 59166
hi jacob,
to use gpu in a container, you need a few additional parameters
(assuming you are also using x11):
> guix shell -CF bash coreutils mesa mesa-utils --expose=/tmp/.X11-unix --expose=$XAUTHORITY --expose=/dev/dri --expose=/etc/udev -E "DISPLAY|XAUTHORITY" -- glxgear
hope it could help.
--
dan
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-11-10 12:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <xHd1cq7RQlUrcdcmp_Af4n5HwvXr3nl5OuJh2rj8K49rd1QkEfI2N8WQZ52DlrKayKIX4NBdRK4NhsaLVjDDAJSiNhKiahwwppXX7TM5f6M=@rixotstudio.cz>
2022-11-10 12:51 ` bug#59166: Fw: Unable to use GPU in guix shell container with FHS dan
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.