Closed corngood closed 7 years ago
Both linux
and linux-zen
for Arch Linux are compiled with KALLSYMS_ALL
unset :(
From https://packages.ubuntu.com/source/xenial/linux-hwe, it looks like they enable KALLSYMS_ALL in ubuntu 16.04.3.
As far as I can tell, the only other option (without major changes to the kernel module) would be to patch the kernel to make drm_gem_prime_dmabuf_ops
public. Then you're trading a kernel config for a patch, which doesn't feel like an improvement.
I would suggest trying linux-lts
(4.9) modified with KALLSYMS_ALL=y
, and then try updating it to 4.10 if it doesn't work. I hit the drm_gem_prime_dmabuf_ops
thing first on 4.9, and assumed it was incompatible, but it also happened on 4.10, and I never tried 4.9 again after fixing it.
I recompiled my kernel to have KALLSYMS_ALL=y, but I can't get all the dependencies to build this. Specifically, hsakmt-roct won't build for me.
Edit: Read the part about needing kernel 4.10. I will work on that.
I have a problem with hsakmt-roct too. I tried linux-lts and linux 4.10 and it's not compiling on both.
@cyborg00222 So how to fix it? Should I edit "CMakeList.txt"?
What's the dependency chain leading to hsakmt-roct
?
"amdgpu-pro" requies "hsakmt-roct".
@Qiu3344 I don't see it in the .SRCINFO... are you sure it's not indirect? In any case, if you need to fudge dependencies, you should be able to do it at:
@corngood Thanks! This will probably fix the problem. Did you ever think about documenting the package?
@Qiu3344 Not seriously. I inherited it from someone else, and it got an overhaul in the last update from another contributor.
If anyone's interested in taking over maintainership, let me know.
@corngood How to apply changes that I made in gen-PKGBUILD.py?
@Qiu3344 Your best reference is the travis build script:
https://github.com/corngood/archlinux-amdgpu/blob/17.30/.travis.yml
At the top it lists the arch deps, then theres sudo pip install python-debian
, and ./build.sh
. That should be all you need to generate the PKGBUILD.
@corngood when I run build.sh I get an error that amdgpu-pro is i386 and should begin with lib32.
Successfully built, installed and run without problem with my RX550 on Linux 4.13.6 and Xorg 1.19.5 with some modifications. Four main modifications:
@Qiu3344 : the i386 / lib32 error is fixed by the update to the packages_map in commit 5d02f39 of PR #54 .
Thanks @brainpower. I'll close this one in favour of #54. Anyone who can, please test and comment on it.
This is meant to work with linux 4.10 and xorg 1.19.
I had to compile my kernel with
KALLSYMS_ALL y
. Without it you will probably get an error like:check your booted kernel with: