Updates logic due to removal of the "objects_list" dictionary in the original patch script #4
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
mohamed/nvidia-patch-nixos!4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "main"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I've tested it and it works on my system, would be great to have more people to test it.
The original script recently removed the "objects_list" dictionary and replaced with a quick "if" based on the version of the Nvidia Driver. The result can be either "libnvcuvid.so" or "libnvidia-encode.so".
I'm really new to Nix so I wasn't able to come up with a solution to determine the "object" automatically based on the driver version (this is how it's done on the original script), so help on that would be awesome! (And pretty quick and easy for any experienced Nix user)
Thanks! This fix is working for me on 23.11 at latest
nvenc-patchcommit (forked this repo with the fix).I have a NixOS machine with and nvidia gpu again so I was finally able to test this.