|
From: | dan |
Subject: | bug#59069: `guix shell -CN' failed to access GPU |
Date: | Thu, 10 Nov 2022 23:08:41 +0800 |
User-agent: | mu4e 1.8.11; emacs 29.0.50 |
Ludovic Courtès <ludo@gnu.org> writes:
Could you check with strace what it’s trying to access, both with andwithout ‘-N’?guix shell mesa-utils strace … -C -- strace -o /tmp/log.strace glxinfo
I looked into the strace logs, and found out that it's actually having trouble accessing /sys, which is not available in a '-N' container. I run the following scripts to test:
$ guix shell -C coreutils -- ls / bin dev etc gnu home proc sys tmp
while with the '-N' flag:
$guix shell -CN coreutils --ls / bin dev etc gnu home proc tmp
I have the strace logs in the paste bin, with the line indicating the problem[1][2].
[1]: https://paste.sr.ht/~lizog/950ef117109fb0d34e70a813852cf7cbf04919a6#log-cn.strace-L585 [2]: https://paste.sr.ht/~lizog/950ef117109fb0d34e70a813852cf7cbf04919a6#log-c.strace-L552
-- dan
[Prev in Thread] | Current Thread | [Next in Thread] |