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: Ashark
Votes: 104
Popularity: 1.21
First Submitted: 2016-03-28 22:44
Last Updated: 2021-07-07 08:23

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 ... 40 41 42 43 44 45

Corngood commented on 2016-05-15 19:39

It works!

I just didn't have the amdgpu-pro libs in ld.so.conf. After adding the path, Xorg starts, GL works, Vulkan works. I haven't tested lib32 GL, VDPAU etc, but it's good enough for me to keep working on my vulkan projects after moving from NV to AMD.

Also I tried it both on linux 4.2 + amdgpu-pro-dkms, and 4.5.4 + CIK. 4.2 doesn't detect my screens properly, but 4.5 does. I haven't noticed any other differences.

So I guess the only real problems with this package on latest Arch are:

- xorg 1.18 symlink
- gbm_amdgpu.so symlink ?
- ld.so.conf entry
- firmware conflicts

Then for people with GCN < 1.2 chips, getting the correct kernel (4.5.4 with CIK option or whatever GCN 1.0 patches AMD released in the last couple of days).

Corngood commented on 2016-05-14 16:32

Has anyone actually got this to work? I'm just going through the process now on my R9 290. I made some notes:

- install amdgpu-pro
- firmware conflict (mentioned below). I just overwrote with the amdgpu images from this package

- built kernel 4.5.3 with CIK

- downgraded to xorg 1.15

- crash in Xorg at GLX init

- upgrade to xorg 1.18
- symlink xorg driver 1.18 (mentioned below)

- similar crash in Xorg

- build kernel 4.2 without amdgpu

- install amdgpu-pro-dkms
- OS_VERSION problem with /etc/os-release, fixed by defaulting OS_VERSION to 0.0 in the Makefile
- -Wno- some warnings to make it compile with -Werror
- /boot/System.map-[uname] is needed, so copied that from my kernel build

- dkms module seems to load ok, but I still get a similar crash in Xorg

- build debug Xorg

- Xorg log now shows the signal handler as the crash stack

- running in gdb shows this stack for the segfault:

http://pastebin.com/HBVDpimZ

So it's a crash during dlopen() of amdgpu_dri.so (calling 0), for which I have no symbols. I couldn't find anything relevant in strace or the xorg log before the crash.

P.S. Thanks for packaging this. I probably wouldn't have bothered to try if it didn't exist.

nirei commented on 2016-04-02 14:43

@silakka
The xserver-xorg-video-amdgpu-pro package provides drivers for Xorg versions 1.15 up to 1.18. In the package the default Xorg version is set to 1.15 via a softlink pointing to the directory with the 1.15 drivers.

You can see that on startup Xorg loads the driver from the correct path, but the softlink it uses along that path simpy points to a driver version too old for you Xorg.
From your Xorg.log:
>> (II) Loading /usr/lib/x86_64-linux-gnu/amdgpu-pro/xorg/modules/drivers/amdgpu_drv.so

The amdgpu-pro directory looks like this:
drwxr-xr-x 3 sergej users 4096 17. Mär 03:31 1.15
drwxr-xr-x 3 sergej users 4096 17. Mär 03:31 1.16
drwxr-xr-x 3 sergej users 4096 17. Mär 03:31 1.17
drwxr-xr-x 3 sergej users 4096 17. Mär 03:31 1.18
lrwxrwxrwx 1 sergej users 4 17. Mär 03:31 xorg -> 1.15

To set the correct link you can do the following:
> cd /usr/lib/x86_64-linux-gnu/amdgpu-pro/
> rm xorg
> ln -s 1.18 xorg

But even after this amdgpu-pro probably still won't work. Looks like AMDs release only works on older kernels where the amdgpu-pro DKMS modules can be compiled successfully.

LEW21 commented on 2016-03-31 11:35

Looks like the firmware package is going to be useless when the next linux-firmware will be released: http://phoronix.com/scan.php?page=news_item&px=AMD-Radeon-Blob-Updates

LEW21 commented on 2016-03-29 14:55

Looks like the xserver-xorg-video-amdgpu-pro module requires older X.org. You may want to use Arch's xf86-video-amdgpu instead - however I have no idea if it will work with pro's GL drivers.

silakka commented on 2016-03-29 11:40

I did install and overwrite, but Xorg didn't start and not sure what's the issue. Xorg.log: http://pastebin.com/SNQ06q6p

LEW21 commented on 2016-03-29 11:02

About firmware files? Yeah, I guess you can try to ignore the amdgpu-pro-firmware package, and run it with the firmware from linux-firmware. Or, alternatively, overwrite the files - and later simply reinstall linux-firmware to get the old ones back.

silakka commented on 2016-03-29 10:43

Complains about files already existing in filesystem, not brave enough to force install :(

silakka commented on 2016-03-29 10:37

I have a supported card (R9 Nano), going to test.

LEW21 commented on 2016-03-28 23:00

Note: I don't have any idea if it works. Unfortunately, upstream AMDGPU does not work on my Athlon 5350, and I don't have time to compile the AMDGPU PRO's kernel modules, as they work only with Linux 4.2, and the chances that they will fix the problem are small.

Pull requests welcome at https://github.com/LEW21/archlinux-amdgpu