!hzgkCxLtCOTmFXGauj:nixos.org

NixOS Gaming

199 Members
Gaming things, my hands are typing words.79 Servers

Load older messages


SenderMessageTime
20 Oct 2024
@k900:0upti.meK900But adding more than one nvidia-shaped thing is wrong anyway20:43:46
@k900:0upti.meK900I think20:43:48
@atemu12:matrix.orgAtemuBut you could build your own nvidia-shaped drv and pass it20:43:52
@k900:0upti.meK900Well you still can with this design20:44:02
@atemu12:matrix.orgAtemuSome ancient driver or newer beta or some shit20:44:07
@k900:0upti.meK900Except the fact that you don't have a kernel to build against20:44:09
@k900:0upti.meK900Which is I guess the root problem20:44:16
@atemu12:matrix.orgAtemu Problem is that it wouldn't be in pkgs 20:44:19
@k900:0upti.meK900 It would be pkgs.nvidia_whatever.override ... 20:44:33
@atemu12:matrix.orgAtemu Oh wait you could just ignore the pkgs argument... 20:44:54
@k900:0upti.meK900 Or even pkgs.callPackage ./completely-custom-nvidia-shaped-thing.nix 20:45:00
@atemu12:matrix.orgAtemu
In reply to @k900:0upti.me
hardware.graphics.extraPackages = pkgs: if pkgs.stdenv.is64bit then [ config.hardware.nvidia.package ] else [ config.hardware.nvidia.package.lib32 ]
Like you did here
20:45:05
@k900:0upti.meK900Actually20:45:23
@atemu12:matrix.orgAtemu Wait we could just make that function an attr of the driver 20:45:34
@k900:0upti.meK900Does Nvidia even support multiarch20:45:39
@k900:0upti.meK900On non-x8620:45:47
@k900:0upti.meK900Like can you have armv7 libs on aarch64 kernel20:46:01
@atemu12:matrix.orgAtemuDo they even have armv7 drivers anymore?20:46:20
@atemu12:matrix.orgAtemuEven kepler arm chips are aarch6420:46:36
@atemu12:matrix.orgAtemuErr maxwell20:46:42
@k900:0upti.meK900Presumably they must for legacy apps?20:46:45
@k900:0upti.meK900idk20:46:49
@atemu12:matrix.orgAtemuHm good point20:46:58
@k900:0upti.meK900See that's the problem I don't know shit about nvidia20:47:00
@k900:0upti.meK900And I also don't know anyone who wants to20:47:08
@atemu12:matrix.orgAtemuI don't know whether there are any legacy apps to speak of since nvidia on arm is a relatively recent thing20:47:16
@atemu12:matrix.orgAtemuLike, about as recent as wide-spread aarch64 use20:47:47
@atemu12:matrix.orgAtemu Getting back to driversFor: The nvidia package could expose driversFor = system: if system == "i686-linux" then self.lib32 else self 20:49:42
@k900:0upti.meK900
In reply to@k900:0upti.me
hardware.graphics.extraPackages = pkgs: if pkgs.stdenv.is64bit then [ config.hardware.nvidia.package ] else [ config.hardware.nvidia.package.lib32 ]
I'd rather do this at that point
20:50:14
@k900:0upti.meK900But that still means we can't assert on its stdenv20:50:30

Show newer messages


Back to Room ListRoom Version: 10