ср, 8 мая 2024 г., 01:39 Phyllis Smith <phylsmith2017@gmail.com>:
This is what I tried, but it made no difference.  Is there some other way for me to try?

1) in creating the AppImage, I ran the following 2 lines.  The 2nd line is the usual.
  export "LIBVA_DRIVERS_PATH=/usr/lib/dri:/usr/lib64/dri:/usr/lib/x86_64-linux-gnu/dri:/usr/lib/aarch64-linux-gnu/dri"
 /proj/appimage/linuxdeploy-x86_64.AppImage --appdir=AppDir -o appimage ...
That made no difference.
2) so I did the full build again, using the export line first and then ran linuxdeploy to make the appimage.
Still no difference.

well, we are c++ and thus *I think* we can try to hardcode this like I did with DRI3 disable patch ...

diff --git a/cinelerra-5.1/cinelerra/main.C b/cinelerra-5.1/cinelerra/main.C
index 0def64b7..3f123b98 100644
--- cinelerra/main.C
+++ cinelerra/main.C
@@ -168,6 +168,15 @@ int main(int argc, char *argv[])
        batch_path[0] = 0;
        deamon_path[0] = 0;
        Units::init();
+
+       /* disable dri3 for non_prime, it broke hw effects on nouveau as of 26-08-2020 */
+       const char *prime = getenv("DRI_PRIME");
+       if (prime)
+       setenv("LIBGL_DRI3_DISABLE", "0", 1);
+       else
+       setenv("LIBGL_DRI3_DISABLE", "1", 1);
+

=== 

in your case just single setenv() should work,I hope?

just replace variable name and second argument  (long string in "") .... ?


The reason I know it made no difference is because instead of the path being /usr/lib/dri:..., I changed it to exporting the path to a dummy value of /etc/fstab instead and the vaapi and vdpau settings still worked.  Any suggestions?

"LIBVA_DRIVERS_PATH=/usr/lib/dri:/usr/lib64/dri:/usr/lib/x86_64-linux-gnu/dri:/usr/lib/aarch64-linux-gnu/dri"