From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BDB5C1382C5 for ; Wed, 9 May 2018 07:34:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3A186E0B04; Wed, 9 May 2018 07:34:50 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DC006E0AF4 for ; Wed, 9 May 2018 07:34:49 +0000 (UTC) Received: from pomiot (d202-252.icpnet.pl [109.173.202.252]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: mgorny) by smtp.gentoo.org (Postfix) with ESMTPSA id 62A7C335C30; Wed, 9 May 2018 07:34:47 +0000 (UTC) Message-ID: <1525851283.1846.1.camel@gentoo.org> Subject: Re: [gentoo-dev] Access to DRM render nodes from portage sandbox? From: =?UTF-8?Q?Micha=C5=82_G=C3=B3rny?= To: gentoo-dev@lists.gentoo.org Date: Wed, 09 May 2018 09:34:43 +0200 In-Reply-To: <2409241.tZaIjLR7Sc@monk> References: <2409241.tZaIjLR7Sc@monk> Organization: Gentoo Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.24.6 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-Archives-Salt: 313119d7-ed03-439d-8fe9-975d0e071ce8 X-Archives-Hash: ee4e68816cbf3118c72c132b6522943e W dniu śro, 09.05.2018 o godzinie 08∶51 +0200, użytkownik Dennis Schridde napisał: > Hello! > > I see sandbox violations similar to "ACCESS DENIED: open_wr: /dev/dri/ > renderD128" pop up for more and more packages, probably since OpenCL becomes > used more widely. Hence I would like to ask: Could we in Gentoo treat GPUs > just like CPUs and allow any process to access render nodes (i.e. the GPUs > compute capabilities via the specific interface the Linux kernel's DRM offers > for that purpose) without sandbox restrictions? > > --Dennis > > See-Also: https://bugs.gentoo.org/654216 Doesn't accessing those nodes involve a risk of programs being able to crash your system (or xorg)? Or cause on-screen artifacts? -- Best regards, Michał Górny