NixOS / nixos-hardware

A collection of NixOS modules covering hardware quirks.
Creative Commons Zero v1.0 Universal
2.08k stars 644 forks source link

References to hardware.opengl.driSupport need to be removed. #996

Closed lugeha closed 5 months ago

lugeha commented 5 months ago
error:
       Failed assertions:
- The option definition `hardware.opengl.driSupport' in `...' no longer has any effect; please remove it.
rdbeni0 commented 5 months ago

the same for :

error: The option `hardware.opengl.setLdLibraryPath' does not exist.

only1thor commented 5 months ago

not sure this is related, but i am unable to build my config, and i get this error:

 The option `hardware.graphics' does not exist. Definition values:
       - In `/nix/store/6qh2ywkl3lidw6ys45l0zf5xdm125hrl-source/common/gpu/intel': 
           {
             extraPackages = [
               <derivation intel-vaapi-driver-2.4.1>
               <derivation libvdpau-va-gl-0.4.2>
               <derivation intel-media-driver-24.2.1>
           ...

My config. (sorry if this is unrelated, I'm still quite lost in how all this nix stuff works)

bbigras commented 5 months ago

You need to update nixos-unstable.

hoh commented 5 months ago

not sure this is related, but i am unable to build my config, and i get this error:

 The option `hardware.graphics' does not exist. Definition values:
       - In `/nix/store/6qh2ywkl3lidw6ys45l0zf5xdm125hrl-source/common/gpu/intel': 
           {
             extraPackages = [
               <derivation intel-vaapi-driver-2.4.1>
               <derivation libvdpau-va-gl-0.4.2>
               <derivation intel-media-driver-24.2.1>
           ...

I am facing the same error today, since this change: https://github.com/NixOS/nixos-hardware/commit/cc634b69c8312c4e88469d3c7e8fb5ecc72e7dc6

Removing the use of nixos-unstable does not solve the problem (my system uses nixos-24.05).

only1thor commented 5 months ago

@hoh

I am facing the same error today, since this change: cc634b6

Removing the use of nixos-unstable does not solve the problem (my system uses nixos-24.05).

I found that this spesific commit states that it is the reason for the conflict.

so i pinned my input for nixos-hardware to the commit before:

...
    nixos-hardware.url = "github:NixOS/nixos-hardware/2f893e185c850bcd6dbf4fbc0c61b1b90d23ff79";
...

(also turns out i was not using unstable)

cig0 commented 5 months ago

@hoh

I am facing the same error today, since this change: cc634b6 Removing the use of nixos-unstable does not solve the problem (my system uses nixos-24.05).

I found that this spesific commit states that it is the reason for the conflict.

so i pinned my input for nixos-hardware to the commit before:

...
    nixos-hardware.url = "github:NixOS/nixos-hardware/2f893e185c850bcd6dbf4fbc0c61b1b90d23ff79";
...

(also turns out i was not using unstable)

Thank you! I was rolling up my sleeves to start looking at this :sweat_smile:

@toastal, would it help to add a quick note pointing to https://github.com/NixOS/nixos-hardware/issues/996#issuecomment-2183266924 to help folks quickly find the solution and reduce noise here, given that we still have a long way to go before 24.11 is out? Let me know and I'd be glad to quickly create a PR.

only1thor commented 5 months ago

maybe make a 24.05 branch on this repo as well? so we can update the inputs in lockstep?

Redlonghead commented 5 months ago

It looks like with the latest commits it now shows

error: The option `hardware.graphics.extraPackages' does not exist. Definition values:
       - In `/nix/store/m0l0hp71pxhjwvqc0mdwf52xlrn0c39f-source/common/gpu/intel':
           [
             <derivation intel-vaapi-driver-2.4.1>
             <derivation libvdpau-va-gl-0.4.2>
             <derivation intel-media-driver-24.2.1>
           ]

so its closer now.

Mic92 commented 5 months ago

maybe make a 24.05 branch on this repo as well? so we can update the inputs in lockstep?

Should work again after: https://github.com/NixOS/nixos-hardware/pull/999

Mic92 commented 5 months ago

driSupport references got removed here: https://github.com/NixOS/nixos-hardware/pull/997