Giter VIP home page Giter VIP logo

Comments (1)

perlfu avatar perlfu commented on July 17, 2024

I am not the ideal contact, but will try and start the ball rolling here.
If possible, can you expand on which assets and information you need?

I don't have any experience with NixOS, so apologies in advance if my questions/comments miss the mark.
Are you asking about installing/repackaging existing binaries created for other distributions?
Or, building new packages from public sources?

Normally for binary distribution the user downloads a package file, like this one (for Ubuntu):
https://repo.radeon.com/amdgpu-install/23.40.2/ubuntu/focal/amdgpu-install_6.0.60002-1_all.deb

This installs a bash script called amdgpu-install, which when invoked adds package sources for kernel mode drivers (KMD) via DKMS, user mode drivers for APIs OpenGL, OpenCL, Vulkan, and X11/Xorg/Wayland drivers. More recently this can also add ROCm sources if required.
On Ubuntu the script then invokes apt to install combinations of packages based on the support the user requested.
You might want to review what amdgpu-install does if your intention is to port the existing binary packages.

Binary repackaging has been done by a few distributions, for example Gentoo.
Some useful information may be present in the relevant ebuilds:
https://gitweb.gentoo.org/repo/gentoo.git/tree/media-libs/amdgpu-pro-vulkan
Or GURU binary build:
https://gitweb.gentoo.org/repo/proj/guru.git/tree/media-libs/amdvlk-bin

If you want to go the source route then Gentoo's GURU source build might also be a good starting point:
https://gitweb.gentoo.org/repo/proj/guru.git/tree/media-libs/amdvlk

As an aside, it might be worth changing the title of this issue to "NixOS support" (or similar), if that is your goal.

from amdvlk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.