cargo-tauri: fix NVIDIA issue by disabling explicit sync
https://github.com/tauri-apps/tauri/issues/9394#issuecomment-3795449374 This approach fixes the issue without disabling the DMABUF renderer and should have better performance.
This commit is contained in:
@@ -41,6 +41,9 @@ makeSetupHook {
|
||||
--prefix WEBKIT_GST_ALLOWED_URI_PROTOCOLS : "asset"
|
||||
# Not picked up automatically by the wrappers from the propagatedBuildInputs.
|
||||
--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "${cargo-tauri.gst-plugin}/lib/gstreamer-1.0/"
|
||||
# fix NVIDIA issues with Tauri
|
||||
# https://github.com/tauri-apps/tauri/issues/9394#issuecomment-3795449374
|
||||
--set-default __NV_DISABLE_EXPLICIT_SYNC 1
|
||||
)
|
||||
'';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user