Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Access to DRM render nodes from portage sandbox?
Date: Wed, 09 May 2018 07:34:56
Message-Id: 1525851283.1846.1.camel@gentoo.org
In Reply to: [gentoo-dev] Access to DRM render nodes from portage sandbox? by Dennis Schridde
1 W dniu śro, 09.05.2018 o godzinie 08∶51 +0200, użytkownik Dennis
2 Schridde napisał:
3 > Hello!
4 >
5 > I see sandbox violations similar to "ACCESS DENIED: open_wr: /dev/dri/
6 > renderD128" pop up for more and more packages, probably since OpenCL becomes
7 > used more widely. Hence I would like to ask: Could we in Gentoo treat GPUs
8 > just like CPUs and allow any process to access render nodes (i.e. the GPUs
9 > compute capabilities via the specific interface the Linux kernel's DRM offers
10 > for that purpose) without sandbox restrictions?
11 >
12 > --Dennis
13 >
14 > See-Also: https://bugs.gentoo.org/654216
15
16 Doesn't accessing those nodes involve a risk of programs being able to
17 crash your system (or xorg)? Or cause on-screen artifacts?
18
19 --
20 Best regards,
21 Michał Górny

Replies

Subject Author
Re: [gentoo-dev] Access to DRM render nodes from portage sandbox? Dennis Schridde <devurandom@×××.net>