Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 604168 - sci-geosciences/grass-7.0.5-r1 USE=opencl; emerge fails with sandbox violation: /dev/dri/card0
Summary: sci-geosciences/grass-7.0.5-r1 USE=opencl; emerge fails with sandbox violatio...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sci-geo Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-30 18:11 UTC by Chris Mayo
Modified: 2018-05-24 11:25 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
sci-geosciences/grass-7.4.0.ebuild (grass-7.4.0.ebuild,7.25 KB, text/plain)
2018-02-01 19:59 UTC, Thomas Bettler
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Mayo 2016-12-30 18:11:43 UTC
bug 563854 addded:
use opencl && addwrite "${ROOT}dev/dri/renderD128"

but on Intel GPU the device is /dev/dri/card0

N.B. ImageMagick solution first added by bug 472766
https://gitweb.gentoo.org/repo/gentoo.git/tree/media-gfx/imagemagick/imagemagick-6.9.6.6.ebuild?id=ae42e124471e6ec7059c8d3f8426294ccd251924#n76



USE="X -blas cxx fftw -geos -lapack -liblas -mysql -netcdf nls -odbc opencl opengl openmp png postgres readline sqlite threads tiff truetype" PYTHON_TARGETS="python2_7"


$ eselect opencl list
Available OpenCL implementations:
  [1]   beignet *

dev-libs/beignet-1.2.1-r1
Comment 1 Chris Mayo 2016-12-30 19:06:27 UTC
N.B. virtual/opencl-0-r4 does not currently support beignet, bug 599912

I have created my own virtual/opencl to add this.
Comment 2 Thomas Bettler 2018-02-01 19:59:10 UTC
Created attachment 517464 [details]
sci-geosciences/grass-7.4.0.ebuild

This ebuild resolves the access violation
Comment 3 Amy Liffey gentoo-dev 2018-05-24 11:25:29 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcd269d46b29948c6cefc0ca5a855a5180ff87d2

commit dcd269d46b29948c6cefc0ca5a855a5180ff87d2
Author:     Amy Liffey <amynka@gentoo.org>
AuthorDate: 2018-05-23 21:44:10 +0000
Commit:     Amy Liffey <amynka@gentoo.org>
CommitDate: 2018-05-24 09:35:07 +0000

    sci-geosciences/grass: version bump 7.4.0
    
    Suggested-by: Thomas Bettler <thomas.bettler@gmail.com>
    Closes: https://bugs.gentoo.org/645892
    Package-Manager: Portage-2.3.24, Repoman-2.3.6

 sci-geosciences/grass/Manifest           |   1 +
 sci-geosciences/grass/grass-7.4.0.ebuild | 281 +++++++++++++++++++++++++++++++
 2 files changed, 282 insertions(+)