Skip to content

Instantly share code, notes, and snippets.

@Hadrianneue
Hadrianneue / mesa_radv_prefer_vram_always.patch
Last active February 3, 2024 16:09
mesa radv prefer vram always
diff --git a/src/amd/vulkan/radv_debug.h b/src/amd/vulkan/radv_debug.h
index 591bba3204b..3e88246d3bf 100644
--- a/src/amd/vulkan/radv_debug.h
+++ b/src/amd/vulkan/radv_debug.h
@@ -92,6 +92,7 @@ enum {
RADV_PERFTEST_TRANSFER_QUEUE = 1u << 14,
RADV_PERFTEST_SHADER_OBJECT = 1u << 15,
RADV_PERFTEST_NIR_CACHE = 1u << 16,
+ RADV_PERFTEST_NO_GTT = 1u << 17,
};
@vemacs
vemacs / compton.conf
Last active May 8, 2023 16:57
Reasonable compton.conf (fixes shadows in the stock desktop environment) for Xubuntu 16.04
#################################
#
# Backend
#
#################################
# Backend to use: "xrender" or "glx".
# GLX backend is typically much faster but depends on a sane driver.
backend = "glx";