ngx-fsr4

LOW
maintainer Grakul 0 votes scanned 2026-10-26 09:44:33.960329
View on AUR
Why flagged

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

Triggered rules

Low Few votes, recently uploaded zero_votes_recent

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

PKGBUILD

1# Maintainer: Eugene Flanagin <eflanagin@pm.me>
2# Experimental: tested on one RX 9070 XT system, two games. Not affiliated with NVIDIA or AMD.
3pkgname=ngx-fsr4
4pkgver=0.1.0
5pkgrel=1
6pkgdesc="EXPERIMENTAL: stand-in for NVIDIA's NGX runtime that answers DLSS Super Resolution with AMD FSR 4 (Proton)"
7arch=('any')
8url="https://github.com/eugenesflanagin-spec/ngx-fsr4"
9license=('MIT' 'LicenseRef-AMD-FidelityFX')
10depends=('bash' 'python' 'coreutils' 'findutils' 'procps-ng')
11# any llvm-mingw build works: llvm-mingw, llvm-mingw-w64-toolchain-ucrt-bin, ...-msvcrt-bin (all AUR)
12makedepends=('llvm-mingw-w64-toolchain')
13optdepends=('goverlay: provides an FSR 4.1.1 amd_fidelityfx_upscaler_dx12.dll'
14 'steam: the games and Proton it works with')
15conflicts=('ngx-fsr4-git')
16options=('!strip' '!lto' '!debug')
17source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
18sha256sums=('1262c67b2235bfc8f44965d501aa3a0edd471cb2d5a7adf8c80b3d970128677a')
19
20_llvm_mingw() {
21 local d
22 for d in "$LLVM_MINGW" /opt/llvm-mingw /opt/llvm-mingw/llvm-mingw-ucrt /opt/llvm-mingw/llvm-mingw-msvcrt; do
23 [[ -n $d && -x $d/bin/x86_64-w64-mingw32-clang ]] && { echo "$d"; return; }
24 done
25 echo "llvm-mingw not found; set LLVM_MINGW=/path/to/llvm-mingw" >&2
26 return 1
27}
28
29build() {
30 cd "$pkgname-$pkgver"
31 # Windows binaries: host CFLAGS/LDFLAGS do not apply
32 env -u CFLAGS -u CXXFLAGS -u LDFLAGS make LLVM_MINGW="$(_llvm_mingw)"
33}
34
35check() {
36 cd "$pkgname-$pkgver"
37 # no GPU or Wine needed: the DLL's PE exports, and the helper against a fake Steam library
38 env -u CFLAGS -u CXXFLAGS -u LDFLAGS make LLVM_MINGW="$(_llvm_mingw)" check
39}
40
41package() {
42 cd "$pkgname-$pkgver"
43 install -Dm644 build/nvngx.dll "$pkgdir/usr/lib/ngx-fsr4/nvngx.dll"
44 install -Dm644 build/harness.exe "$pkgdir/usr/lib/ngx-fsr4/harness.exe"
45 install -Dm644 build/gpu.exe "$pkgdir/usr/lib/ngx-fsr4/gpu.exe"
46 install -Dm755 tools/ngx-fsr4 "$pkgdir/usr/bin/ngx-fsr4"
47 install -Dm644 -t "$pkgdir/usr/share/doc/ngx-fsr4" README.md CHANGELOG.md CREDITS.md docs/USER-GUIDE.md
48 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
49 install -Dm644 third_party/ffx/docs/license.md "$pkgdir/usr/share/licenses/$pkgname/FidelityFX-LICENSE.md"
50}
51

Scan history

Scanned at (UTC)SeverityRules
2026-10-26 09:44:33 Low 1

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion