!hzgkCxLtCOTmFXGauj:nixos.org

NixOS Gaming

201 Members
Gaming things, my hands are typing words.80 Servers

Load older messages


SenderMessageTime
20 Oct 2024
@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
@k900:0upti.meK900* But that still means we can't assert on its system20:50:39
@k900:0upti.meK900Because self.lib32 is still system == "x86_64-linux"20:50:49
@atemu12:matrix.orgAtemu __actual_system 20:51:02
@atemu12:matrix.orgAtemu:p20:51:04
@k900:0upti.meK900
In reply to@k900:0upti.me
I guess we can set passthru.is32BitTrustMeBro = true
Yeah that's just this
20:51:31
@atemu12:matrix.orgAtemuOkay let's say the nvidia driver did this. How would we get extraPackages to compose though?20:52:44
@k900:0upti.meK900We call all of them, then concat20:55:39
@atemu12:matrix.orgAtemuAh this would be the option that symlinks them together right?20:56:30
@k900:0upti.meK900Well yes it would be the same thing we already do for /run/opengl-drivers20:57:09
@k900:0upti.meK900Just with some custom merging logic20:57:14
@atemu12:matrix.orgAtemuI don't know how easy that'd be to realise in a type though20:57:15
@atemu12:matrix.orgAtemu K900: btw before we duplicate efforts: https://github.com/Atemu/nixpkgs/tree/nixos/hardware-drivers 22:05:24
@sliedes:hacklab.fiSami Liedes I figured out what it gets to run ck4 (Crusader Kings 4) on Steam. Need to add pkgs.nss to programs.steam.extraPackages. 22:51:59
@atemu12:matrix.orgAtemu Sami Liedes: Shoot a PR to include it in the default closure for the non-small steam FHSenv if you want 22:52:51
@sliedes:hacklab.fiSami LiedesI also started to wonder if it would be possible and productive to hack some weird ld.so for steam-run use that records what libraries it failed to find in a nicer than strace way.22:54:29
@atemu12:matrix.orgAtemuHm, yeah that would be nice22:54:50
@atemu12:matrix.orgAtemuI believe I've seen someone use apparmor to get nicer path access failures22:55:39
@atemu12:matrix.orgAtemu
In reply to @atemu12:matrix.org
Sami Liedes: Shoot a PR to include it in the default closure for the non-small steam FHSenv if you want
Uh, huh. We don't have the big steam anymore since K900 decimated it.
22:56:08
@sliedes:hacklab.fiSami LiedesThat's one way :)22:56:09
@sliedes:hacklab.fiSami LiedesI think this is the first I heard of big and small steams. :P22:56:27
@atemu12:matrix.orgAtemu That feels like an oversight, we should at least have the option to have a steam-fat which contains all the libraries that games have needed in the past. 22:57:03
21 Oct 2024
@atemu12:matrix.orgAtemu
In reply to @k900:0upti.me
Because self.lib32 is still system == "x86_64-linux"
Cursed idea: self.drivers32 = pkgsi686Linux.runCommand "drivers32" { outputs = [ "drivers" ]; } "ln -s ${self.drivers} $drivers"
00:23:39

Show newer messages


Back to Room ListRoom Version: 10