From unknown Mon Jun 23 02:25:46 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#45861] Add embree and update Blender Resent-From: Christopher Lemmer Webber Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 14 Jan 2021 14:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 45861 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 45861@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161063445918643 (code B ref -1); Thu, 14 Jan 2021 14:28:02 +0000 Received: (at submit) by debbugs.gnu.org; 14 Jan 2021 14:27:39 +0000 Received: from localhost ([127.0.0.1]:37593 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l03b5-0004qa-U0 for submit@debbugs.gnu.org; Thu, 14 Jan 2021 09:27:39 -0500 Received: from lists.gnu.org ([209.51.188.17]:37992) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l03b1-0004qK-CS for submit@debbugs.gnu.org; Thu, 14 Jan 2021 09:27:35 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:37696) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l03b0-00046p-S7 for guix-patches@gnu.org; Thu, 14 Jan 2021 09:27:30 -0500 Received: from dustycloud.org ([2600:3c02::f03c:91ff:feae:cb51]:51266) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l03aw-0002Ln-7s for guix-patches@gnu.org; Thu, 14 Jan 2021 09:27:30 -0500 Received: from twig (localhost [127.0.0.1]) by dustycloud.org (Postfix) with ESMTPS id B6BE326617 for ; Thu, 14 Jan 2021 09:27:24 -0500 (EST) User-agent: mu4e 1.4.13; emacs 27.1 From: Christopher Lemmer Webber Date: Thu, 14 Jan 2021 09:27:24 -0500 Message-ID: <87pn2761bn.fsf@dustycloud.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=2600:3c02::f03c:91ff:feae:cb51; envelope-from=cwebber@dustycloud.org; helo=dustycloud.org X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --=-=-= Content-Type: text/plain Two patches attached. Embree seems necessary for the newer Blender. (Sadly newer Blender also still has graphics crashes on my GPU. Wah! Well, enjoy to those of you who can.) --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-gnu-Add-embree.patch >From f584d5784087e2a795c9be28294582b3ca79f085 Mon Sep 17 00:00:00 2001 From: Christopher Lemmer Webber Date: Wed, 13 Jan 2021 14:45:39 -0500 Subject: [PATCH 1/2] gnu: Add embree. * gnu/packages/graphics.scm (embree): New variable. --- gnu/packages/graphics.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm index def3dc6913..09cf47b66a 100644 --- a/gnu/packages/graphics.scm +++ b/gnu/packages/graphics.scm @@ -428,6 +428,36 @@ with the @command{autotrace} utility or as a C library, @code{libautotrace}.") (license (list license:gpl2+ ;for the utility itself license:lgpl2.1+))))) ;for use as a library +(define-public embree + (package + (name "embree") + (version "3.12.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/embree/embree") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0aznd16n7h8g3f6jcahzfp1dq4r7wayqvn03wsaskiq2dvsi4srd")))) + (build-system cmake-build-system) + (arguments + `(#:tests? #f ; no tests (apparently) + #:configure-flags + (list + "-DEMBREE_ISPC_SUPPORT=OFF"))) + (inputs + `(("tbb" ,tbb) + ("glfw" ,glfw))) + (home-page "https://www.embree.org/") + (synopsis "High performance ray tracing kernels") + (description + "Embree is a collection of high-performance ray tracing kernels. +Embree is meant to increase performance of photo-realistic rendering +applications.") + (license license:asl2.0))) + (define-public blender (package (name "blender") -- 2.30.0 --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0002-gnu-blender-Update-to-2.91.0.patch >From ce00650a374bd4a4bb866e5492dd2483222323f8 Mon Sep 17 00:00:00 2001 From: Christopher Lemmer Webber Date: Wed, 13 Jan 2021 14:46:23 -0500 Subject: [PATCH 2/2] gnu: blender: Update to 2.91.0. * gnu/packages/graphics.scm (blender): Update to 2.91.0 and add embree as a dependency. --- gnu/packages/graphics.scm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm index 09cf47b66a..01f0671ddc 100644 --- a/gnu/packages/graphics.scm +++ b/gnu/packages/graphics.scm @@ -461,14 +461,14 @@ applications.") (define-public blender (package (name "blender") - (version "2.83.9") + (version "2.91.0") (source (origin (method url-fetch) (uri (string-append "https://download.blender.org/source/" "blender-" version ".tar.xz")) (sha256 (base32 - "106w9vi6z0gi2nbr73g8pm40w3wn7dkjcibzvvzbc786yrnzvkhb")))) + "0x396lgmk0dq9115yrc36s8zwxzmjr490sr5n2y6w27y17yllyjm")))) (build-system cmake-build-system) (arguments (let ((python-version (version-major+minor (package-version python)))) @@ -540,7 +540,8 @@ applications.") ("python" ,python) ("python-numpy" ,python-numpy) ("tbb" ,tbb) - ("zlib" ,zlib))) + ("zlib" ,zlib) + ("embree" ,embree))) (home-page "https://blender.org/") (synopsis "3D graphics creation suite") (description -- 2.30.0 --=-=-=-- From unknown Mon Jun 23 02:25:46 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Christopher Lemmer Webber Subject: bug#45861: closed (Re: [bug#45861] Add embree and update Blender) Message-ID: References: <87pn2761bn.fsf@dustycloud.org> X-Gnu-PR-Message: they-closed 45861 X-Gnu-PR-Package: guix-patches Reply-To: 45861@debbugs.gnu.org Date: Sat, 16 Jan 2021 20:44:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1610829842-29846-1" This is a multi-part message in MIME format... ------------=_1610829842-29846-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #45861: Add embree and update Blender which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 45861@debbugs.gnu.org. --=20 45861: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D45861 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1610829842-29846-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 45861-done) by debbugs.gnu.org; 16 Jan 2021 20:43:10 +0000 Received: from localhost ([127.0.0.1]:44104 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l0sPe-0007k9-2l for submit@debbugs.gnu.org; Sat, 16 Jan 2021 15:43:10 -0500 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]:46237) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l0sPZ-0007jd-KN for 45861-done@debbugs.gnu.org; Sat, 16 Jan 2021 15:43:08 -0500 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id B456D1778; Sat, 16 Jan 2021 15:42:59 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Sat, 16 Jan 2021 15:42:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=mesmtp; bh=X1rdA6PjvW2wb4sOhmx5MIHF iwI6kTQHj9/xb1aqXho=; b=OKlcOBcu6IeWXmWgdxTrLNS0ypWh3svQyt1u4+tU kuMF1e1pjGaWjIFZ2YosmgVTXxhjJtEQdKUXiUtq6l+10k54V7v0u5xH9yZoM66s ka0iz9UgFnXUKAoNAVVUs6IGUmC4oK5srBiBal9gXTXcopvwTSGFr7NnA/sxGKGC mTw= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=X1rdA6 PjvW2wb4sOhmx5MIHFiwI6kTQHj9/xb1aqXho=; b=BGAyj4JQrmmQTxEDz9N4ha fAE04CXVjkKopPoZ/1MFYtTZZEqHd7891sCMjdZWxMQZxWknZGujw2rsgqjWXED8 mYuVWCf+Xyedc59IxuFSDPt4C8fAlOOZVPkzTy8vGCAi4hz9DSiIPq39hN9v9Mui BjzFRRPAW/LrtOW/fkb9F/4ad9kGLvuM9RpBtRVd5V4ZMhPYU8qvo3cq44za9utl U2q0Oxteroqm721B+5xER0DdfTpP4OF/lxzE5AdtxkahJnEnLJmY21hlpjcU3UA/ w8h6fOo7GEMPGgTFxwkGYcqYSkSVLew648SCMGzosGpHn32+JHIy+XOAvt7LX0Lw == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrtdeggddugeefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtuggjsehttdertddttddvnecuhfhrohhmpefnvghoucfh rghmuhhlrghrihcuoehlvghosehfrghmuhhlrghrihdrnhgrmhgvqeenucggtffrrghtth gvrhhnpeeukeektdffvddtudegjeegtdevhfeufeeivdejiedtieegtdevjedvjeehffev gfenucfkphepuddttddruddurdduieelrdduudeknecuvehluhhsthgvrhfuihiivgeptd enucfrrghrrghmpehmrghilhhfrhhomheplhgvohesfhgrmhhulhgrrhhirdhnrghmvg X-ME-Proxy: Received: from localhost (pool-100-11-169-118.phlapa.fios.verizon.net [100.11.169.118]) by mail.messagingengine.com (Postfix) with ESMTPA id A1CC6108005B; Sat, 16 Jan 2021 15:42:58 -0500 (EST) Date: Sat, 16 Jan 2021 15:42:56 -0500 From: Leo Famulari To: Christopher Lemmer Webber Subject: Re: [bug#45861] Add embree and update Blender Message-ID: References: <87pn2761bn.fsf@dustycloud.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87pn2761bn.fsf@dustycloud.org> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 45861-done Cc: 45861-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Thu, Jan 14, 2021 at 09:27:24AM -0500, Christopher Lemmer Webber wrote: > Two patches attached. Embree seems necessary for the newer Blender. > > (Sadly newer Blender also still has graphics crashes on my GPU. Wah! > Well, enjoy to those of you who can.) Thanks! Pushed as 2a333f2535a65bfa3607ef50591e9f5dbc6970d1 ------------=_1610829842-29846-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 14 Jan 2021 14:27:39 +0000 Received: from localhost ([127.0.0.1]:37593 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l03b5-0004qa-U0 for submit@debbugs.gnu.org; Thu, 14 Jan 2021 09:27:39 -0500 Received: from lists.gnu.org ([209.51.188.17]:37992) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l03b1-0004qK-CS for submit@debbugs.gnu.org; Thu, 14 Jan 2021 09:27:35 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:37696) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l03b0-00046p-S7 for guix-patches@gnu.org; Thu, 14 Jan 2021 09:27:30 -0500 Received: from dustycloud.org ([2600:3c02::f03c:91ff:feae:cb51]:51266) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l03aw-0002Ln-7s for guix-patches@gnu.org; Thu, 14 Jan 2021 09:27:30 -0500 Received: from twig (localhost [127.0.0.1]) by dustycloud.org (Postfix) with ESMTPS id B6BE326617 for ; Thu, 14 Jan 2021 09:27:24 -0500 (EST) User-agent: mu4e 1.4.13; emacs 27.1 From: Christopher Lemmer Webber To: guix-patches@gnu.org Subject: Add embree and update Blender Date: Thu, 14 Jan 2021 09:27:24 -0500 Message-ID: <87pn2761bn.fsf@dustycloud.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=2600:3c02::f03c:91ff:feae:cb51; envelope-from=cwebber@dustycloud.org; helo=dustycloud.org X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --=-=-= Content-Type: text/plain Two patches attached. Embree seems necessary for the newer Blender. (Sadly newer Blender also still has graphics crashes on my GPU. Wah! Well, enjoy to those of you who can.) --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-gnu-Add-embree.patch >From f584d5784087e2a795c9be28294582b3ca79f085 Mon Sep 17 00:00:00 2001 From: Christopher Lemmer Webber Date: Wed, 13 Jan 2021 14:45:39 -0500 Subject: [PATCH 1/2] gnu: Add embree. * gnu/packages/graphics.scm (embree): New variable. --- gnu/packages/graphics.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm index def3dc6913..09cf47b66a 100644 --- a/gnu/packages/graphics.scm +++ b/gnu/packages/graphics.scm @@ -428,6 +428,36 @@ with the @command{autotrace} utility or as a C library, @code{libautotrace}.") (license (list license:gpl2+ ;for the utility itself license:lgpl2.1+))))) ;for use as a library +(define-public embree + (package + (name "embree") + (version "3.12.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/embree/embree") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0aznd16n7h8g3f6jcahzfp1dq4r7wayqvn03wsaskiq2dvsi4srd")))) + (build-system cmake-build-system) + (arguments + `(#:tests? #f ; no tests (apparently) + #:configure-flags + (list + "-DEMBREE_ISPC_SUPPORT=OFF"))) + (inputs + `(("tbb" ,tbb) + ("glfw" ,glfw))) + (home-page "https://www.embree.org/") + (synopsis "High performance ray tracing kernels") + (description + "Embree is a collection of high-performance ray tracing kernels. +Embree is meant to increase performance of photo-realistic rendering +applications.") + (license license:asl2.0))) + (define-public blender (package (name "blender") -- 2.30.0 --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0002-gnu-blender-Update-to-2.91.0.patch >From ce00650a374bd4a4bb866e5492dd2483222323f8 Mon Sep 17 00:00:00 2001 From: Christopher Lemmer Webber Date: Wed, 13 Jan 2021 14:46:23 -0500 Subject: [PATCH 2/2] gnu: blender: Update to 2.91.0. * gnu/packages/graphics.scm (blender): Update to 2.91.0 and add embree as a dependency. --- gnu/packages/graphics.scm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm index 09cf47b66a..01f0671ddc 100644 --- a/gnu/packages/graphics.scm +++ b/gnu/packages/graphics.scm @@ -461,14 +461,14 @@ applications.") (define-public blender (package (name "blender") - (version "2.83.9") + (version "2.91.0") (source (origin (method url-fetch) (uri (string-append "https://download.blender.org/source/" "blender-" version ".tar.xz")) (sha256 (base32 - "106w9vi6z0gi2nbr73g8pm40w3wn7dkjcibzvvzbc786yrnzvkhb")))) + "0x396lgmk0dq9115yrc36s8zwxzmjr490sr5n2y6w27y17yllyjm")))) (build-system cmake-build-system) (arguments (let ((python-version (version-major+minor (package-version python)))) @@ -540,7 +540,8 @@ applications.") ("python" ,python) ("python-numpy" ,python-numpy) ("tbb" ,tbb) - ("zlib" ,zlib))) + ("zlib" ,zlib) + ("embree" ,embree))) (home-page "https://blender.org/") (synopsis "3D graphics creation suite") (description -- 2.30.0 --=-=-=-- ------------=_1610829842-29846-1--