New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ati_unfree: don't build with kernel 4.14 #36802
Comments
Also seeing this as of |
I've run into this today as well :( |
I ran into this problem with 4.17.1 as well whilst trying to upgrade the amdgpu-pro drivers. |
FYI the workaround I used to get it to start building (still failing but for other reasons) was to add, nativeBuildInputs = kernel.moduleBuildDependencies; Within |
Problem still reproducible with |
Same problem here with |
Is there a way I can manually provide the radeon-crimson-15.12-15.302-151217a-297685e.zip file I just downloaded? nixos-rebuild switch still fails with the error listed above. This particular system will not boot into X without the proprietary ATI drivers. Thanks. |
I was mistaken, the driver did not download. wget retrieves an html file and named it .zip. :-/ Is there a path forward on this, somewhere I can get the right drivers and get them installed on NixOS? |
Updated to “unstable”, found the file download. Now compilation fails: error: ‘struct vm_fault’ has no member named ‘virtual address’. |
Anyone found any solutions or workarounds for ati_unfree, or is it time to upgrade a gpu? I get build errors (will add soon) on 19.09 "Loris" with kernels 4.4, 4.14 and 4.19. |
As it happens, I did plow through getting this to build with 4.19 a month or two ago ... and then ordered a new GPU anyway a few weeks later, so never got around to making a PR! :-/ The raw commits are here if you want to take a look: jerith666/nixpkgs@ed2a4a8...e2f91a8 I'd be more than happy if you wanted to rebase, cleanup, and make a PR out of them! |
This issue has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/working-amdgpu-configurations/2305/12 |
The problem is still reproducible with 20.03 and Kernel 4.4.x, 4.9.x, 4.14.x, 5.4.39 and 5.6.11. The next steps here would be to check out the patches in #36802 (comment) and create a PR from it. (i currently work on other things) |
The driver builds when i naively rebuild from the fork. It get login screen (lightdm), but when i login, i have a black screen with a cursor and many errors in syslog. That might be related to Pantheon desktop at that state.
With MATE desktop, it works! I can open the ATI settings. I tried to cherry-pick the changes onto master, but the build fails. Probably more patches are needed now for latest X11 etc. Here is the latest state: https://github.com/davidak/nixpkgs/tree/ati_unfree
|
you could probably use https://github.com/timokau/nix-bisect to determine whether it was a kernel update or something else that caused that breakage. my guess is you'll probably find a few new patches in arch or another upstream that just need to be pulled down and added to nixpkgs. |
I marked this as stale due to inactivity. → More info |
I think this is fixed/obsolete by 7117588 |
Issue description
Cannot generate ORC metadata for CONFIG_UNWINDER_ORC=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel.
Reproducible with kernel 4.14 and 4.15.
It builds with 4.4 and 4.9, but display-manager fails to start. That's probably due to my old crappy GPU.
rebuild:
Steps to reproduce
Technical details
"x86_64-linux"
Linux 4.14.24, NixOS, 18.03pre130932.cc4677c36ee (Impala)
yes
yes
nix-env (Nix) 2.0
/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs
The text was updated successfully, but these errors were encountered: