Package Details: lib32-amdgpu-pro-oglp 24.20_2044449-1

Git Clone URL: https://aur.archlinux.org/amdgpu-pro-installer.git (read-only, click to copy)
Package Base: amdgpu-pro-installer
Description: AMDGPU Pro OpenGL driver (32-bit)
Upstream URL: https://www.amd.com/en/support/kb/release-notes/rn-amdgpu-unified-linux-22-40
Licenses: custom: AMDGPU-PRO EULA
Groups: Radeon_Software_for_Linux
Provides: lib32-libgl
Submitter: LEW21
Maintainer: Ashark (mesmer)
Last Packager: mesmer
Votes: 125
Popularity: 0.65
First Submitted: 2016-03-28 22:44 (UTC)
Last Updated: 2024-12-11 23:16 (UTC)

Dependencies (1)

Required by (69)

Sources (18)

Pinned Comments

mesmer commented on 2022-12-23 04:31 (UTC) (edited on 2023-05-28 19:28 (UTC) by mesmer)

IF PROBLEM HAPPEN

this package is our try to put amdgpu in ARCH, but this could break or have problems as amd update and change their packages for ubuntu

if anything happens you can always download a older tag in https://github.com/Ashark/archlinux-amdgpu-pro/releases and get the PKGBUILD there, and use makepkg with that build while we update or try to fix :)

ALWAYS USE LINUX-FIRMWARE-GIT IF LATEST DRIVER FAIL BEFORE ISSUE SOME ERROR

https://aur.archlinux.org/packages/linux-firmware-git

Ashark commented on 2019-12-09 20:52 (UTC) (edited on 2022-12-06 08:45 (UTC) by Ashark)

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

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

New versions will appear here: https://repo.radeon.com/amdgpu/.

Latest Comments

« First ‹ Previous 1 .. 15 16 17 18 19 20 21 22 23 24 25 .. 60 Next › Last »

quadronick commented on 2020-08-25 08:57 (UTC) (edited on 2020-08-25 09:07 (UTC) by quadronick)

➜ 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 (UTC)

@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 (UTC) (edited on 2020-08-13 21:54 (UTC) by codiflow)

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 (UTC) (edited on 2020-08-10 08:26 (UTC) by gardotd426)

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 (UTC)

@bobolin @licensed fixed in 20.30_1109583-1

licensed commented on 2020-08-07 19:07 (UTC)

@bobolin sabe problem here: error: failed to commit transaction (conflicting files) /opt/amdgpu/share/drirc.d/10-amdgpu-pro.conf exists in both 'amdgpu-pro-libgl' and 'lib32-amdgpu-pro-libgl' Errors occurred, no packages were upgraded. ==> WARNING: Failed to install built package(s). warning: package amdgpu-pro-installer failed to build, skipping

bobolin commented on 2020-08-06 12:05 (UTC) (edited on 2020-08-06 12:05 (UTC) by bobolin)

This PKGBUILD doesn't work.

error: failed to commit transaction (conflicting files) /opt/amdgpu/share/drirc.d/10-amdgpu-pro.conf exists in both 'amdgpu-pro-libgl' and 'lib32-amdgpu-pro-libgl' Errors occurred, no packages were upgraded. ==> WARNING: Failed to install built package(s). warning: package amdgpu-pro-installer failed to build, skipping

ganthore commented on 2020-07-30 04:28 (UTC)

@gardotd426 ...aaaand I now I finally understand the root of the problem per your criticism. Seriously, I was like "WAT, I read the comments, what's he on about??"

Anyway, my initial Google search for amdgpu-pro-installer dropped me on page 5 of the comments for some silly reason. That shows me for trusting stuff on the first click.

ganthore commented on 2020-07-30 04:15 (UTC)

@gardotd426 I did read prior comments. This response was specifically aimed at the very recent 20.20 upgrade, not older versions where people tried to force upgrades by manually editing the PKGBUILD to stuff pre 20.20. Note that the last 19.30* stuff was working fine.

By working fine, I mean Davinci Reslove still worked. Gutting this entire stack and attempting to run off the opencl-amdgpu package results in instant crashing.

For now, I'm just reverting to 370d39c63ddc using the 19.30* stuff so I can continue editing videos.

gardotd426 commented on 2020-07-29 08:29 (UTC)

Lord, I looked into debtap, and it's a complete dumpster fire unless you're just flat converting .debs. Using it to create PKGBUILDs is a nightmare, it'll flat-out fail if the package doesn't contain a ./usr/bin directory (so if it's a package without any binaries, like a lib package, or something that goes in /opt or /etc), because of the way they wrote the script.

Someone filed a bug report on the github for it, and the dude didn't read it, said "if you don't have a /usr/bin, your installation is broken, you need to reinstall," and closed the issue - seriously. When it's actually the script itself that's broken.

That sucks, I was super excited to find a script that would create PKGBUILDs from .deb packages. It does seem to work fine for flat-out conversion from .deb to .pkg.tar though, so there's that.