3 Replies Latest reply on Jan 18, 2018 12:07 AM by colesdav

    amd r7 m340 driver on ubuntu


      My laptop is lenovo 310s which gpu is AMD R7 M340,i'm using ubuntu 16.04 LTS now.

      'lspci' command can display my gpu below:

      03:00.0 Display controller [0380]: Advanced Micro Devices, Inc. [AMD/ATI] Topaz XT [Radeon R7 M260/M265 / M340/M360 / M440/M445] [1002:6900]



      but it's not an official AMD GPU driver,I can't install AMD OPENCL SDKs.

      Then I find r7 m340 on AMD Driver List : Linux Download Center .Following the link i download the 17.40 driver(AMDGPU-Pro Driver Version 17.40 for Ubuntu 16.04.3) from AMDGPU-PRO Driver for Linux® Release Notes  while R7 m340 not included in AMD Product Family Compatibility yet.

      After I install 17.40 drvier,I've got a login loop.So i have to uninstall 17.40 driver.


      So which driver can i use?Is there no support driver for R7 M340 GPU?


      Sorry for my poor English.Thx!

        • Re: amd r7 m340 driver on ubuntu

          Try this.

          Make sure your ubuntu 16.04 installation is up to date with the latest patches.


          Download AMDGPU-PRO 17.50 for ubuntu 16.04 LTS.


          cd Downloads

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

          cd amdgpu-pro-17.50-511655/

          /amdgpu-install --opencl=legacy,rocm

          sudo reboot


          If you get a login loop with that, then do the following.
          CTRL ALT F1
          login normally


          sudo reboot.


          Please let me know if the driver installation works for you using those command options.

          If it does, could you uninstall again and see if tthis works as well please?

          /amdgpu-install --opencl=legacy,rocm --pro



          1 of 1 people found this helpful
            • Re: amd r7 m340 driver on ubuntu

              ./amdgpu-install --opencl=legacy,rocm

              It works!Thank you!


              I'll try " --pro" later.

              1 of 1 people found this helpful
                • Re: amd r7 m340 driver on ubuntu

                  RE: It works!Thank you!

                  No problem. Installing these drivers on Ubuntu 16.04 LTS seems somewhat difficult.


                  RE: I'll try " --pro" later.


                  Thank you, I need some help from others using Ubuntu 16.04 to debug what is happening when I try to install the AMD Driver on a system with Nvidia GTX780Ti Primary and R9 Nano secondary card. If you test that for me it will help me to debug what is going on for my situation.


                  Also if --pro works for you (it might not because of the type of card you have) then it means you will have installed Vulkan Driver components.

                  To actually use those components you have to also install the Vulkan SDK which is a notch up on the level of pain and frustration you may have experienced so far ...