550.40.07

Move 530 series to "older" listing

Closes https://github.com/Frogging-Family/nvidia-all/pull/212
This commit is contained in:
Tk-Glitch 2024-01-24 17:32:45 +01:00
parent 3b309c705e
commit 2bb3aac49b

View File

@ -48,90 +48,94 @@ if [ -z "$_driver_version" ] || [ "$_driver_version" = "latest" ] || [ -z "$_dri
fi
fi
if [[ -z $CONDITION ]]; then
read -p " Which driver version do you want?`echo $'\n > 1.Vulkan dev: 535.43.22\n 2.545 series: 545.29.06\n 3.535 series: 535.154.05\n 4.530 series: 530.41.03\n 5.470 series: 470.223.02\n 6.Older series\n 7.Custom version (396.xx series or higher)\n choice[1-7?]: '`" CONDITION;
read -p " Which driver version do you want?`echo $'\n > 1.Vulkan dev: 535.43.22\n 2.550 series: 550.40.07\n 3.545 series: 545.29.06\n 4.535 series: 535.154.05\n 5.470 series: 470.223.02\n 6.Older series\n 7.Custom version (396.xx series or higher)\n choice[1-7?]: '`" CONDITION;
fi
# This will be treated as the latest regular driver.
if [ "$CONDITION" = "2" ]; then
echo '_driver_version=550.40.07' > options
echo '_md5sum=f973f35d38211fd7ce01578eecab4638' >> options
echo '_driver_branch=regular' >> options
elif [ "$CONDITION" = "3" ]; then
echo '_driver_version=545.29.06' > options
echo '_md5sum=406f748abf16db5d599b652c508b99fd' >> options
echo '_driver_branch=regular' >> options
elif [ "$CONDITION" = "3" ]; then
elif [ "$CONDITION" = "4" ]; then
echo '_driver_version=535.154.05' > options
echo '_md5sum=53ab0bf8076fb5ba881b3a8eab566f72' >> options
echo '_driver_branch=regular' >> options
elif [ "$CONDITION" = "4" ]; then
echo '_driver_version=530.41.03' > options
echo '_md5sum=9049dbe01410eac1e05b249de10f6b91' >> options
echo '_driver_branch=regular' >> options
elif [ "$CONDITION" = "5" ]; then
echo '_driver_version=470.223.02' > options
echo '_md5sum=b6b2b79cd6d8288e42546b785e6c1d0a' >> options
echo '_driver_branch=regular' >> options
elif [ "$CONDITION" = "6" ]; then
read -p " Which legacy driver version do you want?`echo $'\n > 1.525 series: 525.147.05\n 2.520 series: 520.56.06\n 3.515 series: 515.86.01\n 4.510 series: 510.85.02\n 5.495 series: 495.46\n 6.465 series: 465.31\n 7.460 series: 460.91.03\n 8.455 series: 455.45.01\n 9.450 series: 450.119.03\n 10.440 series: 440.100 (kernel 5.8 or lower)\n 11.435 series: 435.21 (kernel 5.6 or lower)\n 12.430 series: 430.64 (kernel 5.5 or lower)\n 13.418 series: 418.113 (kernel 5.5 or lower)\n 14.415 series: 415.27 (kernel 5.4 or lower)\n 15.410 series: 410.104 (kernel 5.5 or lower)\n 16.396 series: 396.54 (kernel 5.3 or lower, 5.1 or lower recommended)\n choice[1-16?]: '`" CONDITION;
read -p " Which legacy driver version do you want?`echo $'\n > 1.530 series: 530.41.03\n 2.525 series: 525.147.05\n 3.520 series: 520.56.06\n 4.515 series: 515.86.01\n 5.510 series: 510.85.02\n 6.495 series: 495.46\n 7.465 series: 465.31\n 8.460 series: 460.91.03\n 9.455 series: 455.45.01\n 10.450 series: 450.119.03\n 11.440 series: 440.100 (kernel 5.8 or lower)\n 12.435 series: 435.21 (kernel 5.6 or lower)\n 13.430 series: 430.64 (kernel 5.5 or lower)\n 14.418 series: 418.113 (kernel 5.5 or lower)\n 15.415 series: 415.27 (kernel 5.4 or lower)\n 16.410 series: 410.104 (kernel 5.5 or lower)\n 17.396 series: 396.54 (kernel 5.3 or lower, 5.1 or lower recommended)\n choice[1-17?]: '`" CONDITION;
if [ "$CONDITION" = "2" ]; then
echo '_driver_version=525.147.05' > options
echo '_md5sum=bf00562896e64ebf3f28e528947049ce' >> options
echo '_driver_branch=regular' >> options
elif [ "$CONDITION" = "3" ]; then
echo '_driver_version=520.56.06' > options
echo '_md5sum=18136ef051cbfc3850e88aa5184b31b8' >> options
echo '_driver_branch=regular' >> options
elif [ "$CONDITION" = "3" ]; then
elif [ "$CONDITION" = "4" ]; then
echo '_driver_version=515.86.01' > options
echo '_md5sum=5eaf6786f0c92cfcecb1ab950ff70df5' >> options
echo '_driver_branch=regular' >> options
elif [ "$CONDITION" = "4" ]; then
elif [ "$CONDITION" = "5" ]; then
echo '_driver_version=510.85.02' > options
echo '_md5sum=0367f772fc61bccecee8559c4fe9bb3d' >> options
echo '_driver_branch=regular' >> options
elif [ "$CONDITION" = "5" ]; then
elif [ "$CONDITION" = "6" ]; then
echo '_driver_version=495.46' > options
echo '_md5sum=db1d6b0f9e590249bbf940a99825f000' >> options
echo '_driver_branch=regular' >> options
elif [ "$CONDITION" = "6" ]; then
elif [ "$CONDITION" = "7" ]; then
echo '_driver_version=465.31' > options
echo '_md5sum=4996eefa54392b0c9541d22e88abab66' >> options
echo '_driver_branch=regular' >> options
elif [ "$CONDITION" = "7" ]; then
elif [ "$CONDITION" = "8" ]; then
echo '_driver_version=460.91.03' > options
echo '_md5sum=15c5ada08bdb25d757d90e0f21b6f270' >> options
echo '_driver_branch=regular' >> options
elif [ "$CONDITION" = "8" ]; then
elif [ "$CONDITION" = "9" ]; then
echo '_driver_version=455.45.01' > options
echo '_md5sum=f0161877350aa9155eada811ff2844a8' >> options
echo '_driver_branch=regular' >> options
elif [ "$CONDITION" = "9" ]; then
elif [ "$CONDITION" = "10" ]; then
echo '_driver_version=450.119.03' > options
echo '_md5sum=b2725b8c15a364582be90c5fa1d6690f' >> options
echo '_driver_branch=regular' >> options
elif [ "$CONDITION" = "10" ]; then
elif [ "$CONDITION" = "11" ]; then
echo '_driver_version=440.100' > options
echo '_md5sum=7b99bcd2807ecd37af60d29de7bc30c2' >> options
echo '_driver_branch=regular' >> options
elif [ "$CONDITION" = "11" ]; then
elif [ "$CONDITION" = "12" ]; then
echo '_driver_version=435.21' > options
echo '_md5sum=050acb0aecc93ba15d1fc609ee82bebe' >> options
echo '_driver_branch=regular' >> options
elif [ "$CONDITION" = "12" ]; then
elif [ "$CONDITION" = "13" ]; then
echo '_driver_version=430.64' > options
echo '_md5sum=a4ea35bf913616c71f104f15092df714' >> options
echo '_driver_branch=regular' >> options
elif [ "$CONDITION" = "13" ]; then
elif [ "$CONDITION" = "14" ]; then
echo '_driver_version=418.113' > options
echo '_md5sum=0b21dbabaa25beed46c20a177e59642e' >> options
echo '_driver_branch=regular' >> options
elif [ "$CONDITION" = "14" ]; then
elif [ "$CONDITION" = "15" ]; then
echo '_driver_version=415.27' > options
echo '_md5sum=f4777691c4673c808d82e37695367f6d' >> options
echo '_driver_branch=regular' >> options
elif [ "$CONDITION" = "15" ]; then
elif [ "$CONDITION" = "16" ]; then
echo '_driver_version=410.104' > options
echo '_md5sum=4f3219b5fad99465dea399fc3f4bb866' >> options
echo '_driver_branch=regular' >> options
elif [ "$CONDITION" = "16" ]; then
elif [ "$CONDITION" = "17" ]; then
echo '_driver_version=396.54' > options
echo '_md5sum=195afa93d400bdbb9361ede6cef95143' >> options
echo '_driver_branch=regular' >> options
else
echo '_driver_version=525.147.05' > options
echo '_md5sum=bf00562896e64ebf3f28e528947049ce' >> options
echo '_driver_version=530.41.03' > options
echo '_md5sum=9049dbe01410eac1e05b249de10f6b91' >> options
echo '_driver_branch=regular' >> options
fi
elif [ "$CONDITION" = "7" ]; then
@ -1441,7 +1445,9 @@ package_opencl-$_branchname-tkg() {
EOF
#egl-wayland version
if (( ${pkgver%%.*} >= 545 )); then
if (( ${pkgver%%.*} >= 550 )); then
_eglwver="1.1.13"
elif (( ${pkgver%%.*} >= 545 )); then
_eglwver="1.1.12"
elif (( ${pkgver%%.*} >= 530 )); then
_eglwver="1.1.11"
@ -1466,7 +1472,9 @@ elif [[ $pkgver = 396* ]]; then
fi
#egl-gbm version
if (( ${pkgver%%.*} >= 495 )); then
if (( ${pkgver%%.*} >= 550 )); then
_eglgver="1.1.1"
elif (( ${pkgver%%.*} >= 495 )); then
_eglgver="1.1.0"
fi