Skip to content

Commit f126877

Browse files
authored
Merge pull request #716 from elezar/discover-vdpau-libraries
Also search for driver libraries in vdpau
2 parents 006aebf + 98ffe2a commit f126877

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pkg/nvcdi/driver-nvml.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,10 @@ func getVersionLibs(logger logger.Interface, driver *root.Driver, version string
200200

201201
libraries := lookup.NewFileLocator(
202202
lookup.WithLogger(logger),
203-
lookup.WithSearchPaths(libRoot),
203+
lookup.WithSearchPaths(
204+
libRoot,
205+
filepath.Join(libRoot, "vdpau"),
206+
),
204207
lookup.WithOptional(true),
205208
)
206209

0 commit comments

Comments
 (0)