Skip to content
Conversations · AnyKey Cafe

NVIDIA Driver Fix

Conversation provenance

Source: ChatGPT data export · Conversation ID: 698b94b1-ace4-8329-93f8-f2346f175f18

Created: 2026-02-10T12:27:31-08:00 · Part 1 of 1

Darren2026-02-10T12:27:31-08:00

Well, it looks like this game I bought, Void Destroyer 2, reset my video settings to using the onboard GPU or something. I don't know, but I tried listing NVIDIA-SMI in a terminal window and it tells me it can't load the drivers, so I need help fixing it.

ChatGPT2026-02-10T12:27:31-08:00 · gpt-5-2

Oof, yeah—games flipping you onto the iGPU and borking NVIDIA is peak yak-shaving. Let’s get you back on the discrete GPU cleanly. The nvidia-smi error usually means the NVIDIA kernel driver isn’t loaded (or broke after an update).

I’ll keep this tight and reliable. Do these in order:


1️⃣ Quick reality check

Run:

lspci | grep -E "VGA|3D"

You should see both Intel/AMD (onboard) and NVIDIA listed. If NVIDIA isn’t there, that’s a hardware/BIOS issue (rare).


2️⃣ See what driver Ubuntu thinks you should use

ubuntu-drivers devices

It’ll recommend something like:

nvidia-driver-550 (recommended)

3️⃣ Clean out broken NVIDIA state (this fixes 80% of “nvidia-smi can’t talk to driver” issues)

sudo apt purge '^nvidia-.*'
sudo apt autoremove --purge
sudo rm -f /etc/X11/xorg.conf

Reboot after this step:

sudo reboot

Yes, reboot even if it feels pointless. It matters.


4️⃣ Install the proper NVIDIA driver

After reboot:

sudo ubuntu-drivers autoinstall

Or explicitly (example):

sudo apt install nvidia-driver-550

Then reboot again:

sudo reboot

5️⃣ Verify NVIDIA is actually alive

After reboot:

nvidia-smi

If you see your GPU listed with temperature + memory → driver is fixed ✅


6️⃣ Force system to actually use NVIDIA (not the iGPU)

Check current mode:

prime-select query

If it says intel, switch:

sudo prime-select nvidia
sudo reboot

After reboot:

glxinfo | grep "OpenGL renderer"

Should say NVIDIA, not Mesa/Intel.


7️⃣ (Optional) Make sure games stop choosing the wrong GPU

Some games ignore PRIME unless forced. You can launch the game like this:

__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia %command%

In Steam → Void Destroyer 2 → Properties → Launch Options:

__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia %command%

🚨 If nvidia-smi STILL fails

Paste me the output of:

dmesg | grep -i nvidia
lsmod | grep nvidia
uname -r

That’ll tell me instantly whether this is:
– driver mismatch
– kernel update breakage
– secure boot blocking the module (common gotcha)
– or NVIDIA just having a “hold my beer” moment


🧠 Why the game triggered this

Games can flip GPU selection at runtime. If your driver install was already slightly cracked, the first OpenGL/Vulkan call can expose the problem and suddenly the NVIDIA module refuses to load. The game didn’t break your system—it just shone a flashlight on a loose wire.


You’re not crazy—this is classic Linux + NVIDIA shenanigans.
We’ll get your rig back to “GPU goes brrrr” mode. 😈