LukeShortCloud / rootpages

Root Pages is a collection of easy-to-reference tutorials and guides primarily for Linux and other UNIX-like systems.
Other
55 stars 6 forks source link

[graphics][drivers] ReBAR support for AMD Mesa drivers #1055

Open LukeShortCloud opened 8 months ago

LukeShortCloud commented 8 months ago

Vulkan (radv) uses it by default as this modern API takes full advantage of it. OpenGL (radeonsi) only uses it if an application requests it. Otherwise, it is disabled by default as most applicantions perform worse due to a hit to CPU performance.

https://www.phoronix.com/news/RadeonSI-Drops-ReBAR-SAM

This could also partly explain why Zink (OpenGL-on-Vulkan) performs better since Vulkan can properly use ReBAR support.