Skip to content

Commit

Permalink
Install nvoptix.bin
Browse files Browse the repository at this point in the history
From the release notes of version 535.43.02 [1]:

> Added nvoptix.bin to the driver package. This data file is used by
> the OptiX ray tracing engine library, libnvoptix.so.1.

The documentation [2] tells us to install this file to share/nvidia.

[1] https://www.nvidia.com/en-us/drivers/details/205039/
[2] https://us.download.nvidia.com/XFree86/Linux-x86_64/535.43.02/README/installedcomponents.html#:~:text=OptiX%20also%20includes%20a%20data%20file%20/usr/share/nvidia/nvoptix.bin.
  • Loading branch information
guihkx committed Jan 25, 2025
1 parent b36c5cb commit c299464
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions nvidia-apply-extra.c
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,12 @@ should_extract (struct archive_entry *entry)
archive_entry_set_pathname (entry, new_path);
return 1;
}
if (strcmp (path, "nvoptix.bin") == 0)
{
snprintf (new_path, sizeof new_path, "./share/nvidia/%s", path);
archive_entry_set_pathname (entry, new_path);
return 1;
}

libs_only:
/* Nvidia no longer has 32bit drivers so we are getting
Expand Down

0 comments on commit c299464

Please sign in to comment.