How do I install AMDGPU-Pro on Mint 19?

Screen resolution, 3D Acceleration, nVidia, ATI
Forum rules
Before you post please read this
Dukenukemx
Level 3
Level 3
Posts: 154
Joined: Thu Nov 24, 2011 1:06 am

How do I install AMDGPU-Pro on Mint 19?

Post by Dukenukemx » Mon Jul 02, 2018 1:01 am

I installed Mint 19 Cinnamon 64-bit and I edited the amdgpu-pro-install and replaced the Ubuntu with Linuxmint and now I get this. What do I do to install it?

Code: Select all

sudo ./amdgpu-pro-install -y
deb [ trusted=yes ] file:/var/opt/amdgpu-pro-local/ ./
Get:1 file:/var/opt/amdgpu-pro-local ./ InRelease
Ign:1 file:/var/opt/amdgpu-pro-local ./ InRelease
Get:2 file:/var/opt/amdgpu-pro-local ./ Release [816 B]
Get:2 file:/var/opt/amdgpu-pro-local ./ Release [816 B]
Get:3 file:/var/opt/amdgpu-pro-local ./ Release.gpg                                                          
Ign:3 file:/var/opt/amdgpu-pro-local ./ Release.gpg                                                          
Get:4 file:/var/opt/amdgpu-pro-local ./ Packages [126 kB]                                                    
Get:5 http://security.ubuntu.com/ubuntu bionic-security InRelease [83.2 kB]                                  
Ign:6 http://dl.google.com/linux/chrome/deb stable InRelease                                                 
Ign:7 http://packages.linuxmint.com tara InRelease                                                           
Hit:8 http://archive.ubuntu.com/ubuntu bionic InRelease                                                      
Hit:9 http://ppa.launchpad.net/dolphin-emu/ppa/ubuntu bionic InRelease                                       
Hit:10 http://archive.canonical.com/ubuntu bionic InRelease                                                  
Hit:11 http://packages.linuxmint.com tara Release                                                            
Hit:12 http://dl.google.com/linux/chrome/deb stable Release                                                  
Get:13 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]                                   
Hit:14 http://ppa.launchpad.net/mamarley/tvheadend-git-stable/ubuntu bionic InRelease              
Hit:15 http://ppa.launchpad.net/pcsx2-team/pcsx2-daily/ubuntu bionic InRelease                               
Get:16 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]                         
Hit:17 http://ppa.launchpad.net/team-xbmc/ppa/ubuntu bionic InRelease                                        
Fetched 247 kB in 2s (153 kB/s)                    
Reading package lists... Done
Package: *amdgpu*
Pin: release o=AMD
Pin: version *-606296
Pin-Priority: 1000

Package: *amdgpu*:i386
Pin: release o=AMD
Pin: version *-606296
Pin-Priority: 1000

apt
Usage: apt command [options]
       apt help command [options]

Commands:
  add-repository   - Add entries to apt sources.list
  autoclean        - Erase old downloaded archive files
  autoremove       - Remove automatically all unused packages
  build            - Build binary or source packages from sources
  build-dep        - Configure build-dependencies for source packages
  changelog        - View a package's changelog
  check            - Verify that there are no broken dependencies
  clean            - Erase downloaded archive files
  contains         - List packages containing a file
  content          - List files contained in a package
  deb              - Install a .deb package
  depends          - Show raw dependency information for a package
  dist-upgrade     - Upgrade the system by removing/installing/upgrading packages
  download         - Download the .deb file for a package
  edit-sources     - Edit /etc/apt/sources.list with your preferred text editor
  dselect-upgrade  - Follow dselect selections
  full-upgrade     - Same as 'dist-upgrade'
  held             - List all held packages
  help             - Show help for a command
  hold             - Hold a package
  install          - Install/upgrade packages
  list             - List packages based on package names
  policy           - Show policy settings
  purge            - Remove packages and their configuration files
  recommends       - List missing recommended packages for a particular package
  rdepends         - Show reverse dependency information for a package
  reinstall        - Download and (possibly) reinstall a currently installed package
  remove           - Remove packages
  search           - Search for a package by name and/or expression
  show             - Display detailed information about a package
  showhold         - Same as 'held'
  source           - Download source archives
  sources          - Same as 'edit-sources'
  unhold           - Unhold a package
  update           - Download lists of new/upgradable packages
  upgrade          - Perform a safe upgrade
  version          - Show the installed version of a package
  

User avatar
catweazel
Level 17
Level 17
Posts: 7754
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: How do I install AMDGPU-Pro on Mint 19?

Post by catweazel » Mon Jul 02, 2018 3:01 am

Dukenukemx wrote:
Mon Jul 02, 2018 1:01 am
What do I do to install it?
Follow the clear, written instructions.

https://support.amd.com/en-us/kb-articl ... stall.aspx

You will note that there are no instructions for Ubuntu 18.04. Since AMD offer a driver for Ubuntu 17.04, presumably you need to download the correct driver for Ubuntu 18.04, which Mint is based on. Once you find that, you can follow the instructions as linked to above, but skip the sudo apt dist-upgrade command. However there may not be a driver for 18.04 yet.
¡uʍop ǝpısdn sı buıɥʇʎɹǝʌǝ os ɐıןɐɹʇsnɐ ɯoɹɟ ɯ,ı

Dukenukemx
Level 3
Level 3
Posts: 154
Joined: Thu Nov 24, 2011 1:06 am

Re: How do I install AMDGPU-Pro on Mint 19?

Post by Dukenukemx » Mon Jul 02, 2018 10:43 am

They've had drivers for Ubuntu 18.04 for a while now, they're called AMDGPU-PRO 18.20. Yea the name is confusing. Also I am following the instructions. It says to run './amdgpu-pro-install –y' and that's what I did, and got that output. You didn't even read my post @catweazel .

https://support.amd.com/en-us/kb-articl ... Notes.aspx

User avatar
roblm
Level 9
Level 9
Posts: 2766
Joined: Sun Feb 24, 2013 2:41 pm

Re: How do I install AMDGPU-Pro on Mint 19?

Post by roblm » Mon Jul 02, 2018 12:12 pm

What is your video card?

Dukenukemx
Level 3
Level 3
Posts: 154
Joined: Thu Nov 24, 2011 1:06 am

Re: How do I install AMDGPU-Pro on Mint 19?

Post by Dukenukemx » Mon Jul 02, 2018 1:10 pm

Radeon HD 7850

User avatar
roblm
Level 9
Level 9
Posts: 2766
Joined: Sun Feb 24, 2013 2:41 pm

Re: How do I install AMDGPU-Pro on Mint 19?

Post by roblm » Mon Jul 02, 2018 1:29 pm

Use this command, removing the -y option. That's the only way I could install that driver: ./amdgpu-pro-install

Or this one, to also install the OpenCL files: ./amdgpu-pro-install --opencl=legacy

Without the -y option, the installation will stop at one point and you will need to answer Yes.

Dukenukemx
Level 3
Level 3
Posts: 154
Joined: Thu Nov 24, 2011 1:06 am

Re: How do I install AMDGPU-Pro on Mint 19?

Post by Dukenukemx » Mon Jul 02, 2018 6:02 pm

Thanks @roblm, that worked. Who would have guessed the -y caused an issue? Now I'm gonna restart and test this out.

Dukenukemx
Level 3
Level 3
Posts: 154
Joined: Thu Nov 24, 2011 1:06 am

Re: How do I install AMDGPU-Pro on Mint 19?

Post by Dukenukemx » Mon Jul 02, 2018 6:29 pm

So far the drivers work and I can now use Cinnamon as the included AMD open source drivers in Mint 19 are broken. Minecraft wouldn't work before, and now it does. I can even use Dolphin with Vulkan support.

sampctech
Level 1
Level 1
Posts: 7
Joined: Wed Sep 02, 2015 12:26 am

Re: How do I install AMDGPU-Pro on Mint 19?

Post by sampctech » Tue Aug 21, 2018 3:08 pm

Not sure if anyone still monitors this, but I need some help as well. I installed Mint 19 Cinnamon 64-bit and downloaded the amdgpu-pro-18.30-633530 driver. I then edited the amdgpu-install file, but when replaced the Ubuntu with Linuxmint, I got a syntax error. I then replaced Linuxmint with * and now I get this.

Code: Select all

:~/Downloads/amdgpu-pro-18.30-633530$ ./amdgpu-pro-install -y
deb [ trusted=yes ] file:/var/opt/amdgpu-pro-local/ ./
Get:1 file:/var/opt/amdgpu-pro-local ./ InRelease
Ign:1 file:/var/opt/amdgpu-pro-local ./ InRelease                               
Get:2 file:/var/opt/amdgpu-pro-local ./ Release [816 B]                         
Get:2 file:/var/opt/amdgpu-pro-local ./ Release [816 B]                         
Get:3 file:/var/opt/amdgpu-pro-local ./ Release.gpg                             
Ign:3 file:/var/opt/amdgpu-pro-local ./ Release.gpg                             
Get:4 file:/var/opt/amdgpu-pro-local ./ Packages [127 kB]                       
Ign:5 http://linuxmint.mirrors.pair.com/packages tara InRelease                 
Hit:6 http://linuxmint.mirrors.pair.com/packages tara Release                   
Hit:8 http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu bionic InRelease
Hit:9 http://archive.canonical.com/ubuntu bionic InRelease                      
Hit:10 http://archive.ubuntu.com/ubuntu bionic InRelease                        
Hit:11 http://security.ubuntu.com/ubuntu bionic-security InRelease              
Hit:12 http://archive.ubuntu.com/ubuntu bionic-updates InRelease                
Hit:13 http://linux.teamviewer.com/deb stable InRelease                         
Get:14 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Hit:15 http://linux.teamviewer.com/deb preview InRelease                        
Fetched 74.6 kB in 1s (81.4 kB/s)                                               
Reading package lists... Done
Package: *amdgpu*
Pin: release o=AMD
Pin: version *-633530
Pin-Priority: 1000

Package: *amdgpu*:i386
Pin: release o=AMD
Pin: version *-633530
Pin-Priority: 1000

apt
Usage: apt command [options]
       apt help command [options]

Commands:
  add-repository   - Add entries to apt sources.list
  autoclean        - Erase old downloaded archive files
  autoremove       - Remove automatically all unused packages
  build            - Build binary or source packages from sources
  build-dep        - Configure build-dependencies for source packages
  changelog        - View a package's changelog
  check            - Verify that there are no broken dependencies
  clean            - Erase downloaded archive files
  contains         - List packages containing a file
  content          - List files contained in a package
  deb              - Install a .deb package
  depends          - Show raw dependency information for a package
  dist-upgrade     - Upgrade the system by removing/installing/upgrading packages
  download         - Download the .deb file for a package
  edit-sources     - Edit /etc/apt/sources.list with your preferred text editor
  dselect-upgrade  - Follow dselect selections
  full-upgrade     - Same as 'dist-upgrade'
  held             - List all held packages
  help             - Show help for a command
  hold             - Hold a package
  install          - Install/upgrade packages
  list             - List packages based on package names
  policy           - Show policy settings
  purge            - Remove packages and their configuration files
  recommends       - List missing recommended packages for a particular package
  rdepends         - Show reverse dependency information for a package
  reinstall        - Download and (possibly) reinstall a currently installed package
  remove           - Remove packages
  search           - Search for a package by name and/or expression
  show             - Display detailed information about a package
  showhold         - Same as 'held'
  source           - Download source archives
  sources          - Same as 'edit-sources'
  unhold           - Unhold a package
  update           - Download lists of new/upgradable packages
  upgrade          - Perform a safe upgrade
  version          - Show the installed version of a package
What do I do to install it?

Here is what I currently have for my system:

Code: Select all

System:    Host: MintC Kernel: 4.15.0-32-generic x86_64 bits: 64 gcc: 7.3.0
           Desktop: Cinnamon 3.8.8 (Gtk 3.22.30-1ubuntu1) dm: lightdm Distro: Linux Mint 19 Tara
Machine:   Device: desktop Mobo: BIOSTAR model: X370GT5 serial: N/A
           UEFI [Legacy]: American Megatrends v: 5.13 date: 04/17/2018
CPU:       Quad core AMD Ryzen 3 2200G with Radeon Vega Graphics (-MCP-) arch: Zen rev.0 cache: 2048 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm) bmips: 27947
           clock speeds: min/max: 1600/3500 MHz 1: 2892 MHz 2: 2715 MHz 3: 2671 MHz 4: 2960 MHz
Graphics:  Card: Advanced Micro Devices [AMD/ATI] Vega [Radeon Vega 8 Mobile]
           bus-ID: 0b:00.0 chip-ID: 1002:15dd
           Display Server: x11 (X.Org 1.19.6 ) driver: vesa Resolution: 1920x1080@0.00hz
           OpenGL: renderer: llvmpipe (LLVM 6.0, 128 bits)
           version: 3.3 Mesa 18.0.5 (compat-v: 3.0) Direct Render: Yes
Audio:     Card-1 Advanced Micro Devices [AMD] Device 15e3
           driver: snd_hda_intel bus-ID: 0b:00.6 chip-ID: 1022:15e3
           Card-2 Advanced Micro Devices [AMD/ATI] Device 15de
           driver: snd_hda_intel bus-ID: 0b:00.1 chip-ID: 1002:15de
           Sound: Advanced Linux Sound Architecture v: k4.15.0-32-generic
Network:   Card: Realtek RTL8111/8168/8411 PCIE Gigabit Ethernet Controller
           driver: r8169 v: 2.3LK-NAPI port: e000 bus-ID: 03:00.0 chip-ID: 10ec:8168
           IF: enp3s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:    HDD Total Size: 21504.3GB (16.5% used)
           ID-1: /dev/sda model: Hitachi_HDS72101 size: 1000.2GB serial: <filter>
           ID-2: /dev/sdb model: MD4000GBDS size: 4000.8GB serial: <filter>
           ID-3: /dev/sdd model: ST33000650NS size: 3000.6GB serial: <filter>
           ID-4: /dev/sde model: WDC_WD30EZRX size: 3000.6GB serial: <filter>
           ID-5: /dev/sdf model: ST2000DL004_HD20 size: 2000.4GB serial: <filter>
           ID-6: /dev/sdg model: Hitachi_HDS72105 size: 500.1GB serial: <filter>
           ID-7: /dev/sdh model: HGST_HUS724040AL size: 4000.8GB serial: <filter>
           ID-8: /dev/sdi model: HGST_HUS724040AL size: 4000.8GB serial: <filter>
Partition: ID-1: / size: 401G used: 38G (10%) fs: ext4 dev: /dev/sda1
           ID-2: /home size: 515G used: 8.5G (2%) fs: ext4 dev: /dev/sda2
RAID:      System: supported: N/A
           No RAID devices: /proc/mdstat, md_mod kernel module present
           Unused Devices: none
Sensors:   System Temperatures: cpu: 53.4C mobo: N/A
           Fan Speeds (in rpm): cpu: N/A
Repos:     Active apt sources in file: /etc/apt/sources.list.d/danielrichter2007-grub-customizer-bionic.list
           deb http: //ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu bionic main
           deb-src http: //ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu bionic main
           Active apt sources in file: /etc/apt/sources.list.d/official-package-repositories.list
           deb http: //linuxmint.mirrors.pair.com/packages tara main upstream import backport
           deb http: //archive.ubuntu.com/ubuntu bionic main restricted universe multiverse
           deb http: //archive.ubuntu.com/ubuntu bionic-updates main restricted universe multiverse
           deb http: //archive.ubuntu.com/ubuntu bionic-backports main restricted universe multiverse
           deb http: //security.ubuntu.com/ubuntu/ bionic-security main restricted universe multiverse
           deb http: //archive.canonical.com/ubuntu/ bionic partner
           Active apt sources in file: /etc/apt/sources.list.d/teamviewer.list
           deb http: //linux.teamviewer.com/deb stable main
           deb http: //linux.teamviewer.com/deb preview main
Info:      Processes: 239 Uptime: 14:47 Memory: 4485.9/15045.4MB
           Init: systemd v: 237 runlevel: 5 Gcc sys: 7.3.0 Client: Unknown python3.6 client inxi: 2.3.56

User avatar
roblm
Level 9
Level 9
Posts: 2766
Joined: Sun Feb 24, 2013 2:41 pm

Re: How do I install AMDGPU-Pro on Mint 19?

Post by roblm » Wed Aug 22, 2018 2:12 pm

If you read all the posts in this topic, then you should know that the -y option should be left off the installation command.

Your inxi output lists AMD Ryzen 3 2200G with Radeon Vega Graphics, which is an APU.

User Citizen229, in his topic says the AMDGPU-Pro driver can’t be installed on mobile GPUs as well as APUs:
viewtopic.php?f=59&t=248059

I've been looking for a statement by AMD to verify that but still haven't found one, so you will be testing an installation that may fail, but first change the word linuxmint back to ubuntu in the amdgpu-pro-install script. I’ll explain why later. I recommend a new installation. Otherwise, there will probably be an error message about unmet dependencies when you attempt a second installation. Use this command to try to fix that: sudo apt install --fix-broken


With the release of the Radeon Software for Linux 18.30 package, AMD has added another obstacle to the installation for Mint users who want to install the AMDGPU-Pro driver. With previous versions, the amdgpu-pro-install script was edited by changing the word ubuntu to linuxmint. That won’t work with the newest version. After the installation, if you view the installer log in the Terminal window, you will probably see these 3 lines at the end:
Errors were encountered while processing:
/tmp/apt-dpkg-install-VlDLjr/08-amdgpu-core_18.30-633530_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Looking deeper in the log, you will see these lines:
ERROR: This package can only be installed on Ubuntu 18.04.
dpkg: error processing archive /tmp/apt-dpkg-install-VlDLjr/08-amdgpu-core_18.30-633530_all.deb (--unpack):
new amdgpu-core package pre-installation script subprocess returned error exit status 1

If the amdgpu-pro-18.30-633530.tar.xz package is extracted and then the amdgpu-core_18.30-633530_all.deb package within it is extracted and then the control.tar.xz package within it is extracted, then the preinst script can be viewed:

Code: Select all

#!/bin/bash
set -e
. /etc/os-release

if [ "$VERSION_ID" != "18.04" ] ; then
	>&2 echo "ERROR: This package can only be installed on Ubuntu 18.04."
	exit 1
fi
exit 0
This script will run before the amdgpu-core package is installed. It checks in the system’s /etc/os-release file for a VERSION_ID="18.04" line, which is the latest version of Ubuntu. If that is not found, then the amdgpu-core package will not be installed, the error message will be seen in the installer log and the installation will fail.

The solution I found is to edit the /etc/os-release file. Use this command to open it: xed admin:///etc/os-release

Code: Select all

NAME="Linux Mint"
VERSION="19 (Tara)"
ID=linuxmint
ID_LIKE=ubuntu
PRETTY_NAME="Linux Mint 19"
VERSION_ID="19"
HOME_URL="https://www.linuxmint.com/"
SUPPORT_URL="https://forums.ubuntu.com/"
BUG_REPORT_URL="http://linuxmint-troubleshooting-guide.readthedocs.io/en/latest/"
PRIVACY_POLICY_URL="https://www.linuxmint.com/"
VERSION_CODENAME=tara
UBUNTU_CODENAME=bionic
Change the word linuxmint to ubuntu in line 3 and change the number 19 to 18.04 in line 6. After the installation, you can change these back. The amdgpu-pro-install script does not have to be edited.

Proceed with the installation by right clicking on the downloaded amdgpu-pro-18.30-633530.tar.xz package and selecting Extract Here. Open the amdgpu-pro18.30-633530 folder. Right click in the empty space and select Open in Terminal. Use the command ./amdgpu-pro-install

If you also want to install the OpenCL component, then use this command for Vega10 and newer cards:
./amdgpu-pro-install --opencl=pal

Or this command for Pre Vega10 cards: ./amdgpu-pro-install --opencl=legacy

Reboot

sampctech
Level 1
Level 1
Posts: 7
Joined: Wed Sep 02, 2015 12:26 am

Re: How do I install AMDGPU-Pro on Mint 19?

Post by sampctech » Thu Aug 23, 2018 1:54 am

Just to start with, THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU!!!!!

Had already read AMDs documentation about what the 18.30 driver supports & it does list Radeon™ RX Vega Series Graphics​ which includes Vega 8+ & luckily, the Raven Ridge APUs. YEAH! I had resolve part of my resultion, split screen after reading through the furom & some of the posts as well as watching some youtube vide, but none resolved. Just resulted in alot of install & then reboot, remove.

So thought about reinstalling LinuxMint 19 Cinnamon 64-bit again & starting from the beginning first, per the 'fix broken' cmd not working to do anything, closed the terminal window out for some reason, unless it supposed to that. Anyway, went through DIRs & found 'os-release' in /usr/lib & created a backup in my Documents folder then edited the original & made the listing changes as you advised & saved.

Launched another terminal & ran ./amdgpu-pro-install & it ran, almost flawlessly till the end, but did give 1 error stating that the 'nomodeset' option needed to not be enabled. I rebooted & selected normal start & everything is now working. Now have full 1920x1080@60 over HDMI & have audio! Finally, have audio!!

Again, thank you thank you thank you. I greatly appreciate the assistance on this one. Now to start using it. will consider trying the OpenCL in th efuture, but have not yet.

ouck
Level 1
Level 1
Posts: 23
Joined: Tue Feb 20, 2018 7:26 am

Re: How do I install AMDGPU-Pro on Mint 19?

Post by ouck » Thu Aug 23, 2018 11:02 am

I try your solution roblm but I have an error:

Code: Select all

Dépaquetage de wsa-amdgpu:amd64 (18.30-633530) ...
Des erreurs ont été rencontrées pendant l'exécution :
 /tmp/apt-dpkg-install-tylSwg/17-libdrm-amdgpu-common_1.0.0-633530_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
I try "apt install libdrm-amdgpu-common" same error:

Code: Select all

Préparation du dépaquetage de .../libdrm-amdgpu-common_1.0.0-633530_all.deb ...
Dépaquetage de libdrm-amdgpu-common (1.0.0-633530) ...
dpkg: erreur de traitement de l'archive /var/opt/amdgpu-pro-local/./libdrm-amdgpu-common_1.0.0-633530_all.deb (--unpack) :
 tentative de remplacement de « /opt/amdgpu/share/libdrm/amdgpu.ids », qui appartient aussi au paquet ids-amdgpu 1.0.0-572953
Des erreurs ont été rencontrées pendant l'exécution :
 /var/opt/amdgpu-pro-local/./libdrm-amdgpu-common_1.0.0-633530_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
inxi -G

Code: Select all

Graphics:  Card-1: Intel 2nd Generation Core Processor Family Integrated Graphics Controller
           Card-2: Advanced Micro Devices [AMD/ATI] Ellesmere [Radeon RX 470/480]
           Display Server: x11 (X.Org 1.19.6 ) drivers: amdgpu FAILED: modesetting Resolution: 1680x1050@59.88hz
           OpenGL: renderer: Radeon RX 480 Graphics version: 4.6.13536

sampctech
Level 1
Level 1
Posts: 7
Joined: Wed Sep 02, 2015 12:26 am

Re: How do I install AMDGPU-Pro on Mint 19?

Post by sampctech » Thu Aug 23, 2018 4:28 pm

It looks like you may have already installed a version of the driver once before

OpenGL: renderer: Radeon RX 480 Graphics version: 4.6.13536

My thought would be to remove that drive per roblm instruction & run to fix unmet dependencies error

sudo apt install --fix-broken

Other wise, the only other suggestion I could give would be to make your RX480 the primary graphics card or disable the intel altogether.

ouck
Level 1
Level 1
Posts: 23
Joined: Tue Feb 20, 2018 7:26 am

Re: How do I install AMDGPU-Pro on Mint 19?

Post by ouck » Fri Aug 24, 2018 5:37 am

Thank's I have removed and reinstalled no error this time!

But inxi -G always give me a red FAILED:

Code: Select all

	   Graphics:  Card-1: Intel 2nd Generation Core Integrated Graphics Controller
           Card-2: Advanced Micro Devices [AMD/ATI] Ellesmere [Radeon RX 470/480]
           Display Server: x11 (X.Org 1.19.6 )
           drivers: amdgpu FAILED: modesetting
           Resolution: 1680x1050@59.88hz
           OpenGL: renderer: AMD Radeon RX 480 Graphics
           version: 4.6.13536 18.30.2.15
For the primary graphics I have already do it in the BIOS what to do more ?
I find that: viewtopic.php?t=266415#p1449201
He says order no matter

User avatar
roblm
Level 9
Level 9
Posts: 2766
Joined: Sun Feb 24, 2013 2:41 pm

Re: How do I install AMDGPU-Pro on Mint 19?

Post by roblm » Fri Aug 24, 2018 10:55 am

sampctech wrote:
Thu Aug 23, 2018 1:54 am
Had already read AMDs documentation about what the 18.30 driver supports & it does list Radeon™ RX Vega Series Graphics​ which includes Vega 8+ & luckily, the Raven Ridge APUs.
There was no question that Radeon Vega Graphics was supported by the AMDGPU-Pro driver for a desktop system using a discrete card, but would a Ryzen APU using integrated Radeon Vega Graphics be supported.

sampctech wrote:
Thu Aug 23, 2018 1:54 am
So thought about reinstalling LinuxMint 19 Cinnamon 64-bit again & starting from the beginning first, per the 'fix broken' cmd not working to do anything, closed the terminal window out for some reason, unless it supposed to that.
Here is an alternative method for anyone facing this kind of situation. Open the Synaptic Package Manager. You will probably see a message about there being broken packages on your system and to use the “Broken” filter to locate them. Click the Status category in the lower left. Click the Broken dependencies category in the upper left. The broken packages will be listed on the right. Click Edit > Fix Broken Packages. Click Apply.

sampctech wrote:
Thu Aug 23, 2018 1:54 am
Anyway, went through DIRs & found 'os-release' in /usr/lib & created a backup in my Documents folder then edited the original & made the listing changes as you advised & saved.
The original os-release file is the one in /usr/lib and the one in /etc is linked to it. Any changes made to the /etc/os-release file will also automatically be made in the /usr/lib/os-release file, and vise versa.

User avatar
roblm
Level 9
Level 9
Posts: 2766
Joined: Sun Feb 24, 2013 2:41 pm

Re: How do I install AMDGPU-Pro on Mint 19?

Post by roblm » Fri Aug 24, 2018 11:07 am

ouck wrote:
Fri Aug 24, 2018 5:37 am
But inxi -G always give me a red FAILED:
I would not be concerned about that message. It refers to the unloaded modesetting driver.

During the startup of the X.Org X Server, there can be many drivers that are initially loaded but then all but one are unloaded, as seen in these lines from the Xorg.0.log file:

Code: Select all

[     5.852] (II) LoadModule: "amdgpu"
[     5.853] (II) LoadModule: "ati"
[     5.911] (II) LoadModule: "radeon"
[     5.944] (II) LoadModule: "modesetting"
[     5.944] (II) LoadModule: "fbdev"
[     5.945] (II) LoadModule: "vesa"

The inxi output is sometimes confusing, and even wrong. It gets it’s info from reading the Xorg.0.log file. The buggy operation of Xorg or both can lead to the sometimes confusing but harmless outputs.
I saved this inxi output from one of my previous installations. The supposedly failed nouveau driver was actually loaded and working correctly.

inxi-nouveau.png

Here is another confusing output. Can you tell which driver is loaded:

inxi -Gx vesa driver.png


Read this topic to get some insight on how inxi works, by the author of that program himself, h2-1.
viewtopic.php?f=47&t=271950

That’s why I always look at the Xorg.0.log file when I need to know for certain which driver is actually loading. Look for a group of lines with the name of the driver followed by (0):

Code: Select all

[     6.275] (II) AMDGPU(0): AMDGPU DDX hybrid version: 18.30.2.15
[     6.275] (II) AMDGPU(0): AMDGPU kernel module hybrid version: 18.30.2.15
[     6.275] (II) AMDGPU(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[     6.275] (==) AMDGPU(0): Depth 24, (--) framebuffer bpp 32
[     6.275] (II) AMDGPU(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
[     6.275] (==) AMDGPU(0): Default visual is TrueColor
[     6.275] (==) AMDGPU(0): RGB weight 888
[     6.275] (II) AMDGPU(0): Using 8 bits per RGB (8 bit DAC)
[     6.275] (--) AMDGPU(0): Chipset: "AMD Radeon HD 8500 series" (ChipID = 0x6613)

patrikx3
Level 1
Level 1
Posts: 9
Joined: Wed Apr 04, 2018 9:12 am

Re: How do I install AMDGPU-Pro on Mint 19?

Post by patrikx3 » Wed Aug 29, 2018 1:30 am

roblm wrote:
Wed Aug 22, 2018 2:12 pm
If you read all the posts in this topic, then you should know that the -y option should be left off the installation command.

Your inxi output lists AMD Ryzen 3 2200G with Radeon Vega Graphics, which is an APU.

User Citizen229, in his topic says the AMDGPU-Pro driver can’t be installed on mobile GPUs as well as APUs:
viewtopic.php?f=59&t=248059

I've been looking for a statement by AMD to verify that but still haven't found one, so you will be testing an installation that may fail, but first change the word linuxmint back to ubuntu in the amdgpu-pro-install script. I’ll explain why later. I recommend a new installation. Otherwise, there will probably be an error message about unmet dependencies when you attempt a second installation. Use this command to try to fix that: sudo apt install --fix-broken


With the release of the Radeon Software for Linux 18.30 package, AMD has added another obstacle to the installation for Mint users who want to install the AMDGPU-Pro driver. With previous versions, the amdgpu-pro-install script was edited by changing the word ubuntu to linuxmint. That won’t work with the newest version. After the installation, if you view the installer log in the Terminal window, you will probably see these 3 lines at the end:
Errors were encountered while processing:
/tmp/apt-dpkg-install-VlDLjr/08-amdgpu-core_18.30-633530_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Looking deeper in the log, you will see these lines:
ERROR: This package can only be installed on Ubuntu 18.04.
dpkg: error processing archive /tmp/apt-dpkg-install-VlDLjr/08-amdgpu-core_18.30-633530_all.deb (--unpack):
new amdgpu-core package pre-installation script subprocess returned error exit status 1

If the amdgpu-pro-18.30-633530.tar.xz package is extracted and then the amdgpu-core_18.30-633530_all.deb package within it is extracted and then the control.tar.xz package within it is extracted, then the preinst script can be viewed:

Code: Select all

#!/bin/bash
set -e
. /etc/os-release

if [ "$VERSION_ID" != "18.04" ] ; then
	>&2 echo "ERROR: This package can only be installed on Ubuntu 18.04."
	exit 1
fi
exit 0
This script will run before the amdgpu-core package is installed. It checks in the system’s /etc/os-release file for a VERSION_ID="18.04" line, which is the latest version of Ubuntu. If that is not found, then the amdgpu-core package will not be installed, the error message will be seen in the installer log and the installation will fail.

The solution I found is to edit the /etc/os-release file. Use this command to open it: xed admin:///etc/os-release

Code: Select all

NAME="Linux Mint"
VERSION="19 (Tara)"
ID=linuxmint
ID_LIKE=ubuntu
PRETTY_NAME="Linux Mint 19"
VERSION_ID="19"
HOME_URL="https://www.linuxmint.com/"
SUPPORT_URL="https://forums.ubuntu.com/"
BUG_REPORT_URL="http://linuxmint-troubleshooting-guide.readthedocs.io/en/latest/"
PRIVACY_POLICY_URL="https://www.linuxmint.com/"
VERSION_CODENAME=tara
UBUNTU_CODENAME=bionic
Change the word linuxmint to ubuntu in line 3 and change the number 19 to 18.04 in line 6. After the installation, you can change these back. The amdgpu-pro-install script does not have to be edited.

Proceed with the installation by right clicking on the downloaded amdgpu-pro-18.30-633530.tar.xz package and selecting Extract Here. Open the amdgpu-pro18.30-633530 folder. Right click in the empty space and select Open in Terminal. Use the command ./amdgpu-pro-install

If you also want to install the OpenCL component, then use this command for Vega10 and newer cards:
./amdgpu-pro-install --opencl=pal

Or this command for Pre Vega10 cards: ./amdgpu-pro-install --opencl=legacy

Reboot
Thanks so much! This is what I needed!!!

User avatar
simonsaysthis
Level 1
Level 1
Posts: 49
Joined: Sun Jun 11, 2017 1:39 pm
Location: Johannesburg

Re: How do I install AMDGPU-Pro on Mint 19?

Post by simonsaysthis » Mon Sep 17, 2018 4:52 pm

Hi all,

please excuse my laziness for not reading through the whole thread from the beginning. Aside from the correct way of installing the proprietary drivers, what is the current word for Mint 19 Cinnamon: should one use the non-free drivers from AMD with an RX570 or should I rather try to make do with the opensource drivers?

I do certainly get sound over HDMI issues now and again but its erratic.

Code: Select all

System:    Host: simon-AMD Kernel: 4.15.0-34-generic x86_64
           bits: 64 gcc: 7.3.0
           Desktop: Cinnamon 3.8.9 (Gtk 3.22.30-1ubuntu1)
           Distro: Linux Mint 19 Tara
Machine:   Device: desktop Mobo: ASUSTeK model: PRIME A320M-K v: Rev X.0x serial: N/A
           UEFI: American Megatrends v: 4023 date: 08/20/2018
CPU:       6 core AMD Ryzen 5 1600X Six-Core (-MT-MCP-) 
           arch: Zen rev.1 cache: 3072 KB
           
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm) bmips: 43112
           clock speeds: max: 3600 MHz 1: 1918 MHz 2: 2086 MHz 3: 1898 MHz
           4: 1898 MHz 5: 1890 MHz 6: 2106 MHz 7: 1891 MHz 8: 1910 MHz
           9: 1913 MHz 10: 1976 MHz 11: 2008 MHz 12: 1894 MHz
Graphics:  Card: Advanced Micro Devices [AMD/ATI] Ellesmere [Radeon RX 470/480]
           bus-ID: 07:00.0
           Display Server: x11 (X.Org 1.19.6 )
           drivers: ati,amdgpu (unloaded: modesetting,fbdev,vesa,radeon)
           Resolution: 1920x1080@60.00hz
           OpenGL: renderer: Radeon RX 570 Series (POLARIS10 / DRM 3.23.0 / 4.15.0-34-generic, LLVM 6.0.0)
           version: 4.5 Mesa 18.0.5 Direct Render: Yes
Audio:     Card-1 Advanced Micro Devices [AMD] Family 17h (Models 00h-0fh) HD Audio Controller
           driver: snd_hda_intel bus-ID: 09:00.3
           Card-2 Advanced Micro Devices [AMD/ATI] Ellesmere [Radeon RX 580]
           driver: snd_hda_intel bus-ID: 07:00.1
           Sound: Advanced Linux Sound Architecture v: k4.15.0-34-generic
Network:   Card-1: Realtek RTL8111/8168/8411 PCIE Gigabit Ethernet Controller
           driver: r8169 v: 2.3LK-NAPI port: f000 bus-ID: 05:00.0
           IF: enp5s0 state: down mac: <filter>
           Card-2: Qualcomm Atheros AR9462 Wireless Network Adapter
           driver: ath9k bus-ID: 06:00.0
           IF: wlp6s0 state: up mac: <filter>
Drives:    HDD Total Size: 740.2GB (3.2% used)
           ID-1: /dev/sda model: WDC_WDS500G2B0A size: 500.1GB
           ID-2: /dev/sdb model: WDC_WDS240G2G0A size: 240.1GB
Partition: ID-1: / size: 98G used: 6.3G (7%) fs: ext4 dev: /dev/sdb1
           ID-2: /home size: 112G used: 6.3G (6%) fs: ext4 dev: /dev/sdb3
           ID-3: swap-1 size: 10.74GB used: 0.00GB (0%)
           fs: swap dev: /dev/sdb2
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 40.5C mobo: N/A gpu: 36.0
           Fan Speeds (in rpm): cpu: 0
Info:      Processes: 290 Uptime: 2:06 Memory: 2391.6/16037.7MB
           Init: systemd runlevel: 5 Gcc sys: 7.3.0
           Client: Shell (bash 4.4.191) inxi: 2.3.56 



sampctech
Level 1
Level 1
Posts: 7
Joined: Wed Sep 02, 2015 12:26 am

Re: How do I install AMDGPU-Pro on Mint 19?

Post by sampctech » Mon Sep 17, 2018 7:08 pm

Have you updated to the most recent amdgpu driver through the update manager? I recently did & had a similar issue occur, not all the time, but real bad when using steam or streaming youtube or Amazon etc. I ended up restoring before the latest update & resolved both problems.

User avatar
roblm
Level 9
Level 9
Posts: 2766
Joined: Sun Feb 24, 2013 2:41 pm

Re: How do I install AMDGPU-Pro on Mint 19?

Post by roblm » Mon Sep 17, 2018 7:55 pm

simonsaysthis wrote:what is the current word for Mint 19 Cinnamon: should one use the non-free drivers from AMD with an RX570 or should I rather try to make do with the opensource drivers?

I do certainly get sound over HDMI issues now and again but its erratic.

Other users on this forum may be able to answer your question better based on their experience, but generally the open source driver performs better in some tasks than the amdgpu-pro driver and not as well in others. The amdgpu-pro hybrid driver is mostly open source code with a little proprietary code added.

For gaming, the open source driver based on mesa outperforms amdgpu-pro.

If you frequently need to utilize the graphics processing power of the video card to assist the CPU in high computation tasks such as video and image editing, 3D modeling, animation and rendering apps, and GPU mining of cryptocurrencies, then the proprietary stack included with the amdgpu-pro driver is superior, using it’s OpenCL component to accelerate computations. Traditionally these tasks would only be handled by the CPU.

Also, if you’re having an issue with sound or something not working optimally with the default radeon or amdgpu driver, then I would suggest trying the amdgpu-pro driver, or a newer kernel in Update Manager.

A good site that is updated regularly with info on testing Linux graphics and hardware performance is Phoronix.

https://www.phoronix.com/scan.php?page= ... AMDGPU-PRO

Post Reply

Return to “Graphics Cards & Monitors”