Attached is the patch which you apply when in the cinelerra subdirectory.
The patch is not complete yet because of accommodation for 32-bit and I
really have to test more too.

If the patch does not work for you, just edit cinelerra/main.C and add the
line:

setenv("LIBVA_DRIVERS_PATH","/usr/lib/dri:/usr/lib64/dri:/usr/lib/x86_64-linux-gnu/dri:/usr/lib/aarch64-linux-gnu/dri",1);

after line 180 (line 180 is  Units::init();

On Wed, May 8, 2024 at 5:26 AM Andrea paz <[email protected]>
wrote:

> Since I don't quite understand what to do, is it possible to have a
> patch to compile?
>
> PS: is it possible to do something similar with vulkan?
>
--- cinelerra/main.C
+++ cinelerra/main.C
@@ -178,6 +178,7 @@
 	batch_path[0] = 0;
 	deamon_path[0] = 0;
 	Units::init();
+	setenv("LIBVA_DRIVERS_PATH","/usr/lib/dri:/usr/lib64/dri:/usr/lib/x86_64-linux-gnu/dri:/usr/lib/aarch64-linux-gnu/dri",1);
 	const char *lang = getenv("LANGUAGE");
 	if( lang ) lang = cstrdup(lang);
 	File::init_cin_env_vars();
-- 
Cin mailing list
[email protected]
https://lists.cinelerra-gg.org/mailman/listinfo/cin

Reply via email to