GPSnoopy / RayTracingInVulkan

Implementation of Peter Shirley's Ray Tracing In One Weekend book using Vulkan and NVIDIA's RTX extension.
BSD 3-Clause "New" or "Revised" License
1.28k stars 116 forks source link

Performance on Intel Arc A770 GPU #64

Open PMunkes opened 1 year ago

PMunkes commented 1 year ago

Bypassing issue #63 and running a Debug build of the latest git master leads to the following performance results: (The configuration is the same as in the mentioned issue. Arc A770 LE with driver v31.0.101.3959 on up-to-date Windows 11.)

INFO: VALIDATION: Validation Information: [ UNASSIGNED-cache-file-error ] Object 0: handle = 0x252152bee28, type = VK_OBJECT_TYPE_DEVICE; | MessageID = 0xf0bb3995 | Cannot open shader validation cache at C:\Users\lizar\AppData\Local\Temp/shader_validation_cache.bin for reading (it may not exist yet)
- loading '../assets/textures/white.png'... (1 x 1 x 3) 8.93e-05s
- built acceleration structures in 2.89462s

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

Benchmark: Start scene #1 'Ray Tracing In One Weekend'
Benchmark: 25.6914 fps
Benchmark: 26.0375 fps
Benchmark: 26.5622 fps
Benchmark: 26.4498 fps
Benchmark: 26.5004 fps
Benchmark: 26.461 fps
Benchmark: 26.4671 fps
Benchmark: 26.4924 fps
Benchmark: 26.5056 fps
Benchmark: 26.487 fps
Benchmark: 26.48 fps

- loading '../assets/textures/2k_mars.jpg'... (2048 x 1024 x 3) 0.0314502s
- loading '../assets/textures/2k_moon.jpg'... (2048 x 1024 x 3) 0.0354696s
- loading '../assets/textures/land_ocean_ice_cloud_2048.png'... (2048 x 1024 x 3) 0.0531558s
- built acceleration structures in 0.01571s

Benchmark: Start scene #2 'Planets In One Weekend'
Benchmark: 26.8934 fps
Benchmark: 26.82 fps
Benchmark: 26.7829 fps
Benchmark: 26.8111 fps
Benchmark: 26.7925 fps
Benchmark: 26.6509 fps
Benchmark: 26.7732 fps
Benchmark: 26.7719 fps
Benchmark: 26.6495 fps
Benchmark: 26.8057 fps
Benchmark: 26.7682 fps

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

Benchmark: Start scene #3 'Lucy In One Weekend'
Benchmark: 20.666 fps
Benchmark: 20.4847 fps
Benchmark: 20.5037 fps
Benchmark: 20.4868 fps
Benchmark: 20.3801 fps
Benchmark: 20.5365 fps
Benchmark: 20.4466 fps
Benchmark: 20.3426 fps
Benchmark: 20.5574 fps
Benchmark: 20.4737 fps
Benchmark: 20.3764 fps

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

Benchmark: Start scene #4 'Cornell Box'
Benchmark: 36.4469 fps
Benchmark: 36.2765 fps
Benchmark: 36.174 fps
Benchmark: 36.3179 fps
Benchmark: 36.2652 fps
Benchmark: 36.2614 fps
Benchmark: 36.2781 fps
Benchmark: 36.2546 fps
Benchmark: 36.2643 fps
Benchmark: 36.2721 fps
Benchmark: 36.1838 fps

- loading '../assets/models/lucy.obj'... (673335 vertices, 224491 unique vertices, 1 materials) 2.25068s
- loading '../assets/textures/white.png'... (1 x 1 x 3) 0.0001027s
- built acceleration structures in 0.0205295s

Benchmark: Start scene #5 'Cornell Box & Lucy'
Benchmark: 17.4216 fps
Benchmark: 17.7213 fps
Benchmark: 17.683 fps
Benchmark: 17.7028 fps
Benchmark: 17.6965 fps
Benchmark: 17.6816 fps
Benchmark: 17.7045 fps
Benchmark: 17.7249 fps
Benchmark: 17.7292 fps
Benchmark: 17.71 fps
Benchmark: 17.7308 fps
GPSnoopy commented 1 year ago

Thanks for the results!