Skip to content

Commit

Permalink
Fix legacy Nvidia drivers (390 and older)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kron4ek authored Sep 9, 2024
1 parent 941e8e9 commit 7844d08
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions conty-start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -416,6 +416,8 @@ nvidia_driver_handler () {

if [ -s /usr/lib/libGLX_nvidia.so."${nvidia_driver_version}" ] || \
[ -s /usr/lib/libGL.so."${nvidia_driver_version}" ]; then
cp /usr/lib/tls/libnvidia-tls.so.* /usr/lib &>/dev/null
cp /usr/lib32/tls/libnvidia-tls.so.* /usr/lib32 &>/dev/null
echo "${nvidia_driver_version}" > "${nvidia_drivers_dir}"/current-nvidia-version
echo "The driver installed successfully"
else
Expand Down

0 comments on commit 7844d08

Please sign in to comment.