Giter Club home page Giter Club logo

Comments (11)

bwarden avatar bwarden commented on July 24, 2024

It might also be good to write a tutorial showing how to install the NVIDIA drivers, for example.

from clear-linux-documentation.

tpleavitt avatar tpleavitt commented on July 24, 2024

@bwarden I was just thinking that when you first posted this. Could you write the step by step commands and I can then take that and make a tutorial out of it.

from clear-linux-documentation.

bwarden avatar bwarden commented on July 24, 2024

I could, but the installer detects whether you have supported hardware (I don't), so the resulting sequence is a bit different. I can give you that sequence anyway, at least as a head start.

from clear-linux-documentation.

tpleavitt avatar tpleavitt commented on July 24, 2024

That would be great. I'll talk to you on Monday. Is the dev-utils bundle all I would need to be able to run make for this or are there other bundles needed to be able to compile the new kernel? I want to be able to define all the requirements as part of the tutorial to run this from start to finish.

from clear-linux-documentation.

bwarden avatar bwarden commented on July 24, 2024

Ah, good point, we probably also need c-basic. Maybe I should include that in the bundle. I don't think we need dev-utils.

from clear-linux-documentation.

bwarden avatar bwarden commented on July 24, 2024

Sample process:

  1. Select and download the appropriate Linux 64-bit driver package from the NVIDIA site
  2. Agree to the terms and download the driver package, noting the location where it was saved
  3. Open a shell in the directory where the package was saved
  4. Run the installer package (sudo sh ./NVIDIA-Linux-x86_64-XXX.XX.run)
    1. When prompted, register the driver with DKMS
    2. Continue with the installer until it uses DKMS to install the kernel module

from clear-linux-documentation.

bwarden avatar bwarden commented on July 24, 2024

Ideally we'd get the installer to register/build the kernel modules, but not dump its libraries or other binaries into /usr. I'm playing around with installer options, and theoretically this should work, but it's not obeying all the options:

First extract the installer:
sudo sh NVIDIA-Linux-x86_64-415.25.run -x

Enter the directory (e.g. NVIDIA-Linux-x86_64-415.25) and run the installer:
sudo ./nvidia-installer --no-nvidia-modprobe --no-distro-scripts --no-opengl-files --no-libglx-indirect --no-install-libglvnd --dkms -s

from clear-linux-documentation.

mvincerx avatar mvincerx commented on July 24, 2024

Hi there. This sounds like it would make an interesting addition to our existing guide here:
https://clearlinux.org/documentation/clear-linux/guides/maintenance/kernel-modules

@puneetse Given that you worked on the above kernel-modules doc, would you be willing/able to take on Brett's request to create a guide and install kernel-native-dkms and add the nvidia drivers?

from clear-linux-documentation.

bwarden avatar bwarden commented on July 24, 2024

Yes, that's where it should go. Also, this command line for the installer looks better:
sudo ./nvidia-installer --no-nvidia-modprobe --no-distro-scripts --no-opengl-files --no-libglx-indirect --no-install-libglvnd --no-install-compat32-libs --dkms --ui=none
...although it still prompts whether to register with DKMS (which the arg --dkms is supposed to force)

from clear-linux-documentation.

mvincerx avatar mvincerx commented on July 24, 2024

Hi @tpleavitt, @puneetse. Can you please give me a status update? I just need to know if someone's working on it. Thanks.

from clear-linux-documentation.

tpleavitt avatar tpleavitt commented on July 24, 2024

@mvincerx Let me take a swing at it now that the meetup is over. I'll get with @bwarden next week and start on it.

from clear-linux-documentation.

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.