You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
libvpl/libvpl-system-analyzer.patch

22 lines
880 B

--- a/tools/cli/system_analyzer/system_analyzer.cpp 2023-12-11 16:19:01.403056486 +0200
+++ b/tools/cli/system_analyzer/system_analyzer.cpp 2023-12-11 16:19:46.638923008 +0200
@@ -210,14 +210,14 @@
int main() {
bool check_gpu_caps = true;
- void *libva_handle = dlopen("libva.so", RTLD_NOW | RTLD_GLOBAL);
+ void *libva_handle = dlopen("libva.so.2", RTLD_NOW | RTLD_GLOBAL);
if (!libva_handle) {
- printf("could not open libva.so\n");
+ printf("could not open libva.so.2\n");
check_gpu_caps = false;
}
- void *libvadrm_handle = dlopen("libva-drm.so", RTLD_NOW | RTLD_GLOBAL);
+ void *libvadrm_handle = dlopen("libva-drm.so.2", RTLD_NOW | RTLD_GLOBAL);
if (!libvadrm_handle) {
- printf("could not open libva-drm.so\n");
+ printf("could not open libva-drm.so.2\n");
check_gpu_caps = false;
}