mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-06-28 04:06:54 +00:00
Update nvidia.md
This commit is contained in:
parent
86474cc63d
commit
399c6aba83
@ -22,7 +22,7 @@ cat /etc/modprobe.d/blacklist.conf
|
|||||||
```
|
```
|
||||||
The example image shows that "blacklist nouveau" is already added to the blacklist.
|
The example image shows that "blacklist nouveau" is already added to the blacklist.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
If in our case it doesn't show: blacklist nouveau
|
If in our case it doesn't show: blacklist nouveau
|
||||||
|
|
||||||
@ -100,7 +100,7 @@ https://download.nvidia.com/XFree86/Linux-x86_64/525.116.03/
|
|||||||
|
|
||||||
Once inside the directory, we copy the link of the installer that ends with the .run extension
|
Once inside the directory, we copy the link of the installer that ends with the .run extension
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
For example:
|
For example:
|
||||||
```
|
```
|
||||||
@ -187,11 +187,11 @@ We check that the driver is installed and the service is running:
|
|||||||
```
|
```
|
||||||
nvidia-smi
|
nvidia-smi
|
||||||
```
|
```
|
||||||

|

|
||||||
```
|
```
|
||||||
systemctl status nvidia-persistenced
|
systemctl status nvidia-persistenced
|
||||||
```
|
```
|
||||||

|

|
||||||
|
|
||||||
### - Patch:
|
### - Patch:
|
||||||
|
|
||||||
@ -203,7 +203,7 @@ git clone https://github.com/keylase/nvidia-patch.git
|
|||||||
cd nvidia-patch
|
cd nvidia-patch
|
||||||
./patch.sh
|
./patch.sh
|
||||||
```
|
```
|
||||||

|

|
||||||
|
|
||||||
## 2- Configure the drivers to be able to use them in any LXC.
|
## 2- Configure the drivers to be able to use them in any LXC.
|
||||||
|
|
||||||
@ -211,7 +211,7 @@ First, we need to obtain this data:
|
|||||||
```
|
```
|
||||||
ls -l /dev/nv*
|
ls -l /dev/nv*
|
||||||
```
|
```
|
||||||

|

|
||||||
|
|
||||||
Let's say, for example, that we're going to use the Plex LXC from tteck's script with ID100. If we have it running, we turn it off.
|
Let's say, for example, that we're going to use the Plex LXC from tteck's script with ID100. If we have it running, we turn it off.
|
||||||
```
|
```
|
||||||
@ -238,7 +238,7 @@ lxc.mount.entry: /dev/nvidia-uvm-tools dev/nvidia-uvm-tools none bind,optional,c
|
|||||||
lxc.mount.entry: /dev/nvram dev/nvram none bind,optional,create=file
|
lxc.mount.entry: /dev/nvram dev/nvram none bind,optional,create=file
|
||||||
```
|
```
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
We save:
|
We save:
|
||||||
ctrl + x.
|
ctrl + x.
|
||||||
@ -264,7 +264,7 @@ chmod +x NVIDIA-Linux-x86_64-525.116.03.run
|
|||||||
|
|
||||||
When this screen appears, we select everything by default, each time it asks us.
|
When this screen appears, we select everything by default, each time it asks us.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
Once the installation is finished, we check that everything is correct
|
Once the installation is finished, we check that everything is correct
|
||||||
|
|
||||||
@ -272,21 +272,21 @@ Once the installation is finished, we check that everything is correct
|
|||||||
nvidia-smi
|
nvidia-smi
|
||||||
```
|
```
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
```
|
```
|
||||||
ls -l /dev/nv*
|
ls -l /dev/nv*
|
||||||
```
|
```
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
## We check that Plex uses the graphics card.
|
## We check that Plex uses the graphics card.
|
||||||
|
|
||||||
As we can see, the Plex LXC container makes use of the Nvidia graphics card from our Proxmox host.
|
As we can see, the Plex LXC container makes use of the Nvidia graphics card from our Proxmox host.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
If we want any LXC to use our graphics card, we simply follow the same steps.
|
If we want any LXC to use our graphics card, we simply follow the same steps.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user