Hi, I am trying to setup a new rig with RTX 5090 w. Ubuntu 24.10
The installation process I followed was this - 1. Introduction — NVIDIA Driver Installation Guide r570 documentation
It seems to run fine but when I run nvidia-smi it fails with:
“NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.”
Is there support for 24.10? And if there is, what are the installation instructions please? Note: I’d like to use it for ML (CUDA)
Thanks.
Ps. Attached the nvidia-bug-report.sh → Processing: nvidia-bug-report.log.gz…
Ubuntu 22.10 went end of life in July of 2023. It’s not supported by Canonical anymore.
1 Like
My bad. It’s 24.10 (Oracular Oriole) I’m trying to use. (not 22.10)
hey mane
made an account to reply in case i could help
have you tried turning secure boot off by any chance?
edit: after that, trying to install the nvidia drivers again, rebooting, checking if worked or not
1 Like
Thank you so much for trying to help 🙏
When I disable the secure boot, ubuntu fails to complete boot (gets stuck).
i would suggest to mess around with chatgpt by asking it various questions combined with trial and error
been messing around with an old laptop all night + day long and managed to progress even though it took hours, but better than asking people for help as itll take overly too long to get somewhere
hope u the best mane
Saying as LLMs like Gemini and chatgpt get their information from forums like this, you’re comment is totally counterproductive and the OP should most definitely be asking people.
1 Like
from claude - change to fix_5090.sh - and chmod +x it
grab the latest linux 64 / 5090 from drivers
and update this line with full path NVIDIA-Linux-x86_64-570.169.run
/home/oem/Downloads/NVIDIA-Linux-x86_64-570.169.run
#!/bin/bash
# RTX 5090 Driver Fix Script
# This script attempts to fix NVIDIA RTX 5090 driver issues
set -e
echo "RTX 5090 Driver Fix Script"
echo "=========================="
echo
# Check if running as root
if [ "$EUID" -eq 0 ]; then
echo "Please run this script as regular user (it will use sudo when needed)"
exit 1
fi
echo "1. Checking current system status..."
echo "GPU Detection:"
lspci | grep -i nvidia || echo "No NVIDIA GPU detected"
echo
echo "Current driver status:"
nvidia-smi 2>/dev/null || echo "nvidia-smi failed - driver issue confirmed"
echo
echo "Loaded NVIDIA modules:"
lsmod | grep nvidia || echo "No NVIDIA modules loaded"
echo
echo "2. Checking secure boot status..."
mokutil --sb-state 2>/dev/null || echo "mokutil not available"
echo
echo "3. Checking for driver conflicts..."
dmesg | grep -i nvidia | tail -10 || echo "No recent NVIDIA messages in dmesg"
echo
read -p "Do you want to proceed with driver reinstallation? (y/N): " -n 1 -r
echo
if [[ ! $REPLY =~ ^[Yy]$ ]]; then
echo "Exiting without changes"
exit 0
fi
echo "4. Removing existing NVIDIA drivers..."
sudo apt purge -y nvidia-* libnvidia-* cuda-* 2>/dev/null || true
sudo apt autoremove -y
echo
echo "5. Stopping display manager (if running)..."
sudo systemctl stop gdm3 2>/dev/null || sudo systemctl stop lightdm 2>/dev/null || true
echo
echo "6. Installing NVIDIA driver 570.169 from downloaded file..."
if [ -f "/home/oem/Downloads/NVIDIA-Linux-x86_64-570.169.run" ]; then
sudo /home/oem/Downloads/NVIDIA-Linux-x86_64-570.169.run --no-questions --ui=none --disable-nouveau
else
echo "Error: Driver file not found at /home/oem/Downloads/NVIDIA-Linux-x86_64-570.169.run"
exit 1
fi
echo
echo "7. Rebuilding initramfs..."
sudo update-initramfs -u
echo
echo "8. Starting display manager..."
sudo systemctl start gdm3 2>/dev/null || sudo systemctl start lightdm 2>/dev/null || true
echo
echo "Driver installation complete!"
echo "REBOOT REQUIRED - Run 'sudo reboot' to complete the fix"
echo
echo "After reboot, test with: nvidia-smi"%