Subject: bug#59166: Fw: Unable to use GPU in guix shell container with FHS

From: dan <[email-masked]>
Date: Thu, 10 Nov 2022 20:51:08 +0800

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