v0.0.8
What's New
- Direct Backend
The direct backend is a new selectable backend (via the NVD_BACKEND env. var) that that uses the NVIDIA kernel driver directly to allocate and export buffers, rather than using EGL. The EGL backend (which is still the default) was broken in the 525 driver series, so the use of the direct backend is necessary for decoding to work.
However, due to the use of the undocumented and unsupported NVIDIA API the kernel driver provides, it's likely that the direct backend could be broken by driver updates (with that said, the EGL backend has also just been broken by a driver update so... 🤷).
What's Changed
- Improved error checking. Previously we'd just exit when detecting a CUDA error, now we'll attempt to return an appropriate error code. This resolves the issue that unrelated applications that happen to init this library where crashing at start-up due to the aforementioned EGL backend breaking.
- Support 10/12 bit formats by @philipl in #120
- Use NVD_GPU to control which DRM node to open in direct backend mode by @philipl in #137
- Update documentation by @crimist in #133 and #140
New Contributors
Full Changelog: v0.0.7...v0.0.8