Browse Source

fix nvidia startup errors on arm64 (#2505)

pull/2506/head
Jason Dove 3 months ago committed by GitHub
parent
commit
dba5485300
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 3
      CHANGELOG.md
  2. 9
      ErsatzTV.FFmpeg/Capabilities/Nvidia/NvEncSharpRedirector.cs

3
CHANGELOG.md

@ -4,6 +4,8 @@ All notable changes to this project will be documented in this file. @@ -4,6 +4,8 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## [Unreleased]
### Fixed
- Fix NVIDIA startup errors on arm64
## [25.7.1] - 2025-10-09
### Added
@ -22,6 +24,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). @@ -22,6 +24,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
### Changed
- Use table instead of tree view on blocks page
- Use different release packaging system to workaround false positive from Windows Defender
## [25.7.0] - 2025-10-03
### Added

9
ErsatzTV.FFmpeg/Capabilities/Nvidia/NvEncSharpRedirector.cs

@ -7,7 +7,14 @@ public static class NvEncSharpRedirector @@ -7,7 +7,14 @@ public static class NvEncSharpRedirector
{
static NvEncSharpRedirector()
{
NativeLibrary.SetDllImportResolver(typeof(Lennox.NvEncSharp.LibCuda).Assembly, Resolver);
try
{
NativeLibrary.SetDllImportResolver(typeof(Lennox.NvEncSharp.LibCuda).Assembly, Resolver);
}
catch (DllNotFoundException)
{
// do nothing
}
}
private static IntPtr Resolver(string libraryName, Assembly assembly, DllImportSearchPath? searchPath)

Loading…
Cancel
Save