Package Base Details: amdgpu-pro-installer

Git Clone URL: https://aur.archlinux.org/amdgpu-pro-installer.git (read-only)
Submitter: LEW21
Maintainer: Ashark
Last Packager: Ashark
Votes: 77
Popularity: 2.176087
First Submitted: 2016-03-28 22:44
Last Updated: 2019-07-09 05:33

Corngood commented on 2016-05-30 17:07

I'm really not sure why you're having so much trouble.

Have you looked through strace or LD_DEBUG=all for loading of any incorrect libraries (mesa)? Maybe just remove mesa and see what breaks then?

Perhaps you're on to something with that ioctl, which would imply a kernel problem. Are you using kernel 4.5.4+CIK? Have you tried building the dkms module, or using 4.6/4.7?

Edit: actually from what I can tell 0 is ok for that ioctl.

Themaister commented on 2016-05-30 16:03

Another interesting thing is that using LD_LIBRARY_PATH I can get glxinfo to return 4.5 core context from amdgpu-pro's GL implementation while in plain amdgpu Xorg.

glxgears "runs", but it's completely corrupted. Probably due to mismatch in how the GLX implementation does things ...

Themaister commented on 2016-05-30 14:05

I got a paste of what happens right before "accel disabled":
http://pastebin.com/XePL6yEK

It calls DRM_IOCTL_GET_CLIENT and returns 0. I'm not sure if this means error or not in this case.

Themaister commented on 2016-05-30 13:10

Installed the amdgpu package from LiberteCzech.
I still cannot get GLX. Same error. I cannot understand what is possibly blocking GLX here. I've rerouted every .so I can see in ldconfig.

What "works" is to use Mesa's xf86-video-amdgpu thing, and LD_LIBRARY_PATH for apps which use Vulkan. Then amdgpu-pro "works". I cannot get a window, but off-screen stuff can run to some extent.

lahwaacz commented on 2016-05-28 09:52

The PKGBUILD does not specify the license: https://wiki.archlinux.org/index.php/PKGBUILD#license

Corngood commented on 2016-05-27 03:15

My PR is also now updated to 16.20.3. It needed a couple of changes to the generator to deal with new dependencies, but it appears to be working.

@Themaister looks like the surface extension is fixed in this version.

storma commented on 2016-05-25 12:58

@LiberteCzech I made the same changes as you did and it works fine. Needed the tweaks from below to get it running though.

LiberteCzech commented on 2016-05-25 09:10

Here is the latest driver. https://github.com/LiberteCzech/archlinux-amdgpu
I used the corngood and LEW21 work.
If you have time, you can try and let you know if it works.
I did not have time to test it yet.

Corngood commented on 2016-05-19 21:54

Mine looks similar to yours (I also get the (EE) about the hybrid driver) up until:

[ 78.193] (II) LoadModule: "dri2"
[ 78.193] (II) Module "dri2" already built-in
[ 78.198] (II) glamor: OpenGL accelerated X.org driver based.
[ 78.284] (II) glamor: EGL version 1.4:

Where yours says:

[ 557.285] (II) AMDGPU(0): GPU accel disabled or not working, using shadowfb for KMS

Maybe check if EGL is correct:

$ ldconfig -p | grep libEGL
libEGL.so.1 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/amdgpu-pro/libEGL.so.1

The only active xorg.conf files I have are:
/usr/share/X11/xorg.conf.d/01-amdgpu-pro.conf
/usr/share/X11/xorg.conf.d/10-evdev.conf
/usr/share/X11/xorg.conf.d/10-quirks.conf

So maybe get rid of any others in there or in /etc/.

After that I'd probably use LD_DEBUG and strace to figure out what it's doing before it prints those messages. Then maybe build a debug xorg-server.

I'm using xorg-server 1.18.3-1 and kernel 4.5.4 w/ CIK. I assume you are on similar versions and on x86_64?

Edit: also I'm on HAWAII, not BONAIRE.

Themaister commented on 2016-05-19 08:42

Hm, still doesn't work. Here's a paste of Xorg.0.log.
I'm using a GCN 1.1 card with CIK enabled in kernel if that helps.
ldconfig is pointing to the right place.

It seems like it's failing something, trying fall back to software which doesn't work.

http://pastebin.com/bBNvgWAe

Plain MESA with AMDGPU is working however.