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
linux: enable display core support for all amd gpus #109105
Conversation
/rebase-staging |
newer amd gpus require display core to function normally
0ec7beb
to
57c9a0d
Compare
can you explain why the whenBetween's are needed |
@gebner I don't think this is mission critically or preventing unstable from advancing so I wanted to avoid the 1000+ rebuilds and potentially holding of builds in master and by that also merging other PRs because we potentially can't test them. |
I don't want to introduce configs that is unavailable to the building kernel's version. |
@SuperSandro2000 Kernel rebuilds don't hold up anything else so they should be fine. In particular it doesn't prevent us from testing other PRs, like a change to e.g. glib would. It's just that we have lots of kernel modules. |
I needed to compile several kernels over the last days and it always held up my review cycle by hours if I did not skip those PRs.
It does for kernel modules. If nixpkgs-review starts to build 5 kernels for me then I can't check kernel modules at all. So I am not a big fan of this. |
Ah, okay. This makes sense. |
ping so that this does not become stale |
My 2 cents//testing (at least I hope that this helps a potential reviewer/merger): With these kernel patches (as within this PR) an AMD 6800XT on kernel
|
I think this broke evaluation for me: https://gist.github.com/GrahamcOfBorg/8190da20051fac281849dc5ac35489ec |
Issue is that #111177 was also merged. |
both NixOS#111177 and NixOS#109105 introduced the same option.
Fix in #113156 |
This PR enables all DC related kernel configs for NixOS (other distros such as arch and fedora enable them by default)
Motivation for this change
AMD's RX6000 series GPU requires drm display core (DC) support compiled to properly detect outputs.
More discussions in previous PR: #107400
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)