From 55440f40b32e56beeaafb3aade055927eb572c66 Mon Sep 17 00:00:00 2001 From: Seungmin Kim <8457324+ehfd@users.noreply.github.com> Date: Sat, 11 May 2024 04:31:11 +0900 Subject: [PATCH] Make X11 search paths accurate Signed-off-by: Seungmin Kim <8457324+ehfd@users.noreply.github.com> --- internal/discover/graphics.go | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/internal/discover/graphics.go b/internal/discover/graphics.go index 2f408821..fe0b2375 100644 --- a/internal/discover/graphics.go +++ b/internal/discover/graphics.go @@ -280,10 +280,20 @@ func newXorgDiscoverer(logger logger.Interface, driver *root.Driver, nvidiaCTKPa libRoot + "/xorg/modules/drivers", "/usr/lib/xorg/modules/extensions", "/usr/lib/xorg/modules/drivers", - "/usr/X11R6/modules/extensions", - "/usr/X11R6/modules/drivers", "/usr/lib64/xorg/modules/extensions", "/usr/lib64/xorg/modules/drivers", + "/usr/lib/xorg/modules/updates/extensions", + "/usr/lib/xorg/modules/updates/drivers", + "/usr/lib64/xorg/modules/updates/extensions", + "/usr/lib64/xorg/modules/updates/drivers", + "/usr/X11R6/lib/modules/extensions", + "/usr/X11R6/lib/modules/drivers", + "/usr/X11R6/lib64/modules/extensions", + "/usr/X11R6/lib64/modules/drivers", + "/usr/X11R6/lib/modules/updates/extensions", + "/usr/X11R6/lib/modules/updates/drivers", + "/usr/X11R6/lib64/modules/updates/extensions", + "/usr/X11R6/lib64/modules/updates/drivers", }), lookup.WithCount(1), ),