From 08768e3d25599a28556acd622c81b17a00c7dbe7 Mon Sep 17 00:00:00 2001 From: Jens Peters Date: Fri, 19 Jan 2024 18:37:09 +0100 Subject: [PATCH 1/4] meta: Update usage section --- README.md | 32 ++++++++++++++------------------ 1 file changed, 14 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index 1535e5d6..710cd98c 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ While originally being developed for usage with Unreal Engine 4, most notably fo ## Requirements -This implementation is supposed to be used on Linux using Wine or derivatives like Proton. Usage on Windows is discouraged. Please do not replace `nvapi.dll`/`nvapi64.dll` on Windows from NVIDIA's driver package with this version. DXVK-NVAPI uses several DXVK and VKD3D-Proton extension points, thus using DXVK (D3D11 and DXGI) is a requirement. Using Wine's D3D11 or DXGI will fail. Usage of DXVK-NVAPI is not restricted to NVIDIA GPUs, though the default behavior is to skip GPUs not running the NVIDIA proprietary driver. Some entry points offer no functionality or make no sense when a different GPU vendor is detected. +This implementation is supposed to be used on Linux using Wine or derivatives like Proton. Usage on Windows is discouraged. Please do not replace `nvapi.dll`/`nvapi64.dll` on Windows from NVIDIA's driver package with this version. DXVK-NVAPI uses several DXVK and VKD3D-Proton extension points, thus using DXVK (D3D11 and DXGI) is a requirement. Using Wine's D3D11 or DXGI implementation will fail. Usage of DXVK-NVAPI is not restricted to NVIDIA GPUs, though the default behavior is to skip GPUs not running the NVIDIA proprietary driver. Some entry points offer no functionality or make no sense when a different GPU vendor is detected. DLSS requires an NVIDIA GPU, Turing or newer, running the proprietary driver. When available, DXVK-NVAPI uses NVIDIA's NVML management library to query temperature, utilization and others for NVIDIA GPUs. See [wine-nvml](https://github.com/Saancreed/wine-nvml) how to add NVML support to Wine/Proton. @@ -38,39 +38,35 @@ Prebuilt binaries of release versions are available at Date: Fri, 19 Jan 2024 18:50:38 +0100 Subject: [PATCH 2/4] ci: Use idental workflow conditions Also renames. --- .../{artifacts.yml => build-test-package-linux.yml} | 2 +- .../{test-build-windows.yml => build-test-windows.yml} | 10 ++++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) rename .github/workflows/{artifacts.yml => build-test-package-linux.yml} (98%) rename .github/workflows/{test-build-windows.yml => build-test-windows.yml} (92%) diff --git a/.github/workflows/artifacts.yml b/.github/workflows/build-test-package-linux.yml similarity index 98% rename from .github/workflows/artifacts.yml rename to .github/workflows/build-test-package-linux.yml index b9ef8db6..ece9f01b 100644 --- a/.github/workflows/artifacts.yml +++ b/.github/workflows/build-test-package-linux.yml @@ -9,7 +9,7 @@ on: workflow_dispatch: jobs: - build-artifacts: + build-test-package-linux: runs-on: ubuntu-latest steps: diff --git a/.github/workflows/test-build-windows.yml b/.github/workflows/build-test-windows.yml similarity index 92% rename from .github/workflows/test-build-windows.yml rename to .github/workflows/build-test-windows.yml index f86a878a..4272a282 100644 --- a/.github/workflows/test-build-windows.yml +++ b/.github/workflows/build-test-windows.yml @@ -1,9 +1,15 @@ name: Build and test on Windows -on: [push, pull_request, workflow_dispatch] +on: + push: + branches: [ master ] + tags: [ v* ] + pull_request: + branches: [ master ] + workflow_dispatch: jobs: - build-set-windows: + build-test-windows: runs-on: windows-2022 steps: From c5e39309f9130aa5da1e8f19ac198145f5f4b736 Mon Sep 17 00:00:00 2001 From: Jens Peters Date: Fri, 19 Jan 2024 18:51:18 +0100 Subject: [PATCH 3/4] ci: Use idental checkout strategy --- .github/workflows/build-test-windows.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-test-windows.yml b/.github/workflows/build-test-windows.yml index 4272a282..83ab4736 100644 --- a/.github/workflows/build-test-windows.yml +++ b/.github/workflows/build-test-windows.yml @@ -14,10 +14,10 @@ jobs: steps: - name: Checkout code - id: checkout-code uses: actions/checkout@v3 with: submodules: recursive + fetch-depth: 0 - name: Setup Meson shell: pwsh From 40e39453e836f0be9f95a13eb370b7fdbb7d2dc0 Mon Sep 17 00:00:00 2001 From: Jens Peters Date: Fri, 19 Jan 2024 19:01:52 +0100 Subject: [PATCH 4/4] ci: Add dependabot for github actions --- dependabot.yml | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 dependabot.yml diff --git a/dependabot.yml b/dependabot.yml new file mode 100644 index 00000000..5ace4600 --- /dev/null +++ b/dependabot.yml @@ -0,0 +1,6 @@ +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly"