New driver support (version 620.70.10)
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 78/100
- issue の種類
- 機能追加
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 領域
- desktop-dev, testing-qa, tooling
調査の方向性
Start with patch.sh, patch-fbc.sh, and drivers.json, using the proposed 620.70.10 entries, then inspect tools/readme-autogen/add_driver.py for the separate --skip-url-check URL bug. Run the provided update_patch.sh, add_driver.py, and readme_autogen.py commands, followed by the NVENC patch tests described in the issue. Done means the generated README includes 620.70.10, both patch scripts report SUPPORTED, and the concurrent h264_nvenc test completes successfully.
索引モデルが issue の本文から書いたものです。
説明
Please provide details about your environment (please complete the following information)
- Nvidia driver version: 620.70.10 (
620.70.10-1from the CUDAdebian13/x86_64apt repo) - GPU Model: GeForce RTX 5070
- OS: Debian 13
- I'm willing to participate in testing of new patch version
Summary
The 620.70.06 NVENC and NvFBC patch strings work unchanged on 620.70.10. I've tested this locally (results below) and am filing the changes here with a suggested fix, since I don't have push access.
NVIDIA hasn't published a public .run for 620.70.10 (international., us. and download.nvidia.com all return 404), so the driver link points to the CUDA repo package, as was done for 615.71.10:
https://developer.download.nvidia.com/compute/cuda/repos/debian13/x86_64/cuda-drivers_620.70.10-1_amd64.deb
Suggested fix
This is the result of the "Generate Linux patches" copy-mode steps (update_patch.sh -v 620.70.10 -o 620.70.06 for both scripts, then add_driver.py and readme_autogen.py):
--- a/patch.sh
+++ b/patch.sh
@@ -319,6 +319,7 @@ declare -A patch_list=(
["620.70.06"]='s/\xe8\xd1\x19\xfe\xff\x41\x89\xc6\x85\xc0/\xe8\xd1\x19\xfe\xff\x29\xc0\x41\x89\xc6/g'
+ ["620.70.10"]='s/\xe8\xd1\x19\xfe\xff\x41\x89\xc6\x85\xc0/\xe8\xd1\x19\xfe\xff\x29\xc0\x41\x89\xc6/g'
)
--- a/patch-fbc.sh
+++ b/patch-fbc.sh
@@ -280,6 +280,7 @@ declare -A patch_list=(
["620.70.06"]='s/\x85\xc0\x0f\x85\x1c\x01\x00\x00\x48\x8d/\x85\xc0\x90\x90\x90\x90\x90\x90\x48\x8d/g'
+ ["620.70.10"]='s/\x85\xc0\x0f\x85\x1c\x01\x00\x00\x48\x8d/\x85\xc0\x90\x90\x90\x90\x90\x90\x48\x8d/g'
)
--- a/drivers.json
+++ b/drivers.json
@@ -1511,6 +1511,12 @@
"driver_url": "https://international.download.nvidia.com/XFree86/Linux-x86_64/595.112.07/NVIDIA-Linux-x86_64-595.112.07.run"
+ },
+ {
+ "version": "620.70.10",
+ "nvenc_patch": true,
+ "nvfbc_patch": true,
+ "driver_url": "https://developer.download.nvidia.com/compute/cuda/repos/debian13/x86_64/cuda-drivers_620.70.10-1_amd64.deb"
}
Then regenerate README.md with readme_autogen.py. That bumps the latest-version badge to 620.70.10 and adds the table row.
Running the workflow won't add the drivers.json entry
The cuda-drivers_*.deb is a ~130 KB metapackage, so add_driver.py rejects it with Bad driver length: 131500 (the check requires at least 50 MB). It then returns exit code 0 without writing drivers.json. A workflow run with mode=copy, old_version=620.70.06 would therefore succeed and commit the patch lines but no driver entry. Running it locally with --skip-url-check fixes that, but only with the small fix below.
add_driver.py: --skip-url-check drops the -U URL
url starts as "" and only gets set inside the validation loop. With --skip-url-check the loop never runs, so the -U override is thrown away and the driver is recorded with no driver_url (the README row ends up with an empty "Driver link" cell). The error hint says the flag is for submitting an unchecked URL, so the URL should be kept:
--- a/tools/readme-autogen/add_driver.py
+++ b/tools/readme-autogen/add_driver.py
@@ -131,7 +131,7 @@ def main():
urls = [Template(i).substitute(version=args.version) for i in url_tmpl if i]
else:
urls = [args.url]
- url = ""
+ url = urls[0] if urls else ""
if urls and not args.skip_url_check:
With that change, this produces the drivers.json entry above:
python3 add_driver.py -L --skip-url-check -U https://developer.download.nvidia.com/compute/cuda/repos/debian13/x86_64/cuda-drivers_620.70.10-1_amd64.deb 620.70.10
(Separately, it might be worth making the URL and validation failure paths exit non-zero, so the workflow fails loudly instead of committing a partial update.)
Testing
- Pattern match: each search pattern occurs exactly once in the stock 620.70.10 libraries (
libnvidia-encode.soat 0x2514a,libnvidia-fbc.soat 0x901c), and neither library was already patched../patch.sh -c 620.70.10and./patch-fbc.sh -c 620.70.10both reportSUPPORTEDwith the change applied. - Byte diff:
- NVENC:
41 89 c6 85 c0→29 c0 41 89 c6at 0x2514f (same edit as 620.70.06). - NvFBC: the
jne rel32at 0x901e → 6 ×90.
- NVENC:
- Unpatched baseline:
tools/patch-tester/patch-tester.shfails on the 13th session withOpenEncodeSessionEx failed: incompatible client key (21). - Patched (
sudo ./patch.sh):patch-tester.shexits 0, and all 13 concurrenth264_nvencencodes (1M–13M) complete all 1250 frames. The installed library is byte-identical to the dry-run output. - NvFBC: I only verified this with the pattern and byte checks above. I didn't test it on the live driver.
Push access
If the maintainers want, I'm happy to open these as PRs myself (driver support plus the separate add_driver.py fix). I'd appreciate push access to do so, or I can submit from a fork, whichever you prefer.
- 主要言語
- Python
- スター
- 4.8k
- フォーク
- 375
- 平均マージ
- 2日 4時間
- マージ済み PR(30日)
- 9
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
keylase/nvidia-patch のほかの issue
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
keylase/nvidia-patch#1156 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 48/100
keylase/nvidia-patch#1101 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Question: ... ? Can we add a patch option for the RDSH/terminalserver user-session Limit? 0xc00001adオープンneed-info patches-welcome question
難易度 5/5 1週間以上 初心者へのやさしさ 12/100
keylase/nvidia-patch#1062 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
help wanted patches-welcome question
難易度 5/5 1週間以上 初心者へのやさしさ 6/100
keylase/nvidia-patch#1016 · コメント 6 件 · リアクション 4 件 ·
メンテナーはふだん 1 日以内に返信
-
Virustotal Resultsオープンbug
難易度 4/5 1週間以上 初心者へのやさしさ 5/100
keylase/nvidia-patch#901 · コメント 2 件 · リアクション 2 件 ·
メンテナーはふだん 1 日以内に返信
keylase/nvidia-patch の issue をすべて見る
似ている issue
-
request_access
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
-
blocker bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
achisolomon/software-factory#305 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 92/100
erkamyaman/rust-anything#963 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
commonmark/commonmark-spec#850 ·
-
documentation good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100