| 18 Oct 2023 |
K900 | It needs to be loaded dynamically every time you boot | 13:08:51 |
K900 | So you probably want to write a package that puts those files into $out/lib/firmware/amdgpu | 13:09:18 |
K900 | And then put that package into hardware.firmware | 13:09:25 |
dryya | yeah that tracks as their suggestion was to include it in the initrd | 13:09:27 |
dryya | In reply to @k900:0upti.me So you probably want to write a package that puts those files into $out/lib/firmware/amdgpu thank you! I'll give that a try | 13:09:47 |
dryya | worked perfectly, thanks again | 16:37:49 |
@haysidney:matrix.org | I can't find good documentation on AMD graphics drivers for NixOS. Does anyone know how to pin my graphics drivers to unstable while my system is 23.05? I'm still not positive what packages are giving me my drivers because I'm using some magic Nix stuff like hardware.opengl.driSupport = true. | 22:43:46 |
@haysidney:matrix.org | Maybe I just need to look at the NixOS code for the options I have set and see where they're coming from. It just seems like this stuff should be common territory that someone has covered already somewhere. | 22:44:37 |
K900 | No can do | 22:45:33 |
K900 | Mesa will explode if you mix versions like that | 22:45:41 |
K900 | I have some ideas on how to address that | 22:45:49 |
K900 | But meh | 22:45:50 |
@haysidney:matrix.org | I see. So it's generally all or nothing with that unstable stuff? | 22:46:20 |
K900 | Not generally | 22:46:29 |
K900 | But for Mesa yes | 22:46:31 |
@haysidney:matrix.org | I see. Is the list of mesa-related packages a lot? Is it not easy to pin them all to unstable? | 22:48:25 |
K900 | Basically every graphical application ever | 22:48:55 |
@haysidney:matrix.org | xD | 22:49:01 |
@haysidney:matrix.org | Got it | 22:49:05 |
@haysidney:matrix.org | I've noticed when I pin apps to unstable I see complaints in the log about mesa version mismatches. That must be what you're talking about. | 22:49:46 |
@elvishjerricco:matrix.org | they have to be linked against some version of this stuff, and we used to be able to use loaders so the graphics driver could be decoupled. But lately it has to actually literally be the same version | 22:49:49 |
K900 | I have an idea to address that but it will not make 23.11 | 22:50:17 |
@haysidney:matrix.org | Understandable. | 22:50:29 |
K900 | Maybe for 24.05 | 22:50:29 |
@haysidney:matrix.org | Maybe it's time I switch to the unstable life then. lol | 22:50:49 |
@elvishjerricco:matrix.org | I switched to unstable a year and a half ago and honestly haven't noticed any negatives about it | 22:51:20 |
@haysidney:matrix.org | I switched from Arch because I was annoyed at stuff breaking. Luckily with NixOS we have generations so I'm way more confident to break stuff and revert. lol | 22:52:07 |
@haysidney:matrix.org | I'm still new to NixOS. I have an impermanent root and I'm seeing suggestions everywhere that you run nix-channel --add to add the unstable channel. I'm struggling to figure out how to set that channel declaratively in my config.nix. | 23:18:39 |
K900 | You don't | 23:19:00 |
K900 | You just persist it the same way you persist your current channel setup | 23:19:20 |