Open Trance-Paradox opened 5 years ago
A couple of notes for this.
@TheCakeIsNaOH
- For some cards, there are two versions available, both a stable version and a latest optional version
From what I have seen personally, the optional version is quite often a beta version, as such if the future maintainer want to support it he/she could possibly submit them as a pre-release.
- The autodetect application is for windows 7 and 10 only, does not work for every graphics product(not for pro drivers for instance). So the package may require some logic and/or a note about unsupported versions
Agreed, if a package is created it would need to support all the current platforms that chocolatey also supports (that means everything from Windows 7 and up). There are packages already out there that do these kind of custom logic, but I unfortunately don't have any for references right now.
- I think most if not all of the various AMD driver packages are nisis self extractors(which work with /S for silent installs) that extract then run the real installer. The actual installer, unfortunately, does not have a silent switch that I have found.
This is also something that I found when I was looking into creating a package myself for the radeon graphics cards. This also means that the future maintainer would need to create a autohotkey script to automate the installation.
Side-Note: The installer linked to in the OP comment is the auto-detection tool that is provided, the best option would be to install the correct driver installer instead of using the auto-detection tool (otherwise it would kind of defeat the purpose of creating a chocolatey package).
Sorry i accidentally closed it I am very new to GitHub. I wonder how nvidia drivers are dealt with having to detect system gpu
@Trance-Paradox Nvidia has one driver for all currently supported cards. Older cards may need an older driver version, which currently requires the user to select an older package in chocolatey. https://chocolatey.org/packages/geforce-game-ready-driver
Updated URL and version RFP - AMD Radeon Software, they use a completly different installer for it since the 2020 Edition :
Software project URL : https://www.amd.com/en/technologies/radeon-software
Direct download URL for the software / installer : https://drivers.amd.com/drivers/beta/win10-radeon-software-adrenalin-2020-edition-20.5.1-june10.exe
Software summary / short description: AMD Radeon Software Adrenalin 2020 Edition 20.5.1 installation package. Made by AMD.
@EpsilonsQc Is this a new package request or is it a request to update this package request?
@pauby it is the same program. The amd graphics drivers are part of the amd radeon software.
@AdmiringWorm Cool. So should the original request be updated? Happy to do it if @Trance-Paradox doesn't but just want to be clear before doing so.
@pauby the request should probably be updated, but not the direct download URL. The URL used in the original request URL is to the auto-detection tool and not the software being requested, and the URL by @EpsilonsQc is to the optional/beta release of the Radeon software (which is not generally recommended unless there are problems with the stable release).
I requested this almost a year back. Since then the link and official site may have changed. I just want to install the updated radeon drivers. I used the auto detect link thinking that it may come in handy to support all cards as the above software directly detects GPU and its most recent stable drivers
The URL used in the original request URL is to the auto-detection tool and not the software being requested, and the URL by @EpsilonsQc is to the optional/beta release of the Radeon software (which is not generally recommended unless there are problems with the stable release).
@AdmiringWorm As a long time AMD Radeon GPU user here, I can assure you that 99,99% of the time, the Optional/Beta release bring more stability and more bug fixed than the most up-to-date WHQL driver available. I believe that most AMD Radeon user always use the most recent driver because this is the default update behavior of the AMD Radeon Software to install the latest available driver (20.5.1 in this case) even if it's flagged as BETA/Optional.
I used the auto detect link thinking that it may come in handy to support all cards as the above software directly detects GPU and its most recent stable drivers
@Trance-Paradox Sure thing. The Auto-Detect and Install Radeon™ Graphics Drivers for Windows is probably the best way to go. That being said, the URL you provided is out-of-date. Here's the most recent one
https://drivers.amd.com/drivers/installer/20.10/beta/radeon-software-adrenalin-2020-20.5.1-minimalsetup-200610_web.exe
You can always find the most up-to-date URL for the software by checking the "DOWNLOAD NOW" button URL here : https://www.amd.com/en/support
@AdmiringWorm As a long time AMD Radeon GPU user here, I can assure you that 99,99% of the time, the Optional/Beta release bring more stability and more bug fixed than the most up-to-date WHQL driver available.
I was talking from my own experience as a long time AMD Radeon user as well, so I guess I must be among those 0.01% that you didn't cover then as 9/10 times I have tried the optional download I have had problems, everything from graphical glitches, software crash to a full hard crash (rolling back to the recommended version typically fixed these problems).
I believe that most AMD Radeon user always use the most recent driver because this is the default update behavior of the AMD Radeon Software to install the latest available driver (20.5.1 in this case) even if it's flagged as BETA/Optional.
No, that is not the default. It will only happen if you already have the optional version installed already, or if you have opted-in to install optional drivers (Recommended Only is the defaults).
No, that is not the default. It will only happen if you already have the optional version installed already, or if you have opted-in to install optional drivers (Recommended Only is the defaults).
Well maybe it's true but in all case, the "minimalsetup" Auto-Detect and Install Radeon™ Graphics Drivers for Windows install v20.5.1 by default, which is the current beta/optional drivers...
@EpsilonsQc That is not happening when I run it, but I also have the recommended version of Radeon software installed, so that gets automatically selected. The same would be true if you have the optional version installed locally.
Anyways, back to the point. I am not saying that the optional versions shouldn't be made available at all, but the priority should be on the recommended
version and instead provide the optional versions as pre-releases (possibly using either a -beta
or -optional
suffix on the version).
That would allow those that want to use the recommended versions to get them by default, and those that want the optional versions to install them when using --prerelease
when calling choco install
.
Anyways, back to the point. I am not saying that the optional versions shouldn't be made available at all, but the priority should be on the
recommended
version and instead provide the optional versions as pre-releases (possibly using either a-beta
or-optional
suffix on the version). That would allow those that want to use the recommended versions to get them by default, and those that want the optional versions to install them when using--prerelease
when callingchoco install
.
@AdmiringWorm Sounds like the perfect solution (to have both the Recommended package and the Optional package with a -beta or -optional suffix) !
Would it be easier to split this up in a package per GPU, just like how AMD offers them on https://www.amd.com/en/support ? What works for me is:
C:\AMD
C:\AMD
folder now contains a Setup.exe
which I can run silently:
.\Setup.exe -INSTALL | Out-Null
So for now, I'm just going to do
C:\AMD
folder with all required resources and the Setup.exe
file availableI'm pretty sure that somebody who knows how to create Chocolatey packages could use these steps to create a package for it.
H
Would it be easier to split this up in a package per GPU, just like how AMD offers them on https://www.amd.com/en/support ? What works for me is:
- Download the installer for my specific GPU (although I have the impression most Radeon cards have the same driver): https://drivers.amd.com/drivers/beta/win10-radeon-software-adrenalin-2020-edition-20.7.1-july9.exe
- Run that exe manually but stop after it extracted everything into
C:\AMD
- The
C:\AMD
folder now contains aSetup.exe
which I can run silently:.\Setup.exe -INSTALL | Out-Null
So for now, I'm just going to do
- the first 2 steps once on a single machine so that I have the
C:\AMD
folder with all required resources and theSetup.exe
file available- Copy that whole folder to a shared network drive
- The script I use to install software on all my machines will copy that folder from the shared network drive, and run the exe file to install the driver
I'm pretty sure that somebody who knows how to create Chocolatey packages could use these steps to create a package for it.
Will it cover the auto detect function for any amd gpu? Or u suggestion different options for installing card specific drivers.
This approach certainly doesn't auto-detect which AMD GPU you use. However, it looks like the actual driver is the same for a bunch of GPUs, so there wouldn't be a need for many packages (I think).
Does single nvidia's driver works for all its cards
I've made some discoveries on how to get this working. Download the latest web installer here.
This should be a 7zip self extracting archive. Should dump a bunch of files by default to C:\AMD. Inside you should find a folder similarly named to the file you downloaded. For this attempt it was C:\AMD\AMD-Software-Adrenalin-Edition-23.12.1-MinimalSetup-231205_web.
At that path navigate to the Bin64 sub-directory. Find the atisetup.exe, you can get it to print all its args with atisetup.exe /? or /help. It looks like the -download_only flag might need to be run first before attempting an install. I didn't investigate much further as I just wanted to play games for now :^).
Running ATISetup.exe -install -view:4 -UI
lead to minimal button clicking. Maybe one..
-view:x to select the custom AMD Software view, where:
x being 1 will install Full View
x being 2 will install Minimal View
x being 4 will install Driver only
Running without UI gave me an error. That is why I think downloading is required first. The UI handles that on its own.
PS C:\AMD\AMD-Software-Adrenalin-Edition-23.12.1-MinimalSetup-231205_web\Bin64> .\ATISetup.exe -install -view:4 -output screen
Performing Detection
Loaded DLL
GetIChipset address located
An error has occured: Error code: 186
[ResponseResult]
ResultCode =186
Checklist
Package Details
Software project URL : https://www.amd.com/en/support Direct download URL for the software / installer : https://drivers.amd.com/drivers/installer/19.30/beta/radeon-software-adrenalin-2019-19.9.1-minimalsetup-190904_web.exe Software summary / short description : This software automatically scans for the gpu in the system and downloads and install required drivers.