Package Details: vkbasalt 0.3.2.10-1

Git Clone URL: https://aur.archlinux.org/vkbasalt.git (read-only, click to copy)
Package Base: vkbasalt
Description: A Vulkan post-processing layer. Some of the effects are CAS, FXAA, SMAA, deband.
Upstream URL: https://github.com/DadSchoorse/vkBasalt
Licenses: zlib
Submitter: gee
Maintainer: gee (FabioLolix)
Last Packager: gee
Votes: 57
Popularity: 1.07
First Submitted: 2019-10-21 10:32 (UTC)
Last Updated: 2023-07-04 07:13 (UTC)

Latest Comments

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

termuellinator commented on 2020-02-02 22:02 (UTC)

-3 is now building for me, thank you! :)

gee commented on 2020-02-02 21:08 (UTC)

Thank you @rodrigo21 ! I was wondering if there was a simple hack possible but did not feel like investigating so late. :)

You don't need spirv-headers though, glslang includes those files as well (not sure why we need multiple packages with the same headers though, even glslang has multiple paths for them).

Does the current PKGBUILD work for you?

rodrigo21 commented on 2020-02-02 21:00 (UTC) (edited on 2020-02-02 21:02 (UTC) by rodrigo21)

The reshade submodules are not needed. Just add spirv-headers to depends() and add this sed to prepare(): sed -i 's|../reshade/deps/spirv/include/spirv/unified1|/usr/include/spirv/unified1|g' src/makefile

gee commented on 2020-02-02 20:43 (UTC) (edited on 2020-02-02 20:44 (UTC) by gee)

Just in case others hit this issue, I added @bpierre's workaround.

kgg15 commented on 2020-02-02 16:42 (UTC)

@bpierre: thank you, everything worked out

bpierre commented on 2020-02-02 16:23 (UTC) (edited on 2020-02-02 16:25 (UTC) by bpierre)

@kgg15: you may be hitting the same issue as me: if CXXFLAGS is set in the environment, part of the default in vkBasalt/src/makefile are ignored. This result in vkBasalt being compiled without -fPIC (unlike spirv and reshade). As a result, linking build/libvkbasalt64.so fails, but because vkBasalt top-level makefile is crap (sub-directories calls to make ignore errors), the build continues...

I just patched the PKGBUILD locally:

diff --git i/PKGBUILD w/PKGBUILD
index 7ddc198..d305a13 100644
--- i/PKGBUILD
+++ w/PKGBUILD
@@ -49,7 +49,7 @@ prepare() {
 build() {
   cd ${srcdir}/vkBasalt

-  make
+  CXXFLAGS="$CXXFLAGS -fPIC" make
 }

 package() {

gee commented on 2020-02-02 13:13 (UTC)

Well I got it to build, I think it's pretty ugly though so I welcome any fix to the PKGBUILD but now I'm going to sleep, I got to wake up soon :/

I'm wondering though, would it be a good idea to add a separate PKGBUILD for reshade shaders now? It's purely data and it'd be a git package so it might be easier to just do a local pull, what do you guys think? We could also make it part of this PKGBUILD but it's like 8Mb, a lot more than this for people that are not interested...

gee commented on 2020-02-02 12:29 (UTC) (edited on 2020-02-02 12:48 (UTC) by gee)

I'm trying to update to current version, but I'm having trouble building reshade and it's getting too late for me to continue right now.

Here's my current PKGBUILD: https://pastebin.com/9vMuLFzT

I'm guessing reshade is missing some sort of path but not sure where.

I'm hopeful by the time I get back to this someone else will know the fix. :)

edit: I think I know, I'm not getting all the deps for reshade. Unfortunately I don't know how to get a submodule of a submodule. Here's the current wrong PKGBUILD: https://pastebin.com/hCcyXpTJ if someone can fix that little issue, it'll work, well at least it builds but I didn't test.

As for the person flagging this package, you don't need to, I also get the GH notifications.