|
From: | dan |
Subject: | bug#59166: Fw: Unable to use GPU in guix shell container with FHS |
Date: | Thu, 10 Nov 2022 20:51:08 +0800 |
User-agent: | Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |