New driver support (version 620.70.10)
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 78/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Lĩnh vực
- desktop-dev, testing-qa, tooling
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Python
- Star
- 4.8k
- Fork
- 375
- Merge trung bình
- 2 ngày 4 giờ
- Pull request đã merge (30 ngày)
- 9
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của keylase/nvidia-patch
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
keylase/nvidia-patch#1156 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 48/100
keylase/nvidia-patch#1101 · 1 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Question: ... ? Can we add a patch option for the RDSH/terminalserver user-session Limit? 0xc00001adĐang mởneed-info patches-welcome question
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 12/100
keylase/nvidia-patch#1062 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
help wanted patches-welcome question
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 6/100
keylase/nvidia-patch#1016 · 6 bình luận · 4 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Virustotal ResultsĐang mởbug
Độ khó 4/5 Hơn một tuần Mức phù hợp với người mới 5/100
keylase/nvidia-patch#901 · 2 bình luận · 2 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của keylase/nvidia-patch
Issue tương tự
-
request_access
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 75/100
-
blocker bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
achisolomon/software-factory#305 ·
-
free_port can hand one port to two callers, so the fixed-port http tests fail in parallel runsĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 92/100
erkamyaman/rust-anything#963 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
commonmark/commonmark-spec#850 ·
-
Documentation websiteĐang mởdocumentation good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100