Skip to content

Some suggestions for modifying wsl-lib #947

@inschrift-spruch-raum

Description

@inschrift-spruch-raum

This issue involves:
/usr/lib/wsl/lib
wsl-lib
#578
#586

Problem

  1. Fine-grained management/naming: wsl-lib is added to hardware.graphics.extraPackages immediately upon creation here. It should be ensured that all items within are graphics libraries. After ensuring this, wsl-lib should be renamed to wsl-graphics-lib or wsl-lib.graphics.
  2. Current version does not link all files: This is the code submitted two years ago. Since then, it seems that libnvidia-gpucomp.so, libnvidia-ngx.so.1, and nvidia-ngx-updater have been added. These should be included.
    2.1: Should circular linking be considered: (The difficulty mentioned in Add NVIDIA acceleration how-to documentation #586 (comment)) Although the comment indicates that /usr/lib/wsl/lib cannot be directly linked, would circular linking be a better solution to avoid the issue in point 2?
  3. Needs to be packaged and provided externally: Add NVIDIA acceleration how-to documentation #586 simply copies it and adds it to nix-ld. It might also be needed in other scenarios.
  4. Automatically add to nix-ld: After enabling useWindowsDriver, it should be automatically added to nix-ld.

Metadata

Metadata

Assignees

No one assigned

    Labels

    GPURelated to GPU passthroughenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions