fix u shit
All checks were successful
PikaOS Package Build & Release (amd64-v3) / build (push) Successful in 2m29s
All checks were successful
PikaOS Package Build & Release (amd64-v3) / build (push) Successful in 2m29s
This commit is contained in:
parent
cffb8344a4
commit
b9d2a72d3e
2
.github/release-nest-v3
vendored
2
.github/release-nest-v3
vendored
@ -1 +1 @@
|
|||||||
8
|
9
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
nvidia-graphics-drivers-560 (560.35.03-101pika2) pika; urgency=medium
|
nvidia-graphics-drivers-560 (560.35.03-101pika3) pika; urgency=medium
|
||||||
|
|
||||||
* New upstream
|
* New upstream
|
||||||
|
|
||||||
@ -8,4 +8,4 @@ nvidia-graphics-drivers-560 (560.31.02-101pika3) pika; urgency=medium
|
|||||||
|
|
||||||
* New upstream
|
* New upstream
|
||||||
|
|
||||||
-- Andreas Beckmann <root@cybik.moe> Wed, 22 May 2024 07:31:41 -0700
|
-- Andreas Beckmann <root@cybik.moe> Wed, 22 May 2024 07:31:41 -0700
|
||||||
|
37
nvidia-graphics-drivers-560/extra_files/nvidia-create-device-nodes
Executable file
37
nvidia-graphics-drivers-560/extra_files/nvidia-create-device-nodes
Executable file
@ -0,0 +1,37 @@
|
|||||||
|
#! /bin/bash
|
||||||
|
|
||||||
|
if ls /dev/ 2>&1 | grep nvidia[0-9] 2>&1 > /dev/null
|
||||||
|
then
|
||||||
|
true
|
||||||
|
else
|
||||||
|
for gpu in $(cat /proc/driver/nvidia/gpus/*/information | grep Minor | cut -d \ -f 4)
|
||||||
|
do
|
||||||
|
echo "Creating device node for NVGPU: ${gpu}"
|
||||||
|
/usr/bin/nvidia-modprobe -c${gpu}
|
||||||
|
/usr/bin/nvidia-modprobe -s -c${gpu}
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ ! -e /dev/nvidia-uvm ]]
|
||||||
|
then
|
||||||
|
echo "Creating Unified Memory device nodes"
|
||||||
|
/usr/bin/nvidia-modprobe -c0 -u
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ ! -e /dev/nvidia-nvlink ]]
|
||||||
|
then
|
||||||
|
echo "Creating Nvlink device nodes"
|
||||||
|
/usr/bin/nvidia-modprobe -l
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ ! -e /dev/nvidia-modeset ]]
|
||||||
|
then
|
||||||
|
echo "Creating modeset device nodes"
|
||||||
|
/usr/bin/nvidia-modprobe -m
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ ! -e /dev/nvidiactl ]]
|
||||||
|
then
|
||||||
|
echo "Creating NVIDIA Control device nodes"
|
||||||
|
nvidia-smi
|
||||||
|
fi
|
Loading…
Reference in New Issue
Block a user