Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically use Open GPU drivers when desired #114

Merged
merged 7 commits into from
Sep 23, 2024

Commits on Sep 23, 2024

  1. ghostdog: add match-nvidia-driver argument

    ghostdog can now look up PCI devices and confirm which NVIDIA driver
    should be used. The match-nvidia-driver takes one argument, which type
    of driver such as tesla or open-gpu and exits 0 if that matches the PCI
    devices currently present. If those devices do not match the provided
    driver, it exits 1. This can be used to set ExecCondition for things
    like linking or loading drivers.
    
    Signed-off-by: Matthew Yeazel <[email protected]>
    yeazelm committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    8edeb20 View commit details
    Browse the repository at this point in the history
  2. packages/kmod-6.1-nvidia: provide configuration for open-gpu

    This adds upon the present logic to build the open-gpu driver to provide
    configuration that driverdog can use to work with the open-gpu drivers.
    
    Signed-off-by: Matthew Yeazel <[email protected]>
    yeazelm committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    f009407 View commit details
    Browse the repository at this point in the history
  3. packages/kmod-5.15-nvidia: provide configuration for open-gpu

    This adds upon the present logic to build the open-gpu driver to provide
    configuration that driverdog can use to work with the open-gpu drivers.
    
    Signed-off-by: Matthew Yeazel <[email protected]>
    yeazelm committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    7b5d76f View commit details
    Browse the repository at this point in the history
  4. os: move NVIDIA specific services to their kmod packages

    The os package should not be concerned with specifics to the NVIDIA kmod
    module preferences. os will provide driverdog, but the configuration
    files it reads will be provided by the package providing the modules to
    keep that specific logic local to their domain.
    
    Signed-off-by: Matthew Yeazel <[email protected]>
    yeazelm committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    bebf7bf View commit details
    Browse the repository at this point in the history
  5. kmod-5.10-nvidia: relocate kernel module services

    The os package doesn't need to concern itself with NVIDIA specific
    loading behavior. It will provide driverdog, but the configurations read
    by driverdog will be included with the specific kernel modules package
    that provides the drivers described in the configuration.
    
    Signed-off-by: Matthew Yeazel <[email protected]>
    yeazelm committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    1f3902b View commit details
    Browse the repository at this point in the history
  6. kmod-5.15-nvidia: move kernel module services into package

    The os package doesn't need to concern itself with NVIDIA specific
    loading behavior. It will provide driverdog, but the configurations read
    by driverdog will be included with the specific kernel modules package
    that provides the drivers described in the configuration. This moves the
    tesla and open-gpu services into the kmod-5.15-nvidia package instead.
    
    Signed-off-by: Matthew Yeazel <[email protected]>
    yeazelm committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    30a7b88 View commit details
    Browse the repository at this point in the history
  7. kmod-6.1-nvidia: move kernel module services into package

    The os package doesn't need to concern itself with NVIDIA specific
    loading behavior. It will provide driverdog, but the configurations read
    by driverdog will be included with the specific kernel modules package
    that provides the drivers described in the configuration. This moves the
    tesla and open-gpu services into the kmod-6.1-nvidia package instead.
    
    Signed-off-by: Matthew Yeazel <[email protected]>
    yeazelm committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    b44e4c7 View commit details
    Browse the repository at this point in the history