[EN] RTX Remix setup for debugging - OpenXRay/xray-16 GitHub Wiki
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:
Install steps:
- Copy openxray binaries into
game_root_dir/bin/
- Copy remix binaries into
game_root_dir/bin/
- Copy dxvk binaries into
game_root_dir/bin/
git checkout rtx-support
git pull origin rtx-support
- Copy rtx.conf from
openxray_dir/res/
intogame_root_dir/
- Copy play_rtx.bat from
openxray_dir/res/
intogame_root_dir/
- copy rtx-remix folder from
openxray_dir/res/
intogame_root_dir/
Running the game:
- Open
play_rtx.bat
ingame_root_dir/
. - ensure you are using static lighting, by setting it in options menu or doing console command
renderer renderer_r1
- enable ffp by doing console command
r1_ffp on
- enable ffp lighting by doing console command
r1_ffp_lighting st_opt_ffp_constant
- save the config by doing console command
cfg_save
- 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.