Package Details: raytracinginvulkan-git 7.r16.g5316859-1

Git Clone URL: https://aur.archlinux.org/raytracinginvulkan-git.git (read-only, click to copy)
Package Base: raytracinginvulkan-git
Description: Implementation of Peter Shirley's Ray Tracing In One Weekend book
Upstream URL: https://github.com/GPSnoopy/RayTracingInVulkan
Licenses: BSD
Conflicts: raytracinginvulkan
Provides: raytracinginvulkan
Submitter: PedroHLC
Maintainer: PedroHLC (a821, chaotic-aur)
Last Packager: chaotic-aur
Votes: 1
Popularity: 0.000044
First Submitted: 2021-04-21 02:27 (UTC)
Last Updated: 2024-02-21 11:47 (UTC)

Dependencies (18)

Required by (0)

Sources (2)

Pinned Comments

<deleted-account> commented on 2023-04-22 09:37 (UTC)

Also I would like to note that upstream here is extremely careless about their code change consequences, and dont perform any kind of QA of their code at all. But, despite that, I would still like to keep this package as upstream as possible to welcome new features as they pop in.

So, If this package does not build anymore, please, let me know! Thank you!

PedroHLC commented on 2021-04-21 02:45 (UTC) (edited on 2021-05-09 15:16 (UTC) by PedroHLC)

How to run?:

cd /opt/raytracinginvulkan/bin
./RayTracer --benchmark --width 1920 --height 1080 --fullscreen --scene 1 --next-scenes --present-mode 0

Contribution and issues in: https://github.com/chaotic-aur/pkgbuild-raytracinginvulkan-git

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

deliodc commented on 2023-08-26 00:08 (UTC) (edited on 2023-08-26 00:09 (UTC) by deliodc)

Thanks @eggz and @PedroHLC

My steps to install and run the RayTracer bin:
  • Install the required packages, specially "glfw-x11","imgui" and "tinyobjloader".
  • When the package is installed successfully, follow the @PedroHLC recommendation, to execute the binary:
cd /opt/raytracinginvulkan/bin
./RayTracer --help

In my case i have a AMD Radeon RX 6600M with mesa 23.1, i need to enable the rt and the dedicated graphic card (DRI_PRIME), for this reason i use the environment vars:

RADV_PERFTEST='rt' DRI_PRIME=1  ./RayTracer --benchmark --width 1920 --height 1080 --fullscreen --scene 1 --next-scenes --present-mode 0 --max-time=5

yochananmarqos commented on 2023-04-22 22:37 (UTC) (edited on 2023-04-22 23:00 (UTC) by yochananmarqos)

@eggz: My mistake, I ran /opt/raytracinginvulkan/bin/RayTracer instead of ./RayTracer from the bin directory.

EDIT: By the way, you forgot to bump the version when you removed the patch:

pkgver=7.r14.g9e4b225
pkgrel=1

<deleted-account> commented on 2023-04-22 22:04 (UTC)

@yochananmarqos I always run it after every compile and obviously it worked at my end. Unfortunatly, I am not sure what lib you are missing judging from that output so I dont have any quick ideas...

yochananmarqos commented on 2023-04-22 15:17 (UTC)

@eggz: It builds now, however running it is another story:

❯ /opt/raytracinginvulkan/bin/RayTracer
FATAL: failed to load icon

 0# 0x000055BC9F1297FD in /opt/raytracinginvulkan/bin/RayTracer
 1# 0x000055BC9F12A65F in /opt/raytracinginvulkan/bin/RayTracer
 2# 0x000055BC9F12F5CF in /opt/raytracinginvulkan/bin/RayTracer
 3# 0x00007F1680954790 in /usr/lib/libc.so.6
 4# __libc_start_main in /usr/lib/libc.so.6
 5# 0x000055BC9F131665 in /opt/raytracinginvulkan/bin/RayTracer

<deleted-account> commented on 2023-04-22 09:37 (UTC)

Also I would like to note that upstream here is extremely careless about their code change consequences, and dont perform any kind of QA of their code at all. But, despite that, I would still like to keep this package as upstream as possible to welcome new features as they pop in.

So, If this package does not build anymore, please, let me know! Thank you!

<deleted-account> commented on 2023-04-22 09:27 (UTC)

Thank you for letting me know yochananmarqos. Should be fixed.

yochananmarqos commented on 2023-04-22 00:12 (UTC) (edited on 2023-04-22 00:41 (UTC) by yochananmarqos)

@

This is failing to build:

==> Starting prepare()...
  -> Implementing custom patches
Applying ../0001-Update-GuiKeys.patch
error: patch failed: src/ImGui/imgui_impl_glfw.cpp:247
error: src/ImGui/imgui_impl_glfw.cpp: patch does not apply
error: failed to build 'raytracinginvulkan-git-7.r10.g164e530-2'

EDIT: I removed the patch, but it still does not build:

CMake Error at CMakeLists.txt:55 (find_package):
  By not providing "FindStb.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Stb", but
  CMake did not find one.

  Could not find a package configuration file provided by "Stb" with any of
  the following names:

    StbConfig.cmake
    stb-config.cmake

  Add the installation prefix of "Stb" to CMAKE_PREFIX_PATH or set "Stb_DIR"
  to a directory containing one of the above files.  If "Stb" provides a
  separate development package or SDK, be sure it has been installed.


-- Configuring incomplete, errors occurred!

EDIT 2: Upstream issue: https://github.com/GPSnoopy/RayTracingInVulkan/issues/69

<deleted-account> commented on 2023-03-31 12:42 (UTC)

I fixed it for as far as I can see, it seems to run on my 6800xt anyways. Enjoy.

<deleted-account> commented on 2023-03-31 10:31 (UTC)

I'll try to look into it myself first and play around with it. The fact they only support up to gcc9 is already worrying.

PedroHLC commented on 2023-03-31 10:26 (UTC)

@eggz if possible, please submit a Pull-Request to https://github.com/chaotic-aur/pkgbuild-raytracinginvulkan-git