GNU bug report logs -
#59166
Fw: Unable to use GPU in guix shell container with FHS
Previous Next
To reply to this bug, email your comments to 59166 AT debbugs.gnu.org.
There is no need to reopen the bug first.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#59166
; Package
guix
.
(Thu, 10 Nov 2022 10:18:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Jacob Hrbek <kreyren <at> rixotstudio.cz>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Thu, 10 Nov 2022 10:18:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
I am unable to send an e-mail to help-guix <at> gnu.org mailing list so submitting as a bug
kreyren <at> dreamon ~$ guix shell -CF bash coreutils mesa mesa-utils -- glxgears
substitute: updating substitutes from '[https://substitutes.REDACTED](https://substitutes.nonguix.org/)'... 100.0%
0,4 MB will be downloaded
glew-2.1.0 343KiB 4.0MiB/s 00:00 [##################] 100.0%
mesa-utils-8.4.0 29KiB 3.9MiB/s 00:00 [##################] 100.0%
The following derivation will be built:
/gnu/store/r81kp1djl75p3c4bzqfjavnk53klqf2j-profile.drv
applying 4 grafts for mesa-utils-8.4.0 ...
building CA certificate bundle...
listing Emacs sub-directories...
building fonts directory...
building directory of Info manuals...
building profile with 5 packages...
Error: couldn't open display (null)
^^^^^^^^^^^^^^^^^^^^^
Question: How can i make it to work by showing the glxgears?
-- Jacob "Kreyren" Hrbek
------- Original Message -------
On Friday, November 4th, 2022 at 5:46 AM, Jacob Hrbek <kreyren <at> rixotstudio.cz> wrote:
> kreyren <at> dreamon ~$ guix shell -CF bash coreutils mesa mesa-utils -- glxgears
> substitute: updating substitutes from '[https://substitutes.REDACTED](https://substitutes.nonguix.org)'... 100.0%
> 0,4 MB will be downloaded
> glew-2.1.0 343KiB 4.0MiB/s 00:00 [##################] 100.0%
> mesa-utils-8.4.0 29KiB 3.9MiB/s 00:00 [##################] 100.0%
> The following derivation will be built:
> /gnu/store/r81kp1djl75p3c4bzqfjavnk53klqf2j-profile.drv
>
> applying 4 grafts for mesa-utils-8.4.0 ...
> building CA certificate bundle...
> listing Emacs sub-directories...
> building fonts directory...
> building directory of Info manuals...
> building profile with 5 packages...
> Error: couldn't open display (null)
>
> Question: How can i make it to work by showing the glxgears?
> -- Jacob "Kreyren" Hrbekil.
[Message part 2 (text/html, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#59166
; Package
guix
.
(Thu, 10 Nov 2022 12:52:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 59166 <at> debbugs.gnu.org (full text, mbox):
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
Merged 59069 59166.
Request was from
Ludovic Courtès <ludo <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Sat, 12 Nov 2022 17:25:02 GMT)
Full text and
rfc822 format available.
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.