mirror of
https://github.com/rustdesk/rustdesk.git
synced 2024-11-24 04:03:48 +08:00
a4cd64f0d5
* fix qsv memory leak by updating ffmpeg * Memory leaks occur when destroying FFmpeg QSV VRAM encoders. This issue is resolved with FFmpeg version 7. * FFmpeg requires ffnvcodec version 12.1.14.0 or higher, and an NVIDIA driver version greater than 530. For more details, https://github.com/FFmpeg/nv-codec-headers/tree/n12.1.14.0. * The code of NVIDIA VRAM encoder is not changed, still use Video Codec SDK version 11, which is unaffected by FFmpeg. Drivers newer than 470 can support this, but we may consider an update later, as the support check by sdk code may not be accurate for FFmpeg RAM encoders. * The issue is related to FFmpeg, not libmfx. FFmpeg version 7 recommends using libvpl, but vcpkg currently lacks ports for libvpl. We can add these in the future. * D3D11 Texture Rendering: The "Shared GPU Memory" in the task manager continue increasing when using D3D11 texture render, which can exceed the GPU memory limit (e.g., reaching up to 100GB). I don't know what it is and will try to find it out. * Roughly tests on Windows, Linux, macOS, and Android for quick fix. Further testing will be performed, and I will share the results in this pr. Signed-off-by: 21pages <sunboeasy@gmail.com> * update flutter_gpu_texture_render, fix shared gpu memory leak while rendering Signed-off-by: 21pages <sunboeasy@gmail.com> --------- Signed-off-by: 21pages <sunboeasy@gmail.com>
94 lines
1.7 KiB
JSON
94 lines
1.7 KiB
JSON
{
|
|
"dependencies": [
|
|
{
|
|
"name": "aom",
|
|
"host": true
|
|
},
|
|
{
|
|
"name": "aom",
|
|
"host": false
|
|
},
|
|
{
|
|
"name": "cpu-features",
|
|
"platform": "android"
|
|
},
|
|
{
|
|
"name": "libjpeg-turbo",
|
|
"host": true
|
|
},
|
|
{
|
|
"name": "libjpeg-turbo",
|
|
"host": false
|
|
},
|
|
{
|
|
"name": "oboe",
|
|
"platform": "android"
|
|
},
|
|
{
|
|
"name": "oboe-wrapper",
|
|
"platform": "android"
|
|
},
|
|
{
|
|
"name": "opus",
|
|
"host": true
|
|
},
|
|
{
|
|
"name": "opus",
|
|
"host": false
|
|
},
|
|
{
|
|
"name": "libvpx",
|
|
"host": true
|
|
},
|
|
{
|
|
"name": "libvpx",
|
|
"host": false
|
|
},
|
|
{
|
|
"name": "libyuv",
|
|
"host": true
|
|
},
|
|
{
|
|
"name": "libyuv",
|
|
"host": false
|
|
},
|
|
{
|
|
"name": "ffmpeg",
|
|
"host": true,
|
|
"features": [
|
|
{
|
|
"name": "amf",
|
|
"platform": "((windows | linux) & static)"
|
|
},
|
|
{
|
|
"name": "nvcodec",
|
|
"platform": "((windows | linux) & static)"
|
|
},
|
|
{
|
|
"name": "qsv",
|
|
"platform": "(windows & static)"
|
|
}
|
|
],
|
|
"platform": "((windows | (linux & !arm32) | osx) & static)"
|
|
},
|
|
{
|
|
"name": "ffmpeg",
|
|
"host": false,
|
|
"platform": "((android | ios | (linux & arm32)) & static)"
|
|
}
|
|
],
|
|
"vcpkg-configuration": {
|
|
"default-registry": {
|
|
"kind": "builtin",
|
|
"baseline": "f7423ee180c4b7f40d43402c2feb3859161ef625"
|
|
},
|
|
"overlay-ports": [
|
|
"./res/vcpkg"
|
|
]
|
|
},
|
|
"overrides": [
|
|
{ "name": "ffnvcodec", "version": "12.1.14.0" },
|
|
{ "name": "amd-amf", "version": "1.4.29" },
|
|
{ "name": "mfx-dispatch", "version": "1.35.1" }
|
|
]
|
|
} |