Skip to content
Snippets Groups Projects
Commit 91eecab8 authored by Simon McVittie's avatar Simon McVittie
Browse files

runtime: Look for NVIDIA driver data in /usr/share/nvidia first


The NVIDIA driver hard-codes /usr/share/nvidia even if it is installed
in /opt or something, so instead of deriving ${prefix} from the library
path and then checking for ${prefix}/share/nvidia followed by
/usr/share/nvidia as a fallback, we do the opposite: check for
/usr/share/nvidia first, followed by ${prefix}/share/nvidia as a fallback.

Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
Resolves: #73 (T29292)
parent c9b2f9c2
Branches
Tags
1 merge request!335runtime: Look for NVIDIA driver data in /usr/share/nvidia first
Pipeline #15752 passed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment