Merge pull request #536 from reloxx13/support-dch-url-for-tool-readme-autogen

support dch driver variant
This commit is contained in:
Jai Luthra 2022-05-26 13:34:16 +05:30 committed by GitHub
commit 2933620c60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View File

@ -28,7 +28,7 @@ Just run script. It will update files in your repo working copy.
## Examples ## Examples
Here is real commands used for Windows driver 441.28 series: Here is real commands used for Windows driver 441.28 and 512.95 series:
```bash ```bash
./add_driver.py -W --variant "Studio Driver" 441.28 ./add_driver.py -W --variant "Studio Driver" 441.28
@ -36,8 +36,11 @@ Here is real commands used for Windows driver 441.28 series:
./add_driver.py -W -P Quadro -w win7 441.28 ./add_driver.py -W -P Quadro -w win7 441.28
./add_driver.py -W -P Quadro -w ws2012 441.28 ./add_driver.py -W -P Quadro -w ws2012 441.28
./add_driver.py -W -P Quadro -w ws2016 441.28 ./add_driver.py -W -P Quadro -w ws2016 441.28
./add_driver.py -W -P GeForce --variant "DCH" -w win10 512.95
``` ```
> Variant DCH: Microsoft DCH (Declarative Componentized Hardware supported apps) drivers refers to a new universal Windows 10 driver package. [NVIDIA FAQ](https://nvidia.custhelp.com/app/answers/detail/a_id/4777/~/nvidia-dch%2Fstandard-display-drivers-for-windows-10-faq)
## Synopsis ## Synopsis
``` ```

View File

@ -39,6 +39,7 @@ ENCODING='utf-8'
DRIVER_URL_TEMPLATE = { DRIVER_URL_TEMPLATE = {
(OSKind.Linux, None, None, None): "https://international.download.nvidia.com/XFree86/Linux-x86_64/$version/NVIDIA-Linux-x86_64-$version.run", (OSKind.Linux, None, None, None): "https://international.download.nvidia.com/XFree86/Linux-x86_64/$version/NVIDIA-Linux-x86_64-$version.run",
(OSKind.Windows, Product.GeForce, WinSeries.win10, ''): "https://international.download.nvidia.com/Windows/$version/$version-desktop-win10-win11-64bit-international-whql.exe", (OSKind.Windows, Product.GeForce, WinSeries.win10, ''): "https://international.download.nvidia.com/Windows/$version/$version-desktop-win10-win11-64bit-international-whql.exe",
(OSKind.Windows, Product.GeForce, WinSeries.win10, 'DCH'): "https://international.download.nvidia.com/Windows/$version/$version-desktop-win10-win11-64bit-international-dch-whql.exe",
(OSKind.Windows, Product.GeForce, WinSeries.win10, 'Studio Driver'): "https://international.download.nvidia.com/Windows/$version/$version-desktop-win10-win11-64bit-international-nsd-whql.exe", (OSKind.Windows, Product.GeForce, WinSeries.win10, 'Studio Driver'): "https://international.download.nvidia.com/Windows/$version/$version-desktop-win10-win11-64bit-international-nsd-whql.exe",
(OSKind.Windows, Product.GeForce, WinSeries.win10, 'Vulkan Beta'): "", (OSKind.Windows, Product.GeForce, WinSeries.win10, 'Vulkan Beta'): "",
(OSKind.Windows, Product.Quadro, WinSeries.win10, ''): "https://international.download.nvidia.com/Windows/Quadro_Certified/$version/$version-quadro-rtx-desktop-notebook-win10-win11-64bit-international-whql.exe", (OSKind.Windows, Product.Quadro, WinSeries.win10, ''): "https://international.download.nvidia.com/Windows/Quadro_Certified/$version/$version-quadro-rtx-desktop-notebook-win10-win11-64bit-international-whql.exe",
@ -51,6 +52,7 @@ DRIVER_URL_TEMPLATE = {
DRIVER_DIR_PREFIX = { DRIVER_DIR_PREFIX = {
(Product.GeForce, ''): '', (Product.GeForce, ''): '',
(Product.GeForce, 'DCH'): '',
(Product.GeForce, 'Studio Driver'): 'nsd_', (Product.GeForce, 'Studio Driver'): 'nsd_',
(Product.GeForce, 'Vulkan Beta'): '', (Product.GeForce, 'Vulkan Beta'): '',
(Product.Quadro, ''): 'quadro_', (Product.Quadro, ''): 'quadro_',