Skip to content

Native DirectX 12 Experimental Benchmark for Linux — v0.1.9

Latest

Choose a tag to compare

@GoblinFlash GoblinFlash released this 28 Nov 00:44
51d701e

Install

Download NDX12-Benchmark-v0.1.9.run, then run:

sudo bash NDX12-Benchmark-v0.1.9.run

Open Native DX12 Benchmark from the desktop or application menu.

What's fixed

  • The graphics demos (Earth 4K, nBody, nBody 10K and Sponza) now start on systems where the IOMMU hands out 47-bit DMA addresses. This was reported on an RTX 4090. Before, the NVIDIA driver refused the channel's control block, which the demos kept in system memory, and the demo then held its resources (HELD). The control block now lives in video memory, so the IOMMU address width no longer matters. No reboot or kernel parameter change is needed.
  • The Full Benchmark also keeps its control block in video memory.
  • If the NVIDIA driver refuses an allocation before the first GPU job (for example, when video memory is full), the benchmark and the demos now free everything they created and check that nothing is left. They also save the driver's messages and exit with an error. Before, they kept their resources (HELD).
    • The benchmark stops that run with SERIES_WORKER_ENDED_BEFORE_READY.
    • A demo reports it in its last line and exits with code 1.
  • All v0.1.8 changes are included.

For troubleshooting, run as your normal desktop user:

ndx12-benchmark --debug

Installer

  • File: NDX12-Benchmark-v0.1.9.run
  • Size: 544,407,348 bytes
  • SHA-256: 48c62aa693bcc1e146148976cd6917d3bc1acd8e4abf533d9bbb3cb8a3822c21

Validation and current limits

Tested on an RTX 4060 Ti with NVIDIA Open 620.73.04:

  • All four demos closed cleanly.
  • The Full Benchmark verified all 173 samples.
  • With video memory filled, Earth 4K, nBody 10K and Sponza each released their resources after the driver refused them.
  • After the same kind of refusal, the benchmark left no worker running.
  • No Xid errors were reported.

RTX 4090 and the IOMMU setup from the report have not been verified on this build.

Known limits:

  • Other failures still keep their resources on purpose (HELD). These include an Xid, a bus or IOMMU fault, any other driver message, and a refusal after GPU work has started.
  • When video memory is completely full, the driver can refuse the very first step, which registers the GPU with UVM. That case also still ends HELD.
  • After such an error, the clock lock may stay set. The output prints the nvidia-smi commands that reset it.

This remains an experimental benchmark.

The v0.1.8 release remains available, including its existing installer and download counts.

Report bugs and submit benchmark results through Issues.

Andrew Kapica — GoblinFlash