GNU bug report logs - #59166
Fw: Unable to use GPU in guix shell container with FHS

Previous Next

Package: guix;

Reported by: Jacob Hrbek <kreyren <at> rixotstudio.cz>

Date: Thu, 10 Nov 2022 10:18:02 UTC

Severity: normal

Merged with 59069

Done: Andreas Enge <andreas <at> enge.fr>

Full log


View this message in rfc822 format

From: dan <i <at> dan.games>
To: 59166 <at> debbugs.gnu.org
Subject: bug#59166: Fw: Unable to use GPU in guix shell container with FHS
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




This bug report was last modified 2 years and 270 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.