Package Base Details: amdgpu-pro-installer

Git Clone URL: https://aur.archlinux.org/amdgpu-pro-installer.git (read-only, click to copy)
Submitter: LEW21
Maintainer: Ashark
Last Packager: sperg512
Votes: 95
Popularity: 2.16
First Submitted: 2016-03-28 22:44
Last Updated: 2020-11-14 02:04

Pinned Comments

Ashark commented on 2019-12-09 20:52

PKGBUILD generator is located here: https://github.com/Ashark/archlinux-amdgpu-pro

AMDGPU PRO wiki page: https://wiki.archlinux.org/index.php/AMDGPU_PRO

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 ... Next › Last »

hdi commented on 2020-09-19 11:39

Hi every one here. I have Manjaro installed on my PC, my gpu is AMD RX480, 8GB and I use my system for Davinci Resolve 16. Since I updated to AMDGPU-PRO 20.30, I get black screen. I don't want headache I just need the previous drive it was amdgpu-pro 19.30, is there any possible way I get that? I searched AUR website, it seems that one is disappeared from the web. Can anyone help? I'm not familiar with terminal so much so I can't build one from the AMD website.

Thanks for your help

Ashark commented on 2020-08-27 19:42

@gardotd426 - https://github.com/Ashark/archlinux-amdgpu-pro/issues/62

gardotd426 commented on 2020-08-26 23:23

@Ashark, so, I'm confused about move_libdir in the PKGBUILD.

It doesn't work at all. Packages still git built with files in /usr/lib/x86_64-linux-gnu, /usr/lib32/i686-linux-gnu, etc. Nothing gets moved anywhere, so that little snippet does nothing.

amdgpu-pro-libgl is one example. The resulting Arch package has amdgpu_dri.so in /usr/lib/x86_64-linux-gnu/dri/

Ashark commented on 2020-08-26 00:41

@quadronick, so you need to remove roct-amdgpu-pro before upgrading.

kode54 commented on 2020-08-25 23:52

It's not a broken dependency. It's a sub-package that's no longer supported, because AMDGPU-Pro no longer includes it.

quadronick commented on 2020-08-25 08:57

➜ aura -Aux                                                  
[sudo] password for quad: 
aura >>= Fetching package information...
aura >>= Comparing package versions...
aura >>= AUR Packages to upgrade:
amdgpu-core-meta             :: 19.30_934563-1 -> 20.30_1109583-1
amdgpu-pro-core-meta         :: 19.30_934563-1 -> 20.30_1109583-1
amf-amdgpu-pro               :: 19.30_934563-1 -> 20.30_1109583-1
hip-amdgpu-pro               :: 19.30_934563-1 -> 20.30_1109583-1
lib32-opencl-amdgpu-pro-orca :: 19.30_934563-1 -> 20.30_1109583-1
lib32-vulkan-amdgpu-pro      :: 19.30_934563-1 -> 20.30_1109583-1
opencl-amdgpu-pro-comgr      :: 19.30_934563-1 -> 20.30_1109583-1
opencl-amdgpu-pro-dev        :: 19.30_934563-1 -> 20.30_1109583-1
opencl-amdgpu-pro-orca       :: 19.30_934563-1 -> 20.30_1109583-1
opencl-amdgpu-pro-pal        :: 19.30_934563-1 -> 20.30_1109583-1
vulkan-amdgpu-pro            :: 19.30_934563-1 -> 20.30_1109583-1

aura >>= Saved package state.
aura >>= Determining dependencies...
aura >>= AUR Packages:
amf-amdgpu-pro
aura >>= Continue? [Y/n] 

==> Finished making: amdgpu-pro-installer 20.30_1109583-1 (Tue 25 Aug 2020 11:41:53 AM MSK) loading packages... resolving dependencies... looking for conflicting packages... error: failed to prepare transaction (could not satisfy dependencies) :: installing amdgpu-pro-core-meta (20.30_1109583-1) breaks dependency 'amdgpu-pro-core-meta=19.30_934563-1' required by roct-amdgpu-pro

Idk guys if it's your package's error or not. But I suggest broken dependencies inside your meta-project or something.

Ashark commented on 2020-08-14 13:09

@gardotd426 Could you actually successfully open a project? I have tried your method, DR started normally and showed a project selector window. But when I click on one of the projects, DR crashes. Also, I am interested what is libGLESv2 and libglapi.so and why did not you used them in your method?

codiflow commented on 2020-08-13 14:55

Great tutorial from @gardotd426 thanks for that.

You can get the archive with all relevant files from Chaotic AUR: https://lonewolf.pedrohlc.com/chaotic-aur/x86_64/amdgpu-pro-libgl-20.30_1109583-1-x86_64.pkg.tar.zst

Just use the following command tar -I zstd -xvf amdgpu-pro-libgl-20.30_1109583-1-x86_64.pkg.tar.zst to expand the files.

After running progl ; /opt/resolve/bin/resolve I could run "DaVinci Resolve 16" without any problem and without replacing my open source drivers by the proprietary ones.

GFX: ATI Ellesmere [Radeon RX 470/480/570/570X/580/580X/590]

OS: Manjaro

EDIT: If you want you can also use the workaround stated here: https://wiki.archlinux.org/index.php/AMDGPU_PRO#Workaround_for_using_proprietary_OpenGL

Just install pacman -S amdgpu-pro-libgl before launching DaVinci Resolve and uninstall it with pacman -R amdgpu-core-meta amdgpu-pro-core-meta amdgpu-pro-libgl after you're done.

If it doesn't show any video preview inside of DaVinci Resolve and literally every video is blank / black theres one main cause: Davinci Resolve doesn't support .mp4 files within the Linux version... Source

At the end of this list you can find all supported codecs – not many but better than nothing.

gardotd426 commented on 2020-08-10 08:24

Note to anyone wanting to actually use this full stack: It can't be done on Arch Linux, you will experience X crashes. However....

If anyone is wanting to use the OpenGL driver from this in order to run DaVinci Resolve, that CAN be done, and quite easily actually.

Install opencl-amd for the proprietary standalone opencl driver. This also allows you to use OpenCL for things like Blender. But for DaVinci Resolve specifically, you also need to have the OpenGL driver, but you CANNOT install it systemwide. What you need to do, is put something like this in your .zshrc (or somewhere else where you can easily run it from the terminal):


progl() {
 export LD_LIBRARY_PATH="${HOME}/pro/drivers:${LD_LIBRARY_PATH}"
  export LIBGL_DRIVERS_PATH="${HOME}/pro/drivers/dri"
  export dri_driver="amdgpu"
}

And then simply extract a few of the packages and put them in ${HOME}/pro/drivers (and ${HOME}/pro/drivers/dri).

Here is the output of ll -R ${HOME}/pro/drivers/


total 1.1M
drwxr-xr-x 2 matt matt  4.0K Aug  3 06:03 dri
lrwxrwxrwx 1 matt matt    11 Aug  3 06:05 libEGL.so -> libEGL.so.1
-rw-r--r-- 1 matt matt   80K Aug  3 06:05 libEGL.so.1
lrwxrwxrwx 1 matt matt    12 Aug  3 06:02 libGL.so -> libGL.so.1.2
lrwxrwxrwx 1 matt matt    12 Aug  3 06:02 libGL.so.1 -> libGL.so.1.2
-rw-r--r-- 1 matt matt 1013K Aug  3 06:02 libGL.so.1.2

pro/drivers/dri:
total 51M
-rw-r--r-- 1 matt matt 51M Aug  3 06:03 amdgpu_dri.so

amdgpu-pro-libgl-20.30_1109583-1-x86_64.pkg.tar should contain everything you need. Make sure to put the amdgpu_dri.so file inside a dri/ directory within the pro/ directory.

I've already tested this, it does allow DaVinci Resolve to open and run. You obviously have to run progl from the terminal first, and then run DaVinci Resolve from that same terminal, but yeah that's it.

You could also just edit the .desktop file for DaVinci Resolve in order to add those envvars to the beginning of the Exec= command.

Ashark commented on 2020-08-09 14:44

@bobolin @licensed fixed in 20.30_1109583-1