Skip to content

Configuration and Wayland

buntatoes edited this page Nov 29, 2026 · 3 revisions

Configuration and Wayland

Pisco supports per-game Steam Launch Options, global configuration via user_settings.json (or legacy user_settings.py), native PISCO_* environment variables (mapped seamlessly to PROTON_*), automatic PCI GPU vendor defaults (gpu_vendors.zig), and an opt-in native Wayland driver toggle.


Opt-In Native Wayland & Fractional Scaling

By default, Pisco uses XWayland / X11 to preserve compatibility with the Steam Overlay and titles that expect X11 behavior. Native Wayland is opt-in.

Per-Game Launch Options

  1. Select Pisco in the game's Properties -> Compatibility.
  2. In Properties -> General -> Launch Options, add:
PISCO_ENABLE_WAYLAND=1 %command%

PROTON_ENABLE_WAYLAND=1 %command% is also accepted and behaves identically.

Global Wayland Enablement

To enable native Wayland for every game running under Pisco, copy user_settings.sample.json to user_settings.json inside ~/.steam/root/compatibilitytools.d/Pisco/ and add "PROTON_ENABLE_WAYLAND": "1" (or "PISCO_ENABLE_WAYLAND": "1"):

{
    "PROTON_ENABLE_WAYLAND": "1"
}

Fractional Scaling (wp_fractional_scale_v1) & KDE Plasma

  • Vodka's native Wayland display driver (libvodkawayland.so) supports wp_fractional_scale_v1 and wp_viewporter for crisp HiDPI / fractional display scaling on Wayland compositors.
  • On KDE Plasma 6.4+, KWin supports wp_fractional_scale_v1 natively without workarounds.
  • If a title exhibits frame lag on Wayland due to other-process Vulkan window rendering, try disabling OPWR:
PISCO_ENABLE_WAYLAND=1 VODKA_DISABLE_VULKAN_OPWR=1 %command%

Automatic X11 Fallback

When PISCO_ENABLE_WAYLAND=1 / PROTON_ENABLE_WAYLAND=1 (or compat config string wayland) is active, Pisco inspects WAYLAND_DISPLAY in zig/src/pisco/main.zig:

  • If WAYLAND_DISPLAY is set and non-empty, Pisco unsets DISPLAY so Vodka activates its native Wayland driver (libvodkawayland.so).
  • If WAYLAND_DISPLAY is unset or empty (for example, inside an X11 session or headless environment), Pisco logs a notice and automatically falls back to X11 without failing the launch.

Automatic PCI GPU Vendor Defaults (gpu_vendors.zig)

At startup, Pisco inspects /sys/bus/pci/devices (zig/src/pisco/gpu_vendors.zig) to detect the primary display GPU and apply safe Wayland/Vulkan defaults without overriding any variables explicitly set by the user or user_settings.json:

Detected GPU Support Tier Default Variables Applied
AMD (Mesa RADV) verified PISCO_GPU_VENDOR=amd, PISCO_GPU_TIER=verified, PISCO_WAYLAND_FRACTIONAL_SCALING=1
NVIDIA RTX 2000+ (Turing+, PCI ID >= 0x1E00) experimental PISCO_GPU_VENDOR=nvidia, PISCO_GPU_TIER=experimental, __GL_GSYNC_ALLOWED=1, GBM_BACKEND=nvidia-drm, PISCO_WAYLAND_EXPLICIT_SYNC=1, PISCO_DISABLE_LEGACY_X11=1, PISCO_WAYLAND_FRACTIONAL_SCALING=1
Intel Arc / Xe (Gen12+) experimental PISCO_GPU_VENDOR=intel, PISCO_GPU_TIER=experimental, MESA_VK_WSI_PRESENT_MODE=mailbox, PISCO_DISABLE_LEGACY_X11=1, PISCO_WAYLAND_FRACTIONAL_SCALING=1
Pre-RTX 2000 NVIDIA / Pre-Gen12 Intel unsupported_legacy Sets PISCO_LEGACY_GPU_WARNING=1, logs a warning, and skips vendor fast-path overrides

Global Configuration (user_settings.json / user_settings.py)

Pisco parses global settings directly in Zig (zig/src/pisco/settings.zig) with zero Python interpreter dependency.

File Lookup Order & Precedence

Inside your installed Pisco directory (e.g., ~/.steam/root/compatibilitytools.d/Pisco/):

  1. Environment variables / Steam Launch Options always take highest precedence — entries in user_settings.* are only applied if the variable is not already set in the environment.
  2. If user_settings.py exists, it is loaded first (for drop-in compatibility with existing Proton setups).
  3. Otherwise, if user_settings.json exists, it is loaded.
  4. Any key beginning with _ (such as "_comment") is ignored.

Example user_settings.json

user_settings.sample.json ships in the repository and installed directory:

{
    "_comment": "Rename this file to user_settings.json to enable these settings for all games run in Pisco. Legacy user_settings.py files are also supported.",
    "PROTON_LOG": "1",
    "BITTERS_LOG_LEVEL": "info",
    "VKD3D_DEBUG": "warn",
    "VKD3D_SHADER_DEBUG": "fixme",
    "VODKA_MONO_TRACE": "E:System.NotImplementedException",
    "GST_DEBUG_NO_COLOR": "1"
}

PISCO_* Alias Normalization

Before applying runtime options, zig/src/pisco/main.zig automatically maps any PISCO_<NAME> environment variable (from launch options or user_settings.json) to PROTON_<NAME>. For example, PISCO_LOG=1, PISCO_LOG_DIR=/tmp, and PISCO_ENABLE_WAYLAND=1 are equivalent to PROTON_LOG=1, PROTON_LOG_DIR=/tmp, and PROTON_ENABLE_WAYLAND=1.


Runtime Configuration Options

Set any boolean option to a non-0 value (e.g. 1) to enable it, or 0 to explicitly disable it (overriding built-in quirks or Steam compat config flags). Removing an option reverts to default behavior without permanently modifying the Vodka prefix.

Display, Wayland & Scaling

Compat Config Environment Variable Description
wayland PISCO_ENABLE_WAYLAND / PROTON_ENABLE_WAYLAND Enable Vodka's native Wayland driver (libvodkawayland.so) with wp_fractional_scale_v1 support (falls back to X11 if WAYLAND_DISPLAY is missing)
noopwr VODKA_DISABLE_VULKAN_OPWR Disable Vulkan other-process window rendering (helps with frame lag on Wayland in some titles)
noxim PROTON_NO_XIM Disable X Input Method (VODKA_DISABLE_XIM=1)

Graphics, Bitters & GPU Overrides

Compat Config Environment Variable Description
vodkagfx PROTON_USE_VODKAGFX Use Vodka's built-in graphics DLLs instead of Bitters (D3D8/9/10/11/DXGI) and vkd3d-proton (D3D12)
nod3d11 PROTON_NO_D3D11 Disable d3d11.dll
nod3d10 PROTON_NO_D3D10 Disable d3d10.dll, d3d10_1.dll, and dxgi.dll
VODKADLLPATH Colon-separated PE DLL search path (Pisco prepends vodka/bitters:vodka/tonic:vkd3d:vodka by default, or vodka/tonic:vkd3d:vodka under vodkagfx)
VODKADLLOVERRIDES Semicolon-separated PE DLL load-order overrides (e.g. dxgi=b;d3d8=b to prefer Vodka's builtin DLLs for specific modules)
disablenvapi PROTON_DISABLE_NVAPI Disable optional external NVAPI DLL loading (NVAPI is not bundled; overrides are only enabled if external DLLs exist on disk)
forcenvapi PROTON_FORCE_NVAPI Enable optional external NVAPI loading (if present on disk) and set VODKA_HIDE_AMD_GPU=1
hidenvgpu PROTON_HIDE_NVIDIA_GPU Report NVIDIA GPUs as AMD GPUs (VODKA_HIDE_NVIDIA_GPU=1)
hidevggpu PROTON_HIDE_VANGOGH_GPU Hide AMD Van Gogh APU device ID (VODKA_HIDE_VANGOGH_GPU=1)
hideintelgpu PROTON_HIDE_INTEL_GPU Hide Intel GPU device ID (VODKA_HIDE_INTEL_GPU=1)
hideapu PROTON_HIDE_APU Hide integrated APU (VODKA_HIDE_APU=1)
oldglstr PROTON_OLD_GL_STRING Limit OpenGL extension string length for older games
vkd3dfl12 Force Direct3D 12 feature level to 12_0
vkd3dbindlesstb Append force_bindless_texel_buffer to VKD3D_CONFIG
nativevulkanloader Use the game's bundled Vulkan loader instead of Vodka's built-in loader (vulkan-1=n)
fnad3d11 FNA3D_FORCE_DRIVER=D3D11 Force FNA titles to render via D3D11

Media, Synchronization, Memory & System

Compat Config Environment Variable Description
PISCO_NO_HOST_GST_PLUGINS Prevent Pisco from appending existing host system GStreamer 1.0 plugin directories to GST_PLUGIN_SYSTEM_PATH_1_0
TONIC_NO_HOST_SPEECH Disable Tonic's optional runtime dlopen probe for host libspeechd.so.2, forcing the built-in pure-Zig Klatt formant synthesizer
nofsync PROTON_NO_FSYNC Disable futex-based in-process synchronization (VODKA_FSYNC)
noesync PROTON_NO_ESYNC Disable eventfd-based synchronization (VODKA_ESYNC)
forcelgadd / noforcelgadd PROTON_FORCE_LARGE_ADDRESS_AWARE Enable or disable VODKA_LARGE_ADDRESS_AWARE (enabled by default)
heapdelayfree PROTON_HEAP_DELAY_FREE Delay heap frees to work around use-after-free bugs (VODKA_HEAP_DELAY_FREE=1)
heapzeromemory PROTON_HEAP_ZERO_MEMORY Zero-initialize heap allocations (VODKA_HEAP_ZERO_MEMORY=1)
heaptopdown Allocate heap memory top-down (VODKA_HEAP_TOP_DOWN=1)
nomfdxgiman VODKA_DO_NOT_CREATE_DXGI_DEVICE_MANAGER Work around video playback issues from incomplete IMFDXGIDeviceManager
gamedrive PROTON_SET_GAME_DRIVE Map S: to the Steam Library containing the game
steamdrive PROTON_SET_STEAM_DRIVE Map a drive letter to the Steam installation directory
xalia / noxalia PROTON_USE_XALIA Enable or disable Xalia gamepad UI automation
nohardwarescheduling VODKA_DISABLE_HARDWARE_SCHEDULING Disable hardware-accelerated GPU scheduling reporting
HOST_LC_ALL Override system locale for a game (use instead of LC_ALL)
PROTON_CPU_TOPOLOGY Override exposed CPU core/topology count (VODKA_CPU_TOPOLOGY)
PROTON_USE_WOW64 Toggle WoW64 mode (1 / 0, sets VODKA_ARCH=wow64 on x86_64)
cmdlineappend: Append the string following the colon to the game command line

Logging & Debugging

Environment Variable Description
PISCO_LOG / PROTON_LOG Write debug log to $PROTON_LOG_DIR/steam-$APPID.log. Set to 1 for default channels, or a VODKADEBUG string (e.g. +waylanddrv) to append
PISCO_LOG_DIR / PROTON_LOG_DIR Output directory for debug logs (defaults to $HOME)
BITTERS_LOG_LEVEL Bitters Vulkan/D3D translation log verbosity (defaults to info under PROTON_LOG=1, none otherwise)
PROTON_WAIT_ATTACH Pause inside steam.exe until a debugger attaches
PROTON_CRASH_REPORT_DIR Write crash logs to the given directory (VODKA_CRASH_REPORT_DIR)
PROTON_REMOTE_DEBUG_CMD Run a custom shell-tokenized remote debugger command