-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
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
Build failure: amdvlk #216294
Comments
I bisected it to commit cb57273 |
What is "it"? I'm not sure what you mean or what I should do/try with |
That was just a note that cb57273 introduced that regression. cc @fabianhjr |
GPUOpen-Drivers/gpurt#5 (comment) I don't know enough about amdvlk to be able to do anything with this information. |
The comment in gpurt doesn't help much: LTO is disabled by default in directx-shader-compiler, and the other cmake option is already set. I noticed that at least in my case
I don't understand graphic drivers plumbing or what's going on in that build, but thanks to @Flakebi's bisect I tried to just build 32-bit directx-shader-compiler with older gcc and it builds now (it also builds gcc11, but it's still better than a failing build). Here's the overlay: final: prev: {
pkgsi686Linux = prev.pkgsi686Linux.extend (pfinal: pprev: {
directx-shader-compiler = pprev.directx-shader-compiler.override {stdenv = pfinal.gcc11Stdenv;};
});
} |
I experience the same problem:
|
amdvlk is enabled by default if you're using nixos-hardware AMD modules, and figuring that out isn't entirely obvious for newer NixOS users. |
Not since NixOS/nixos-hardware#558 |
Not sure what exactly you are talking about, but this problem only happens with 32-bit amdvlk. The 64-bit one builds/works just fine. |
Steam enables 32bit support here nixpkgs/nixos/modules/programs/steam.nix Line 53 in 5f4e07d
|
Overriding the compiler is no longer necessary #222072 . |
32-bit is broken again now for me.
|
@mpasternacki 's overlay is working however |
@toastal Weird; I tested building |
I can’t say I know what the differences are but I can tell you that I
pulled the latest unstable into my `flake.lock` and when I ran
`nixos-rebuild switch` `amdvlk` tried to build, and then failed. If we
peek Hydra, we can see it’s failing up there too: https://hydra.nixos.org/build/213225424
…--
toastal ไข่ดาว | https://toast.al
PGP: 7944 74B7 D236 DAB9 C9EF E7F9 5CCE 6F14 66D4 7C9E
|
Steps To Reproduce
Similar to Hydra now, I'm having issues with
amdvlk
with i686Build log
https://hydra.nixos.org/build/209322760
Additional context
This is used for x86_64 to get the drivers to run Steam and other older games. Building from
master
as I have for months while I wait for #177623 + #187303 because I need to turn off the broken build flag. Maybe one day it will get reviewed and merged in and I can go back to unstable.Notify maintainers
@Flakebi
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.The text was updated successfully, but these errors were encountered: