Package Details: luxmark 4.0alpha1-7

Git Clone URL: https://aur.archlinux.org/luxmark.git (read-only, click to copy)
Package Base: luxmark
Description: OpenCL benchmark tool
Upstream URL: https://github.com/LuxCoreRender/LuxMark
Licenses: GPL3
Submitter: Barthalion
Maintainer: DarkShadow44
Last Packager: DarkShadow44
Votes: 5
Popularity: 0.000000
First Submitted: 2018-01-06 20:59 (UTC)
Last Updated: 2024-01-31 18:43 (UTC)

Dependencies (20)

Required by (0)

Sources (5)

Latest Comments

« First ‹ Previous 1 2 3 4 5 Next › Last »

jamincollins commented on 2020-12-18 17:47 (UTC)

makepkg --cleanbuild fails with the following:

-- Found OPENCL: /usr/lib/libOpenCL.so  
-- Found OpenMP_C: -fopenmp (found version "4.5") 
-- Found OpenMP_CXX: -fopenmp (found version "4.5") 
-- Found OpenMP: TRUE (found version "4.5")  
-- OpenMP found - compiling with
-- LuxRays include directory: /usr/include
-- LuxRays config include directory: /usr/include
-- LuxRays library directory: /usr/lib/libluxrays.a
-- LuxCore include directory: /usr/include
-- LuxCore config include directory: /usr/include
-- LuxCore library directory: /usr/lib/libluxcore.a
-- LuxCore all libraries: /usr/lib/libluxcore.a/usr/lib/libslg-core.a/usr/lib/libslg-film.a/usr/lib/libslg-kernels.a/usr/lib/libluxrays.a/usr/lib/libbcd.a/usr/lib/libopenvdb.so/usr/lib/libOpenImageIO.so/lib/libembree3.so/lib/libOpenImageDenoise.so/lib/libtbb.so/lib/libtbb.so/usr/lib/libtiff.so/usr/lib/libtiff.so/usr/lib/libIex.so/usr/lib/libIlmImf.so/usr/lib/libHalf.so/usr/lib/libImath.so/usr/lib/libIlmThread.so/usr/lib/libpng.so/usr/lib/libz.so/usr/lib/libjpeg.so
CMake Error at CMakeLists.txt:139 (MESSAGE):
  --> Could not locate required Intel Oidn files - Please check


-- Configuring incomplete, errors occurred!
See also "/home/jamin/tmp/luxmark/src/LuxMark-3284b97fdea381553d763e4e153f4d29e48ba185/CMakeFiles/CMakeOutput.log".
See also "/home/jamin/tmp/luxmark/src/LuxMark-3284b97fdea381553d763e4e153f4d29e48ba185/CMakeFiles/CMakeError.log".
==> ERROR: A failure occurred in build().
    Aborting...
$ pacman -Q openimagedenoise 
openimagedenoise 1.2.4-1

DarkShadow44 commented on 2020-09-20 14:22 (UTC)

@lubosz luxcorerender-bin seems to be missing libluxrays, so it won't compile.

Did you compile luxcorerender-git with or without CUDA? Because for me it doesn't build without CUDA, so I can't really test.

lubosz commented on 2020-09-20 14:19 (UTC) (edited on 2020-09-20 14:21 (UTC) by lubosz)

I needed to install luxcorerender-git. cmake was not happy with luxcorerender and luxcorerender-bin.

I also needed to apply this:

From 1f6d811bb32aad4af520f44a095eb6f9a9934f5b Mon Sep 17 00:00:00 2001
From: Lubosz Sarnecki <lubosz@gmail.com>
Date: Sun, 20 Sep 2020 16:13:10 +0200
Subject: [PATCH 3/4] submitdialog: Include strutils for ToString.

---
 src/submitdialog.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/submitdialog.cpp b/src/submitdialog.cpp
index f0de99e..bbb51d7 100644
--- a/src/submitdialog.cpp
+++ b/src/submitdialog.cpp
@@ -25,6 +25,7 @@

 #include "luxmarkcfg.h"
 #include "submitdialog.h"
+#include <luxrays/utils/strutils.h>

 using namespace luxrays;

-- 
2.28.0

Without the patch I was getting the following build error:

luxmark/src/LuxMark/src/submitdialog.cpp:92:25: error: ‘ToString’ was not declared in this scope; did you mean ‘QString’?
   92 |   const QString score = ToString(int(sampleSecs / 1000.0)).c_str();
      |                         ^~~~~~~~
      |                         QString

lubosz commented on 2020-09-20 13:27 (UTC)

I get:

CMake Error at cmake/Dependencies.cmake:160 (MESSAGE):
  LuxRays not found.
Call Stack (most recent call first):
  CMakeLists.txt:114 (include)

I do have luxcorerender-bin installed.

DarkShadow44 commented on 2020-08-21 16:55 (UTC)

Thanks, I pushed an update! The OpenCL error comes from luxcorerender, btw.

minxu commented on 2020-08-21 00:26 (UTC)

I needed to add opensubdiv.a and blosc to the dependencies file. The opensubdiv.a is actually from luxrender package, NOT from opensubdiv package. It took me a while to figure that out. blosc should already be installed if you built luxcorerender already.

diff --git a/fix-dependencies.patch b/fix-dependencies.patch
index 1a4e076..51dd1b2 100644
--- a/fix-dependencies.patch
+++ b/fix-dependencies.patch
@@ -6,7 +6,7 @@ index 23b2230..c9b1bed 100644
  ADD_EXECUTABLE(luxmark WIN32 ${LUXMARK_SRCS})

  TARGET_LINK_LIBRARIES(luxmark ${ALL_LUXCORE_LIBRARIES} ${Boost_LIBRARIES} ${Qt5_LIBRARIES} ${OPENGL_gl_LIBRARY} ${OPENCL_LIBRARIES})
-+TARGET_LINK_LIBRARIES(luxmark openvdb.a OpenImageIO python3)
++TARGET_LINK_LIBRARIES(luxmark opensubdiv.a openvdb.a OpenImageIO python3 blosc)
  if (WIN32)
        # This is needed by Boost 1.67 but is not found automatically
      TARGET_LINK_LIBRARIES(luxmark bcrypt.lib)

DarkShadow44 commented on 2020-06-14 15:12 (UTC) (edited on 2020-06-14 15:19 (UTC) by DarkShadow44)

I was able to build it a few days ago, and it worked. No idea what changed though... If someone knows how to fix, please tell me.

kode54 commented on 2020-06-14 08:10 (UTC)

Added blosc and opensubdiv to fix-dependencies.patch, it builds, but it doesn't support OpenCL devices.

kode54 commented on 2020-06-14 07:28 (UTC)

Does not link:

[100%] Linking CXX executable ../bin/luxmark
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../lib/libopenvdb.so: undefined reference to symbol 'blosc_set_compressor'
/usr/bin/ld: /usr/lib64/libblosc.so.1: error adding symbols: DSO missing from command line

DarkShadow44 commented on 2020-02-06 15:10 (UTC)

@Vladimir-A Thanks, uploaded a fixed version.