[Радио 410] [ii.booru-Архив РПГ] [acomics-cf-ost] [𝕏]

[Назад]
Ответ

Vdf Install Script __link__ May 2026

echo "=== Vulkan Device Filter Installation ===" if command -v apt &>/dev/null; then sudo apt update sudo apt install -y git cmake build-essential libvulkan-dev vulkan-validationlayers elif command -v dnf &>/dev/null; then sudo dnf install -y git cmake gcc-c++ vulkan-loader-devel vulkan-validation-layers elif command -v pacman &>/dev/null; then sudo pacman -S --noconfirm git cmake base-devel vulkan-headers vulkan-validation-layers else echo "Unsupported package manager. Install git, cmake, Vulkan SDK manually." exit 1 fi Clone repository git clone --depth 1 https://github.com/GPUOpen-Tools/VulkanDeviceFilter.git cd VulkanDeviceFilter Build mkdir -p build && cd build cmake .. -DCMAKE_BUILD_TYPE=Release make -j$(nproc) Install sudo make install sudo ldconfig Set environment to enable layer (optional) echo 'export VK_LOADER_LAYERS_ENABLE=VK_LAYER_GPUOPEN_device_filter' >> ~/.bashrc

#!/bin/bash # VDF Tools Installer (vdf.py, vdf-rs, etc.) set -e vdf install script

#!/bin/bash # VDF (Vulkan Device Filter) Install Script for Linux # Run as root or with sudo set -e echo "=== Vulkan Device Filter Installation ===" if

echo "=== Installing VDF command-line tools ===" if command -v pip3 &>/dev/null; then pip3 install --user vdf echo "Python 'vdf' module installed." else echo "pip3 not found. Install Python3 and pip first." fi Option: install vdf-rs (Rust tool) if command -v cargo &>/dev/null; then cargo install vdf-rs echo "vdf-rs installed via cargo." else echo "Cargo not found. Skipping vdf-rs." fi Create simple helper script cat > ~/.local/bin/vdf_parse << 'EOF' #!/usr/bin/env python3 import vdf, sys, json with open(sys.argv[1], 'r') as f: data = vdf.load(f) print(json.dumps(data, indent=2)) EOF Install Python3 and pip first

# VDF Driver Install Script (Windows PowerShell as Admin) param( [string]$DriverInf = "C:\Drivers\vdf_filter.inf" ) if (-NOT ([Security.Principal.WindowsPrincipal] [Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] "Administrator")) { Write-Host "Please run as Administrator" -ForegroundColor Red exit 1 }

echo "Vulkan Device Filter installed successfully." echo "To use: VK_DEVICE_FILTER=<PCI_BUS_ID> your_vulkan_app" If you need tools to parse .vdf files (Steam’s key-value format).

Write-Host "Installing Virtual Disk Filter Driver..." -ForegroundColor Green pnputil /add-driver $DriverInf /install Start service if it's a driver service $driverName = "vdf_filter" if (Get-Service -Name $driverName -ErrorAction SilentlyContinue) { Start-Service $driverName Set-Service -Name $driverName -StartupType Automatic Write-Host "Driver service '$driverName' started." } else { Write-Host "Driver installed but no service found. Check if filter is attached to disk stack." }


echo "=== Vulkan Device Filter Installation ===" if command -v apt &>/dev/null; then sudo apt update sudo apt install -y git cmake build-essential libvulkan-dev vulkan-validationlayers elif command -v dnf &>/dev/null; then sudo dnf install -y git cmake gcc-c++ vulkan-loader-devel vulkan-validation-layers elif command -v pacman &>/dev/null; then sudo pacman -S --noconfirm git cmake base-devel vulkan-headers vulkan-validation-layers else echo "Unsupported package manager. Install git, cmake, Vulkan SDK manually." exit 1 fi Clone repository git clone --depth 1 https://github.com/GPUOpen-Tools/VulkanDeviceFilter.git cd VulkanDeviceFilter Build mkdir -p build && cd build cmake .. -DCMAKE_BUILD_TYPE=Release make -j$(nproc) Install sudo make install sudo ldconfig Set environment to enable layer (optional) echo 'export VK_LOADER_LAYERS_ENABLE=VK_LAYER_GPUOPEN_device_filter' >> ~/.bashrc

#!/bin/bash # VDF Tools Installer (vdf.py, vdf-rs, etc.) set -e

#!/bin/bash # VDF (Vulkan Device Filter) Install Script for Linux # Run as root or with sudo set -e

echo "=== Installing VDF command-line tools ===" if command -v pip3 &>/dev/null; then pip3 install --user vdf echo "Python 'vdf' module installed." else echo "pip3 not found. Install Python3 and pip first." fi Option: install vdf-rs (Rust tool) if command -v cargo &>/dev/null; then cargo install vdf-rs echo "vdf-rs installed via cargo." else echo "Cargo not found. Skipping vdf-rs." fi Create simple helper script cat > ~/.local/bin/vdf_parse << 'EOF' #!/usr/bin/env python3 import vdf, sys, json with open(sys.argv[1], 'r') as f: data = vdf.load(f) print(json.dumps(data, indent=2)) EOF

# VDF Driver Install Script (Windows PowerShell as Admin) param( [string]$DriverInf = "C:\Drivers\vdf_filter.inf" ) if (-NOT ([Security.Principal.WindowsPrincipal] [Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] "Administrator")) { Write-Host "Please run as Administrator" -ForegroundColor Red exit 1 }

echo "Vulkan Device Filter installed successfully." echo "To use: VK_DEVICE_FILTER=<PCI_BUS_ID> your_vulkan_app" If you need tools to parse .vdf files (Steam’s key-value format).

Write-Host "Installing Virtual Disk Filter Driver..." -ForegroundColor Green pnputil /add-driver $DriverInf /install Start service if it's a driver service $driverName = "vdf_filter" if (Get-Service -Name $driverName -ErrorAction SilentlyContinue) { Start-Service $driverName Set-Service -Name $driverName -StartupType Automatic Write-Host "Driver service '$driverName' started." } else { Write-Host "Driver installed but no service found. Check if filter is attached to disk stack." }



Удалить сообщение []
Пароль
[d | b / bro / cu / dev / hr / l / m / mu / o / s / tran / tu / tv / vg / x | a / aa / c / fi / jp / rm / tan / to / ts / vn]
- [Радио 410] [ii.booru-Архив РПГ] [acomics-cf-ost] [𝕏] - [Архив - Каталог] [Главная]