From 265afd9bfde79fc461899f91ca13e78407f9b072 Mon Sep 17 00:00:00 2001 From: Mel Henning Date: Sun, 24 Aug 2025 12:31:16 -0400 Subject: [PATCH] loader: Don't fall back to nouveau GL without zink Long term, we don't want to support nouveau gl on new cards. Remove the fallback so users without zink will get software rendering instead of nouveau gl. For now, NOUVEAU_USE_ZINK will still select nouveau gl on cards where that is possible, but that isn't really supported and will likely be removed for a lot of cards in the future. Reviewed-by: Karol Herbst Part-of: --- src/loader/loader.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/loader/loader.c b/src/loader/loader.c index 977e1fae4c1..15bdcbfff07 100644 --- a/src/loader/loader.c +++ b/src/loader/loader.c @@ -143,12 +143,6 @@ nouveau_zink_predicate(int fd, const char *driver) if (!drm_fd_is_nouveau(fd)) return false; -#if !defined(HAVE_NVK) || !defined(HAVE_ZINK) - if (!strcmp(driver, "zink")) - return false; - return true; -#else - bool prefer_zink = false; bool require_zink = false; @@ -197,7 +191,6 @@ nouveau_zink_predicate(int fd, const char *driver) if (!use_zink && !strcmp(driver, "nouveau")) return true; return false; -#endif }