18 Replies Latest reply on Mar 6, 2018 8:14 AM by malceore

    [Ubuntu 16.04] Can not extract amdgpu-pro archive

    mbarberot

      Hello,

       

      I'm running Linux Mint 18 (ubuntu based), I have a Radeon RX 480 and I want to install the AMD driver.

      I found this page : How-To Install/Uninstall AMD Radeon™ Software AMDGPU-PRO Driver for Linux® on an Ubuntu System

      I followed instructions and downloaded the ubuntu 16.04 driver archive, but here is the tar output :

       

      tar -Jxvf amdgpu-pro_16.30.3-315407.tar.xz

      xz: (stdin): File format not recognized

      tar: Child returned status 1

      tar: Error is not recoverable: exiting now

       

      It looks like the archive is broken.

      I have downloaded again several times, with the same result when trying to extract it with tar.

       

      Could you fix the archive, please ?

        • Re: [Ubuntu 16.04] Can not extract amdgpu-pro archive
          yrral86

          I am also getting a corrupted archive when I try to download the file

          amdgpu-pro_16.30.3-315407.tar.xz

           

          I just got my new graphics card and using the open source drivers my system locks up completely every few hours requiring a hard reboot.  Please fix the archive so I can use the pro drivers.

          • Re: [Ubuntu 16.04] Can not extract amdgpu-pro archive
            jwhipp

            +1 Same issue.

            $ xz --list amdgpu-pro-16.40-348864.tar.xz

            xz: amdgpu-pro-16.40-348864.tar.xz: Compressed data is corrupt

             

            $ file amdgpu-pro-16.40-348864.tar.xz

            amdgpu-pro-16.40-348864.tar.xz: data

             

            What is this file?  Tried several times like the OP and same result.

            • Re: [Ubuntu 16.04] Can not extract amdgpu-pro archive
              jwhipp

              Looks like there's some weird issue with the AMD servers, the download doesn't complete.  I tried several more times and finally got a working archive.

               

              Now the install process? Well, that's it own set of fun debugging.

              • Re: [Ubuntu 16.04] Can not extract amdgpu-pro archive
                jamestron

                I also cannot do this. After inserting the new GPU on my PCI-e slot on the motherboard, Windows works fine but Linux cannot log in. Every login attempt causes a black screen to flash and forces me to return to the original screen. I opened up the terminal with "Ctrl+Alt+F1" and tried to download and install the tar file

                 

                ~~~bash/terminal code

                mkdir tmp && cd tmp

                wget "https://www2.ati.com/drivers/linux/ubuntu/amdgpu-pro-16.40-348864.tar.xz" #From drivers section here - AMDGPU-PRO Driver for Linux® – Release Notes

                tar -Jxvf amdgpu-pro_16.30.3-315407.tar.xz

                #ERROR

                ~~~

                 

                Apparently this has been broken for 2 MONTHS! COME ON AMD! Do I need to return this GPU?

                • Re: [Ubuntu 16.04] Can not extract amdgpu-pro archive
                  destenson

                  This corrupted download issue is still happening until this day. It took me 2+ hours just now to get the download to work... I honestly don't know which of the things I tried fixed it. First, I tried fixing some bugs in the aspx, that chrome complained about: content attributes in the header that had semi-colons instead of commas, and some extraneous text "jia" in some javascript code that said it was "Compatibility Code for Chrome"... I tried Firefox, but it had the same issue. I found the "jia" may have been related to chinese translations, but otherwise I don't think it was supposed to be there... also I saw that a CORS request was rejected by the DOM. After 2 hours trying to make changes that would fix these things, I decided to try saying I was a different browser. Since the site is so microsoft-centric, I tried pretending to be Edge first. That didn't seem to work, then I clicked on the button that changes the layout (like if you're using a mobile device)... That made it much smaller, but it still wouldn't work. It always would download a 28MB file... Finally I was at the end of my rope & started clicking the link repeatedly. The second or third click in a row popped up a message asking me to allow the site to download multiple files. I ended up clicking about 6 times, and starting 6 downloads of the same file... 3 of them were 28MB, but the other 3 kept going. I cancelled all but 1 and it eventually downloaded the entire 116MB file...

                   

                  AMD, that was freaking ridiculous. You gotta fix this bug in your website... Or just freaking let people download files from offsite, by opening the URL not forcing us to click on your stupid aspx page to make the download work.

                  • Re: [Ubuntu 16.04] Can not extract amdgpu-pro archive
                    skomra

                    This issue affected me. For others who find this thread, the 16.40 drivers are still available and worked for me to set up my mining rig:

                     

                    AMDGPU-PRO Driver for Linux® – Release Notes

                     

                    I also was able to download the file (using the same operating system and browser!) at work. Though you have no reason to trust me, I uploaded it here:

                     

                    amdgpu-pro-16.60-379184.tar.xz - Google Drive

                     

                    On Ubuntu I had to extract this twice, once from xz, and once from tar.

                    • Re: [Ubuntu 16.04] Can not extract amdgpu-pro archive
                      volumetricsteve

                      Is this issue still ongoing?  I need to update my driver soon, so if there's a hurdle I'll try and find a way around it.

                      • Re: [Ubuntu 16.04] Can not extract amdgpu-pro archive
                        kschehr

                        As of today this is still an issue, I've tried Chrome and Firefox under Ubuntu 16.04 as well as Chrome and Edge under windows and ended up with the same corrupted archive based on a common MD5 sum across all the files.

                         

                        From: https://www2.ati.com/drivers/linux/ubuntu/amdgpu-pro-17.30-465504.tar.xz

                         

                        $ md5sum ./amdgpu-pro-17.30-465504.tar.xz

                        7f726483dffcc1df44ef4d65b86c6655  ./amdgpu-pro-17.30-465504.tar.xz

                         

                        $ tar -Jxvf amdgpu-pro-17.30-465504.tar.xz

                        xz: (stdin): File format not recognized

                        tar: Child returned status 1

                        tar: Error is not recoverable: exiting now

                         

                        $ unxz ./amdgpu-pro-17.30-465504.tar.xz

                        unxz: ./amdgpu-pro-17.30-465504.tar.xz: File format not recognized

                         

                        Any assistance from the AMD driver build side would be greatly appreciated.

                         

                        Thanks!

                          • Re: [Ubuntu 16.04] Can not extract amdgpu-pro archive
                            kschehr

                            Solved - 'ish.

                             

                            Confirmed some of the mirrors that AMD/Akami load balance to appear to have bad copies of the driver.

                             

                            I kept hammering the download link in Chrome under Ubuntu 16.04 since I noticed on a packet capture that the download was sending to an Akami edge server in hopes I'd get routed to a different one and get a good archive. Eventually I did and was able to expand the archive. If any AMD support is monitoring I unfortunately didn't capture the IP or the server that worked vs the ones that don't (or even confirm they're different servers) but I'm guessing you have better ways to debug this

                            anyway.

                             

                            Details below.

                             

                            $ md5sum ./amd*

                            8e9c7cf35368aa9963d3c19d7d0fb320  ./amdgpu-pro-17.30-465504.tar (10).xz

                            8e9c7cf35368aa9963d3c19d7d0fb320  ./amdgpu-pro-17.30-465504.tar (11).xz

                            7f726483dffcc1df44ef4d65b86c6655  ./amdgpu-pro-17.30-465504.tar (1).xz

                            7f726483dffcc1df44ef4d65b86c6655  ./amdgpu-pro-17.30-465504.tar(1).xz

                            7f726483dffcc1df44ef4d65b86c6655  ./amdgpu-pro-17.30-465504.tar (2).xz

                            7f726483dffcc1df44ef4d65b86c6655  ./amdgpu-pro-17.30-465504.tar (3).xz

                            7f726483dffcc1df44ef4d65b86c6655  ./amdgpu-pro-17.30-465504.tar (4).xz

                            7f726483dffcc1df44ef4d65b86c6655  ./amdgpu-pro-17.30-465504.tar (5).xz

                            7f726483dffcc1df44ef4d65b86c6655  ./amdgpu-pro-17.30-465504.tar (6).xz

                            7f726483dffcc1df44ef4d65b86c6655  ./amdgpu-pro-17.30-465504.tar (7).xz

                            7f726483dffcc1df44ef4d65b86c6655  ./amdgpu-pro-17.30-465504.tar (8).xz

                            7f726483dffcc1df44ef4d65b86c6655  ./amdgpu-pro-17.30-465504.tar (9).xz

                            7f726483dffcc1df44ef4d65b86c6655  ./amdgpu-pro-17.30-465504.tar.xz

                             

                            $ ls -lh amd*

                            -rw-rw-r-- 1 kschehr kschehr 376M Aug 25 10:18 amdgpu-pro-17.30-465504.tar (10).xz

                            -rw-rw-r-- 1 kschehr kschehr 376M Aug 25 10:18 amdgpu-pro-17.30-465504.tar (11).xz

                            -rw-rw-r-- 1 kschehr kschehr 295M Aug 25 10:03 amdgpu-pro-17.30-465504.tar (1).xz

                            -rw-rw-r-- 1 kschehr kschehr 295M Aug 25 09:44 amdgpu-pro-17.30-465504.tar(1).xz

                            -rw-rw-r-- 1 kschehr kschehr 295M Aug 25 10:03 amdgpu-pro-17.30-465504.tar (2).xz

                            -rw-rw-r-- 1 kschehr kschehr 295M Aug 25 10:04 amdgpu-pro-17.30-465504.tar (3).xz

                            -rw-rw-r-- 1 kschehr kschehr 295M Aug 25 10:05 amdgpu-pro-17.30-465504.tar (4).xz

                            -rw-rw-r-- 1 kschehr kschehr 295M Aug 25 10:05 amdgpu-pro-17.30-465504.tar (5).xz

                            -rw-rw-r-- 1 kschehr kschehr 295M Aug 25 10:05 amdgpu-pro-17.30-465504.tar (6).xz

                            -rw-rw-r-- 1 kschehr kschehr 295M Aug 25 10:08 amdgpu-pro-17.30-465504.tar (7).xz

                            -rw-rw-r-- 1 kschehr kschehr 295M Aug 25 10:10 amdgpu-pro-17.30-465504.tar (8).xz

                            -rw-rw-r-- 1 kschehr kschehr 295M Aug 25 10:11 amdgpu-pro-17.30-465504.tar (9).xz

                            -rw-rw-r-- 1 kschehr kschehr 295M Aug 25 09:37 amdgpu-pro-17.30-465504.tar.xz

                             

                            $ tar -Jxvf './amdgpu-pro-17.30-465504.tar (9).xz'

                            xz: (stdin): File format not recognized

                            tar: Child returned status 1

                            tar: Error is not recoverable: exiting now

                             

                            $ tar -Jxvf './amdgpu-pro-17.30-465504.tar (10).xz'

                            amdgpu-pro-17.30-465504/

                            amdgpu-pro-17.30-465504/libgbm1-amdgpu-pro-dev_17.30-465504_i386.deb

                            amdgpu-pro-17.30-465504/libgl1-amdgpu-pro-ext_17.30-465504_amd64.deb

                            amdgpu-pro-17.30-465504/Packages

                            amdgpu-pro-17.30-465504/libdrm-amdgpu-pro-radeon1_2.4.70-465504_i386.deb

                            amdgpu-pro-17.30-465504/rocr-amdgpu-pro-dev_1.1.5-465504_amd64.deb

                            amdgpu-pro-17.30-465504/rocm-amdgpu-pro-icd_17.30-465504_amd64.deb

                            amdgpu-pro-17.30-465504/libdrm2-amdgpu-pro_2.4.70-465504_i386.deb

                            amdgpu-pro-17.30-465504/vulkan-amdgpu-pro_17.30-465504_amd64.deb

                            amdgpu-pro-17.30-465504/libgbm1-amdgpu-pro_17.30-465504_i386.deb

                            amdgpu-pro-17.30-465504/libgl1-amdgpu-pro-dri_17.30-465504_amd64.deb

                            ..... archive continued to decompress

                          • Re: [Ubuntu 16.04] Can not extract amdgpu-pro archive
                            atlantonius

                            Its actually not a problem with corrupt drivers, but rather that you've not referenced the needed referer in your download request.  AMD's website is setup in such a way that you cannot download the file directly without going through a referer first, like so:

                             

                            wget --referer=http://support.amd.com https://www2.ati.com/drivers/linux/beta/ubuntu/amdgpu-pro-17.40-483984.tar.xz

                             

                            with the above reference, you should be able to download the complete file instead of just a few KB.

                             

                            My reference: Can't download ATI drivers with wget - The Linux Community Forum

                            1 of 1 people found this helpful
                            • Re: [Ubuntu 16.04] Can not extract amdgpu-pro archive
                              vaizguy

                              Hi,

                              I have been trying to download and extract the amdgpu-pro driver for sometime now with no success. The driver release is 17.50.

                               

                              It seems like the archive is broken;

                              $ tar -Jxvf amdgpu-pro-17.50-511655.tar.xz

                              xz: (stdin): File format not recognized

                              tar: Child returned status 1

                              tar: Error is not recoverable: exiting now

                               

                              Downloading it multiple times, (browser or wget) yielded the same md5sum so I expect that the file is downloading completely;

                              $ wget -O amdgpu-pro-17.50-511655.tar.xz --referer=http://support.amd.com https://www2.ati.com/drivers/linux/ubuntu/amdgpu-pro-17.50-511655.tar.xz

                              --2017-12-16 09:36:37--  https://www2.ati.com/drivers/linux/ubuntu/amdgpu-pro-17.50-511655.tar.xz

                              Resolving www2.ati.com (www2.ati.com)... 23.207.146.31

                              Connecting to www2.ati.com (www2.ati.com)|23.207.146.31|:443... connected.

                              HTTP request sent, awaiting response... 200 OK

                              Length: 177325408 (169M) [application/x-tar]

                              Saving to: ‘amdgpu-pro-17.50-511655.tar.xz’

                              amdgpu-pro-17.50-511655.tar.xz                       100%[=====================================================================================================================>] 169.11M  8.26MB/s    in 22s    

                              2017-12-16 09:36:59 (7.81 MB/s) - ‘amdgpu-pro-17.50-511655.tar.xz’ saved [177325408/177325408]

                               

                              I am not able to find any md5 sum of the archive on-line, can anyone crosscheck the md5sum for this particular release.

                              $ md5sum amdgpu-pro-17.50-511655.tar.xz

                              58d4610f51b61bd12174cd4e0278caf3  amdgpu-pro-17.50-511655.tar.xz

                               

                              Appreciate your help with this.

                              Thanks!

                              • Re: [Ubuntu 16.04] Can not extract amdgpu-pro archive
                                fantom

                                Hi everyone i spend a lot of time just to found out you need to install gedit text editor . its supporting UTF-8 coding

                                but until now i dont know if the driver will work in Linux

                                best regards

                                • Re: [Ubuntu 16.04] Can not extract amdgpu-pro archive
                                  bruce0

                                  The download link is bad. 

                                   

                                  AMD needs to fix the download link.