protonscr

Bright Memory: Infinite Ray Tracing Benchmark - Out of memory on RADV

vkd3dopen
HansKristian-Work/vkd3d-proton#1443 · opened 2023-02-24 by G4E · updated 2023-11-06 · 3 comments · github
GG4E 2023-02-24 github

Hello,
While I know that RADV's ray-tracing capabilities still have got a long road ahead, the recent work on ray-tracing were enough to launch this benchmark ! The first few frame are rendered (albeit pretty slowly) but the benchmark crash shortly after, from memory exhaustion from what I saw.

Software information

Bright Memory: Infinite Ray Tracing Benchmark is a free ray-tracing benchmark on Steam. https://store.steampowered.com/app/1409670/Bright_Memory_Infinite_Ray_Tracing_Benchmark/

System information

  • GPU: RX 6800
  • RAM : 16GB
  • CPU : R5 5600x
  • Driver: RADV a4fa489002699b066da07b71767ae734e63072b8
  • Wine version: Proton Experimental (experimental-7.0-20230220b)

I compiled mesa with :

meson setup build/ --prefix="~/Games/mesa/mesa_dev/" --buildtype=release \
   -Dgallium-drivers=radeonsi \
   -Dvulkan-drivers=amd \
   -Dplatforms=x11 \
   -Dgallium-extra-hud=true \
   -Dllvm=enabled \
   -Dpower8=disabled \
   -Dgallium-vdpau=disabled \
   -Dgallium-va=disabled \
   -Dvalgrind=disabled \
   -Dc_args=-march=native \
   -Dcpp_args=-march=native
ninja -C build/
ninja -C build/ install

Then I launched the game with

LD_LIBRARY_PATH=~/Games/mesa/mesa_dev/lib64 VK_ICD_FILENAMES=~/Games/mesa/mesa_dev/share/vulkan/icd.d/radeon_icd.x86_64.json VKD3D_CONFIG=dxr RADV_PERFTEST=rt PROTON_LOG=1 %command%

Log files

See attached
steam-1409670.log

I am not sure if the problem comes from VKD3D or Mesa, I hope this report can be useful to you.

GG4E 2023-03-03 github

Update :
I now have 32GB of RAM.
Mesa on 8aff7152a0f9848083a522ed5e352d8ac1469fc2.
Proton experimental-7.0-20230227.

The benchmark can now finish, and seems to use less RAM.
The result is ... something, but it runs !
bright_memory
Here is the detailled report generated by the game :
BMI_BenchMark_Score_2023-3-3.csv
And here is proton's log :
steam-1409670.log

BBlisto91 2023-10-30 github

@G4E was this issue solved?

GG4E 2023-11-06 github

@Blisto91
Hello !
All the work from mesa and vkd3d developers is impressive. The benchmark run now smoothly, with a far better framerate. However, there is still heavy flicker of transparent objects.

Mesa : 23.2.1
Proton experimental-8.0-20231019

VKD3D_CONFIG=dxr RADV_PERFTEST=rt PROTON_LOG=1 %command%

bmi
BMI_BenchMark_Score_2023-11-6.csv
steam-1409670.log