Summary: | media-libs/opencv-4.9.0 Sandbox Access Violation | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Andrea Postiglione <andrea.postiglione> |
Component: | Current packages | Assignee: | Paul Zander <negril.nx+gentoo> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | andrea.postiglione, negril.nx+gentoo, proxy-maint |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://bugs.gentoo.org/show_bug.cgi?id=928153 https://github.com/gentoo/gentoo/pull/36248 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Andrea Postiglione
2024-04-03 14:29:38 UTC
Can you tell me you versions of:
- dev-util/nvidia-cuda-toolkit
- x11-drivers/nvidia-drivers
and what GPUs you use?
The easiest solutions is to follow the instructions in the pkg_pretend einfo, e.g. set CUDA_GENERATION or CUDA_ARCH_BIN. That will avoid the auto detection.
Or you add "/proc/self/task/" to SANDBOX_PREDICT in /etc/sandbox.d/.
> echo 'SANDBOX_PREDICT="/proc/self/task"' >> /etc/sandbox.d/20nvidia
(In reply to Paul Zander from comment #1) > Can you tell me you versions of: > - dev-util/nvidia-cuda-toolkit > - x11-drivers/nvidia-drivers > > and what GPUs you use? > > The easiest solutions is to follow the instructions in the pkg_pretend > einfo, e.g. set CUDA_GENERATION or CUDA_ARCH_BIN. That will avoid the auto > detection. > > Or you add "/proc/self/task/" to SANDBOX_PREDICT in /etc/sandbox.d/. > > echo 'SANDBOX_PREDICT="/proc/self/task"' >> /etc/sandbox.d/20nvidia thunderdome ~ # equery list nvidia-cuda-toolkit * Searching for nvidia-cuda-toolkit ... [IP-] [ ] dev-util/nvidia-cuda-toolkit-12.3.2:0/12.3.2 thunderdome ~ # equery list nvidia-drivers * Searching for nvidia-drivers ... [IP-] [ ] x11-drivers/nvidia-drivers-550.67:0/550 thunderdome ~ # lspci | grep VGA 01:00.0 VGA compatible controller: NVIDIA Corporation TU104BM [GeForce RTX 2080 SUPER Mobile / Max-Q] (rev a1) Have you tried either solution? If not, the SANDBOX_PREDICT is now in dev-util/nvidia-cuda-toolkit-12.3.2, so try reinstalling that. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cebb6e2fdce12a8c5f81f1b19bd494469ace2786 commit cebb6e2fdce12a8c5f81f1b19bd494469ace2786 Author: Paul Zander <negril.nx+gentoo@gmail.com> AuthorDate: 2024-04-12 13:08:34 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-04-21 12:49:40 +0000 media-libs/opencv: bugfixes Closes: https://bugs.gentoo.org/929972 Closes: https://bugs.gentoo.org/928516 Closes: https://bugs.gentoo.org/928747 Closes: https://bugs.gentoo.org/927992 Closes: https://bugs.gentoo.org/927917 Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/36248 Signed-off-by: Sam James <sam@gentoo.org> .../opencv/files/opencv-4.9.0-cuda-12.4.patch | 70 ++++++++++++++++++++++ media-libs/opencv/opencv-4.8.1-r1.ebuild | 1 + media-libs/opencv/opencv-4.9.0.ebuild | 5 +- profiles/arch/amd64/use.mask | 4 ++ profiles/arch/arm64/package.use.force | 4 ++ profiles/arch/arm64/package.use.mask | 4 ++ profiles/arch/base/use.mask | 4 ++ profiles/arch/x86/use.mask | 4 ++ 8 files changed, 95 insertions(+), 1 deletion(-) |