Mention that drivers can be installed from Nvidia direct
This commit is contained in:
parent
a322e1f2d4
commit
4239bf30a4
1 changed files with 4 additions and 0 deletions
|
@ -83,6 +83,8 @@ There's my GPU being detected correctly, using driver version `418.152.00` - we'
|
||||||
|
|
||||||
(This is just a temporary GPU until I purchase something more suited for transcoding. Don't judge me.)
|
(This is just a temporary GPU until I purchase something more suited for transcoding. Don't judge me.)
|
||||||
|
|
||||||
|
As an alternative to installing through your system package manager, you may prefer to install direct from [nvidia.com](https://www.nvidia.com/Download/index.aspx). This has the downside of requiring manual updates for newer versions, but means it's much easier to match versions between the host and guest OS (more on that later).
|
||||||
|
|
||||||
### 2. Configure container
|
### 2. Configure container
|
||||||
|
|
||||||
Next, create your container. There's nothing special about this process, just choose the OS and resource requirements for you.
|
Next, create your container. There's nothing special about this process, just choose the OS and resource requirements for you.
|
||||||
|
@ -127,6 +129,8 @@ The gist of the configuration is to also install the nvidia drivers, but without
|
||||||
|
|
||||||
To install on Ubuntu, you'll need to install the `nvidia-headless-no-dkms-418-server` package for the actual drive and `nvidia-utils-418-server` for some of the extra utils (and `nvidia-smi`). Note that the "418" in these packages matches the major version number of the driver installed on the host. If you install the wrong ones, it'll install correctly, but attempting to use the GPU will fail due to the mismatch (it's nice enough to tell you this is the issue, though).
|
To install on Ubuntu, you'll need to install the `nvidia-headless-no-dkms-418-server` package for the actual drive and `nvidia-utils-418-server` for some of the extra utils (and `nvidia-smi`). Note that the "418" in these packages matches the major version number of the driver installed on the host. If you install the wrong ones, it'll install correctly, but attempting to use the GPU will fail due to the mismatch (it's nice enough to tell you this is the issue, though).
|
||||||
|
|
||||||
|
As with the host, it's also possible to install these drivers through [nvidia.com](https://www.nvidia.com/Download/index.aspx), although be sure to run the install with `--no-kernel-module`.
|
||||||
|
|
||||||
### 4. Test it
|
### 4. Test it
|
||||||
|
|
||||||
Now, from your container, you should be able to run `nvidia-smi`, and it'll show the right version GPU and driver.
|
Now, from your container, you should be able to run `nvidia-smi`, and it'll show the right version GPU and driver.
|
||||||
|
|
Loading…
Reference in a new issue