Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • N nvidia-patch
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 26
    • Issues 26
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Keylase
  • nvidia-patch
  • Merge requests
  • !615

linux: patch support for driver 525.89.02

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Administrator requested to merge github/fork/tracedgod/linux_525.89.02 into master Feb 09, 2023
  • Overview 2
  • Commits 1
  • Pipelines 0
  • Changes 4

Created by: tracedgod

Purpose of proposed changes

Add support for Linux Driver version 525.89.02

Essential steps taken

  • Testing NvENC (See Notes)
  • Testing NvFBC

Notes

I tried to run the test ffmpeg command given in the wiki, but I receive the following error:

[h264_nvenc @ 0x55e98e2b0680] OpenEncodeSessionEx failed: out of memory (10): (no details)
Segmentation fault

I tried to run the same command on the official non-patched drivers, and still receive the error:

ffmpeg -y -vsync 0 -hwaccel cuda -hwaccel_output_format cuda \
-f lavfi -i testsrc -t 50 \
-vf hwupload -c:a copy -c:v h264_nvenc -b:v 4M -f null - \
-vf hwupload -c:a copy -c:v h264_nvenc -b:v 1M -f null - \
-vf hwupload -c:a copy -c:v h264_nvenc -b:v 8M -f null - \
-vf hwupload -c:a copy -c:v h264_nvenc -b:v 6M -f null -

I was able to get the following command to run on both official non-patched, as well as the patched drivers and it runs with no issue:

ffmpeg -y -vsync 0 -hwaccel cuda -hwaccel_output_format cuda \
-f lavfi -i testsrc -t 50 \
-vf hwupload -c:a copy -c:v h264_nvenc -b:v 4M -f null - \
-vf hwupload -c:a copy -c:v h264_nvenc -b:v 1M -f null - \
-vf hwupload -c:a copy -c:v h264_nvenc -b:v 8M -f null -

Not sure if this means this patch is not working, I have not tested patched previous driver versions to see if the error happens on those versions as well.

I have not tested the NvFBC patch.

For reference, the card I am utilizing this patch for is an NVIDIA Quadro P400 which is installed into my Home Rack Server running Proxmox as the Host OS, which then is passed through to an LXC container running my Plex instance for hardware decoding use.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/tracedgod/linux_525.89.02