Package Details: luxmark 4.0alpha0-7

Git Clone URL: https://aur.archlinux.org/luxmark.git (read-only, click to copy)
Package Base: luxmark
Description: OpenCL benchmark tool
Upstream URL: http://www.luxrender.net/
Licenses: GPL3
Submitter: Barthalion
Maintainer: DarkShadow44
Last Packager: DarkShadow44
Votes: 3
Popularity: 0.036851
First Submitted: 2018-01-06 20:59
Last Updated: 2020-08-22 11:18

Dependencies (21)

Required by (0)

Sources (5)

Latest Comments

1 2 Next › Last »

DarkShadow44 commented on 2020-09-20 14:22

@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

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

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

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

minxu commented on 2020-08-21 00:26

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

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

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

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

@Vladimir-A Thanks, uploaded a fixed version.

Vladimir-A commented on 2020-02-03 03:32

Need rename oibn to openimagedenoise (community repository) in the PKGBUILD.