Skip to content

[EN] RTX Remix setup for debugging

alex edited this page Apr 28, 2023 · 13 revisions

Instructions for building x64 openxray with rtx remix

This info is aimed for people who want to help us test the rtx remix implementation on openxray. This implementation is not stable yet, there have been various reported crashes. Please submit any helpful info to this issue

Prerequisites:

  • Grab latest remix binaries here
    • At the time of writing, the latest working version is 0.1.1.
    • Only copy files from within the .trex/ folder!
  • Grab latest dxvk binaries here
    • At the time of writing, working version is this
  • Follow these resources for building openxray binaries OR you can download precompiled openxray binaries here:
    • Windows
    • Linux
    • If downloading precompiled binaries, you will want to download the latest ffp branch build artifact. The latest at the time of writing is here

Install steps:

  1. Copy openxray binaries into game_root_dir/bin/
  2. Copy remix binaries into game_root_dir/bin/
  3. Copy dxvk binaries into game_root_dir/bin/
  4. git checkout rtx-support
  5. git pull origin rtx-support
  6. Copy rtx.conf from openxray_dir/res/ into game_root_dir/
  7. Copy play_rtx.bat from openxray_dir/res/ into game_root_dir/
  8. copy rtx-remix folder from openxray_dir/res/ into game_root_dir/

Running the game:

  1. Open play_rtx.bat in game_root_dir/.
  2. ensure you are using static lighting, by setting it in options menu or doing console command renderer renderer_r1
  3. enable ffp by doing console command r1_ffp on
  4. enable ffp lighting by doing console command r1_ffp_lighting st_opt_ffp_constant
  5. save the config by doing console command cfg_save
  6. restart the game

Remix should now be working. Press alt+x while in-game to open remix ui. xrEngine needs to be launched with -i to be able to use remix ui, handled by play_rtx.bat

Useful links:

Notes:

  • Most stable level is jupiter. Use console command jump_to_level jupiter to get there.
  • Sun kind of works, but is glitchy probably due to culling. Use console command sv_setweather default_clear to make it sunny.

Bugs:

  • Sometimes game does not start with Release config, just double click the empty window and close it; or use task manager to close xrEngine. It'll run eventually... OR use Mixed config. Seems more reliable to start.
  • Often crashes due to DxvkSubmissionQueue: Command submission failed: VK_ERROR_DEVICE_LOST
  • Lods rendered with strange colors
  • Idk if terrain texture mapping is working properly
  • Environment textures look very plasticky when rendered

Sample screenshots

Your game should look like this if set up properly! Screenshots taken on new game, after jumping to jupiter, with default_clear weather. xrEngine_2023_04_27_02_55_19_161

Clone this wiki locally