RayTracingInVulkan icon indicating copy to clipboard operation
RayTracingInVulkan copied to clipboard

Benchmark Results on AMD Radeon RX6600XT

Open runlevel5 opened this issue 1 year ago • 2 comments
trafficstars

$ uname -ar
Linux shrimp-paste 6.8.5-301.fc40.ppc64le #1 SMP Thu Apr 11 19:52:51 UTC 2024 ppc64le GNU/Linux
# RayTracer at commit SHA 10794239fb070600a8698dd6bfc92de5417300c4
$ ./RayTracer --benchmark --width 2560 --height 1440 --fullscreen --scene 1 --next-scenes --present-mode 0
Vulkan SDK Header Version: 280

Vulkan Devices:
- [29695] AMD 'AMD Radeon RX 6600 XT (RADV NAVI23)' (Discrete GPU: vulkan 1.3.274, driver radv Mesa 24.0.5 - 24.0.5)
- [0] UnknownVendor 'llvmpipe (LLVM 18.1.1, 128 bits)' (CPU: vulkan 1.3.274, driver llvmpipe Mesa 24.0.5 (LLVM 18.1.1) - 0.0.1)

Setting Device [29695]:
- loading '../assets/textures/white.png'... (1 x 1 x 3) 4.8446e-05s
- built acceleration structures in 0.0228474s

Swap Chain:
- image count: 5
- present mode: 0

Benchmark: Start scene #1 'Ray Tracing In One Weekend'
Benchmark: 23.9831 fps
Benchmark: 23.3478 fps
Benchmark: 23.3563 fps
Benchmark: 23.3206 fps
Benchmark: 23.3 fps
Benchmark: 23.1904 fps
Benchmark: 22.8472 fps
Benchmark: 22.9988 fps
Benchmark: 22.8318 fps
Benchmark: 22.7934 fps
Benchmark: 23.1483 fps

- loading '../assets/textures/2k_mars.jpg'... (2048 x 1024 x 3) 0.0621568s
- loading '../assets/textures/2k_moon.jpg'... (2048 x 1024 x 3) 0.0512641s
- loading '../assets/textures/land_ocean_ice_cloud_2048.png'... (2048 x 1024 x 3) 0.0713926s
- built acceleration structures in 0.0222923s

Benchmark: Start scene #2 'Planets In One Weekend'
Benchmark: 23.5372 fps
Benchmark: 22.9298 fps
Benchmark: 22.93 fps
Benchmark: 22.9306 fps
Benchmark: 22.9134 fps
Benchmark: 22.9047 fps
Benchmark: 22.9861 fps
Benchmark: 22.9277 fps
Benchmark: 22.9606 fps
Benchmark: 22.9801 fps
Benchmark: 22.9329 fps

- loading '../assets/models/lucy.obj'... (673335 vertices, 224491 unique vertices, 1 materials) 0.886134s
- loading '../assets/textures/white.png'... (1 x 1 x 3) 5.9257e-05s
- built acceleration structures in 0.0343484s

Benchmark: Start scene #3 'Lucy In One Weekend'
Benchmark: 9.18755 fps
Benchmark: 8.57667 fps
Benchmark: 8.58261 fps
Benchmark: 8.57972 fps
Benchmark: 8.57509 fps
Benchmark: 8.57915 fps
Benchmark: 8.5752 fps
Benchmark: 8.57344 fps
Benchmark: 8.57644 fps
Benchmark: 8.57955 fps
Benchmark: 8.57244 fps

- loading '../assets/textures/white.png'... (1 x 1 x 3) 8.9619e-05s
- built acceleration structures in 0.00102045s

Benchmark: Start scene #4 'Cornell Box'
Benchmark: 18.431 fps
Benchmark: 17.8472 fps
Benchmark: 17.8256 fps
Benchmark: 17.8586 fps
Benchmark: 17.8143 fps
Benchmark: 17.8247 fps
Benchmark: 17.8217 fps
Benchmark: 17.8167 fps
Benchmark: 17.8012 fps
Benchmark: 17.847 fps
Benchmark: 17.8088 fps

- loading '../assets/models/lucy.obj'... (673335 vertices, 224491 unique vertices, 1 materials) 0.887745s
- loading '../assets/textures/white.png'... (1 x 1 x 3) 5.6918e-05s
- built acceleration structures in 0.00424686s

Benchmark: Start scene #5 'Cornell Box & Lucy'
Benchmark: 6.04618 fps
Benchmark: 5.46885 fps
Benchmark: 5.45597 fps
Benchmark: 5.45801 fps
Benchmark: 5.46154 fps
Benchmark: 5.45658 fps
Benchmark: 5.45792 fps
Benchmark: 5.45688 fps
Benchmark: 5.45561 fps
Benchmark: 5.45671 fps

runlevel5 avatar Apr 18 '24 01:04 runlevel5

Hey just a note, Mesa's latest upstream build (24.1) can get you about 5 - 10% better RT Performance.

Weather-OS avatar May 05 '24 19:05 Weather-OS

After bumping to mesa 24.1, it is indeed ~10% faster

$ ./RayTracer --benchmark --width 2560 --height 1440 --fullscreen --scene 1 --next-scenes --present-mode 0
Vulkan SDK Header Version: 280

Vulkan Devices: 
- [29695] AMD 'AMD Radeon RX 6600 XT (RADV NAVI23)' (Discrete GPU: vulkan 1.3.278, driver radv Mesa 24.1.1 - 24.1.1)
- [0] UnknownVendor 'llvmpipe (LLVM 18.1.6, 128 bits)' (CPU: vulkan 1.3.278, driver llvmpipe Mesa 24.1.1 (LLVM 18.1.6) - 0.0.1)

Setting Device [29695]:
- loading '../assets/textures/white.png'... (1 x 1 x 3) 6.009e-05s
- built acceleration structures in 0.0224291s

Swap Chain: 
- image count: 3
- present mode: 0


Benchmark: Start scene #1 'Ray Tracing In One Weekend'
Benchmark: 29.8593 fps
Benchmark: 28.703 fps
Benchmark: 28.7327 fps
Benchmark: 29.2729 fps
Benchmark: 29.8644 fps
Benchmark: 29.8721 fps
Benchmark: 29.8648 fps
Benchmark: 29.8624 fps
Benchmark: 29.8464 fps
Benchmark: 29.8368 fps
Benchmark: 29.8203 fps

- loading '../assets/textures/2k_mars.jpg'... (2048 x 1024 x 3) 0.0778166s
- loading '../assets/textures/2k_moon.jpg'... (2048 x 1024 x 3) 0.04992s
- loading '../assets/textures/land_ocean_ice_cloud_2048.png'... (2048 x 1024 x 3) 0.0722298s
- built acceleration structures in 0.0231892s

Benchmark: Start scene #2 'Planets In One Weekend'
Benchmark: 29.9107 fps
Benchmark: 29.4504 fps
Benchmark: 29.4466 fps
Benchmark: 29.4353 fps
Benchmark: 29.4129 fps
Benchmark: 29.4071 fps
Benchmark: 29.3991 fps
Benchmark: 29.4124 fps
Benchmark: 29.3993 fps
Benchmark: 29.4081 fps
Benchmark: 29.4092 fps

- loading '../assets/models/lucy.obj'... (673335 vertices, 224491 unique vertices, 1 materials) 0.909367s
- loading '../assets/textures/white.png'... (1 x 1 x 3) 7.346e-05s
- built acceleration structures in 0.0338572s

Benchmark: Start scene #3 'Lucy In One Weekend'
Benchmark: 10.7567 fps
Benchmark: 10.3604 fps
Benchmark: 10.3455 fps
Benchmark: 10.3458 fps
Benchmark: 10.3435 fps
Benchmark: 10.3531 fps
Benchmark: 10.3434 fps
Benchmark: 10.3242 fps
Benchmark: 10.3291 fps
Benchmark: 10.3366 fps
Benchmark: 10.3478 fps

- loading '../assets/textures/white.png'... (1 x 1 x 3) 6.3348e-05s
- built acceleration structures in 0.000998676s

Benchmark: Start scene #4 'Cornell Box'
Benchmark: 22.4214 fps
Benchmark: 22.033 fps
Benchmark: 22.0389 fps
Benchmark: 21.9316 fps
Benchmark: 21.9528 fps
Benchmark: 22.0158 fps
Benchmark: 22.0244 fps
Benchmark: 22.0355 fps
Benchmark: 22.0352 fps
Benchmark: 22.0381 fps
Benchmark: 22.0455 fps

- loading '../assets/models/lucy.obj'... (673335 vertices, 224491 unique vertices, 1 materials) 0.925503s
- loading '../assets/textures/white.png'... (1 x 1 x 3) 5.5301e-05s
- built acceleration structures in 0.00425699s

Benchmark: Start scene #5 'Cornell Box & Lucy'
Benchmark: 7.33606 fps
Benchmark: 6.92846 fps
Benchmark: 6.93086 fps
Benchmark: 6.92916 fps
Benchmark: 6.93041 fps
Benchmark: 6.9176 fps
Benchmark: 6.92373 fps
Benchmark: 6.91864 fps
Benchmark: 6.92715 fps
Benchmark: 6.90419 fps
Benchmark: 6.90557 fps

runlevel5 avatar Jun 14 '24 13:06 runlevel5