Package Details: raytracinginvulkan-git 7.r32.g92170b6-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-3-Clause
Conflicts: raytracinginvulkan
Provides: raytracinginvulkan
Submitter: PedroHLC
Maintainer: PedroHLC (a821, chaotic-aur)
Last Packager: a821
Votes: 1
Popularity: 0.000005
First Submitted: 2021-04-21 02:27 (UTC)
Last Updated: 2025-04-03 19:54 (UTC)

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 4 5 Next › Last »

<deleted-account> commented on 2024-01-11 10:03 (UTC)

Ty for telling me Ivx, I had to dirty fix it because imgui overhauled their code, and so did our upstream, trying to fix... windows builds (+ implemented a new vulkan SDK as a cherry on top). This broke the earlier fixes I had made myself and so now I have a multiplier of fixes to write (on top of the new changes).

So, I have a long list of fixes/compatibility issues to sort and its going to take a long time for me to do that. I will do it (or first take a long look at it) when I have the time, for now, this is just keeping alive the old version.

lvx commented on 2024-01-11 03:21 (UTC) (edited on 2024-01-11 03:23 (UTC) by lvx)

When I try to install this package with yay I get the following error:

==> Starting prepare()...
  -> Hard fixes
Forcing stb dir
  -> Implementing custom patches
Applying ../glslang.patch
error: src/ImGui/imgui_impl_vulkan.cpp: No such file or directory
 -> error making: raytracinginvulkan-git-exit status 2
 -> Failed to install the following packages. Manual intervention is required:
raytracinginvulkan-git - exit status 2

It seems it is not able to find src/ImGui/imgui_impl_vulkan.cpp

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